I've hooked up a 3440×1440 display to my Ubuntu laptop.
The laptop detected and used the screen with a lower default resolution of 2560×1440, and no higher option available in display settings.
I've used the following commands to add the custom resolution:
sudo xrandr --newmode "3440x1440_60.00" 419.50 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync
sudo xrandr --addmode HDMI-2 "3440x1440_60.00"
and it does indeed add the setting to the settings screen. But when I try to apply it, it instantly switches back to 2560×1440.
This display is correctly autodetected and used at full resolution by another computer (non-Ubuntu).
I have checked that my grub conf does not contain nomodeset
.
I have also checked that my GPU supports higher resolutions (Intel UHD Graphics 620).
How can I troubleshoot this issue?
Best Answer
First you don't need to use
sudo
withxrandr
.Second you need to run
cvt
to get the settings to pass toxrandr --newmode
. For example (on my 4K TV):Then copy the
Modeline
output as input forxrandr --newmode
:The refresh rate is too high in this case so I reduced it to 54 Hz and repeated the process.