https://bugs.winehq.org/show_bug.cgi?id=49764
Bug ID: 49764 Summary: Every program using virtual desktop crashes on startup after a recent Mesa snapshot added a second Vulkan device Product: Wine Version: 5.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: subgraph93@gmail.com Distribution: ---
Distribution: Ubuntu 20.04.1
Filing this report here because I think a Wine issue may be present. A specific Wine setting always triggers the issue, and other configurations (Wine without it or native programs) did not trigger the issue. I apologize for taking your time if it's a purely Mesa issue.
An update to a newer Mesa snapshot (Git acf756a -> Git a27823e) has introduced a new Vulkan device for vallium/llvmpipe (software renderer). As a result, I have two "GPUs", and after the Mesa update, I found that programs running in virtual desktop now crash at startup. I believe the update and the issue to be related.
I tested it on winecfg in a clean wineprefix. (I backed up the usual ~/.wine, ran `wine winecfg` to create the prefix, turned virtual desktop mode on by default, closed winecfg, then ran `wine winecfg` again.) These two lines seem to be always output: 0024:err:module:LdrInitializeThunk "comctl32.dll" failed to initialize, aborting 0024:err:module:LdrInitializeThunk Initializing dlls for L"C:\windows\system32\winecfg.exe" failed, status c0000005
This issue affects both 5.15 and 5.16, both devel and staging for me.
I know that more information is likely needed (probably logs with debug channels, or vulkaninfo?), not sure what I need to provide though. I have +relay,+seh logs of the tests with winecfg (as said above) for 5.15-devel and 5.16-devel.
#49631 may be related?