Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Refresh rate with Gnome on Wayland
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
valentind
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Mon Dec 28, 2015 3:10 pm    Post subject: Refresh rate with Gnome on Wayland Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5593

PostPosted: Mon Dec 28, 2015 11:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
valentind
n00b
n00b


Joined: 28 Dec 2015
Posts: 4

PostPosted: Tue Dec 29, 2015 1:31 pm    Post subject: Reply with quote

Thanks, it works.

I added "video=HDMI-A-1:2560x1440@30" to GRUB_CMDLINE_LINUX in /etc/default/grub.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum