https://bugs.winehq.org/show_bug.cgi?id=47968
--- Comment #34 from Zhiyi Zhang zzhang@codeweavers.com --- (In reply to Zhiyi Zhang from comment #32)
(In reply to msuhoruki from comment #31)
It seems the problem is related to xinerama and xrandr's priorities. dlls/winex11.drv/xrandr.c selects 200 for itself. dlls/winex11.drv/xinerama.c alternates on a condition between 1000 and 100. In my case xinerama selects 100 because because its desktop_mode??? variable is false: handler.priority = desktop_mode ? 1000 : 100;
If I invert that condition (and get 1000) then wine works for me. Is the desktop_mode detected incorrectly?
Yes. In the case of Xinerama extension not available, desktop_mode is not set properly. I will send a patch soon. Thank you very much for your investigation.
Sorry for jumping too early. It means that your Xinerama extension is working properly as a fallback. But the XRandR extension is detected but not working properly, thus the problem. The desktop_mode issue is not the real problem here.