I tried "Adding undetected resolutions" section from here (https://wiki.ubuntu.com/X/Config/Resolution#Adding_undetected_resolutions):
$ cvt 2560 1600 60 $ xrandr --newmode "2560x1600_60" 348.50 2560 2760 3032 3504 1600 1603 1609 1658 -hsync +vsync $ xrandr --addmode DP2 2560x1600_60 $ xrandr --output DP2 --mode 2560x1600_60
Then I got the error "xrandr: Configure crtc 0 failed".
However, "2560x1440" resolution actually works fine:
$ xrandr --output DP2 --mode 2560x1440
"2560x1440" is an available mode, so I don't need to add it.
I tried "Adding undetected resolutions" section from here (https:/ /wiki.ubuntu. com/X/Config/ Resolution# Adding_ undetected_ resolutions):
$ cvt 2560 1600 60
$ xrandr --newmode "2560x1600_60" 348.50 2560 2760 3032 3504 1600 1603 1609 1658 -hsync +vsync
$ xrandr --addmode DP2 2560x1600_60
$ xrandr --output DP2 --mode 2560x1600_60
Then I got the error "xrandr: Configure crtc 0 failed".
However, "2560x1440" resolution actually works fine:
$ xrandr --output DP2 --mode 2560x1440
"2560x1440" is an available mode, so I don't need to add it.