Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-23-2006, 12:10 PM
|
#1
|
Member
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125
Rep:
|
Cannot get two monitors working with X, Nvidia 6800
I am trying to use a dual monitor setup, but I am having some problems. This is my setup:
Mandriva 2006 x64 (kernel 2.6.12-12mdk).
PNY nvidia 6800 video card.
Monitor 1: Samsung 730B LCD
Monitor 2: Old Viewsonic 17" CRT
During boot, both screens work, but as soon as I get to the login screen, my crt goes black. I was able to get just the crt working, so I would think it's possible.
Please let me know if you know what I am doing wrong here.
This is my /etc/X11/xorg.conf file:
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib64/modules/extensions/nvidia/libglx.so"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Monitor"
Identifier "monitor2"
VendorName "Generic"
Option "CRT"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Screen 0
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection
Section "Device"
Identifier "device2"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Screen 1
Option "DPMS" "CRT"
Option "IgnoreEDID" "1"
EndSection
Section "Screen"
Identifier "Leftscreen"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "Screen"
Identifier "Rightscreen"
Device "device1"
Monitor "monitor2"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerFlags"
Option "Xinerame" "on"
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Option "Xinerama" "true"
Option "TwinView" "true"
Screen 0 "Leftscreen" 0 0
Screen 1 "Rightscreen" RightOf "Leftscreen"
EndSection
|
|
|
09-25-2006, 02:51 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
First, that should be "Xinerama", and second, you either use Xinerama, or use Twinview, not both.
My preference is for Twinview as it is abstracted at the hardware level. Here I have posted a working xorg.conf that uses Twinview:
http://badcomputer.org/unix/xorg.conf
Note that the Twinview settings are in the "Device" section. When using Twinview X doesn't (read: shouldn't) even know that you have two monitors, the vidcard fools X into thinking you have a desktop twice as big as it really is.
|
|
|
09-27-2006, 09:08 PM
|
#3
|
Member
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125
Original Poster
Rep:
|
I made the changes in xorg.conf, but I am still not seeing two monitors. I have tried a bunch of different settings, but to little help, and this is my current xorg.conf:
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib64/modules/extensions/nvidia/libglx.so"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
#deModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
#deModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Screen 0
Option "TwinView"
#Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
Option "MetaModes" "1024x768,1024x768; 1024x768,1024x768"
#Option "HorizSync" "30-110"
#Option "VertRefresh" "50-160"
#Option "MetaModes" "1024x768,1024x768"
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection
Section "Screen"
Identifier "Leftscreen"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "Leftscreen"
EndSection
I get this warning in /var/log/Xorg.0.log:
(WW) NVIDIA(0): Unable to find mode "1024x768" for display device 1 in
(WW) NVIDIA(0): MetaMode "1024x768,1024x768"
(WW) NVIDIA(0): Unable to find mode "1024x768" for display device 1 in
(WW) NVIDIA(0): MetaMode "1024x768,1024x768"
Where am I supposed to set this?
Thanks
|
|
|
09-27-2006, 09:31 PM
|
#4
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
I have not seen that error, but perhaps it is because you have the same resolution mode entered twice:
Quote:
Option "MetaModes" "1024x768,1024x768; 1024x768,1024x768"
|
What you want here is a pair of resolutions, 1 for each monitor, separated by a semicolon to allow other resolutions if you use [ctrl]+[alt]+[+] keyboard combo to cycle them:
Code:
Option "MetaModes" "1024x768,1024x768; 1200x1024,1200x1024"
Also note that your "Display" and "ServerLayout" sections look wrong.
Remember that when you are using Twinview you are hiding the fact from X that you have two monitors, so have a look at the xorg.conf I posted again and model yours after it.
I can assure you, I am using that same xorg.conf file on the computer I am writing this message to you on
So it does work...
|
|
|
09-28-2006, 07:50 PM
|
#5
|
Member
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125
Original Poster
Rep:
|
I had just those modes since that's the resolution I wanted to use on both screens. I thought that was what those values was for, but I might be wrong. I modified it to what you had, but it didn't help. The serverlayout looked the same as yours I thought.
So, I copied your file, and after a couple of failures since there were a few things I didn't have, I got it to work!
Not sure what it was, but I will look at that later, I am just happy I got it to work. Thanks man.
Now I can watch MythTV on my other monitor, which was the goal for this.
|
|
|
09-28-2006, 09:54 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Cool. Glad you got it sorted.
|
|
|
All times are GMT -5. The time now is 08:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|