MacOSX and OpengGL

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

Hi.
Since there is a lot of misleading info on the net I wanted to ask if
there is any way to make OpenGL work with wine on MacOSX? I know it is
not wine's fault but maybe there is some workaround that I am not
aware of? BTW does anyone when (if at all) Apple is going to fix this
OpenGL bug and is there any place where I can find the status of work
on it?
Regards Michal.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: MacOSX and OpengGL

Post by vitamin »

Micha³ Majchrowicz wrote:Hi.
Since there is a lot of misleading info on the net I wanted to ask if
there is any way to make OpenGL work with wine on MacOSX? I know it is
not wine's fault but maybe there is some workaround that I am not
aware of? BTW does anyone when (if at all) Apple is going to fix this
OpenGL bug and is there any place where I can find the status of work
on it?
Regards Michal.
Wine does not work with the OpenGL provided from Apple. You need to install Xorg 7.x (not the one that comes with MacOSX.
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

Okay so is there in some place the instruction on how to install Xorg
7 and make it work with wine ?
Regards Michal.

On Sun, Mar 2, 2008 at 4:58 PM, vitamin <[email protected]> wrote:

Micha³ Majchrowicz wrote:
Hi.
Since there is a lot of misleading info on the net I wanted to ask if
there is any way to make OpenGL work with wine on MacOSX? I know it is
not wine's fault but maybe there is some workaround that I am not
aware of? BTW does anyone when (if at all) Apple is going to fix this
OpenGL bug and is there any place where I can find the status of work
on it?
Regards Michal.
Wine does not work with the OpenGL provided from Apple. You need to install Xorg 7.x (not the one that comes with MacOSX.




David Gerard

MacOSX and OpengGL

Post by David Gerard »

On 02/03/2008, Michaù Majchrowicz <[email protected]> wrote:
On Sun, Mar 2, 2008 at 4:58 PM, vitamin <[email protected]> wrote:
Micha³ Majchrowicz wrote:
Since there is a lot of misleading info on the net I wanted to ask if
there is any way to make OpenGL work with wine on MacOSX? I know it is
Wine does not work with the OpenGL provided from Apple. You need to install Xorg 7.x (not the one that comes with MacOSX.
Okay so is there in some place the instruction on how to install Xorg
7 and make it work with wine ?
These might be helpful (or might not):

http://www.x.org/wiki/XDarwin
http://trac.macosforge.org/projects/xquartz (current version includes
X11R7.2, with X.Org Server 1.3)

If you're running Leopard, you might see more current X.Org versions
coming through System Update - Apple do participate in X.Org
development. I don't know if those still have the OpenGL bug you speak
of.


- d.
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

I have leopard
X -version
TransformProcessType: Success
X11.app starting:
X.org Release 7.2
X.Org Xquartz X Server 1.3.0-apple5
Build Date: 20080109
but unfortunatelly this doesn't
Okay wine compiles fine with OpenGL support. But I am unable to make wine work.
I get a lot of this when I run Direct3D/OpenGL app trough wine:
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling
OpenGL support !§

2008/3/2 David Gerard <[email protected]>:
On 02/03/2008, Michaù Majchrowicz <[email protected]> wrote:
On Sun, Mar 2, 2008 at 4:58 PM, vitamin <[email protected]> wrote:
Micha³ Majchrowicz wrote:
Wine does not work with the OpenGL provided from Apple. You need to install Xorg 7.x (not the one that comes with MacOSX.
Okay so is there in some place the instruction on how to install Xorg
7 and make it work with wine ?
These might be helpful (or might not):

http://www.x.org/wiki/XDarwin
http://trac.macosforge.org/projects/xquartz (current version includes
X11R7.2, with X.Org Server 1.3)

If you're running Leopard, you might see more current X.Org versions
coming through System Update - Apple do participate in X.Org
development. I don't know if those still have the OpenGL bug you speak
of.


- d.
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

I noticed that that many people report that in order to make wine find
libGL at runtime you should:
export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
But it doesn't give any effects. However setting LD_LIBRARY_PATH helps
but then I get this error:
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

Regards Michal.
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

I have installed XQuartz 2.1.4 which apparently fixes all the issues.
I did export LD_LIBRARY_PATH=/usr/X11/lib.
and now if I run i.e.:
WINEDEBUG=wgl winecfg I get this:
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 1.2
APPLE-1.5.24.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Intel
GMA X3100 OpenGL Engine.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
However the winecfg doesn't start and any other wine/windows app works
in the same way.
It just looks like wine is caught in some kind of endless loop or
something like this :(
What can I do with this ?
Regards Michal

On Mon, Mar 3, 2008 at 12:36 AM, <[email protected]> wrote:
Just wanted to make note that there is more to Mac OS X not being able to
use OpenGL then just a problem with X (which was fixed in the latest
XQuartz release iirc). Theres apparently some deadlock problems going on
in the OpenGL.dylib (library) file, and another linker problem with ld.

Both of these problems should ideally should be fixed by Apple since
they're Apple bugs, not by using workarounds. However, no telling if/when
that will happen :\

http://bugs.winehq.org/show_bug.cgi?id=10184 is the current bugzilla
report for Leopard not being able to use OpenGL.

-Zach

I noticed that that many people report that in order to make wine find
libGL at runtime you should:
export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
But it doesn't give any effects. However setting LD_LIBRARY_PATH helps
but then I get this error:
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

Regards Michal.

James McKenzie

MacOSX and OpengGL

Post by James McKenzie »

Michał Majchrowicz wrote:
I have installed XQuartz 2.1.4 which apparently fixes all the issues.
I did export LD_LIBRARY_PATH=/usr/X11/lib.
and now if I run i.e.:
WINEDEBUG=wgl winecfg I get this:
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 1.2
APPLE-1.5.24.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Intel
GMA X3100 OpenGL Engine.
trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.2.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : SGI.
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True
However the winecfg doesn't start and any other wine/windows app works
in the same way.
It just looks like wine is caught in some kind of endless loop or
something like this :(
What can I do with this ?
Do you get to the winecfg screen, or does Wine appear to lock into a
loop of the above information as this is not clear from what you sent?

James McKenzie
Micha³ Majchrowicz

MacOSX and OpengGL

Post by Micha³ Majchrowicz »

I don't get winecfg screen and wine does apper to be locked int a loop :)
Regards.
Davo94
Newbie
Newbie
Posts: 1
Joined: Fri Jan 09, 2009 7:07 pm

Post by Davo94 »

The GMA X3100 is not compatible with wine at the moment (i think). It has had issues with everything I have tried to run. I have tried wine with both linux and OSx. And most app's will complain.
Gert van den Berg

MacOSX and OpengGL

Post by Gert van den Berg »

On Sat, Jan 10, 2009 at 3:25 AM, Davo94 <[email protected]> wrote:
The GMA X3100 is not compatible with wine at the moment (i think). It has had issues with everything I have tried to run. I have tried wine with both linux and OSx. And most app's will complain.
Works for me with Warcraft III, Generals (VERY SLOW) and
Trackmania.... (Under Linux...)
Locked