Bug#584163: mesa: Flightgear won't start anymore: Errors out with "Not able to create requested visual"
Package: mesa
Version: 7.7.1-2
Severity: important
Ave people
Since updating my system from mesa 7.7.1-1 to 7.7.1-2, Flightgear (git/svn) won't start
anymore. It refuses with the message "Error: Not able to create requested
visual". A little google fu found more people had the same problem. It's
a regression in mesa, but luckily also a fix is available.
Thread with more people with the same problem:
http://forum.openscenegraph.org/viewtopic.php?t=5653
Bugreport at freedesktop with patch for (upstream) mesa 7.8
https://bugs.freedesktop.org/show_bug.cgi?id=28280
(patch also included in this mail)
I tested mesa 7.7.1-2 with this patch and can confirm that the patch also
works for (debian) mesa 7.7.1-2
Please include this patch in the next mesa package update en keep up the good work!
Greetz
Martijn Uffing
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (70, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index bdc6e31..fd5f076 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -438,6 +438,9 @@ __glXInitializeVisualConfigFromTags(__GLcontextModes * config, int count,
case GLX_Y_INVERTED_EXT:
config->yInverted = *bp++;
break;
+ case GLX_USE_GL:
+ if (fbconfig_style_tags) *bp++;
+ break;
case None:
i = count;
break;
Reply to: