Cannot set 4k resolution on HDMI monitor on Librem 15 v4

If you use Gnome with wayland, you can’t setup bigger resolution that presented on screenshot.

If you use Gnome with X11, you can easily create modeline with 34.85 hz frequency.

./cvt12 3840 2160 34.85 -b
# 3840x2160 @ 34.850 Hz Reduced Blank (CVT) field rate 34.850 Hz; hsync: 76.530 kHz; pclk: 300.00 MHz
Modeline "3840x2160_34.85_rb2"  300.00  3840 3848 3880 3920  2160 2182 2190 2196 +hsync -vsync

Also, for “weston” window manager on wayland you can use this modeline to setup 4K@34.85hz resolution
Add this to ~/.config/weston.ini

[output]
name=HDMI-A-1
mode=300.00  3840 3848 3880 3920  2160 2182 2190 2196 +hsync -vsync
3 Likes