Bug#642131: xserver-xorg-video-nvidia: window creation error

Andreas Beckmann debian at abeckmann.de
Mon Sep 19 18:58:52 UTC 2011


On 2011-09-19 19:04, lee wrote:

> try to run a second life viewer like Phoenix, Firestorm or the one
> from Linden

Is that packaged for Debian?

> [...]
> 2011-09-19T17:00:31Z INFO: llwindow/llwindowsdl.cpp(627) : createContext: createContext: creating window 1024x738x32
> 2011-09-19T17:00:31Z WARNING: llwindow/llwindowsdl.cpp(637) : createContext: createContext: window creation failure. SDL: Couldn't find matching GLX visual
> 2011-09-19T17:00:31Z INFO: llwindow/llwindowsdl.cpp(804) : destroyContext: destroyContext begins
> [...]

Let's try google ... most hits for that error are several years old ...

http://strredwolf.furrynet.com/wiki/index.php/SECOND_LIFE_LINUX_FAQ#WARNING:_createContext:_window_creation_failure._SDL:_Couldn.27t_find_matching_GLX_visual

But your depth is already set to 24 ...

http://jira.phoenixviewer.com/browse/FIRE-2884

Arrehn Oberlander made changes - Sep 04, 05:03 PM +0200
Status 	Open [ 1 ] 	==> Resolved [ 5 ]
Fix Version/s 		==> Phoenix Firestorm 3.0.1 RC (Current Development) [
10106 ]
Resolution 		==> Fixed [ 1 ]

So this may have been fixed upstream?

> The viewer should just run. Appartently, it seems to work just fine
> when using the drivers downloaded from NVIDIAs website. This is the
> only solution to this I have been able to find.

Please be more specific ... what was the last version you tried this way?

> I've been using the drivers from NVIDIA for a long time before not
> long ago I switched to the NVIDIA ones that come with Debian. It seems
> I'll have to switch back now :( Are there any instructions somewhere
> about the best way to do that?

Uninstall all Debian nvidia packages first.

> dmesg:
> [549787.356099] NVRM: Xid (0000:01:00): 8, Channel 0000000c

Xid messages in dmesg usually mean something is borked ...

> OpenGL and NVIDIA library files installed:
> lrwxrwxrwx 1 root root       26 Jul 20 21:28 /usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.195.36.24
> -rw-r--r-- 1 root root   136456 Apr 23  2010 /usr/lib/libnvidia-cfg.so.195.36.24
> lrwxrwxrwx 1 root root       26 Jun  2 23:19 /usr/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.195.36.24
> -rw-r--r-- 1 root root     6456 Apr 23  2010 /usr/lib/libnvidia-tls.so.195.36.24

These 4 files seem to be left over from the nvidia-installer usage ...
delete them.

strace output from starting the viewer may be helpful to see what's
actually being accessed:

strace -f -o logfile program

Andreas





More information about the pkg-nvidia-devel mailing list