Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
install nvidia in debian the simple way
install nvidia in debian the simple way
I actually found this text on a google search for: debian nvidia install
and found it to be very useful. . .
Simple instructions on how to install nVidia drivers for XFree86 on
Debian written by Len Sorensen.
(LSorensen on irc.debian.org, lsorense -at- csclub.uwaterloo.ca)
Last updated March 23 2005.
Feel free to email reports on this information working or not working
and any suggestions you have on making it better.
Note:
At this time these are the debian versions:
woody: Debian 3.0 stable release
sarge: Debian testing release (will be next stable release when done)
sid: Debian unstable (will never be released, but provides packages for
testing after they have been tested for a while.)
Note: As of this time, there are NO nvidia drivers in sarge. You would
have to add sid sources to your sources.list and pin the system to sarge
to get access to the nvidia drivers. I will try to add this information
later. For now it still applies to woody and sid.
Step 0: Cleaning up the mess from nvidia's installer (if you used it first)
Make sure to remove all the garbage created by the nvidia installer,
since it places files in different locations, and may cause problems
even after following these instructions. It is supposed to have an
uninstall option. Something like: nvidia-installer --uninstall should
do it. I have not used it myself, since doing it this way is so simple
and works very well, and of course: It is `The Debian Way'. The
--uninstall option should remove everything it installed (At least I
hope so.)
Do NOT try to mix and match with the debian packages and the nvidia
installer. They do not get along, they don't agree on where files should
go or how just about anything should be done. It's one way or the other.
To do it right the Debian way, all traces of the nvidia installer has
to go.
Step 1: Preparing your package sources
For people running woody:
If you are running debian woody, which does not include the nvidia
drivers, add the following lines to your /etc/apt/sources.list file:
deb http://www.backports.org/debian woody nvidia-graphics-drivers dpatch
deb http://www.backports.org/debian woody nvidia-kernel-common xfree86
then run 'apt-get update' to update the package lists.
For people running sarge or sid:
Ensure you have main contrib non-free in your /etc/apt/sources.list since
the nvidia drivers are in non-free and some of the helpers are in contrib.
Step 2: Ensure your kernel is the right version.
The nvidia driver requries a 2.4 or 2.6 kernel at the moment.
For woody users:
If you are not running 2.4.18 on woody built for your cpu type, you
should fix that first. For Pentium Pro, Celeron, P2, P3 and P4
use the package 'kernel-image-2.4.18-686', for Duron and Athlon use
'kernel-uimage-2.4.18-k7', and for older pentium and k6 systems, use
'kernel-image-2.4.18-386' At some point soon, 2.4.24 might become
available for woody in which case you want to use that instead.
Remember to reboot after installing a new kernel so that you are running
the right one.
For people running sarge or sid:
For sarge and sid please make sure you are running an up to date kernel
so that the headers matching it can be installed. The simplest way to
do this is to do:
> apt-get install kernel-image-2.4-686
or
> apt-get install kernel-image-2.4-k7
or
> apt-get install kernel-image-2.6-686
or
> apt-get install kernel-image-2.6-k7
That will keep you running the latest kernel released (either 2.4.x
or 2.6.x). If the command to install kernel-headers fails later, you
didn't do this step right.
Remember to reboot after installing a new kernel so that you are running
the right one.
Step 3: Installing needed packages for building the nvidia kernel module.
Install a few packages needed:
> apt-get install nvidia-kernel-source nvidia-kernel-common
If you are running a debian kernel do this:
> apt-get install kernel-headers-`uname -r`
> export KVERS=`uname -r`
> export KSRC=/usr/src/kernel-headers-`uname -r`
Note that the two lines above are NOT single quotes. They are backticks
(on the same key as ~ on a US layout keyboard).
If you built your own kernel, just make sure you know where the source
for it is located so you can set KSRC variable to that location.
> export KVERS=`uname -r`
> export KSRC=location of your kernel sources or headers
Note that the two lines above are NOT single quotes. They are backticks
(on the same key as ~ on a US layout keyboard).
Step 4: Building and installing the nvidia kernel module
Build the kernel module package:
> cd /usr/src
> tar xvzf nvidia-kernel-source.tar.gz
> cd modules/nvidia-kernel
> debian/rules binary_modules
Then install it:
> cd ..
> dpkg -i nvidia-kernel-`uname -r`*deb
> depmod -a
Step 5: Installing and configuring the nvidia glx X driver
Install the last few packages:
> apt-get install nvidia-glx nvidia-glx-dev xserver-xfree86
Now you are ready to change X to use the new driver. Configure X
normally using:
> dpkg-reconfigure xserver-xfree86
And configure the monitor, resolution, mouse, etc settings as you need
and select nvidia instead of nv as your driver.
Note: Any user that wants to run 3D code must be in the video group.
To add a user to the video group do this:
> adduser youruser video
The next time they login to X they will have 3D access.
That's it. You should be running the new X. You should see the nvidia
logo when X starts if you are succesfully running the new driver.
Keep in mind that whenever a new version of the nvidia driver comes out,
or whenever you upgrade to a newer kernel, you will have to go through
these steps again to build the nvidia kernel module to match the new
driver and/or new kernel.
Notes:
If the nvidia modules doesn't load automatically and the X server
complains about it, add 'nvidia' to /etc/modules to make it auto load
on boot.
When upgrading, the simplest is to reboot afterwards to make sure X and
the kernel module are using the same version. You could also stop X,
rmmod nvidia, modprobe nvidia, start X again.
and found it to be very useful. . .
Simple instructions on how to install nVidia drivers for XFree86 on
Debian written by Len Sorensen.
(LSorensen on irc.debian.org, lsorense -at- csclub.uwaterloo.ca)
Last updated March 23 2005.
Feel free to email reports on this information working or not working
and any suggestions you have on making it better.
Note:
At this time these are the debian versions:
woody: Debian 3.0 stable release
sarge: Debian testing release (will be next stable release when done)
sid: Debian unstable (will never be released, but provides packages for
testing after they have been tested for a while.)
Note: As of this time, there are NO nvidia drivers in sarge. You would
have to add sid sources to your sources.list and pin the system to sarge
to get access to the nvidia drivers. I will try to add this information
later. For now it still applies to woody and sid.
Step 0: Cleaning up the mess from nvidia's installer (if you used it first)
Make sure to remove all the garbage created by the nvidia installer,
since it places files in different locations, and may cause problems
even after following these instructions. It is supposed to have an
uninstall option. Something like: nvidia-installer --uninstall should
do it. I have not used it myself, since doing it this way is so simple
and works very well, and of course: It is `The Debian Way'. The
--uninstall option should remove everything it installed (At least I
hope so.)
Do NOT try to mix and match with the debian packages and the nvidia
installer. They do not get along, they don't agree on where files should
go or how just about anything should be done. It's one way or the other.
To do it right the Debian way, all traces of the nvidia installer has
to go.
Step 1: Preparing your package sources
For people running woody:
If you are running debian woody, which does not include the nvidia
drivers, add the following lines to your /etc/apt/sources.list file:
deb http://www.backports.org/debian woody nvidia-graphics-drivers dpatch
deb http://www.backports.org/debian woody nvidia-kernel-common xfree86
then run 'apt-get update' to update the package lists.
For people running sarge or sid:
Ensure you have main contrib non-free in your /etc/apt/sources.list since
the nvidia drivers are in non-free and some of the helpers are in contrib.
Step 2: Ensure your kernel is the right version.
The nvidia driver requries a 2.4 or 2.6 kernel at the moment.
For woody users:
If you are not running 2.4.18 on woody built for your cpu type, you
should fix that first. For Pentium Pro, Celeron, P2, P3 and P4
use the package 'kernel-image-2.4.18-686', for Duron and Athlon use
'kernel-uimage-2.4.18-k7', and for older pentium and k6 systems, use
'kernel-image-2.4.18-386' At some point soon, 2.4.24 might become
available for woody in which case you want to use that instead.
Remember to reboot after installing a new kernel so that you are running
the right one.
For people running sarge or sid:
For sarge and sid please make sure you are running an up to date kernel
so that the headers matching it can be installed. The simplest way to
do this is to do:
> apt-get install kernel-image-2.4-686
or
> apt-get install kernel-image-2.4-k7
or
> apt-get install kernel-image-2.6-686
or
> apt-get install kernel-image-2.6-k7
That will keep you running the latest kernel released (either 2.4.x
or 2.6.x). If the command to install kernel-headers fails later, you
didn't do this step right.
Remember to reboot after installing a new kernel so that you are running
the right one.
Step 3: Installing needed packages for building the nvidia kernel module.
Install a few packages needed:
> apt-get install nvidia-kernel-source nvidia-kernel-common
If you are running a debian kernel do this:
> apt-get install kernel-headers-`uname -r`
> export KVERS=`uname -r`
> export KSRC=/usr/src/kernel-headers-`uname -r`
Note that the two lines above are NOT single quotes. They are backticks
(on the same key as ~ on a US layout keyboard).
If you built your own kernel, just make sure you know where the source
for it is located so you can set KSRC variable to that location.
> export KVERS=`uname -r`
> export KSRC=location of your kernel sources or headers
Note that the two lines above are NOT single quotes. They are backticks
(on the same key as ~ on a US layout keyboard).
Step 4: Building and installing the nvidia kernel module
Build the kernel module package:
> cd /usr/src
> tar xvzf nvidia-kernel-source.tar.gz
> cd modules/nvidia-kernel
> debian/rules binary_modules
Then install it:
> cd ..
> dpkg -i nvidia-kernel-`uname -r`*deb
> depmod -a
Step 5: Installing and configuring the nvidia glx X driver
Install the last few packages:
> apt-get install nvidia-glx nvidia-glx-dev xserver-xfree86
Now you are ready to change X to use the new driver. Configure X
normally using:
> dpkg-reconfigure xserver-xfree86
And configure the monitor, resolution, mouse, etc settings as you need
and select nvidia instead of nv as your driver.
Note: Any user that wants to run 3D code must be in the video group.
To add a user to the video group do this:
> adduser youruser video
The next time they login to X they will have 3D access.
That's it. You should be running the new X. You should see the nvidia
logo when X starts if you are succesfully running the new driver.
Keep in mind that whenever a new version of the nvidia driver comes out,
or whenever you upgrade to a newer kernel, you will have to go through
these steps again to build the nvidia kernel module to match the new
driver and/or new kernel.
Notes:
If the nvidia modules doesn't load automatically and the X server
complains about it, add 'nvidia' to /etc/modules to make it auto load
on boot.
When upgrading, the simplest is to reboot afterwards to make sure X and
the kernel module are using the same version. You could also stop X,
rmmod nvidia, modprobe nvidia, start X again.
i confess i didnt read the post
wow its a long msg i dont understand why ppl cant install the nvidia driver without making a book .its very simple
1) download the nvidia driver from nvidia www.nvidia.com
2)save it to ur hd
3)Open a shell ,log under root type "su" ur password
4)install the kernel header for u kernel type "uname -a" to know ur version use synaptic to get it or apt-get
5)go into consol mode type /etc/init.d/gdm stop
6)give the perm to the nvidia to run type "chmod +x NVIDIA.xxxx.run"
7)run it type "./Nvidia.xxx.run"
8)go to /etc/X11
9)open the xorg.conf or xfree (im under xorg) type nano xorg.conf
10) find the video driver section ,replace the x driver by nvidia
11)remove dri,glcore in x11 option
12)save it crt+o leaving nano crt+x
13)testing the new driver type "startx"
14) it works? yes return in consol enable gdm type "/etc/init.d/gdm start
1) download the nvidia driver from nvidia www.nvidia.com
2)save it to ur hd
3)Open a shell ,log under root type "su" ur password
4)install the kernel header for u kernel type "uname -a" to know ur version use synaptic to get it or apt-get
5)go into consol mode type /etc/init.d/gdm stop
6)give the perm to the nvidia to run type "chmod +x NVIDIA.xxxx.run"
7)run it type "./Nvidia.xxx.run"
8)go to /etc/X11
9)open the xorg.conf or xfree (im under xorg) type nano xorg.conf
10) find the video driver section ,replace the x driver by nvidia
11)remove dri,glcore in x11 option
12)save it crt+o leaving nano crt+x
13)testing the new driver type "startx"
14) it works? yes return in consol enable gdm type "/etc/init.d/gdm start
@@@@@@@
#
# there my xorg.conf you should make ur own !
# to kill xorg crtl+alt+backSpace
#
# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
# md5sum /etc/X11/xorg.conf.dpkg-new >/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
# dpkg-reconfigure xserver-xorg
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
#Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "6600"
Driver "nvidia"
# BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
HorizSync 28-50
VertRefresh 43-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "6600"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
# there my xorg.conf you should make ur own !
# to kill xorg crtl+alt+backSpace
#
# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
# md5sum /etc/X11/xorg.conf.dpkg-new >/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
# dpkg-reconfigure xserver-xorg
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
#Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "6600"
Driver "nvidia"
# BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
HorizSync 28-50
VertRefresh 43-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "6600"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Re: i confess i didnt read the post
You can save yourself a step by replacing steps 6 and 7 with "install the drive by typing sh NVIDIA.xxx.run"Hooo Ujin oooH wrote:wow its a long msg i dont understand why ppl cant install the nvidia driver without making a book .its very simple
1) download the nvidia driver from nvidia www.nvidia.com
2)save it to ur hd
3)Open a shell ,log under root type "su" ur password
4)install the kernel header for u kernel type "uname -a" to know ur version use synaptic to get it or apt-get
5)go into consol mode type /etc/init.d/gdm stop
6)give the perm to the nvidia to run type "chmod +x NVIDIA.xxxx.run"
7)run it type "./Nvidia.xxx.run"
8)go to /etc/X11
9)open the xorg.conf or xfree (im under xorg) type nano xorg.conf
10) find the video driver section ,replace the x driver by nvidia
11)remove dri,glcore in x11 option
12)save it crt+o leaving nano crt+x
13)testing the new driver type "startx"
14) it works? yes return in consol enable gdm type "/etc/init.d/gdm start
You will also need to keep the driver (don't delete it) because if you recompile your kernel, you will have to reinstall the NVIDIA driver.
module-assistant
Alternatively to all of that you could type:
and you're done.
Enjoy.
Code: Select all
localhost:~# apt-get install module-assistant
localhost:~# m-a prepare
localhost:~# m-a auto-install nvidia
Enjoy.
This has been a problem for me for ages Iv triued everything iv found in these forums and more. The top starting post of this thread I followed and everything seemed to go fine. I restarted and it says there should be a Nvidia logo on starting. I diddnt see anyhting and it seems to be working exactly like it did before the driver install and im stuck in 800x600 res.
Re: module-assistant
I'm with you as well. In fact one could just run module-assistant and use the text based interface.Ashinberry wrote:Alternatively to all of that you could type:
and you're done.Code: Select all
localhost:~# apt-get install module-assistant localhost:~# m-a prepare localhost:~# m-a auto-install nvidia
Enjoy.
you are not what you own.
Re: module-assistant
i tried that and got the following error:japetto wrote:I'm with you as well. In fact one could just run module-assistant and use the text based interface.Ashinberry wrote:Alternatively to all of that you could type:
and you're done.Code: Select all
localhost:~# apt-get install module-assistant localhost:~# m-a prepare localhost:~# m-a auto-install nvidia
Enjoy.
"Installation of the nvidia-kernel-source source failed.
Ignoring this package. Maye you need ot add something to sources.list, maybe the contrib and non-free archives."
here is my sources list as it stands right now:
Code: Select all
cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main
##### main Debian source
deb http://security.debian.org/ testing/updates main contrib
#deb ftp://128.101.80.133/debian unstable main
##### Official US Debian archive
deb ftp://ftp.debian.org/debian testing main
#deb ftp://128.101.80.133/debian testing main
##### k3b from http://www.k3b.org/
deb http://www.planet-moll.de/debian sarge main
##### Official mplayer and deverip
#deb http://dijkstra.csh.rit.edu/~mdz/debian unstable mythty
deb ftp://ftp.nerim.net/debian-marillat/ etch main
##### Official debian NON-US
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
##### Azureus from plaisthos.de/az.html
deb http://www.plaisthos.de/deb/ ./
deb-src http://plaisthos.de/deb/ ./
##### LiVES linux video editor
#deb http://sentinel.dk/debian/ unstable main contrib non-free
#deb-src http://sentinel.dk/debian/ unstable main contrib non-free
##### DVD::RIP
deb ftp://ftp.nerim.net/debian-marillat sarge main
##### VLC viewer
deb http://download.videolan.org/pub/videolan/debian sid main
deb-src http://download.videolan.org/pub/videolan/debian sid main
##### k9copy
#deb http://repos.knio.it/ testing main contrib non-free
#deb-src http://repos.knio.it/ testing main contrib non-free
Installing Nvidia 1.0-8756 on Debian Etch
First you need to install some dependencies to build the kernel module. Use apt-cache search kernel header and uname -r to find a matching header for your kernel.
Now we can download the drivers from nvidia's website. Copy and paste this command for ease of download:
The nvidia's drivers needs xorg to not be running so switch over to a shell by hitting ctrl+alt+F1. Log on as root and issue command:
You may need to substitute gdm with kdm or xdm depending on your login manager. If not running a login manager you can usually just quit your session in your windows manager.
Change into the directory you downloaded the drivers and issue this command:
Follow the instructions and install should work flawlessly. Let nvidia-xconfig update xorg.conf so you don't need to edit manual. If you don't want to have the installer automatically update your config then in /etc/X11/xorg.conf change the driver to "nvidia" from "nv".
Go ahead and start xorg and test the settings, they should work flawlessly. Issue this command to launch your login manager again:
Again replace gdm with your login manager of choice.
Adjusting DPI:
The best way to do this would be to add this in your device section. This works alot better with dual monitors also:
Windows defaults 96 dpi but also has a 120 dpi setting. 96 should be exceptable for most displays. You can find more information here: http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
First you need to install some dependencies to build the kernel module. Use apt-cache search kernel header and uname -r to find a matching header for your kernel.
Code: Select all
# apt-get update
# apt-get install binutils build-essential kernel-headers-2.6.15-1-k7
Code: Select all
$ wget http://download.nvidia.com/XFree86/Linux-x86/1.0-8756/NVIDIA-Linux-x86-1.0-8756-pkg1.run
Code: Select all
# /etc/init.d/gdm stop
Change into the directory you downloaded the drivers and issue this command:
Code: Select all
sh NVIDIA-Linux-x86-1.0-8756-pkg1.run
Go ahead and start xorg and test the settings, they should work flawlessly. Issue this command to launch your login manager again:
Code: Select all
# /etc/init.d/gdm start
Adjusting DPI:
The best way to do this would be to add this in your device section. This works alot better with dual monitors also:
Code: Select all
/etc/X11/xorg.conf
....
Option "UseEdidDpi" "FALSE"
Option "DPI" "96 x 96"
....
Here is some stuff I posted a long time ago using a different distro. Use this at your own risk, I take no responsiblity for anything below.
___________________________________________________________________________
Here is a list of current driver versions that are known to be pretty stable:
6629 - considered most stable but old
7174 - newer but still stable
7667 - most recent drivers and pretty stable on my end
7676 - current drivers as of 11/3/05 and considered buggy and only use if have a 7800 series (i'm currently using these and have no problems so far)
___________________________________________________________________________
First thing to do is install the nvidia drivers if you haven't done that, and change this in xorg.conf:
The above could look like something different like "vesa" or "fbdev" instead of "nv"
To this:
Restart the server by hitting cntrl+alt+delete or restarting comp.
Next is to make sure you have these modules loaded in xorg.conf:
Make sure these aren't in The the module section:
___________________________________________________________________________
Now to check and see whats supported on your card:
the card checks what your card can handle, host-bridge checks your chipset, and status shows whats enabled.
___________________________________________________________________________
Your /etc/modules.conf (/etc/modules.d/nvidia) should look like this:
This allows the nvidia drivers to be loaded at boot, otherwise you would have to do it manually everytime. WARNING: MIGHT NOT HAVE TO DO THIS IN DEBIAN.
To enable fastwrites and SBA add this to your /etc/modules.d/nvidia file:
___________________________________________________________________________
One last final tweak for /etc/X11/xorg.conf file, This is all located under the device section:
NOTE: These options are considered unstable and i'm not responsible for any damage you do to your machine. note that I haven't seen any problems yet.
___________________________________________________________________________
Nvidia Twinview (dual monitor setup)
nvidia's twinview is another option for xinerama that i'm not going to describe here, switching from xinerama to twinview helped by about 75fps, i'm now around 6725fps in glxgears. If you decide to use twinview make sure you disable xinerama in your /etc/X11/xorg.conf file like so:
EndSection
___________________________________________________________________________
nvidia evga 6600GT glxgears under gnome 2.12 = 6656.200 FPS after (about a 300+ fps increase at least)
UPDATE - 05/6/06 -
nvidia evga 6600GT glxgears under gnome 2.14: 53041 frames in 5.0 seconds = 10608.060 FPS
More to come and tell me if I messed something up, I'll organize better later
edit: 11/6/05 - fixed "dri" section and rearranged so It looks better.
11/7/05 - added twinview section
cooming soon - overclocking the safe way.
[/code]
___________________________________________________________________________
Here is a list of current driver versions that are known to be pretty stable:
6629 - considered most stable but old
7174 - newer but still stable
7667 - most recent drivers and pretty stable on my end
7676 - current drivers as of 11/3/05 and considered buggy and only use if have a 7800 series (i'm currently using these and have no problems so far)
___________________________________________________________________________
First thing to do is install the nvidia drivers if you haven't done that, and change this in xorg.conf:
Code: Select all
Section "Device"
...
Driver "nv"
...
EndSection
To this:
Code: Select all
Section "Device"
...
Driver "nvidia"
...
EndSection
Next is to make sure you have these modules loaded in xorg.conf:
Code: Select all
# This loads the GLX module
Load "glx"
Code: Select all
Load "dri"
Load "GLCore"
Now to check and see whats supported on your card:
Code: Select all
# cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0xff000e1b:0x1f004312
Code: Select all
# cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 10de:01e0
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f00421b:0x00000312
Code: Select all
# cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Enabled
SBA: Enabled
___________________________________________________________________________
Your /etc/modules.conf (/etc/modules.d/nvidia) should look like this:
Code: Select all
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
To enable fastwrites and SBA add this to your /etc/modules.d/nvidia file:
Code: Select all
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
One last final tweak for /etc/X11/xorg.conf file, This is all located under the device section:
Code: Select all
Option "RenderAccel" "true"
Option "Coolbits" "1" # Enables overclocking in nvidia-settings, nvclock -i for temp
Option "AGPFastWrite" "True" # make sure fastwrite is enabled in your bios and in linux see below to check
Option "EnablePageFlip" "True"
___________________________________________________________________________
Nvidia Twinview (dual monitor setup)
nvidia's twinview is another option for xinerama that i'm not going to describe here, switching from xinerama to twinview helped by about 75fps, i'm now around 6725fps in glxgears. If you decide to use twinview make sure you disable xinerama in your /etc/X11/xorg.conf file like so:
Code: Select all
Section "ServerFlags"
Option "Xinerama" "False"
___________________________________________________________________________
nvidia evga 6600GT glxgears under gnome 2.12 = 6656.200 FPS after (about a 300+ fps increase at least)
UPDATE - 05/6/06 -
nvidia evga 6600GT glxgears under gnome 2.14: 53041 frames in 5.0 seconds = 10608.060 FPS
More to come and tell me if I messed something up, I'll organize better later
edit: 11/6/05 - fixed "dri" section and rearranged so It looks better.
11/7/05 - added twinview section
cooming soon - overclocking the safe way.
[/code]
Simple Nvidia install
The only way I've ever gotten this to work is by using something like ic3man05's suggestion. The "Debian way" has never worked for me. As a matter of fact, I have found several different "Debian way's", each different from the last, which I found tremendously confusing. As a long time Linux user (10 years), the Debian way seems very convoluted. I'm not slamming it, but it is unlike anything else I've seen before. I am used to manually doing everything, and when the details get abstracted, it's difficult for me to understand. Maybe the fact I am a developer and long time Gentoo user is the problem - can't see the forest for the trees...
I just make sure I have the source for my kernel and use the Nvidia installer - all is well. Of course you have to add "nvidia" to /etc/modules to start automatically also...
I just make sure I have the source for my kernel and use the Nvidia installer - all is well. Of course you have to add "nvidia" to /etc/modules to start automatically also...
Simple nVidia 9629 driver install on Debian
Using Debian Etch and Sid , latest nvidia drivers do not require nvidia-common or other nvidia related packages.
1. Go http://www.nvidia.com/object/unix.html and select the propier drivers for your architecture and video card, in my case IA32 Latest Version
2. download it
3. get your kernel headers with : # apt-get install linux-headers-`uname -r` (works only in Etch, Sarge has "kernel-headers-`uname -r`)
4. Also install build-essential and pkg-config xserver-xorg-dev (nvidia needs them) : # apt-get install build-essential pkg-config xserver-xorg-dev
5. Kill your gdm/xdm/kdm by /etc/init.d/(k,g,x)dm stop
6. Log in again and with full root (su or sudo) type sh NVIDIA-Linux-x86-1.0-xxxx-pkg1.run --x-module-path=/usr/lib/xorg/modules
7.type "nvidia-xconfig"
8./etc/init.d/(k/x/g)dm start
Note - Works excellent with nVidia GeForce 6150 + 9629 drivers / Gnome 2.14/2.16 / Debian "Etch" and "Sid" also older nvidia drivers required gcc-4.0 so you need to this before installing them:
# apt-get install gcc-4.0
mkdir /usr/bin/gcc
ln -s /usr/bin/gcc-4.0 /usr/bin/gcc
Using Debian Etch and Sid , latest nvidia drivers do not require nvidia-common or other nvidia related packages.
1. Go http://www.nvidia.com/object/unix.html and select the propier drivers for your architecture and video card, in my case IA32 Latest Version
2. download it
3. get your kernel headers with : # apt-get install linux-headers-`uname -r` (works only in Etch, Sarge has "kernel-headers-`uname -r`)
4. Also install build-essential and pkg-config xserver-xorg-dev (nvidia needs them) : # apt-get install build-essential pkg-config xserver-xorg-dev
5. Kill your gdm/xdm/kdm by /etc/init.d/(k,g,x)dm stop
6. Log in again and with full root (su or sudo) type sh NVIDIA-Linux-x86-1.0-xxxx-pkg1.run --x-module-path=/usr/lib/xorg/modules
7.type "nvidia-xconfig"
8./etc/init.d/(k/x/g)dm start
Note - Works excellent with nVidia GeForce 6150 + 9629 drivers / Gnome 2.14/2.16 / Debian "Etch" and "Sid" also older nvidia drivers required gcc-4.0 so you need to this before installing them:
# apt-get install gcc-4.0
mkdir /usr/bin/gcc
ln -s /usr/bin/gcc-4.0 /usr/bin/gcc