WinUAE - Amiga Emulator Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Crashing on Mac Lion with Crossover Games 10.1.1

Installed WinUAE using c4p profile. When I attempt to execute, not only does WinUAE crash, Crossover itself crashes.

When I attempted to run in a shell, I got a little bit more information before Crossover died:

$ cxstart winuae.exe 
Direct3D9 is not available without OpenGL.
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).

OpenGL is installed on my Mac and glxgears runs fine, so I'm assuming the Crossover server does not provide OpenGL support. Is there a workaround for that?

Hi,

I've not checked it again MacOS 10.7 yet, but going by what you describe,
the app cannot find 32bit opengl libraries, and likely what you have
installed (and why glxgears runs) are the 64bit builds of opengl.

As I say, I've not looked at it yet, so I really cannot advise further.
When I start the Mac up again (we're currently reorganizing house) I'll
have a look, but it'll likely be the weekend before I get to it...

Cheers!

Thanks for your reply.

I've made a little progress since I posted. I installed WinUAE 2.3.2 into a new bottle without any additional components (none of the items in the c4p) and was able to get it to run without crashing Crossover. WinUAE's configuration menus came up fine and I was able to specify rom and adf images to use. However, once I clicked "start" all I got was a completely black window.

William P McBee wrote:

Thanks for your reply.

I've made a little progress since I posted. I installed WinUAE
2.3.2 into a new bottle without any additional components (none of
the items in the c4p) and was able to get it to run without crashing
Crossover. WinUAE's configuration menus came up fine and I was able
to specify rom and adf images to use. However, once I clicked
"start" all I got was a completely black window.

You can try rebooting into 32 bit mode. Restart your Mac and hold down the "3" and "2" as it starts up. It's a long shot, but it could help.

Caron Wills wrote:

You can try rebooting into 32 bit mode. Restart your Mac and hold
down the "3" and "2" as it starts up. It's a long shot, but it
could help.

Good idea, except that I have a wireless keyboard so instead I had to use

systemsetup -setkernelbootarchitecture i386

Same problem in 32-bit mode as with 64-bit:


$ cxstart winuae.exe
Direct3D9 is not available without OpenGL.
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
$ uname -m
i386

OpenGL does appear to be installed within Crossover Games X11 support files:


$ pwd
/Applications/CrossOver Games.app/Contents/SharedSupport/X11/lib
$ file *GL*
libGL.1.2.dylib:  Mach-O dynamically linked shared library i386
libGL.1.dylib:    Mach-O dynamically linked shared library i386
libGL.dylib:      Mach-O dynamically linked shared library i386
libGLU.1.3.dylib: Mach-O dynamically linked shared library i386
libGLU.1.dylib:   Mach-O dynamically linked shared library i386
libGLU.dylib:     Mach-O dynamically linked shared library i386

I am so confused!

bash-3.2$ ./cxdiag --debug
dlopen(libICE.6.dylib, 5): image not found
[MissingLibICE]
"Level"="Require"
"Title"="Missing 32bit libICE.6.dylib library"
"Description"="Without this library neither CrossOver nor Windows applications will work."

dlopen(libSM.6.dylib, 5): image not found
[MissingLibSM]
"Level"="Require"
"Title"="Missing 32bit libSM.6.dylib library"
"Description"="Without this library neither CrossOver nor Windows applications will work."

dlopen(libXext.6.dylib, 5): image not found
[MissingLibXext]
"Level"="Require"
"Title"="Missing 32bit libXext.6.dylib library"
"Description"="Without this library neither CrossOver nor Windows applications will work."

found libcups.2.dylib
dlopen(libfontconfig.1.dylib, 5): image not found
[MissingLibFontconfig]
"Level"="Recommend"
"Title"="Missing 32bit libfontconfig.1.dylib library"
"Description"="Makes it possible to find and use the system's TrueType fonts. This is strongly recommended for office-type applications."

dlopen(libGLU.1.dylib, 5): image not found
[MissingLibGlu]
"Level"="Recommend"
"Title"="Missing 32bit libGLU.1.dylib library"
"Description"="This may be needed by some games or CAD applications."

dlopen(libcxjpeg.dylib, 5): image not found
[MissingLibJpeg]
"Level"="Recommend"
"Title"="Missing 32bit libcxjpeg.dylib library"
"Description"="This is needed by some applications that use JPEG images in their user interface. The lack of this library may result in black icons."

dlopen(libcxpng.dylib, 5): image not found
[MissingLibPng]
"Level"="Recommend"
"Title"="Missing 32bit libcxpng.dylib library"
"Description"="This is needed by some applications that use PNG images in their user interface. The lack of this library may result in black icons."

found libresolv.9.dylib
dlopen(libXcomposite.1.dylib, 5): image not found
[MissingLibXcomposite]
"Level"="Recommend"
"Title"="Missing 32bit libXcomposite.1.dylib library"
"Description"="This is needed for most CAD-like applications and some games."

dlopen(libXcursor.1.dylib, 5): image not found
[MissingLibXcursor]
"Level"="Suggest"
"Title"="Missing 32bit libXcursor.1.dylib library"
"Description"="Lets Windows applications use color mouse pointers. This is mostly useful for some games."

dlopen(libXi.6.dylib, 5): image not found
[MissingLibXi]
"Level"="Recommend"
"Title"="Missing 32bit libXi.6.dylib library"
"Description"="This library provides support for joysticks and tablets. If you don't have such a device you don't need it."

dlopen(libXinerama.1.dylib, 5): image not found
[MissingLibXinerama]
"Level"="Recommend"
"Title"="Missing 32bit libXinerama.1.dylib library"
"Description"="This is needed if your display spans multiple screens. If your computer has a single screen then you don't need it."

found libxml2.2.dylib
dlopen(libXrandr.2.dylib, 5): image not found
[MissingLibXrandr]
"Level"="Recommend"
"Title"="Missing 32bit libXrandr.2.dylib library"
"Description"="This is needed to let games adjust the display resolution as needed. It is strongly recommended to install it if you plan to use games."

dlopen(libXrender.1.dylib, 5): image not found
[MissingLibXrender]
"Level"="Recommend"
"Title"="Missing 32bit libXrender.1.dylib library"
"Description"="Windows applications can work without this library, but its absence is likely to cause display artifacts."

found libxslt.1.dylib
dlopen(libXxf86vm.1.dylib, 5): image not found
[MissingLibXxf86vm]
"Level"="Recommend"
"Title"="Missing 32bit libXxf86vm.1.dylib library"
"Description"="This is needed to let games perform some gamma adjustments (essentially to adjust the brightness)."

found libz.1.dylib
found libcrypto.0.9.7.dylib
found libssl.0.9.7.dylib
egrep 'hosts:.*mdns4' /etc/nsswitch.conf >/dev/null 2>&1 returned 512
getrlimit(RLIMIT_AS) returned 0, max=-1
dlopen(libX11.6.dylib, 5): image not found
[MissingLibX11]
"Level"="Require"
"Title"="Missing 32bit libX11.6.dylib library"
"Description"="Without this library neither CrossOver nor Windows applications will work."

dlopen(libX11.6.dylib, 5): image not found
[MissingLibX11]
"Level"="Require"
"Title"="Missing 32bit libX11.6.dylib library"
"Description"="Without this library neither CrossOver nor Windows applications will work."

...hmmmm...the libraries might be there, but, they're either not being found
in LDPATH -or- they're not being interpreted as 32bit builds....{sigh}...

...MacOS doesn't use ldpath I don't think, so something else is awry with this...

The reason I first started trying to use WinUAE under Crossover was because none of the native UAE ports are working under Lion. They are crashing because of a call to CGDisplayBaseAddress, a Quartz routine which has been deprecated for some time and, starting with Lion, now always returns NULL. I wonder if that could also be the cause of Crossover crashing. Perhaps the mention of OpenGL just before the crash is a red herring. On the other hand, I can run multiple other applications under Crossover on Lion with no problem. I don't know why only WinUAE would trigger the problem.

When I run cxdiag within the bottle, it reports that OpenGL is found:


$ cxdiag --debug
found libICE.6.dylib
found libSM.6.dylib
found libXext.6.dylib
found libcups.2.dylib
found libfontconfig.1.dylib
found libGLU.1.dylib
dlopen(libcxjpeg.dylib, 5): image not found
[MissingLibJpeg]
"Level"="Recommend"
"Title"="Missing 32bit libcxjpeg.dylib library"
"Description"="This is needed by some applications that use JPEG images in their user interface. The lack of this library may result in black icons."

dlopen(libcxpng.dylib, 5): image not found
[MissingLibPng]
"Level"="Recommend"
"Title"="Missing 32bit libcxpng.dylib library"
"Description"="This is needed by some applications that use PNG images in their user interface. The lack of this library may result in black icons."

found libresolv.9.dylib
found libXcomposite.1.dylib
found libXcursor.1.dylib
found libXi.6.dylib
found libXinerama.1.dylib
found libxml2.2.dylib
found libXrandr.2.dylib
found libXrender.1.dylib
found libxslt.1.dylib
found libXxf86vm.1.dylib
found libz.1.dylib
found libcrypto.0.9.7.dylib
found libssl.0.9.7.dylib
egrep 'hosts:.*mdns4' /etc/nsswitch.conf >/dev/null 2>&1 returned 512
getrlimit(RLIMIT_AS) returned 0, max=-1
default screen=0, planes=24
OpenGL vendor = 'ATI Technologies Inc.'
$ env | grep LIB
DYLD_FALLBACK_LIBRARY_PATH=/Applications/CrossOver Games.app/Contents/SharedSupport/X11/lib:/Users/mediamangler/lib:/lib:/usr/lib:/usr/X11/lib
$ cxstart Program\ Files/WinUAE/winuae.exe 
Direct3D9 is not available without OpenGL.
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
$ env | grep BOTTLE
CX_BOTTLE=WinUAE - Amiga Emulator
CX_BOTTLE_PATH=/Users/mediamangler/Library/Application Support/CrossOver Games/Bottles

Additional information:

My new iMac has a Radeon HD 6970M 2G graphics card.

The error message I'm seeing is in Crossover Games source file wine/dlls/wined3d/directx.c:


directx.c:            MESSAGE("Direct3D%u is not available without OpenGL.\n", version);

Looking through that source, I see a table listing other Radeon graphics cards, but not the 6970, so I thought it might only crash on the 6970.

My old iMac has a Radeon HD 2600, which is listed in the source file table.

The first time I tried to run WinUAE on that system there was no crash, although it did generate an error message about not being able to create a device and then the window stayed black. After exiting the bottle and restarting, it crashed in the same manner as on my new Mac.

And so, I remain confused.

Hi again,

I'm not sure how much we can read into those video card/device tables
you speak of, as they're no doubt based on values obtained in the Window
OS/driver environment. Don't let this be confused with the win32 app going
out and querying the PID/VID of the display adapter - that's one thing ;
the other, is what capabilities the win32 app believes are available from
that display adapter with Windows drivers -- right about here, YMMV sets in.
Often, my HD5670 video in the iMac gets identified as a HD3200 for instance...

...howsoever, and after seeing here what you've poked at, I have to start
thinking this is a regression of some kind ... ie; I haven't changed the
crosstie at all since last it was seen working on the Mac, and OS 10.7 aside,
it's not making much sense. In the case of Mac OS 10.7, I believe I can fathom
out some explanation to that... ie; previously the OS was limited to opengl 2.x
but now it supports opengl 3.x -- that much could explain a few things..

..but...seeing as this is broken, and since then I've discovered DDO can actually
crash CXG entirely on an xserver error... -and- I've got a few OS issue I didn't
have before the 10.7 upgrade, I've pretty much convinced myself into a complete
blow-away/reinstall operation on the Mac...ie; just like with Windows (oh the
horror). I'll have to move some data around tonight and do the do tomorrow ;
I'll look at this app first up once it's all running again...

Cheers!

Found that putting bottle into full screen mode will stop the crashing. WinUAE then will come up in a window, display a popup complaining "CreateDevice failed, 8876086A S=1 F=0876 C=086A (2154)()" and then the window stays black. The status boxes at the bottom of the window indicate that the emulator is running, just nothing is displayed.

This all seems related to http://www.codeweavers.com/support/wiki/mac/faq/liondesktopcrash
and http://www.codeweavers.com/support/tickets/browse/?ticket_id=855109.

Probably should just wait now for the promised workaround in the next release and see how WinUAE behaves then.

1 to 10 of 10

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiWFRCVktSTU14VHdFNWtzVCIsImdkcHIiOjB9