Nvidia: force 1920x1080 as an option

Posted by progo on Super User See other posts from Super User or by progo
Published on 2012-03-13T14:22:13Z Indexed on 2012/03/19 10:09 UTC
Read the original article Hit count: 279

Filed under:
|
|

Proprietary Nvidia (290) on gentoo here.

I'm running Nvidia TwinView with two 1680x1050 monitors here. Now I want to hotplug between HDTV and one of the monitors. Almost good, but since Nvidia reads the EDID information of the monitors and sees the maximum resolution of 1680x1050, it won't allow 1920x1080. "Detect displays" of nvidia-settings doesn't do anything. My only option this far is to restart X, but this is highly unpreferable.

I already discovered that something towards my liking can be done with MetaModes, but it doesn't allow larger resolutions either.

I guess I have to drop the EDID information and specify modes manually. However, TwinView hasn't liked my offerings thus far.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

# inputdevice junk removed; it's overridden anyway

Section "Monitor"
    Identifier     "CRT-0"
    ModelName      "Acer P221W"
    HorizSync 31-84
    VertRefresh 56-77
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "MetaModes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1680x1050 +0+0, DFP: 1920x1080 +1680+0"
    #Option    "UseEdid" "false"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

© Super User or respective owner

Related posts about xorg

Related posts about twinview