Xrandr settings don't stick; bash script fails; Nvidia; disper doesn't work
- by bcmcfc
I have an Nvidia graphics card. Yeah, I know. This might have to change soon.
I am trying to get the resolution to set correctly on my second monitor, which is a VGA monitor with a native resolution of 1440x900.
I have set up this bash script which doesn't work:
xrandr --newmode "1440" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --addmode -display VGA-1 1440
xrandr --output VGA-1 --mode 1440
It outputs: xrandr: cannot find mode 1440. It has worked previously when running the commands individually but after a restart it fails.
I've also just installed disper as per this question but have no idea how to use it - the help suggests the command:
disper -d VGA-1 -r "1440x900"
should work, but it does not. It just outputs the help text, suggesting something is wrong but not saying what.
Is there any way to get these horrific Nvidia drivers working properly with a resolution that is not detected by the tools?