https://bugs.winehq.org/show_bug.cgi?id=40284
Bug ID: 40284 Summary: Unable to change resolution for LVDS panels Product: Wine Version: 1.9.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: gang65@poczta.onet.pl Distribution: ---
If Wine want to change the resolution on laptop screen, there is only one supported mode. For example xrandr -q shows:
LVDS-0 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm 1680x1050 59.88*+
This is because the native resolution is the only one that your internal panel supports, while your HDMI monitor supports a variety of different modes. Note that unlike other modesetting interfaces, RandR 1.2 provides control over the actual physical mode timings being sent to the monitor, so only supported timings are listed.
More information about issue: https://devtalk.nvidia.com/default/topic/922395/340-96-xrandr-1-5-0-and-nati...
This is causing error during run like for Commandos 2: wine Comm2.exe fixme:win:EnumDisplayDevicesW ((null),0,0x32f1a4,0x00000000), stub! err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x16 @0! (NoRes)
To resolve missing resolution for laptops, the scale should be used. With randr it could be set as: xrandr --output LVDS-0 --scale-from 640x480