Getting custom resolution of 1920x1280

Hi all

I am trying to set a custom screen resolution but getting an error when trying to add a new resolution, specifically 1920x1280. This is a 3:2 display for a Framework laptop.

I am getting this error:

$ cvt 1920 1280
# 1920x1280 59.96 Hz (CVT) hsync: 79.57 kHz; pclk: 206.25 MHz
Modeline "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync

$ xrandr --newmode "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  37
  Current serial number in output stream:  37

What might be causing this problem? And how do I resolve it? I would be okay to migrate to Wayland if that solves the problem.


xrandr will not work under Wayland … aren’t you running XFCE?
Check or remove the file:

It will regenerate after reboot with the correct values.
Have you tried to make use of arandr ?