https://bugs.winehq.org/show_bug.cgi?id=52258
Bug ID: 52258 Summary: Changing L"\\.\DISPLAY1" display settings returned -2 error Product: Wine Version: 6.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: robert.ayrapetyan@gmail.com Distribution: ---
Hi, I'm running some old game (Faust: The Seven Games of The Soul), it runs fine on a usual setup. But when I try to run it inside a Dockerized Wine container (via RDP), I'm getting:
0148:Call winex11.drv.EnumDisplaySettingsEx(0031f21c,ffffffff,0031f13c,00000000) ret=6ed8aa83 0148:Ret winex11.drv.EnumDisplaySettingsEx() retval=00000001 ret=6ed8aa83 0148:Ret winex11.drv.ChangeDisplaySettingsEx() retval=fffffffe ret=6ed8ba60 0148:err:system:ChangeDisplaySettingsExW Changing L"\\.\DISPLAY1" display settings returned -2. 0148:Ret user32.ChangeDisplaySettingsExW() retval=fffffffe ret=7ed1af41 0148:Ret wined3d.wined3d_output_set_display_mode() retval=8876086a ret=697c45aa
after which process exits normally.
I have a dozen of other games running fine in the same Dockerized container through RDP, it's just this game calling ChangeDisplaySettingsExW and exits.
What I've tried so far: 1. Run with "explorer /desktop..." 2. Change resolution on the RDP client side
Any thoughts of how to bypass that?