[Bug 10184] Wine unable to use Mac OS X OpenGL

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 18 14:12:37 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10184





--- Comment #25 from Ryan Walklin <ryanwalklin at gmail.com>  2008-01-18 14:12:36 ---
Bear in mind that you need to use the LDFLAG workaround in Wine < 0.9.53 so
configure can find libGL.dylib under /usr/X11/lib.

Additionally, /usr/X11/lib does not seem to be in the linker search path in
Leopard, so you need to either export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
so that libGL.dylib can actually be found when running wine. (This also finds
freetype so you guys don't constantly have to rebuild your font metrics)

Anyway, running wine with the above (ie DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
WINEDEBUG=+wgl wine Lesson2.exe) gives:

ryan at Firebert[~/Downloads/Lesson02]$ DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
WINEDEBUG=+wgl wine Lesson2.exe
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  128 (Apple-DRI)
  Minor opcode of failed request:  2 ()
  Value in failed request:  0x3f
  Serial number of failed request:  17
  Current serial number in output stream:  17

ie the same error for Steam, and likely the OS X linker bug as I've been
saying. Recompiling with the patch suggested by Roderick Colenbrander gives the
same output. Note there is no additional output from WINEDEBUG=+wgl, so I don't
know whether the root of this error is before any GL code is even called, or
whether I'm just not using the flag correctly. ;)

Anyway, the configure error has been fixed, and the runtime inability to find
libGL.dylib is because /usr/X11/lib is not in the linker search path. This can
be worked around as above. The real issue is the X error above, and might turn
out to be an Apple bug, although I note other notable OpenGL linux apps have
made it across to OS X (Xbox Media Center and DosBox spring to mind, although
they're both using SDL as a GL interface).

Anyway hope this helps.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list