View previous topic :: View next topic |
Author |
Message |
valentind n00b

Joined: 28 Dec 2015 Posts: 4
|
Posted: Mon Dec 28, 2015 3:10 pm Post subject: Refresh rate with Gnome on Wayland |
|
|
My computer does not support 60Hz at the native resolution of my primary display. But that is OK, I do not play games nor multimedia on this machine. So I forced it to 30Hz through a modeline on X.org.
Now I am trying to switch the Wayland. But it I am stuck to a lower resolution. I am wondering where I am supposed to add extra modelines for Wayland, or eventually configure the refresh rate of displays in Gnome.
I tried using xrandr. But I get "xrandr: Configure crtc 0 failed". I am not sure whether xrandr is supposed to work to add modelines on Wayland.
Code: |
$ xrandr --newmode "2560x1440" 146.25 2560 2680 2944 3328 1440 1443 1448 1468 -hsync +vsync
$ xrandr --addmode XWAYLAND0 "2560x1440"
$ xrandr --output XWAYLAND0 --mode 2560x1440
xrandr: Configure crtc 0 failed
|
Anybody has suggestions on how to set the refresh rate of the monitor on Gnome w/ Wayland? |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6878
|
Posted: Mon Dec 28, 2015 11:00 pm Post subject: |
|
|
If you use the correct resolution for the kernel command line, it ought to retain that in wayland.
I don't use Gnome3 but I guess they'd put something advanced like resolution settings in a separate extension. |
|
Back to top |
|
 |
valentind n00b

Joined: 28 Dec 2015 Posts: 4
|
Posted: Tue Dec 29, 2015 1:31 pm Post subject: |
|
|
Thanks, it works.
I added "video=HDMI-A-1:2560x1440@30" to GRUB_CMDLINE_LINUX in /etc/default/grub. |
|
Back to top |
|
 |
|