Lost 3D after updating nvidia-glx, linux and X

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Lost 3D after updating nvidia-glx, linux and X

Postby Miguel Perez » 2011-06-15 20:51

I'm running Sid on i686 with an nVidia GeForce GTS 250 and the proprietary drivers.

It was all running perfectly with linux-image-2.6.37-1-686-bigmem, xserver-xorg 7.5+8 and nvidia-glx 260.19.21-1. Upon upgrading to linux-image-2.6.39-2-686-pae, Xorg 7.6+7 and nvidia-glx 270.41.19-1, which are the most up to date packages in Sid, and disabling modesetting (otherwise the nVidia proprietary drivers wouldn't be able to run as the graphics card would be held by nouveau), I got X running again, but no 3D acceleration is available.

glxgears says "Error: couldn't get an RGB, Double-buffered visual"; glx-info says "name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig"; nvidia-settings says "Failed to query the GLX server vendor" in the OpenGL/GLX Information section.

Here's more information about installed packages:
Code: Select all
ii  libgl1-mesa-dri                               7.10.3-1   
ii  libgl1-mesa-glx                               7.10.3-1   
ii  libgl1-nvidia-alternatives                    270.41.19-1
ii  libgl1-nvidia-glx                             270.41.19-1
ii  libglu1-mesa                                  7.10.3-1   
ii  libglx-nvidia-alternatives                    270.41.19-1
ii  linux-image-2.6.39-2-686-pae                  2.6.39-2   
ii  linux-image-686-pae                           2.6.39+35.1
ii  mesa-utils                                    8.0.1-2     
ii  nvidia-glx                                    270.41.19-1
ii  nvidia-installer-cleanup                      20110515+1 
ii  nvidia-kernel-common                          20110515+1 
ii  nvidia-kernel-dkms                            270.41.19-1
ii  nvidia-settings                               270.41.06-1
ii  nvidia-support                                20110515+1 
ii  nvidia-xconfig                                270.41.06-1
ii  xserver-xorg                                  1:7.6+7     


Here's relevant information from Xorg.0.log:
Code: Select all
0 /root> grep -E '(nvidia|glx)' /var/log/Xorg.0.log
[    16.492] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    16.519] (II) LoadModule: "glx"
[    16.537] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.009] (II) Module glx: vendor="NVIDIA Corporation"
[    18.050] (II) LoadModule: "nvidia"
[    18.063] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.166] (II) Module nvidia: vendor="NVIDIA Corporation"
[    18.308] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.328] (**) NVIDIA(0): Option "MetaModes" "nvidia-auto-select +0+0; 1680x1050_60 +0+0"
[    19.453] (II) NVIDIA(0):     "nvidia-auto-select+0+0"
[    19.500] (II) NVIDIA(0): Setting mode "nvidia-auto-select+0+0"


and dmesg:
Code: Select all
0 /root> grep -E '(nvidia|glx)' /var/log/dmesg
[    7.605490] nvidia: module license 'NVIDIA' taints kernel.
[    8.179981] nvidia 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    8.180055] nvidia 0000:01:00.0: setting latency timer to 64


and there's nothing important in .xsession-errors.

Any clues? Should I try with nVidia's original driver installation? I can provide any additional information as necessary.
Miguel Perez
 
Posts: 15
Joined: 2011-03-03 22:33

Re: Lost 3D after updating nvidia-glx, linux and X

Postby 4D696B65 » 2011-06-15 21:01

Its a bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630579
grab the following packages from testing and use dpkg to install them.

libegl1-mesa_7.10.2-3_i386.deb
libglu1-mesa_7.10.2-3_i386.deb
libegl1-mesa-drivers_7.10.2-3_i386.deb
xserver-xephyr_1.10.2-1_i386.deb
libgl1-mesa-dri_7.10.2-3_i386.deb
xserver-xorg-core_1.10.2-1_i386.deb
libgl1-mesa-glx_7.10.2-3_i386.deb

everything should be ok after a reboot.

amd64 users should get the amd64 flavour of these packages.

edit: only install the files that are already present on your system. Thank you Miguel Perez for raising that point.
Last edited by 4D696B65 on 2011-06-16 00:10, edited 2 times in total.
User avatar
4D696B65
 
Posts: 1765
Joined: 2009-06-28 06:09

Re: Lost 3D after updating nvidia-glx, linux and X

Postby milomak » 2011-06-15 21:38

ah i think i also have been befallen by this state of affairs
Laptop (64-bit) - Debian Sid and Win8
Desktop (64-bit) - Debian Sid, ArchLinux, Win8 and Fedora 19
MythTV BE/FE - Debian Stable
MythTV FE - Debian Sid
milomak
 
Posts: 1436
Joined: 2009-06-09 22:20

Re: Lost 3D after updating nvidia-glx, linux and X

Postby Miguel Perez » 2011-06-15 22:42

4D696B65 wrote:Its a bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630579
grab the following packages from testing and use dpkg to install them.

