nvidia-glx-legacy has gone from bad to worse

When I first upgraded to breezy I was mildly annoyed that the nvidia drivers broke, I had to install nvidia-legacy instead, and that all of the openGL stuff stopped working although the driver appeared to be loading and xorg seems to think everything is in order. Programs like glxgears would tell me I didn't have GLX. Programs like mplayer would work with "-vo xv" which was good enough most of the time so I didn't worry about it too much. Just recently I thought I would try to sort this out properly. I removed all of the 'restricted' modules and glx stuff, including config, via synaptic, then cleanly reinstalled the nvidia-legacy kernel modules and nvidia-glx-legacy package. Now glxgears exits with a segfault. Worse, so does mplayer even when I use -vo xv and even if I'm trying to play some audio-only file (or even no file at all!) Where to I even begin trying to find out what's messed up and how to fix it?!

Hello, What does the Xorg log say when starting X? Check that there are no warning about kernel and GLX version mismatches. Does /etc/X11/Xorg.conf explicity use the nvidia driver as opposed to nv? What was the rational for selecting the legacy drivers? I did accidentally and it wasn't until I installed the standard kernel and GLX modules that the system came right. My recommendation would be to remove the legacy nvidia drivers and install the standard nvidia kernel and GLX libraries. Run the nvidia-config enable (assuming you are using ubuntu) Check you /etc/X11/Xorg.conf file and make sure the nvidia driver is selected and that the GLX libraries are also loaded. Reboot and if problems check /var/log/Xorg.0.log for the errors. If you are running you own kernel you might need to download the installer script off the nvidia website and run that against your own kernel. You'll then need make, autoconf, binutils and all those other compilation goodies for the script to run. Does that help? Chris On Fri, 02 Dec 2005 12:29, zcat wrote:
When I first upgraded to breezy I was mildly annoyed that the nvidia drivers broke, I had to install nvidia-legacy instead, and that all of the openGL stuff stopped working although the driver appeared to be loading and xorg seems to think everything is in order. Programs like glxgears would tell me I didn't have GLX. Programs like mplayer would work with "-vo xv" which was good enough most of the time so I didn't worry about it too much.
Just recently I thought I would try to sort this out properly. I removed all of the 'restricted' modules and glx stuff, including config, via synaptic, then cleanly reinstalled the nvidia-legacy kernel modules and nvidia-glx-legacy package.
Now glxgears exits with a segfault. Worse, so does mplayer even when I use -vo xv and even if I'm trying to play some audio-only file (or even no file at all!)
Where to I even begin trying to find out what's messed up and how to fix it?!
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

