OpenGL issues on OSX (wine 1.3.21)

Questions about Wine on macOS.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

OpenGL issues on OSX (wine 1.3.21)

Post by jjmckenzie »

On Mon, Nov 14, 2011 at 8:18 PM, chyman <[email protected]> wrote:
Thank you for your kind hints and comments.

I also saw the issue over at http://xquartz.macosforge.org/trac/ticket/512, but I was unsure how related that is to
mine, because my crashes are not random at all...
Open a NEW ticket with the XQuartz development team and let them know
that you are experiencing the 'same situation' as ticket 512 but that
your system can reproduce the problem 100% of the time. Provide as
much information as you feel comfortable with as this may be an Apple
video driver problem and not an XQuartz issue.
Perhaps I try a downgrade to XQuartz 2.6.3
Please advise if this corrects the problem. doh123 may be correct in
that the issue may be with a 'shiny new' Mesa that has not had all of
the issues 'shaken' out.

Also, Wine's primary concern is working with Linux. The fact that it
works, at all, with MacOSX is a nice thing....

James
Ailan
Newbie
Newbie
Posts: 2
Joined: Wed Nov 16, 2011 8:34 am

Post by Ailan »

Hello,

I also have a problem with opengl.

I am using Kubuntu latest version. I use the 3D drawing program "IntelliPlus architectural pro" emulated with wine under linux.

The software works well but I can not display the OpenGL rendering.

The 3D view with hidden line or 256 colors is possible, but when I ask OpenGL rendering, I get:
1) or with a black screen
2) an office block with stripes made ​​of the application.

My hardware: Intel Core 2 Quad Q9400 CPU 2.66Hz 3.2GB of RAM
ATI 5700 series Radheon

I enabled the graphics accelerator kubuntu.

What to do?

Thank you for helping me

Ailan

J'utilse Google translate - I'm sorry
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

Ailan wrote:Hello,

I also have a problem with opengl.

I am using Kubuntu latest version. I use the 3D drawing program "IntelliPlus architectural pro" emulated with wine under linux.

The software works well but I can not display the OpenGL rendering.
how about making your own thread to ask since thats a very different topic and not hijacking this one thats not even the same operating system. And when you do, run the program from Terminal so you have Terminal Output to post which might indicate the problem.
Ailan
Newbie
Newbie
Posts: 2
Joined: Wed Nov 16, 2011 8:34 am

Post by Ailan »

Hello

I'm sorry I introduced the topic.

I look console and I create a new topic

Ailan
chyman
Level 1
Level 1
Posts: 5
Joined: Mon Nov 07, 2011 7:25 am

Post by chyman »

Thanks guys,

I did some more testing together with a developer, it seems like that the issue occurs whenever a program renders its OpenGL content into a 'child window' instead of directly into a top level window.

The qtgears.exe uses child windows, other simple test applications e. g. from the DirectX9 SDK without rendering to child windows seem to work ok or had other failures.

He said that "it's that 'render to child window' code path in Wine that seems to not function properly on OSX - it seems to need some particular kind of OpenGL extension that Apple does not happen to implement."
Thus a downgrade to XQuartz 2.6.3 did not resolve this issue either.

I was not aware that Wine's primary concern is working with Linux, I know this is already a big task, and obviously there are some differences to the Mac OS X flavor of Unix...

Thanks again for your support,
Chyman
clanzotti
Newbie
Newbie
Posts: 2
Joined: Thu Dec 29, 2011 7:04 pm

Post by clanzotti »

chyman wrote:Thanks guys,

I did some more testing together with a developer, it seems like that the issue occurs whenever a program renders its OpenGL content into a 'child window' instead of directly into a top level window.

The qtgears.exe uses child windows, other simple test applications e. g. from the DirectX9 SDK without rendering to child windows seem to work ok or had other failures.

...

Thanks again for your support,
Chyman
Hi all,

I'm new to the forum but an old wine user. I can confirm the Chyman's problem on my Mac OSX Lion (Wine 1.3.35 [built both by using lion_winebuilder and a manual one], NVidia GeForce 9400, XQuartz 2.7.0 as well as 2.7.1 RC1).

The qtgears app (as well as custom apps that uses Qt) show the 'set off screen: invalid drawable' and a black screen problem .

The same apps works like a charm on the Wine's Linux counterpart.

Trying to give some help by debugging the 'hardest things'. I'll let you know.

Best Regards,

Carlo Lanzotti

DynaDream - Dynamic Laboratory

http://www.dynadream.com
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

OpenGL issues on OSX (wine 1.3.21)

Post by jjmckenzie »

On Thu, Dec 29, 2011 at 5:18 PM, clanzotti <[email protected]> wrote:
Hi all,

I'm new to the forum but an old wine user. I can confirm the Chyman's problem on my Mac OSX Lion (Wine 1.3.35
[built both by using lion_winebuilder and a manual one], NVidia GeForce 9400, XQuartz 2.7.0 as well as 2.7.1 RC1).

The qtgears app (as well as custom apps that uses Qt) show the 'set off screen: invalid drawable' and a black
screen problem .

The same apps works like a charm on the Wine's Linux counterpart.
Time to file a bug with XQuartz as this happens ONLY with the Mac and
not with Linux.

James
clanzotti
Newbie
Newbie
Posts: 2
Joined: Thu Dec 29, 2011 7:04 pm

Post by clanzotti »

Hi All,

Just to show progress on this:

- With Apple's X11 compiling/linking (and using the Apple's X11 runtime):
  • The app did not run, just lock and no reports at all.
- With Apple's X11 compiling/linking (and using the XQuartz runtime):
  • The apps run without problems, pretty fast and stable, but no OpenGL rendering at all (set off screen: invalid drawable).
- With the XQuartz compiling/linking (and using the XQuartz runtime):
  • The app did not run (see below)

    X Error of failed request: 0
    Major opcode of failed request: 149 (GLX)
    Minor opcode of failed request: 26 (X_GLXMakeContextCurrent)
    Serial number of failed request: 3318
    Current serial number in output stream: 3318
This is just a little tests I made before going deep into this issues.

I want to le you note that the custom app I'm running (beside the qtgears sample) is an high-end big/complex app with so many dependencies (on the Windows front), and wine made it works pretty well (Using the mix X11/Quartz runtime).

Best Regards
chyman
Level 1
Level 1
Posts: 5
Joined: Mon Nov 07, 2011 7:25 am

Post by chyman »

Hi Clanzotti,

I want to say many thanks for looking deeper into this.

Michael, the developer of Moi3D, the application I actually was trying to get to work through Wine, has released a version that now runs fine through Wine by avoiding this 'render to child window' code branch. So I think not much is missing to get more OpenGL applications work with Wine under OSX.

Wish you good luck, and a happy New Year!
Chyman
dgoodyear

OpenGL issues on OSX (wine 1.3.21)

Post by dgoodyear »

Hi,

I can confirm the same issue while using wine with Cut2D. Same errors and
probably the same issue since 2D works but as soon as wine tries to render
3D I get the same problem...consistently. has this bug been submitted? I
can also upload my error log if you need it.

Dave

--
View this message in context: http://wine.1045685.n5.nabble.com/Re-Op ... 36947.html
Sent from the Wine - Users mailing list archive at Nabble.com.
Locked