libegl1-mesa_7.10.2-3_i386.deb
libglu1-mesa_7.10.2-3_i386.deb
libegl1-mesa-drivers_7.10.2-3_i386.deb
xserver-xephyr_1.10.2-1_i386.deb
libgl1-mesa-dri_7.10.2-3_i386.deb
xserver-xorg-core_1.10.2-1_i386.deb
libgl1-mesa-glx_7.10.2-3_i386.deb

everything should be ok after a reboot.

amd64 users should get the amd64 flavour of these packages.


Thank you very much for your prompt and excellent reply! I replaced my installed packages with the ones you suggested (leaving out the ones I didn't have), solving the issue.
Miguel Perez
 
Posts: 15
Joined: 2011-03-03 22:33

Re: Lost 3D after updating nvidia-glx, linux and X

Postby 4D696B65 » 2011-06-15 23:14

Miguel Perez wrote:Thank you very much for your prompt and excellent reply! I replaced my installed packages with the ones you suggested (leaving out the ones I didn't have), solving the issue.

Glad I could help. And you are correct, leave out the packages that you don't have in the first place.
User avatar
4D696B65
 
Posts: 1765
Joined: 2009-06-28 06:09

Lost 3D after updating with a Radeon card

Postby jdkaye » 2011-06-18 06:49

4D696B65 wrote:Its a bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630579
grab the following packages from testing and use dpkg to install them.

libegl1-mesa_7.10.2-3_i386.deb
libglu1-mesa_7.10.2-3_i386.deb
libegl1-mesa-drivers_7.10.2-3_i386.deb
xserver-xephyr_1.10.2-1_i386.deb
libgl1-mesa-dri_7.10.2-3_i386.deb
xserver-xorg-core_1.10.2-1_i386.deb
libgl1-mesa-glx_7.10.2-3_i386.deb

everything should be ok after a reboot.

amd64 users should get the amd64 flavour of these packages.

edit: only install the files that are already present on your system. Thank you Miguel Perez for raising that point.

I apologise in advance if this should be a separate thread. I have the identical problem but with a Radeon HD 4350 graphics card running 2.6.39-1.dmz.2-liquorix-amd64. I have all the above packages installed with the correct versions (those shown in the quote) but the problem persists.
Xorg.0.log shows
Code: Select all
[    20.757] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/r600_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/r600_dri.so: cannot open shared object file: No such file or directory)
[    20.757] (EE) AIGLX: reverting to software rendering
[    20.757] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    20.757] (EE) GLX: could not load software renderer

I have both drivers but they are in /usr/lib/dri/ and not in .../86_64-linux-gnu... The obvious answer is to create this directory with links to the two drivers but someone should really fix this if this is the cause. It should be trivial to correct. I will try this and report back.
ciao,
jdk
[FLASH] Solved. That did it. Glx back to normal. This bug has already been filed here: http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/192449bdb1b54d73/30597c1ac6bf80f3?#30597c1ac6bf80f3
jdkaye
 
Posts: 3
Joined: 2011-06-18 06:33

Re: Lost 3D after updating nvidia-glx, linux and X

Postby JSJB » 2011-09-20 01:55

I had nvidia-glx and X running well on Wheezy installed July 23,2011 on a new PC with an NVIDIA 560 Ti card.
After an apt-get upgrade on August 17, the OpenGL features are no longer working correctly and I haven't been
able to restore the system. The details are below, as far as I was able to capture and seemed related to this thread.

I'd really appreciate if anyone has any suggestions to try in order to get these working (fgfs would be a great test to be able to pass).

OpenGL problems in 3 different packages:
1. /usr/lib/xscreensaver/molecule and /usr/lib/xscreensaver/endgame from xscreensaver-gl 5.14 display anomalous lines from
the center of the image to the edge of the window

2. /usr/bin/osgdatabaserevisions from openscenegraph-3.0.0-2 also displays extraneous shapes as the image rotates

3. most serious of all, fgfs from flightgear-2.0.0-4 will display lots of extraneous shapes, have lots of flickering pixels and within
minutes either lock up the X server or else make it impossible to scroll down any list (or even use less on xterm or gnome-terminal)
[The same will happen with the flight simulator from googleearth but it takes longer to see the problem.]
The X server lockup has the following on /var/log/Xorg.0.log:
[ 672.814] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 672.814]
Backtrace:
[ 672.830] 0: /usr/bin/X (xorg_backtrace+0x37) [0x80a7e87]
[ 672.830] 1: /usr/bin/X (mieqEnqueue+0x1d1) [0x80a2171]
[ 672.830] 2: /usr/bin/X (xf86PostMotionEventM+0xb0) [0x80c8ef0]
[ 672.830] 3: /usr/bin/X (xf86PostMotionEventP+0x6f) [0x80c903f]
[ 672.830] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb4aff000+0x2cfe) [0xb4b01cfe]
[ 672.830] 5: /usr/lib/xorg/modules/input/evdev_drv.so (0xb4aff000+0x3e1d) [0xb4b02e1d]
[ 672.830] 6: /usr/bin/X (0x8048000+0x6dea1) [0x80b5ea1]
[ 672.830] 7: /usr/bin/X (0x8048000+0x1280d2) [0x81700d2]
[ 672.830] 8: (vdso) (__kernel_sigreturn+0x0) [0xb7855400]
[ 672.830] 9: (vdso) (__kernel_vsyscall+0x10) [0xb7855424]
[ 672.830] 10: /lib/i386-linux-gnu/i686/cmov/libc.so.6 (__gettimeofday+0x16) [0xb7593ff6]
[ 672.830] 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0xb507b000+0x5c48d) [0xb50d748d]
[ 672.872] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000a68, 0x00001c78)
[ 679.872] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000a68, 0x00001c78)
[ 682.874] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000a68, 0x00002e88)
[ 689.874] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000a68, 0x00002e88)
[ 692.875] (WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00000a68, 0x0000ba6c)
[ 699.875] (WW) NVIDIA(0): WAIT (1, 7, 0x8000, 0x00000a68, 0x0000ba6c)
[ 702.884] (WW) NVIDIA(0): WAIT (2, 7, 0x8000, 0x00000a68, 0x0000c468)