Chris O'Halloran wrote:
Hello,
What does the Xorg log say when starting X? Check that there are no warning about kernel and GLX version mismatches.
(EE) NVIDIA(0): Failed to load GLX
Does /etc/X11/Xorg.conf explicity use the nvidia driver as opposed to nv?
zcat(a)fluffy:~$ grep nv /etc/X11/xorg.conf Driver "nvidia"
What was the rational for selecting the legacy drivers? I did accidentally and it wasn't until I installed the standard kernel and GLX modules that the system came right.
When I updated to breezy my existing nvidia drivers broke. xorg's logfile had a note that my card wasn't supported by the regular nvidia drivers and I needed nvidia-legacy instead. (**) | |-->Device "NVIDIA Corporation NV5 [RIVA TNT2/TNT2 Pro]"
My recommendation would be to remove the legacy nvidia drivers and install the standard nvidia kernel and GLX libraries. Run the nvidia-config enable (assuming you are using ubuntu) Check you /etc/X11/Xorg.conf file and make sure the nvidia driver is selected and that the GLX libraries are also loaded. Reboot and if problems check /var/log/Xorg.0.log for the errors.
In the end I purged the restricted-modules and nvidia-glx, (and mplayer-586 packages just to be sure) completely. In the process I found various references to the later nvidia drivers and modules which I think might have been causing the segfault problem. The segfault went away, so I cautiously reinstalled the nvidia-glx-legacy package and it's dependencies. Now I'm back to where I was. nvidia drivers loading, mplayer works, but still no GLX. (II) Loading extension NV-GLX (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture (==) NVIDIA(0): Backing store disabled (==) NVIDIA(0): Silken mouse enabled (**) Option "dpms" (**) NVIDIA(0): DPMS enabled (II) NVIDIA(0): v4l[/dev/video0]: using hw video scaling [YUY2]. (II) Loading extension NV-CONTROL (EE) NVIDIA(0): Failed to load GLX

Hello, Is GLcore commented out in your xorg.conf file? This may be interfering with loading the GLX library so comment it out. Check out the readme's associated with the nvidia drivers. There might be a bit more on any other option you may have in your xorg.conf file. Another option is to startx from the command line and see if the error messages point to anything, that's how I discovered my kernel and GLX libraries were different versions. Chris On Mon, 05 Dec 2005 09:21, zcat wrote:
Chris O'Halloran wrote:
Hello,
What does the Xorg log say when starting X? Check that there are no warning about kernel and GLX version mismatches.
(EE) NVIDIA(0): Failed to load GLX
Does /etc/X11/Xorg.conf explicity use the nvidia driver as opposed to nv?
zcat(a)fluffy:~$ grep nv /etc/X11/xorg.conf Driver "nvidia"
What was the rational for selecting the legacy drivers? I did accidentally and it wasn't until I installed the standard kernel and GLX modules that the system came right.
When I updated to breezy my existing nvidia drivers broke. xorg's logfile had a note that my card wasn't supported by the regular nvidia drivers and I needed nvidia-legacy instead.
(**) | |-->Device "NVIDIA Corporation NV5 [RIVA TNT2/TNT2 Pro]"
My recommendation would be to remove the legacy nvidia drivers and install the standard nvidia kernel and GLX libraries. Run the nvidia-config enable (assuming you are using ubuntu) Check you /etc/X11/Xorg.conf file and make sure the nvidia driver is selected and that the GLX libraries are also loaded. Reboot and if problems check /var/log/Xorg.0.log for the errors.
In the end I purged the restricted-modules and nvidia-glx, (and mplayer-586 packages just to be sure) completely. In the process I found various references to the later nvidia drivers and modules which I think might have been causing the segfault problem.
The segfault went away, so I cautiously reinstalled the nvidia-glx-legacy package and it's dependencies.
Now I'm back to where I was. nvidia drivers loading, mplayer works, but still no GLX.
(II) Loading extension NV-GLX (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture (==) NVIDIA(0): Backing store disabled (==) NVIDIA(0): Silken mouse enabled (**) Option "dpms" (**) NVIDIA(0): DPMS enabled (II) NVIDIA(0): v4l[/dev/video0]: using hw video scaling [YUY2]. (II) Loading extension NV-CONTROL (EE) NVIDIA(0): Failed to load GLX
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

Chris O'Halloran wrote:
Hello,
Is GLcore commented out in your xorg.conf file? This may be interfering with loading the GLX library so comment it out.
Putting GLcore back in led to an error that it can't initialise GLX because of some Composite thingy. Option "Composite" "Disable" fixed the problem with GLX although I'm not sure what I've just dissabled!

Hi Bruce, Does the card have TV output? zcat wrote:
Chris O'Halloran wrote:
Hello,
Is GLcore commented out in your xorg.conf file? This may be interfering with loading the GLX library so comment it out.
Putting GLcore back in led to an error that it can't initialise GLX because of some Composite thingy. Option "Composite" "Disable" fixed the problem with GLX although I'm not sure what I've just dissabled!
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug

So is the graphics card working with GLX and open GL now? On Mon, 05 Dec 2005 19:52, zcat wrote:
Chris O'Halloran wrote:
Hello,
Is GLcore commented out in your xorg.conf file? This may be interfering with loading the GLX library so comment it out.
Putting GLcore back in led to an error that it can't initialise GLX because of some Composite thingy. Option "Composite" "Disable" fixed the problem with GLX although I'm not sure what I've just dissabled!
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
participants (3)
-
Chris O'Halloran
-
DrWho?
-
zcat