You are not logged in.

#1 2018-03-20 19:04:47

TwoThousandXX
Member
Registered: 2018-03-20
Posts: 1

Problem with TwinView configuration

Hi, today I decided to configure NVIDIA TwinView instead of Xinerama since RandR doesn't work with it, and well... After editing xorg.conf, the results aren't perfect. Instead of the desired results, my second monitor is just mirroring the image of the first at lower resolution.
NVIDIA driver version is 390.42, the GPU in question where the monitors are connected is an NVIDIA GTX660, the first monitor, plugged into the HDMI port (HDMI-0), is an HP w2207h running at 1680x1050, and the second, plugged into the DVI-I port (DVI-I-0, as stated by nvidia-settings), is an AOC e950 running at 1366x768.
Here are the contents of /etc/X11/xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 390.42  (builduser@anthraxx)  Thu Mar 15 01:55:17 CET 2018

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.42  (buildmeister@swio-display-x86-rhel47-07)  Sat Mar  3 04:40:24 PST 2018

Section "ServerLayout"
    Identifier     "TwinLayout"
    Screen  0      "metaScreen" 0 0
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HP w2207"
    HorizSync       24.0 - 83.0
    VertRefresh     48.0 - 76.0
    Option         "DPMS"
    Option         "Enable" "True"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "AOC 1950W"
    HorizSync       30.0 - 60.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
    Option         "Enable" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 660"
    BusID          "PCI:1:0:0"
    #refer to the link below for more information on each of the following options.
    Option         "HorizSync"          "HDMI-0: 24-82; DVI-I-0 30-60"
    Option         "VertRefresh"        "HDMI-0: 48-76; DVI-I-0 50-75"
    Option         "TwinViewXineramaInfoOrder"          "HDMI-0, DVI-I-0"
    Option         "MetaModes"          "1680x1050, 1366x768"
    Option         "TwinViewOrientation" "DVI-I-0 RightOf HDMI-0"
    Option         "ConnectedMonitor"   "HDMI-0, DVI-I-0"
EndSection

Section "Screen"
    Identifier     "metaScreen"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "TwinView" "True"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Thank you for your help in advance!

Last edited by TwoThousandXX (2018-03-20 19:06:54)

Offline

#2 2018-03-20 19:29:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,857

Re: Problem with TwinView configuration

Ditch the rubbish config file and just configure your screen layouts using either nvidia-settings (do NOT write an xorg config, it should be able to restore things) or xrandr (at runtime, via xinitrc or whatever) or some monitor configlet:

/etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
	Identifier "DVI-I-0"
	Option "RightOf" "HDMI-0"
	Option	"Enable"	"True"
# more options here?
EndSection

Section "Monitor"
	Identifier "HDMI-0"
	Option	"Enable"	"True"
# more options here?
EndSection

Offline

Board footer

Powered by FluxBB