The lockup was avoided with the following lines in xorg.conf:
Section "ServerFlags"
Option "AIGLX" "on"
Option "GlxVisuals" "all"
Option "IgnoreABI" "True"
EndSection

However, after a minute or so of running fgfs it was impossible to scroll down any list
or window, even in an xterm where resize reports the correct number of lines and columns;
the 3D features still did not work.

Approaches:
1. I tried installing nvidia-glx=275.09.07-5, libg*-mesa-*=7.10.3-3, glx-alternative-nvidia=0.1.4
with dpkg --install, as these were the versions before the upgrade but the problem stayed.

2. I tried installing the nvidia blob directly (after purging nvidia-installer-cleanup) but it didn't help

3. I upgraded to the versions in Wheezy on Sept 18, 2011, still the same problem.

4. I restored these packages but still didn't help:
libegl1-mesa_7.10.2-3_i386.deb
libegl1-mesa-drivers_7.10.2-3_i386.deb
libgl1-mesa-dri_7.10.2-3_i386.deb
libgl1-mesa-glx_7.10.2-3_i386.deb
xserver-common_1.10.2-1+wheezy1_all.deb
xserver-xorg-core_1.10.2-1+wheezy1_i386.deb



These were the versions of the nvidia/glx/X packages that changed during the upgrade:
Start-Date: 2011-08-17 21:22:06
Commandline: apt-get upgrade
Upgrade: xserver-xorg:i386 (7.6+7, 7.6+8),
xserver-xorg-video-all:i386 (7.6+7, 7.6+8),
nvidia-settings:i386 (275.09.07-1, 280.13-1),
libx11-data:i386 (1.4.3-2, 1.4.4-1),
nvidia-vdpau-driver:i386 (275.09.07-5, 280.13-1),
xserver-common:i386 (1.10.2.902-1, 1.10.3-1),
glx-alternative-mesa:i386 (0.1.4, 0.1.91),
openscenegraph-examples:i386 (2.8.3-7, 3.0.0-2),
mesa-common-dev:i386 (7.10.3-3, 7.10.3-4),
xserver-xorg-core:i386 (1.10.2.902-1, 1.10.3-1),
nvidia-alternative:i386 (275.09.07-5, 280.13-1),
libglx-nvidia-alternatives:i386 (275.09.07-5, 280.13-1),
nvidia-kernel-common:i386 (20110515+1, 20110729+1),
xserver-xorg-input-all:i386 (7.6+7, 7.6+8),
libglu1-mesa-dev:i386 (7.10.3-3, 7.10.3-4),
xserver-xorg-video-nvidia:i386 (275.09.07-5, 280.13-1),
glx-alternative-nvidia:i386 (0.1.4, 0.1.91),
nvidia-installer-cleanup:i386 (20110515+1, 20110729+1),
xinit:i386 (1.3.0-1, 1.3.1-1),
glx-diversions:i386 (0.1.4, 0.1.91),
nvidia-kernel-dkms:i386 (275.09.07-5, 280.13-1),
libgl1-mesa-dev:i386 (7.10.3-3, 7.10.3-4),
xserver-xephyr:i386 (1.10.2.902-1, 1.10.3-1),
nvidia-support:i386 (20110515+1, 20110729+1),
x11-common:i386 (7.6+7, 7.6+8),
libgl1-mesa-glx:i386 (7.10.3-3, 7.10.3-4),
xorg:i386 (7.6+7, 7.6+8),
nvidia-kernel-source:i386 (275.09.07-5, 280.13-1),
nvidia-glx:i386 (275.09.07-5, 280.13-1),
End-Date: 2011-08-17 21:35:14
JSJB
 
Posts: 22
Joined: 2011-08-19 13:47

Re: Lost 3D after updating nvidia-glx, linux and X

Postby JSJB » 2011-10-15 03:14

The rendering and X server freeze problems I described in the Sept. 19 2011 post above
were resolved in bug 642497
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642497

with the resolution posted there.
JSJB
 
Posts: 22
Joined: 2011-08-19 13:47


Return to Hardware

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable