You are not logged in.

#1 2010-09-09 11:30:24

Captain Quor
Member
Registered: 2010-09-09
Posts: 8

nvidia TwinView issues

Hi guys,

I installed Arch on to my laptop a couple of days a go and have managed to get everything up and running how I like bar one thing, nvidia TwinView.

The driver only seems able to configure my laptop screen and my VGA LCD monitor using seperate X servers and when I attempt to switch them over to TwinView I get the following error:  "Failed to set MetaMode (1) 'CRT-0: nvidia-auto-select @1440x900 +1440+0, DFP-0: nvidia-auto-select @1440x900 +0+0' (Mode 2880x900, id: 50) on X screen 0."

I've read the wiki as well as a bunch of different sources to try and get this working to no avail, the closest I've come is using disper to extend my desktop, while this works it still has my laptop screen set up as the primary display instead of the LCD monitor, when trying to change it in nvidia-settings nothing happens.

This is my xorg.conf file as it currently looks:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 256.53  (buildmeister@builder101)  Fri Aug 27 21:33:39 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "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      "DELL E1909W"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT: 1440x900 +1440+0, DFP: 1440x900 +0+0; CRT: NULL, DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Any ideas??

Offline

#2 2010-09-09 13:42:13

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: nvidia TwinView issues

I would try this:

Option         "TwinViewXineramaInfoOrder" "CRT-0, DFP-0"
Option         "metamodes" "CRT-0: 1440x900, DFP-0: 1440x900; CRT-0: NULL, DFP-0: nvidia-auto-select"

Offline

#3 2010-09-09 14:08:53

Captain Quor
Member
Registered: 2010-09-09
Posts: 8

Re: nvidia TwinView issues

Still no dice unfortunately it still just launches two separate X screens and I get the "Failed to set MetaMode (1) 'CRT-0: nvidia-auto-select @1440x900 +1440+0, DFP-0: nvidia-auto-select @1440x900 +0+0' (Mode 2880x900, id: 50) on X screen 0." error message when trying to change it with nvidia-settings, it also dumps this in to /var/log/Xorg.0.log:

[ 11778.887] (WW) NVIDIA(0): Invalid display device in Mode Description
[ 11778.887] (WW) NVIDIA(0):     "CRT-0:nvidia-auto-select@1440x900+1440+0"
[ 11778.887] (WW) NVIDIA(0): Not using mode description
[ 11778.887] (WW) NVIDIA(0):     "CRT-0:nvidia-auto-select@1440x900+1440+0"; unable to map
[ 11778.887] (WW) NVIDIA(0):     to display device

Last edited by Captain Quor (2010-09-09 14:09:32)

Offline

#4 2010-09-09 14:14:43

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: nvidia TwinView issues

Read the following:
http://wiki.archlinux.org/index.php/Xor … ual_screen

You need a separate "Screen" and "Device" section for each monitor.

Last edited by Skripka (2010-09-09 14:15:10)

Offline

#5 2010-09-09 14:27:33

Captain Quor
Member
Registered: 2010-09-09
Posts: 8

Re: nvidia TwinView issues

I've actually already tried that and it's given me very similar results, the xorg.conf posted above is after using disper to expand my desktop to the VGA monitor thus forcing nvidia-settings to set itself in twinview mode and then writing it out to the X config file.

It seems to me that nvidia-settings is seeing the monitors as CRT-0 and DFP-0 but X is picking them up as CRT and DFP, it's very odd.

Offline

#6 2010-09-09 16:23:52

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: nvidia TwinView issues

isnt't there a gui-tool for setting up twinview? you can even apply the chosen setting for you current x-session on the fly. and if it works you can write them to your xorg-file...


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#7 2010-09-09 16:29:55

Captain Quor
Member
Registered: 2010-09-09
Posts: 8

Re: nvidia TwinView issues

Ok after a bit more messing around I've VERY nearly got it working, the only thing is that the screens are in the wrong position (DFP-0 should be to the left of CRT-0 but it's to the right, nearly there!

Here's my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 256.53  (buildmeister@builder101)  Fri Aug 27 21:34:01 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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 "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

and here's my 10-monitor.conf:

Section "ServerLayout"
    Identifier     "DualScreen"
    Screen       0 "Screen0"
    Screen       1 "Screen1" RightOf "Screen0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    ModelName      "Seiko/Epson"
    Option         "Enable" "true" 
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    ModelName      "DELL E1909W
    Option         "Enable" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Screen         0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    Screen         1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    SubSection "Display"
        Depth          24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth   24
    Option         "TwinView" "1"
    SubSection "Display"
        Depth          24
    EndSubSection
EndSection

I've tried changing RightOf to LeftOf in the server layout section out of sheer curiosity but it didn't seem to make any difference.

Offline

#8 2010-09-09 17:15:59

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: nvidia TwinView issues

Yes, if you have nvidia, why aren't you using the nvidia-settings tool? The trick is to run it as root:

$ sudo nvidia-settings

Offline

Board footer

Powered by FluxBB