Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GLX: support fbconfig (ticket #122) - Extra Info



Hello,

I just wanted to provide some more information on ticket #122 (http://xquartz.macosforge.org/trac/ticket/122 ),
I notice people have had trouble getting wine to detect libGL at all, but I won't go into that as the issue is related
to dlopen() but imo using the DYDL_FALLBACK_PATH env is the wrong way to fix it.


Once you can get wine to find your libGL as in this ticket it will say:

err:wgl:has_opengl glx_version is 1.2 and GLX_SGIX_fbconfig extension is unsupported. Expect problems.

Now at this point wine does NOT make any bindings to any of the required GLX functions, so any crashes or
problems after this point are likely not a GLX issue but rather the fact that wine is calling function pointers that
haven't been set to anything!


So the first check wine does is "glxRequireVersion(3)", which fails since the current version reports itself as 1.2,
wine will then try a call to "glxRequireExtension("GLX_SGIX_fbconfig")", this check ALSO fails. Even though a
check on the libGL provided shows that it contains symbols for GLX_SGIX_fbconfig.. When both of these checks
fail the function pointers to:


glXChooseFBConfigSGIX
glXGetFBConfigAttribSGIX
glXGetVisualFromFBConfigSGIX

Don't get set, so obviously it's not going to work too well..

At this point I decided to just hack wine to bind to the extensions anyway, since they appeared to exist in the
supplied libGL. This works without error, leading me to believe that "glxRequireExtension("GLX_SGIX_fbconfig")"
is failing to report correctly that the extension is supported..?


How ever the app I tested with still was unable to draw in openGL, due to any call made to glXMakeContextCurrent
was returning false.. It was able to create a context and also delete it though..


Hope this helps.. And if anyone has ideas on why the MakeContextCurrent is failing please let me know!

Cheers!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.