https://bugs.winehq.org/show_bug.cgi?id=56655
Bug ID: 56655 Summary: Regression: X11 Driver fails to load Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: bmcgrath@codeweavers.com Regression SHA1: f74900ad1a580eda8fd4923cbd4881b42b042733 Distribution: ---
Created attachment 76428 --> https://bugs.winehq.org/attachment.cgi?id=76428 Fix X11 driver
Building with the latest from master, I found the X11 driver fails to load. The attempt to load appears to enter a tight loop and Wine becomes unresponsive.
A git bisect led me to f74900ad1a580eda8fd4923cbd4881b42b042733.
I then further narrowed it down to the changes in xrandr10_get_modes.
It looks like the old code used to increment mode_idx, but the new code doesn't. The attached patch fixes this for me.