PDA

View Full Version : [ubuntu] Dual Monitor Separate X-Sreens



Temis
October 2nd, 2008, 07:01 PM
I have set up dual monitor separate X-Screens (Nvidia). However on the second monitor (TV) I get only the wallpaper and sound when play videos
(youtube, dvd). Where did I go wrong. Any tip appreciated.

pytrisss
October 2nd, 2008, 07:13 PM
What drivers are you using? Did you use nvidia-setting? Xinerama or Twinview? :)

Temis
October 2nd, 2008, 07:14 PM
Please move thread to Multimedia and Video. Thank you

overdrank
October 2nd, 2008, 07:15 PM
Moved :)

Temis
October 2nd, 2008, 07:16 PM
I use separate X-screen

Temis
October 2nd, 2008, 07:18 PM
I use nvidia settings

Temis
October 2nd, 2008, 07:25 PM
Here is the set up
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
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 P780"
HorizSync 30.0 - 85.0
VertRefresh 48.0 - 120.0
Option "DPMS"
EndSection

Section "Monitor"

# HorizSync source: xconfig, VertRefresh source: xconfig
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5500"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5500"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
Option "NoLogo" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "TV: nvidia-auto-select +0+0"
Option "NoLogo" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Temis
October 7th, 2008, 09:34 PM
I have searched the web including these sites:

http://www.funnestra.org/ubuntu/hardy/
https://help.ubuntu.com/community/NvidiaMultiMonitors


But no luck to make the dual monitor to work on separate screens,
Reading different threads and forums I came to the conclusion that many other Ubuntu and Linux users are in the same predicaments and many cases there are no responses whatsoever.

Arcturus691
October 31st, 2008, 01:06 AM
It would appear that running the dual monitor w/ separate X-screens is not completely functional. I can get it to work on my install Ubuntu 8.04 Hardy Heron w/ nvidia driver ver: 169.12 but the icons that should appear on the menu bar (update, network, etc) appear as windows on the desktop :confused: . Also the X-screen number can not be changed via the nvidia X-server settings. This is silly because you can drag the monitor positions from left to right and you can edit the X-Screen number in the Xorg.conf file. As with many things in ubuntu it will get fixed eventually. This looks like bad implementation on nvidia's part though.

UPDATE: I was able to get the separate X-screens functioning after letting the EnvyNG script install the nvidia driver ver 173.14.12. I also had to go into /etc/X11/xorg.conf and change screen 0 to screen 1 and screen 1 to 0. CAUTION -backup this file before you mess with it, in fact backup your system with "simple backup config" before you do anything in linux. To install the EnvyNG driver installation app go to http://albertomilone.com/envyngfaq.html#A

nmilyaev
May 17th, 2010, 10:30 AM
What I have figured, it's only the problem with the config file (and NVidida X settings program being unable to create a new file to a good standard.)

Fortunately I had a good /etc/X11/xorg.conf file left from v. 9.10, so I replaced the one generated by v.10 with the old one - and it all worked! So a quick-fix migth be to revert to v.9.10 (or boot from a memory stick), create a good /etc/X11/xorg.conf file, and copy it in!

Please see my file contens below:
=============

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Aug 14 18:33:37 PDT 2009

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

Section "Files"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NEC EA241WM"
HorizSync 26.0 - 82.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Apple"
HorizSync 30.0 - 75.0
VertRefresh 60.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600M GT"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600M GT"
BusID "PCI:2:0:0"
Screen 1
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: 1920x1200 +1440+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1920x1200 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-1: 1920x1200 +0+0"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
====================

Ta-da!