Wine crashes on optimus laptop

Questions about Wine on Linux
Locked
Trapped-In-Dreams
Level 1
Level 1
Posts: 7
Joined: Sun Jul 19, 2020 3:28 pm

Wine crashes on optimus laptop

Post by Trapped-In-Dreams »

I have a laptop (HP Omen 15) with amd integrated GPU and Nvidia GTX 1650 Ti. I use optimus-manager to switch between integrated and hybrid modes, and everything works fine in hybrid mode, but crashes in integrated. I would really like it to work, as with new drivers integrated mode can actually run anything on discrete GPU with prime-run, while also keeps it powered down when it's not needed (as mentioned in https://github.com/Askannz/optimus-manager/issues/420 ). When I run winecfg i get this:

Code: Select all

00ec:err:sync:RtlpWaitForCriticalSection section 7BC64440 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00ec, blocked by 00dc, retrying (60 sec)
00e0:err:sync:RtlpWaitForCriticalSection section 0000000170064600 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00e0, blocked by 0098, retrying (60 sec)
00e0:err:sync:RtlpWaitForCriticalSection section 0000000170064600 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00e0, blocked by 0098, retrying (60 sec)
I can't create prefix or do anything else.

output of inxi -G:

Code: Select all

Graphics:  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia v: 495.44
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel
           Device-3: Luxvisions Innotech Limited HP Wide Vision HD Camera type: USB driver: uvcvideo
           Display: x11 server: X.Org 1.21.1.1 driver: loaded: amdgpu,nouveau unloaded: modesetting resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.21-2-MANJARO LLVM 13.0.0) v: 4.6 Mesa 21.3.1
Let me know which other logs I can provide.
Trapped-In-Dreams
Level 1
Level 1
Posts: 7
Joined: Sun Jul 19, 2020 3:28 pm

Re: Wine crashes on optimus laptop

Post by Trapped-In-Dreams »

Also I noticed that wine 5.0 doesn't have this issue.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine crashes on optimus laptop

Post by jkfloris »

Sounds like bug 51210.
Locked