Lenovo ThinkPad T500 missing screen resolutions 1280 x 1050 missing

Good afternoon my fellow Manjaro Linux users i need some help with adding 1280 X 1050 resolution to my Lenovo ThinkPad T500 system yes i know its a older computer but i love Thinkpads and this one is decently fast i would like to add the resolution permanently can anyone show me step by step using xrandr here is my output thanks in advance

xrandr  1 ✘
Screen 0: minimum 16 x 16, current 1280 x 800, maximum 32767 x 32767
XWAYLAND0 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 330mm x 210mm
1280x800 59.81*+
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
720x480 59.71
640x400 59.95
320x200 58.96
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77
1280x1050_60.00 (0xad) 111.750MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 65.27KHz
v: height 1050 start 1053 end 1063 total 1089 clock 59.94Hz

to add a missing or custom display resolution, you need to calculate the VESA Coordinated Video Timing (CVT) modes for it. you can do this using the cvt utility. Example for a 1280x1050 resolution:

cvt 1280 1050

next, copy the Modeline ("1280x1050_60.00" 111.75 1280 1368 1496 1712 1050 1053 1063 1089 -hsync +vsync) from the output of the cvt command and use it to create a new mode using the xrandr:

xrandr --newmode "1280x1050_60.00"  111.75  1280 1368 1496 1712  1050 1053 1063 1089 -hsync +vsync

(modeline maybe different for you)

xrandr --addmode XWAYLAND0 1280x1050_60.00

now set different resolution:

xrandr --output XWAYLAND0 --mode 1280x1050_60.00

the above changes are only temporary and work for the current session. to make them permanent add these lines in your /etc/X11/xorg.conf.d/10-monitor.conf file:

Section "Monitor"
    Identifier "XWAYLAND0"
    Modeline "1280x1050_60.00"  111.75  1280 1368 1496 1712  1050 1053 1063 1089 -hsync +vsync
    Option "PreferredMode" "1280x1050_60.00"
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "XWAYLAND0"
    DefaultDepth 24
    SubSection "Display"
        Modes "1280x1050_60.00"
    EndSubSection
EndSection

Section "Device"
    Identifier "Device0"
    Driver "intel"
EndSection

when i did that step i got this error

xrandr --newmode “1280x1050_60.00” 111.75 1280 1368 1496 1712 1050 1053 1063 1089 -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: 20
Current serial number in output stream: 20

maybe you can skip this step because that mode is already there. go from here:

ok i skipped that step then did this xrandr --addmode XWAYLAND0 1280x1050_60.00 got the green check did the xrandr – output XWAYLAND0 --mode 1280x1050_60.00 and got this error

xrandr --output XWAYLAND0 --mode 1280x1050_60.00  :heavy_check_mark:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 22
Current serial number in output stream: 22

see if this helps :point_down:
https://wiki.archlinux.org/title/xrandr#Permanently_adding_undetected_resolutions

You maybe want to use -r for cvt if used with modern LCDs as mentioned to this answer: https://askubuntu.com/a/19956
So cvt -r 1280 1050 in this case.

1 Like