https://bugs.winehq.org/show_bug.cgi?id=50135
Bug ID: 50135 Summary: explorer.exe crashes when UseXRandR and UseXRandR are specified to be disabled in registry Product: Wine Version: 5.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com CC: zzhang@codeweavers.com Regression SHA1: 9c99d9bceba34559a32f1e5906a6fcbcf91b0004 Distribution: ArchLinux
How to reproduce: 1) Create a fresh new Wine prefix 2) Run the following commands to disable UseXRandR and UseXRandR in registry:
wine reg add "HKCU\Software\Wine\X11 Driver" /v "UseXVidMode" /t "REG_SZ" /d "N" /f wine reg add "HKCU\Software\Wine\X11 Driver" /v "UseXRandR" /t "REG_SZ" /d "N" /f 3) Run any wine app, like "winecfg" for instance (you may need to shut down the prefix first with "wineboot --kill --shutdown" for the bug to show up). This occurs in versions of Wine from 5.14 to the latest one, 5.21.
The cause is the following commit: 9c99d9bceba34559a32f1e5906a6fcbcf91b0004 is the first bad commit commit 9c99d9bceba34559a32f1e5906a6fcbcf91b0004 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Mon Jul 27 16:01:55 2020 +0800
winex11.drv: Migrate NoRes display settings handler to a new interface.
Reverting this commit and the next commit right after it (b45c04f4c352ef81df5312684008839f4eeee03d - Remove the old display settings handler interface.) against Wine-5.14 fixes the issue.