https://bugs.winehq.org/show_bug.cgi?id=55085
Bug ID: 55085 Summary: Wine Staging fails to start when virtual desktop is enabled: "Application tried to create a window, but no driver could be loaded." Product: Wine-staging Version: 8.10 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
When virtual desktop is enabled in Staging I receive
00e8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 00e8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
Not even winecfg is able to start.
This started happening maybe 2-3 weeks ago after one of the rebases.
Regression test points to the following commit in Staging: commit 00988a18d54cceea1ac03baf45c6289731f2103b Author: Rémi Bernon rbernon@codeweavers.com Date: Mon Oct 25 11:45:47 2021 +0200
winex11.drv: Listen to RawMotion and RawButton* events in the desktop thread.
We still need to send "normal" input from the clipping window thread to trigger low-level hooks callbacks when clipping cursor. This is for instance used in our dinput implementation.
Tested with wine-8.10-103-g8d2de5dbe1f (Staging)
https://bugs.winehq.org/show_bug.cgi?id=55085
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com, | |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=55085
Alex Xu alex_y_xu@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex_y_xu@yahoo.ca
https://bugs.winehq.org/show_bug.cgi?id=55085
Aida Jonikienė aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aidas957@gmail.com
--- Comment #1 from Aida Jonikienė aidas957@gmail.com --- Created attachment 74800 --> https://bugs.winehq.org/attachment.cgi?id=74800 Staging virtual desktop hack
Can you apply this patch and see if the issue goes away? I personally tested this and it worked better than my other attempts (it does still have debug prints though)
https://bugs.winehq.org/show_bug.cgi?id=55085
--- Comment #2 from rn19 r41nftr@gmail.com --- (In reply to Aida Jonikienė from comment #1)
Can you apply this patch and see if the issue goes away?
Encountered the same issue with versions above 8.9.
Applied the patch on top of 8.12.
# Difference in output compared to 8.9 shows the patched in debug message 00c8:fixme:x11drv:x11drv_init_thread_data Top window detected # Followed by error repeating 25 times 0104:err:system:update_display_cache Failed to read display config. 0024:err:system:update_display_cache Failed to read display config. # Then again 010c:fixme:x11drv:x11drv_init_thread_data Top window detected
After that the application starts, functions and finishes correctly in a virtual desktop.
https://bugs.winehq.org/show_bug.cgi?id=55085
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch, | |regression, source Regression SHA1| |00988a18d54cceea1ac03baf45c | |6289731f2103b
https://bugs.winehq.org/show_bug.cgi?id=55085
Sveinar Søpler cybermax@dexter.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax@dexter.no
--- Comment #3 from Sveinar Søpler cybermax@dexter.no --- (In reply to rn19 from comment #2)
(In reply to Aida Jonikienė from comment #1)
Can you apply this patch and see if the issue goes away?
Encountered the same issue with versions above 8.9.
Applied the patch on top of 8.12.
# Difference in output compared to 8.9 shows the patched in debug message 00c8:fixme:x11drv:x11drv_init_thread_data Top window detected # Followed by error repeating 25 times 0104:err:system:update_display_cache Failed to read display config. 0024:err:system:update_display_cache Failed to read display config. # Then again 010c:fixme:x11drv:x11drv_init_thread_data Top window detected
After that the application starts, functions and finishes correctly in a virtual desktop.
Although this patch makes me be able to enable virtual desktop and it seemingly is working, starting a Vulkan app on top of this crashes with:
err:system:update_display_cache Failed to read display config. ... err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
So, the underlying problem does not seem fixed by this, as it just kinda bypasses the first error i guess.
https://bugs.winehq.org/show_bug.cgi?id=55085
Aida Jonikienė aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74800|0 |1 is obsolete| |
--- Comment #4 from Aida Jonikienė aidas957@gmail.com --- Created attachment 74866 --> https://bugs.winehq.org/attachment.cgi?id=74866 Staging virtual desktop hack v2
This updated patch resolves the mouse input issues I encountered in virtual desktop mode while testing GTA San Andreas (I'm also running it with DXVK and the Windows version of vkcube works too so Vulkan apps/games shouldn't be problematic)
https://bugs.winehq.org/show_bug.cgi?id=55085
Michael Cronenworth mike@cchtml.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@cchtml.com
https://bugs.winehq.org/show_bug.cgi?id=55085
--- Comment #5 from Sveinar Søpler cybermax@dexter.no --- (In reply to Aida Jonikienė from comment #4)
Created attachment 74866 [details] Staging virtual desktop hack v2
This updated patch resolves the mouse input issues I encountered in virtual desktop mode while testing GTA San Andreas (I'm also running it with DXVK and the Windows version of vkcube works too so Vulkan apps/games shouldn't be problematic)
Seems to be running a lot better now :) Thanks.
https://bugs.winehq.org/show_bug.cgi?id=55085
Mosaab Alzoubi moceap@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |moceap@hotmail.com
--- Comment #6 from Mosaab Alzoubi moceap@hotmail.com --- Tried in Fedora, it works. Thank You.
https://copr.fedorainfracloud.org/coprs/moceap/wine-vd-fix/
https://bugs.winehq.org/show_bug.cgi?id=55085
alexander.kazakevich.nn alexander.kazakevich.nn@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexander.kazakevich.nn@gma | |il.com
https://bugs.winehq.org/show_bug.cgi?id=55085
a cullen apcullen@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |apcullen@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=55085
msheremet@sheremets.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msheremet@sheremets.com
https://bugs.winehq.org/show_bug.cgi?id=55085
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- The patch is in Staging now: https://github.com/wine-staging/wine-staging/commit/4fa70d510c01e5dc9da045ad...
Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=55085
Vitaly Lipatov lav@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lav@etersoft.ru
https://bugs.winehq.org/show_bug.cgi?id=55085
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Fixed wine-staging bug.
https://bugs.winehq.org/show_bug.cgi?id=55085
msheremet@sheremets.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|msheremet@sheremets.com |