Add on $HOME/.xprofile
to autoload on boot:
xrandr --newmode "5120x1440_59.97" 292.75 5120 5360 5888 6656 1440 1443 1453 1468 +hsync +vsync
xrandr --addmode HDMI-2 5120x1440_59.97
xrandr --output HDMI-2 --mode 5120x1440_59.97
or run
sudo xrandr --newmode "5120x1440_59.97" 292.75 5120 5360 5888 6656 1440 1443 1453 1468 +hsync +vsync
sudo xrandr --addmode HDMI-2 5120x1440_59.97
sudo xrandr --output HDMI-2 --mode 5120x1440_59.97