Wrestling w/ nvidia...and losing badly
I am trying desperately to enable 3D acceleration but with no luck. Without it, my OpenGL screen savers and games like Armagetron don't work. I have a Lenovo T61 running Kubuntu 8.04. Here is where I am so far
Quote:
spci | grep -i nvidia
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
Quote:
uname -a
Linux ingenii 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686 GNU/Linux
The following nvidia related packages were installed via aptitude:
nvidia-glx-new nvidia-kernel-common
nvidia-glx-new-dev nvidia-kernel-source
Everything but 3D acceleration works fine with the free nv drivers. However, when I change the Driver tag to "nvidia" in my xorg.conf file the X server won't load:
Quote:
cat Xorg.0.log.old | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.
I had it to the point where the only error message that came up was "Failed to load the nvidia kernel module" but I started uninstalling what I thought were conflicting packages:confused:.
Here is my (working) xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Jan 22 19:53:46 PST 2008
Section "ServerLayout"
Identifier "Layout0"
screen 0 "Screen0" 0 0
Inputdevice "Keyboard0" "CoreKeyboard"
Inputdevice "Synaptics Touchpad" "CorePointer"
InputDevice "UltraNav Trackpoint" "SendCoreEvents"
#InputDevice"t61-keyboard" "CoreKeyboard"
EndSection
Section "Files"
Rgbpath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "InputDevice"
# generated from default
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Protocol" "auto-dev"
Option "Device" "/dev/psaux"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "no"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
# ThinkPad UltraNav TrackPoint:
Section "InputDevice"
Identifier "UltraNav TrackPoint"
Driver "mouse"
# Option "CorePointer"
Option "Device""/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "on"
Option "Emulate3TimeOut" "50"
Option "EmulateWheel" "on"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "Monitor"
Identifier "Monitor0"
Vendorname "Unknown"
Modelname "Unknown"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
modeline "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1600x1200@85" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
modeline "1792x1344@75" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
modeline "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
modeline "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
modeline "2048x1536@60" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync
Gamma 1.0
EndSection
Section "Device"
Identifier "Device0"
Boardname "NVIDIA GeForce 8 Series"
Busid "PCI:1:0:0"
Driver "nv"
Screen 0
Vendorname "NVIDIA"
Option "RenderAccel"
Option "AllowGLXWithComposite"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 2048 1536
Modes "800x600@60" "832x624@75" "800x600@85" "1024x768@85" "800x600@75" "1024x768@75" "800x600@72" "1024x768@70" "800x600@56" "1024x768@60" "640x480@85" "1024x768@43" "640x480@75" "1152x864@75" "640x480@72" "1280x1024@75" "640x480@60" "1280x960@60" "1280x960@85" "1280x1024@85" "1280x1024@60" "1280x960@75" "1400x1050@60" "1400x1050@75" "1600x1200@65" "1600x1200@60" "1600x1200@75" "1600x1200@70" "1600x1200@85" "1792x1344@75" "1792x1344@60" "1856x1392@60" "1920x1440@60" "2048x1536@60"
EndSubSection
EndSection
Section "device" #
Identifier "device1"
Boardname "NVIDIA GeForce 8 Series"
Busid "PCI:1:0:0"
Driver "nv"
Screen 1
Vendorname "NVIDIA"
EndSection
Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
EndSection
Section "monitor" #
Identifier "monitor1"
Gamma 1.0
EndSection
Section "ServerFlags"
EndSection
The only think I change to break it is "nv"-->"nvidia". Any help at all would be GREATLY appreciated.
Re: Wrestling w/ nvidia...and losing badly
Well, not sure exactly how but I seem to have solved my problem. I changed my xorg.conf file so that "nvidia" was my driver, then ran
Quote:
sudo modprobe nvidia
Restarted X using ctr+alt+backspace and that was it! The thing is, I already tried this once before and it didn't work. So for anyone else with the same problem, here are the steps I re-took to get it to work:
1 purged all nvidia related packages using aptitude
2 reinstalled the nvidia-glx-new, nvidia-glx-new-dev, nvidia-kernel-common
and nvidida-kernel-source packes
3 edited xorg.conf so that "nvidia" was the Driver
4 ran sudo modprobe nvidia
5 restarted X
Now, if you will excuse me, I have some Armagetron to play...oh and I just saw Tim Russert passed. RIP.
Re: [SOLVED] Wrestling w/ nvidia...and losing badly
Well I had it working once. Then for some reason the same problems started showing up.
I could really use some help. Does anybody know which drivers and kernel modules are needed for my system (see above) AND how to install all of them permanently? Detailed responses would be appreciated.
Re: [SOLVED] Wrestling w/ nvidia...and losing badly
Quote:
Originally Posted by
rslynch
Well I had it working once. Then for some reason the same problems started showing up.
I could really use some help. Does anybody know which drivers and kernel modules are needed for my system (see above) AND how to install all of them permanently? Detailed responses would be appreciated.
It is probably not helpful for me to point this out, but usually just going through System -> Administration -> Hardware Drivers will have the correct driver for you.
I use a GeForce 6150SE that works just through that.
Re: Wrestling w/ nvidia...and losing badly
Quote:
It is probably not helpful for me to point this out, but usually just going through System -> Administration -> Hardware Drivers will have the correct driver for you.
Leave it to me to find the most complicated way of doing things. That seems to have worked, at least for now. The NVIDIA screen doesn't pop up at login but 3D accel seems to be working, at least somewhat. Some of the OpenGL screen savers work, others don't. Thanks for the help, at least I am good enough now.
If anyone else has a solution that might solve those last remaining issues I would appreciate it.