Open fomalsd opened 2 years ago
I have also run into similar issues with trying to use Wine in UTM 3.0.4. The following log is from when it crashed when I tried to change the resolution in a DirectX 9 game running in Wine under Linux Mint.
Host is MacBook Pro M1 on 12.1. Debug log is unfortunately not available.
Another crash, now using a Pop!_OS 21.10 x86_64 VM on the same host (M1 MBP), UTM 3.0.4, and attempting to start a game via SteamPlay (Proton 5.0/Wine 5), using wine3d/OpenGL backend.
The crash was instant as soon as I started the game (Turbo Dismount). The game has a config window that shows first, I selected 1024x768 windowed mode. Clicking play loads the 3D game and that's when it hung the app (Pop!_OS alert) and then crashed the VM.
Here is the Debug Log from the above crash.
And a screen recording for good measure:
The crash issue is still present in 3.1.0 (47). According to the symbolicated crash report, the crash occurs in this call stack:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x1c7a081a0 _platform_memmove + 144
1 GLESv2 0x105455e68 rx::VertexArrayGL::streamAttributes(gl::Context const*, angle::BitSetT<16ul, unsigned long long, unsigned long> const&, int, gl::IndexRange const&, bool) const + 848
2 GLESv2 0x105455618 rx::VertexArrayGL::syncDrawState(gl::Context const*, angle::BitSetT<16ul, unsigned long long, unsigned long> const&, int, int, gl::DrawElementsType, void const*, int, bool, void const**) const + 308
3 GLESv2 0x10540851c rx::ContextGL::drawElements(gl::Context const*, gl::PrimitiveMode, int, gl::DrawElementsType, void const*) + 188
4 GLESv2 0x1051c2d24 GL_DrawElements + 556
5 virglrenderer.1 0x100ae5334 vrend_draw_vbo + 3752
6 virglrenderer.1 0x100ad71dc vrend_decode_draw_vbo + 492
7 virglrenderer.1 0x100ad65fc vrend_decode_ctx_submit_cmd + 316
8 virglrenderer.1 0x100abdf38 virgl_renderer_submit_cmd + 120
9 qemu-x86_64-softmmu 0x1029eafe8 virtio_gpu_virgl_process_cmd + 2544
10 qemu-x86_64-softmmu 0x1029e8aa0 virtio_gpu_process_cmdq + 164
11 qemu-x86_64-softmmu 0x1029ea368 0x102698000 + 3482472
12 qemu-x86_64-softmmu 0x102bab1d0 aio_bh_poll + 188
13 qemu-x86_64-softmmu 0x102b9974c aio_dispatch + 40
14 qemu-x86_64-softmmu 0x102babd3c 0x102698000 + 5324092
15 glib-2.0.0 0x1019085a8 g_main_dispatch + 412
found a workaround (doesn't always work, but worked for Deus Ex with D3D renderer):
winetricks glsl=disable
it might be a GLSL issue
Thanks. It didn't work for my game, still the same crash.
Having the same issue even with GLSL disabled on my M1 iPad Pro. App in question is Audiosurf, a game using DX9.
Describe the issue Starting up any DirectX game in wine on x86-64 linux distributions causes VM to crash, regardless of the game or its DirectX version. It seems to affect all OpenGL-accelerated display devices, or at least
virtio-vga-gl
andvirtio-ramfb-gl
. It doesn't happen when non-accelerated display deviceqxl-vga
is used in software mode.I suspect it might be some certain OpenGL call that causes the crash, since afaik wine is supposed to translate these DirectX calls into OpenGL. Certain newer OpenGL native linux or wine applications can also cause the VM to crash as well, but it's not as common as in DirectX titles that always kill the VM
Configuration (required)
2.2.1
iPadOS 13.4
iPad Pro 11 2018
No, just psychicpaper for JIT
AltStore
Crash log directx_crash.log
Debug log debug_log.log
Upload VM https://cloud.mail.ru/public/oYs6/nfLHDHCDY (note that it doesn't include any DirectX apps) or config.plist.txt