I have a bit of an issue with the NVidia driver and defining modes. What I'd like to do is set a PC up to try several different resolutions in order, and choose the first one that works with the connected monitor (but NOT the monitor's native res, as it makes everything run too slowly if it is 1080p), so I try this:
Option "MetaModes" "1280x720;720x480;720x450;680x384;800x600;640x 480"
On one monitor I have it chooses the 720x450 mode, but it creates a virtual screen of 800x600 so I end up panning around with the mouse!
[ 19.101] (WW) NVIDIA(0): No valid modes for "1280x720@1280x720"; removing.
[ 19.101] (WW) NVIDIA(0): No valid modes for "720x480@720x480"; removing.
[ 19.101] (II) NVIDIA(0): Validated modes:
[ 19.101] (II) NVIDIA(0): "720x450@720x450"
[ 19.101] (II) NVIDIA(0): "680x384@680x384"
[ 19.101] (II) NVIDIA(0): "800x600@800x600"
[ 19.101] (II) NVIDIA(0): "640x480@640x480"
[ 19.101] (II) NVIDIA(0): Virtual screen size determined to be 800 x 600
The documentation does say this - it takes the bounding box of all remaining modes as the virtual desktop. However it doesn't say how to avoid it!:
See 'How are virtual screen dimensions determined in TwinView?'
Which means I have to put my modes in order such that a mode is bigger in width and height than all modes to the right of it. That's not what I want, as I'd like to use a 16:9 mode in preference to a 4:3 one, even if it is lower resolution.
Is there a way around this? I have tried without TwinView but it seems to have the same effect.
thanks for your help!