UbuntuHelp:NvidiaTroubleshooting
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This page should be merged with BinaryDriverHowto/Nvidia. If you having trouble with the nv driver on a 6800 card it might be because of this: https://bugzilla.novell.com/show_bug.cgi?id=113203
目录
X does not start after using nvidia-glx-config enable
(This only seems to happen on Dapper). If you installed the nvidia-glx package and then ran the script that came with it you may find that your X server will not start. The easiest way to fix this is to replace the config file with the automatically made backup
sudo cp (wherever the backup is stored) /etc/X11/xorg.conf
Now do
sudo (your favourite editor here) /etc/X11/xorg.conf
And find the section relating to your graphics card. There it will say something similar to this:
Section "Device" Identifier "NVIDIA Corporation NV43 [GeForce 6600?]" Driver "nv" BusID "PCI:1:0:0" EndSection
Change the Driver to nvidia
BUT DO NOT CHANGE ANYTHING ELSE. That is where the script goes wrong as it appears to change the BusID to PCI:0:5:0
. Do NOT change it or put it in if it is not there.
Finally reboot/startx.
Note: If you find that when X crashes (especially on Kubuntu), usplash kicks in just press ctrl+alt+f1 into a terminal. Log in as a normal user.
Revert from driver from nvidia to the ubuntu provided
If you have installed the nvidia driver as a manual way and you want to revert to the ubuntu nvidia driver:
1. Go to the directory where is NVIDIA*.run, and run sudo NVIDIA*.run --uninstall. 2. You have to reinstall all the packages that refers to nvidia via synaptic. 3. Execute restricted-manager and enable the nvidia-glx*.
Next time you reboot you will get a nvidia driver working on all kernels, no API mismatch, No could not load nvidia driver...
OpenGL Problems
If you get such an error message:
...loading libGL.so: SDL: SDL_GL_LoadLibrary() failed! rc == (-1). SDL_GetError() reports "Could not load OpenGL library". failed ...loading libMesaVoodooGL.so.3.1: SDL: SDL_GL_LoadLibrary() failed! rc == (-1). SDL_GetError() reports "Could not load OpenGL library". failed ASSERT: [qcommon/common.c:406] GLimp_Init() - could not load OpenGL subsystem (fyi) ----- CL_Shutdown ----- ----------------------- Error: GLimp_Init() - could not load OpenGL subsystem
Solution
Start the game with the following parameter: +set r_gldriver libGL.so.1
In my case Enemy Territory worked fine without it, but MOHAA not!
mohaa +set r_gldriver libGL.so.1
Links
Ubuntu Bug Report Quake 3 Ubuntu French Forum