You are not logged in.

#1 2012-07-11 10:27:41

TimorLee
Member
Registered: 2012-07-05
Posts: 48

NVIDIA metamodes, programs centered on screen, can't switch resolution

So, following problem: programs that use a none-native resolution get centered on screen, but aren't scaled up (e.g baldurs gate is only a small rectangle of 640x480 in the middle of the screen). Games running native resolution run perfectly in fillscreen (e.g. bastion, ut2004). Dosbox also doesn't scale up fullscreen anymore.

Switching reolution also doesn't work, cause nvidia-settings only gives me my native resolution as a choice.

xrandr output:

$ xrandr
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
TV-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1680x1050      60.0*+

I have tried adding new modes with xrandr (as in the wiki), but I get a error at this step:

$ xrandr --addmode LVDS-0 1280x1024_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  27
  Current serial number in output stream:  28

I have also tried adding new Metamodes in xorg.conf.d/20-nvidia.conf. But thanks to nearly NO documentation on that, I can't be sure if I'm doing it right. It doesn't change a thing anyways.

Section "Device"
        Identifier      "Device1"
        Driver          "nvidia"
        Option          "NoLogo"
        Option          "TripleBuffer" "1"
        Screen          0
Endsection

Section "Screen"
        Identifier      "Screen0"
        Device          "Device0"
        Monitor         "Monitor0"
        Option          "Metamodes" "1680x1050; 1440x900; 1280x1024"
Endsection

I'm running X with herbstluftwm (no gnome or such) from tty1.

I've heard that nvidia is still working on this feature, but I don't really want to rely on their work, who knows how long that will take.
Can anybody help me? Is there any more info you need?

Offline

Board footer

Powered by FluxBB