Quote:
Originally Posted by Carlwill
Happy - Thanks that worked!
BTW - Have you been able to install Nvidia drivers on your 64 machine?
|
Yes you need these lines in your /etc/apt/sources.list.
Code:
## Nvidia drivers for unstable
#deb http://people.debian.org/~rdonald/nvidia unstable/amd64/
#deb http://people.debian.org/~rdonald/nvidia unstable/all/
deb http://people.debian.org/~rdonald/nvidia unstable nvidia-graphics-drivers
deb http://people.debian.org/~rdonald/nvidia unstable nvidia-xconfig
deb http://people.debian.org/~rdonald/nvidia unstable nvidia-settings
deb http://people.debian.org/~rdonald/nvidia unstable nvidia-kernel-common
Then
apt-get update and
apt-get install kernel-kbuild-2.6-3 kernel-headers-2.6.8-11-amd64-generic nvidia-kernel-source=1.0.8178-1 nvidia-kernel-common=1.0.8178-1 module-assistant now as root in the /usr/src directory
m-a -i prepare and then to build the module
m-a a-i -i -t -f nvidia-kernel if it complains here about the compiler not matching the running kernel use either
export CC=/usr/bin/gcc-3.4 or
export CC=/usr/bin/gcc-4.0 and repeat the previous command. Now for the extra needed
apt-get install nvidia-glx=1.0.8178-1 nvidia-glx-dev=1.0.8178-1. then you can either use
dpkg-reconfigure xserver-xorg and choose the nvidia for the module to use or edit the /etc/X11/xorg.conf file in the sections below. For the kernel-headers-2.6.8-11-amd64-generic this was the install kernels headers you are still running this I believe at the moment so use
uname -r to check if not then
apt-cache search kernel-headers output_of_uname_r_command and install the ones that match your install kernel you will probably have to change the lines in your sources.list back to testing if you have already not done so and then
apt-get update to refresh the cache to get them.
Code:
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "v4l"
Load "xtrap"
Load "type1"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
Driver "nvidia"
Option "NoLogo" "on"
Option "NvAgp" "1"
Option "RenderAccel" "true"
Option "BackingStore" "On"
# Option "IgnoreEDID" "on"
Option "IgnoreDisplayDevices" "TV"
# Option "NoBandWidthTest" "1"
# Option "AllowGLXWithComposite" "true"
Screen 0
VendorName "PNY"
BoardName "Verto 5900SE NV35 [GeForce FX 5900SE]"
BusID "PCI:1:0:0"
EndSection
The important parts are in the Module section to make sure the Load "dri" and if present Load "GLCore" have the # in front of the lines so they will not be used and you put in the Load "glx". For the Device section you should change the Driver "nv" to nvidia. You would have to restart the X server by logging out if running X and use the Left CTRL + Left ALT and backspace keys at the same time to kill and respawn the X server if from the command line then
/etc/init.d/kdm restart.
Edit: Almost forgot Debian has changed the name of the kernel images to linux-image-... linux-headers ... so you may have to be searching for those if needed.