Bug 1443761

Summary: Cannot change resolution beyond 1024x786
Product: [Fedora] Fedora Reporter: Maarten van Leunen <maarten_l>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-23 11:07:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maarten van Leunen 2017-04-19 22:46:46 UTC
Description of problem:
In Fedora Core 24, the monitor could be fixed by starting a small script I made that runs xrandr:
xrandr --newmode "1920x1440_wayland" 339.50  1920 2072 2280 2640  1440 1443 1447 1514 -
xrandr --addmode XWAYLAND0 1920x1440_wayland
xrandr --newmode "1600x1200_wayland" 235.00  1600 1728 1896 2192  1200 1203 1207 1262 -
xrandr --addmode XWAYLAND0 1600x1200_wayland
xrandr --newmode "1280x1024_wayland"  159.50  1280 1376 1512 1744  1024 1027 1034 1078
xrandr --addmode XWAYLAND0 1280x1024_wayland
xrandr --output XWAYLAND0 --mode "1920x1440_wayland"

My monitor doesn't properly report its possible screen sizes, but these settings I found in the manual. And have also worked flawless in Fedora 24.

Version-Release number of selected component (if applicable):
I noticed that xrandr reports that VGA-0 seems to have been replaced with XWAYLAND0.

But that didn't provide the proper screen I was looking for:
bash-4.3$ xrandr --output XWAYLAND0 --mode "1920x1440_wayland"
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Value in failed request:  0x0
  Serial number of failed request:  21
  Current serial number in output stream:  22

Which BadValue is it talking about?

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
screen resolution doesn't change, and an error occurs by xrandr.

Expected results:
screen resolution changes, like the old way.

Additional info:

Comment 1 Maarten van Leunen 2017-04-23 07:17:29 UTC
If I do not get the error as displayed above, I receive the following when using:

bash-4.3$ xrandr --output XWAYLAND0 --mode "1920x1440_wayland"
xrandr: Configure crtc 0 failed

Comment 2 Maarten van Leunen 2017-04-23 11:07:13 UTC
I noticed Fedora core 25 is the first to use Wayland out of the box.

Changing back to ye olde Xorg using https://fedoraproject.org/wiki/Changes/WaylandByDefault fixed the problem for me.

Besides, it's an old monitor.