View previous topic :: View next topic |
Author |
Message |
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Tue Jul 28, 2009 8:40 am Post subject: dual-monitor (separate screens with nvidia) {SOLVED} |
|
|
Hello,
Can somebody please help me with a pointer on setting up my gentoo box.I have nvidia card, and I would love to have a separate X session where by I can have different stuffs running on my TV.Unfortunately, with no good reasons after working on this setup, I am not been able to drag windows to the 2nd screen.The other options like twinview, works fine.No logs on this issue, only dri errors which I think I have read somewhere it should be disabled.
Code: | grep EE /var/log/Xorg.0.log
(EE) Failed to load module "dri" (module does not exist, 0) |
The other screen is just black, I can move my mouse in it but no windows can be dragged to this screen.
Hardware description:
Monitor 1 for my PC with resolution 1650x1050, and Philips TV which on window supports this resolution as well but on my gentoo box it doesnt support higher resolution only 1200x1050.Both monitors connected with VGA cables to my nvidia card.
Here is my xorg.conf, which I came up with from nvidia setups and a bit of reading from gentoo wiki: Quote: |
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (portage@gendesktop) Thu Jul 23 21:52:58 CEST 2009
#Section "ServerLayout"
# Identifier "X.org Configured"
# Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
#EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "wfb"
Load "record"
# Load "dri2"
Load "dbe"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NTS MBW-SERIAL"
HorizSync 31.5 - 80.0
VertRefresh 56.0 - 75.0
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Philips PHL 26PF9946"
HorizSync 31.0 - 80.0
VertRefresh 47.0 - 85.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
# Option "TwinView" "0"
# Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1680x1050 +0+0"
SubSection "Display"
Depth 24
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
# Option "TwinView" "0"
Option "metamodes" "CRT-1: 1280x1024 +0+0"
SubSection "Display"
Depth 24
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" Below "Screen0"
EndSection
|
Thanks ... _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Last edited by muhsinzubeir on Tue Jul 28, 2009 8:50 am; edited 1 time in total |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Tue Jul 28, 2009 8:49 am Post subject: |
|
|
Sorry for the noise, it seemed to work now even though resolution issue on the TV is not perfect but I can live with it.
Here is my recent xorg.conf.
Quote: | # nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (portage@gendesktop) Thu Jul 23 21:52:58 CEST 2009
#Section "ServerLayout"
# Identifier "X.org Configured"
# Screen 0 "Screen0" 0 0
# Screen 1 "Screen1" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
#EndSection
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "wfb"
Load "record"
# Load "dri2"
Load "dbe"
EndSection
Section "ServerFlags"
# Removed Option "Xinerama" "0"
Option "Xinerama" "1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NTS MBW-SERIAL"
HorizSync 31.5 - 80.0
VertRefresh 56.0 - 75.0
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Philips PHL 26PF9946"
HorizSync 31.0 - 80.0
VertRefresh 47.0 - 85.0
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8600 GT"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Screen"
# Option "TwinView" "0"
# Option "TwinViewXineramaInfoOrder" "CRT-0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
# Option "TwinView" "0"
# Removed Option "metamodes" "CRT-1: 1280x1024 +0+0"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT-1: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
_________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
mackerel Apprentice
Joined: 09 Aug 2005 Posts: 167 Location: SC
|
Posted: Tue Jul 28, 2009 10:00 am Post subject: |
|
|
There has been some changes in the way xorg.conf works and I also recently installed a NVidia card. I removed most of the monitor sections and let the NVidia configuration tool handle it.
Code: |
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9500 GT"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "TwinViewOrientation" "DFP-0 RightOf DFP-1"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
_________________ Mack |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Tue Jul 28, 2009 11:20 am Post subject: |
|
|
that xorg.conf came was generated with nvidia...by the way I still cant make use of high resolution of that TV on my gentoo box, it probably has to do with the nvidia-drivers.This TV monitor supports higher resolution, but I am limited to 1200x1050.But its not that bad though, after all I am already happy with the way it works now ..or may be I am lazzy to go after the prob.. _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
|