Bug#772740: xserver-xorg-video-nvidia-legacy-304xx: No glXSwapIntervalSGI despite reported GLX_SGI_swap_control in socket-based connections

Andreas Beckmann anbe at debian.org
Wed Dec 17 00:03:46 UTC 2014


On 2014-12-10 16:32, Ilya Anfimov wrote:
> Dear  Maintainer,  I'm trying to run OpenGL acceleration in indi-
> rect GLX mode on an old NVidia graphics card. The OpenGL  library
> is  set to mesa, as it should have sufficient GLX implementation,
> it works fine with other X-servers  (cygwin/intel)  and  it  will
> definitely  not  support  direct rendering to server with propri-
> etary nvidia driver.

I'm not sure that is a supported setup ...

You have a lot of nvidia related cruft on that historically grown machine:

* some 340.xx driver packages are installed, but that does not support
your card, remove them

* lots of files from older .run driver installations have been left on
your box, move them aside or delete them:

> lrwxrwxrwx 1 root root       21 May  7  2013 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.8776
> -rw-r--r-- 1 root root  7853184 Jan  5  2007 /usr/lib/libGLcore.so.1.0.8776
> lrwxrwxrwx 1 root root       18 May  7  2013 /usr/lib/libnvidia-cfg.so -> libnvidia-cfg.so.1
> lrwxrwxrwx 1 root root       25 May  7  2013 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.1.0.9755
> -rwxr-xr-x 1 root root   124848 Apr  4  2007 /usr/lib/libnvidia-cfg.so.1.0.9755
> lrwxrwxrwx 1 root root       25 May  7  2013 /usr/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.9755
> -rw-r--r-- 1 root root     3016 Jan  5  2007 /usr/lib/libnvidia-tls.so.1.0.8776
> -rwxr-xr-x 1 root root     3016 Apr  4  2007 /usr/lib/libnvidia-tls.so.1.0.9755
> lrwxrwxrwx 1 root root       22 May  7  2013 /usr/lib32/libGLcore.so -> libGLcore.so.173.14.09
> lrwxrwxrwx 1 root root       22 May  7  2013 /usr/lib32/libGLcore.so.1 -> libGLcore.so.173.14.09
> -rwxr-xr-x 1 root root  9918780 Apr  4  2007 /usr/lib32/libGLcore.so.1.0.9755
> -rw-r--r-- 1 root root 13886208 Sep  1  2008 /usr/lib32/libGLcore.so.173.14.09
> lrwxrwxrwx 1 root root       25 May  7  2013 /usr/lib32/libnvidia-cfg.so.1 -> libnvidia-cfg.so.1.0.9755
> -rwxr-xr-x 1 root root   107364 Apr  4  2007 /usr/lib32/libnvidia-cfg.so.1.0.9755
> lrwxrwxrwx 1 root root       26 May  7  2013 /usr/lib32/libnvidia-tls.so.1 -> libnvidia-tls.so.173.14.09
> -rw-r--r-- 1 root root     2352 Jan  5  2007 /usr/lib32/libnvidia-tls.so.1.0.8776
> -rwxr-xr-x 1 root root     2352 Apr  4  2007 /usr/lib32/libnvidia-tls.so.1.0.9755
> -rw-r--r-- 1 root root     2240 Sep  1  2008 /usr/lib32/libnvidia-tls.so.173.14.09

> /usr/lib/mesa-diverted/:
> -rw-r--r--   1 root root 584296 Feb 23  2007 libGL.so.1.2

> /usr/lib/nvidia/:
> -rw-r--r--   1 root root 118736 Jan  5  2007 libnvidia-cfg.so.1.0.8776
> -rw-r--r--   1 root root   3408 Jan  5  2007 libnvidia-tls.so.1.0.8776
> -rwxr-xr-x   1 root root   3408 Apr  4  2007 libnvidia-tls.so.1.0.9755

> /usr/lib32/nvidia/:
> -rw-r--r-- 1 root root 397164 Jul 12  2008 libGL.so.1.2.ia32-libs
> lrwxrwxrwx 1 root root     12 May  7  2013 libGL.so.1.ia32-libs -> libGL.so.1.2
> lrwxrwxrwx 1 root root     10 May  7  2013 libGL.so.ia32-libs -> libGL.so.1

you explicitly disabled the nvidia module:

> <<<<<<<<<< /etc/modprobe.d/nvidia-kernel-common.conf >>>>>>>>>>
> alias char-major-195* nvidia
> options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
> # To enable FastWrites and Sidebus addressing, uncomment these lines
> # options nvidia NVreg_EnableAGPSBA=1
> # options nvidia NVreg_EnableAGPFW=1
> 
> # see #580894
> #blacklist nouveau
> options nouveau modeset=1
> blacklist nvidia
> ^^^^^^^^^^ /etc/modprobe.d/nvidia-kernel-common.conf ^^^^^^^^^^

Unfortunately the bug script did not collect information about the
nvidia things in /usr/lib/xorg/modules (this will be fixed in
304.125-1), I would expect that there are even more files from old versions.

In the end you probably loaded a mix of incompatible versions resulting
in your failures.

Andreas



More information about the pkg-nvidia-devel mailing list