LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-09-2007, 05:06 AM   #1
acerbus
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
Problems with dual screen.


Hi!

I've been trying to configure dual screen in X. When I start X, the left monitor (Monitor0 in xorg.conf) freezes after about a second or so, while the right monitor (Monitor1) works normally.
Here are the relevant parts of my xorg.conf:

<snip>

Section "Monitor"
Identifier "Monitor0"
HorizSync 31-83
VertRefresh 56-76
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
HorizSync 31-83
VertRefresh 56-76
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
Driver "vesa"
BusID "PCI:0:2:0"
Option "MonitorLayout" "LFP,CRT"
Screen 0
EndSection

Section "Device"
Identifier "Card1"
Driver "vesa"
BusID "PCI:3:0:0"
Option "MonitorLayout" "LFP,CRT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndsubSection
EndSection

Section "ServerLayout"
Identifier "Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Option "xinerama" "on"
Option "clone" "off"
EndSection

</snip>

If I try to alter the "Screen 0/1" part of section "Device", then one of the other monitors stop working, either by freezing the image, or by going compeltely blank.

The way it's configured above results in the left monitor (Monitor0) going blank, while the right monitor (Monitor1) works normally.

Any ideas on how to resolve this?
 
Old 03-12-2007, 03:22 AM   #2
acerbus
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry, I forgot to include the X log, which can be located here: http://mokkel.biz/xorg.log
 
Old 03-14-2007, 02:09 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Check out post # 8 in this thread:
http://www.linuxquestions.org/questi...d.php?t=533514

I am not sure what type of card you use (or cards for that matter) but I noticed you are trying to get Xinerama working, which I finally did. Perhaps my xorg.conf file posted there will help you.

So, are you using 2 cards? Of not, then both devices would point to the same PCI BusID.
Also, I had poor success using the 'rightof' and 'leftof' options. Instead, as you can see, I specified the location of each screen numerically. My first screen is 1600x1200. The second screen (which is technically 'right-of' the first one) starts at x=1600. Perhaps this would have an effect for you.
Try commenting out the clone option. I don't know if it would help, but worth a try (PS- I'm not using clone either, but havent specified it either way).
Is it possible that one of the screens you have doesn't support 24 depth or the 1280 resolution? I found that my second screen (a TV) would not go above 1024x768, and it would just go blank of I kept trying. Finally I figured out the MetaModes stuff; now, my monitor is 1600x1200 and the TV is 1024x768, and all is well.
Triple check the BusID's you are using; they look odd to me.
Also, on one of the device sections, reverse the MonitorLayout option. I am guessing you have one flat panel and one CRT? If so, one Monitor layout should read LFP,CRT and the other should read CRT,LFP.
Also, in your second device section, you havent specified Screen 1, yet in the first device section, you DID Specify Screen 0. By default the server will only set up screen 0 if the first device it finds is not specified. I think it won't set up additional unlabeled screens. Try setting a screen for the second device.
Hope this helps you some and good luck!
 
Old 03-15-2007, 04:21 AM   #4
acerbus
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I just made it working. I'm not quite sure what did the trick, as I changed just about every option there is in xorg.conf, but I believe the final solution was a driver update. Either way, it's working nicely now (with xinerama), and E17 just got even nicer with dual screen.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using dual monitors/dual heads displays a black screen (Fedora 6) ttnunam Linux - General 4 04-21-2007 12:50 AM
dual screen problems with certain monitors, works for others hedpe Linux - Desktop 4 03-28-2007 09:10 PM
dual screen cursor problems andystanfordjason Slackware 0 02-16-2007 05:51 PM
fullscreen application and dual-screen: selecting which which screen to use silex_88 Ubuntu 3 10-19-2006 07:51 PM
Dual Screen - Resolution Problems dolvmin Fedora 2 07-11-2005 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration