Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

sdl & gtk versions incompatability

Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-19-2007 19:48
In order to upgrade my Slackware 11 to properly handle the new DST change, I had to upgrade to the latest GTK libraries - apparently the current secondlife client doesn't like this new version. Is there a work-around? Command-line switch?
Tofu Linden
Linden Lab Employee
Join date: 29 Aug 2006
Posts: 471
03-20-2007 03:14
What GTK version did you upgrade to, and in what way doesn't it like it? GTK 2.x is supposed to be entirely backwards-compatible, but maybe they failed.

You could try the First Look version of the client however, as it has a slightly upgraded GTK dependency.
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-20-2007 14:23
Upgraded to 2.8.20 - the console log shows sl client wants 2.0.9

Also reports I'm runnind SDL 1.2.11, and the sl client wants 1.2.5

The warning: createContext: window creation failure. SDL: Couldn't find matching GLX visual.

Note: Before I updated GTK libraries, I was running the client without errors; it was quite stable.
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-20-2007 15:12
Just tried running Firstlook - similar problems

Reports

INFO: main: Initializing window...
INFO: II_try_gtk_init: Starting GTK Initialization.
INFO: II_try_gtk_init: GTK Initialized
INFO: II_try_gtk_init: - Compiled against GTK version 2.4.1
INFO: II_try_gtk_init: - Running against GTK version 2.8.20
INFO: createContext: Compiled against sdl 1.2.5
INFO: createContext: Running against 1.2.11
INFO: createContext: creating window 800x600x32
WARNING: creatContext: window creation failure. SDL: Couldn't find matching GLX visual
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
03-20-2007 18:17
Hmmm... just to make sure, can you get into X11 again, and from an xterm or rxvt run:

CODE
xdpyinfo | less


xdpyinfo will print a ton of info on the screen, which is why it's being piped to less. Hit space until you get to a section called "Screen #0". Then carefully look for a line called "depth of root window". If it doesn't have "24 planes" or "32 planes" next to it, then it's not GTK's fault -- it's your configuration. You will need to change it so it uses 24-bit color.
_____________________
Drake Bacon/Drake Winger
Home: Custom AMD X2 (65nm) 5000+, 4 Gig RAM, Gentoo amd64, NVidia GeForce 8600GT PCIe
Mobile: Dell Inspiron E1505 (Core Duo 1.6GHz, 1 gig RAM, Gentoo x86, NVidia GeForce Go 7300 PCIe)
Backup: iMac (Core 2 Duo 2.4GHz, 4 gig RAM, ATI Radeon HD 2400, MacOS X Leopard)
Don't Ask: Asus EeePC 900A (Atom 1.6Ghz, 1 gig RAM, Intel graphics, Gentoo x86)
Tofu Linden
Linden Lab Employee
Join date: 29 Aug 2006
Posts: 471
03-21-2007 02:21
From: Arrow Hand
Upgraded to 2.8.20 - the console log shows sl client wants 2.0.9
Also reports I'm runnind SDL 1.2.11, and the sl client wants 1.2.5
Neither of these are problems at all.

Did your system upgrade also upgrade your X server or graphics drivers? It might have deconfigured your hardware GL driver, which would match the symptoms.

(Post the results of running glxinfo if in doubt.)
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
03-21-2007 06:07
also true (for NVidia) if the kernel was updated... :p

Then the NVidia driver needs to be reinstalled.
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-22-2007 20:52
From: Drake Bacon
Hmmm... just to make sure, can you get into X11 again, and from an xterm or rxvt run:

CODE
xdpyinfo | less


xdpyinfo will print a ton of info on the screen, which is why it's being piped to less. Hit space until you get to a section called "Screen #0". Then carefully look for a line called "depth of root window". If it doesn't have "24 planes" or "32 planes" next to it, then it's not GTK's fault -- it's your configuration. You will need to change it so it uses 24-bit color.


Just ran xdpyinfo - It's at 24 planes.
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-22-2007 20:57
From: Tofu Linden
Neither of these are problems at all.

Did your system upgrade also upgrade your X server or graphics drivers? It might have deconfigured your hardware GL driver, which would match the symptoms.

(Post the results of running glxinfo if in doubt.)


I believe I *did* upgrade the X server. Refresh my memory - where will I find the GL driver configuration? I'll spelunker around until either I remember, or you remind me :)
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-22-2007 20:58
From: Angel Sunset
also true (for NVidia) if the kernel was updated... :p

Then the NVidia driver needs to be reinstalled.


Kernel hasn't been updated.
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
03-23-2007 17:46
You just upgraded Xorg? Recompile your graphics driver. It's probably switched back over to X11 Mesa. Check "glxinfo" (like you did with xdpyinfo).
_____________________
Drake Bacon/Drake Winger
Home: Custom AMD X2 (65nm) 5000+, 4 Gig RAM, Gentoo amd64, NVidia GeForce 8600GT PCIe
Mobile: Dell Inspiron E1505 (Core Duo 1.6GHz, 1 gig RAM, Gentoo x86, NVidia GeForce Go 7300 PCIe)
Backup: iMac (Core 2 Duo 2.4GHz, 4 gig RAM, ATI Radeon HD 2400, MacOS X Leopard)
Don't Ask: Asus EeePC 900A (Atom 1.6Ghz, 1 gig RAM, Intel graphics, Gentoo x86)
Arrow Hand
Registered User
Join date: 10 Mar 2006
Posts: 78
03-25-2007 14:23
Well, I downloaded the latest NVIDIA driver, compiled it and it's solved the problem. Thanks.