https://bugs.winehq.org/show_bug.cgi?id=53928
Bug ID: 53928 Summary: ChangeDisplaySettingsExW Changing L"\\.\DISPLAY1" display settings returned -1 Product: Wine Version: 7.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alandms123@gmail.com Distribution: ---
Created attachment 73486 --> https://bugs.winehq.org/attachment.cgi?id=73486 wine.log
OS: Arch Linux x86_64 Kernel: 6.0.8-arch1-1 nvidia drivers: 520.56.06-2 mesa: 22.2.3-1 WM: dwm cpu: i5-11400h dgpu: rtx 3050 laptop igpu: intel uhd graphics (tgl gt1)
The only application I tried with was The Elder Scrolls Online. Basically with these versions of wine (6.16, 6.23, 7.0, 7.19, 7.20, 7.21) when using PRIME render offload (prime-run or setting the environment variables manually) a black screen will appear, killing the game processes or wine will not make X display anything again, the only way is switching to another tty and killing X from there.
I did tried bisecting for a regression but couldn't go far, for example compiling 6.1-6.23 fails with something like conflicting types for ‘ldap_connect’.
Also as I don't know which debug channel to provide the debug details the logs doesn't say much besides:
016c:err:system:ChangeDisplaySettingsExW Changing L"\\.\DISPLAY1" display settings returned -1.
The only versions which works, are the wine-tkg (https://github.com/Frogging-Family/wine-tkg-git/releases/tag/7.6.r12.g514723...) and ge-proton (https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/GE-Proton7-33)
If I can figure how to solve the conflicting types for ‘ldap_connect’, I'll try bisecting.