LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 03-28-2005, 01:46 PM   #1
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Rep: Reputation: 15
trying to get dual-head monitors working.


Hi,

i have been trying to get dual monitors working on my laptop for 3 days. i do not know whats going on. i have tried many different configuratoins. there is usually one of two possiblities when i run X.

A) it will fail of error (usually of "Device already in use")
or
B) logging on to X works according to the computer, but my primary screen (a laptop LCD panel) is powered on, "showing" all black (no signal), and my secodary moniter is no signaled (an external CRT)

when x is not running, my primary LCD is unpowerd, and the external CRT dlisplays the console just fine.

my videocard (ATI Mobility M4 AGP) is dual head, so i only have the one card.

me:
Dell inspiron 8000
FC3
ATI Mobility M4 AGP
Xorg - X Window System Version 6.8.1
OS Kernel: Linux version 2.6.10-1.770_FC3 (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3))

(The most likely to work in my opinion version of)
My xorg.conf file (out of all of the many that i have tried):
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "Multihead layout"
	Screen      0  "Screen0" LeftOf "Screen1"
	Screen      1  "Screen1" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "AlwaysCore"
	Option	    "Xinerama" "off"
	Option	    "Clone" "on"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "synaptics"
	Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Dell 1400x1050 Laptop Display Panel"
	HorizSync    31.5 - 90.0
	VertRefresh  59.0 - 75.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "AOC SPECTRUM 4V,4VA,4Vlr & 4VlrA, 4Vn, 4VnA"
	HorizSync    30.0 - 50.0
	VertRefresh  50.0 - 100.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "r128"
	VendorName  "Videocard vendor"
	BoardName   "ATI Rage Mobility M4 AGP"
EndSection

Section "Device"
	Identifier  "Videocard1"
	Driver      "r128"
	VendorName  "Videocard Vendor"
	BoardName   "ATI Rage 128 Mobility"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Videocard1"
	Monitor    "Monitor1"
	DefaultDepth     16
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection


anyone know whats going on? please and thanks for the help
 
Old 03-28-2005, 05:57 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 65
I think for a dual-headed vid card you only want one 'Device' section. Also:
Quote:
Option "Xinerama" "off"
You are going to want that on, or dual head will not work at all...
 
Old 03-28-2005, 06:38 PM   #3
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bulliver
I think for a dual-headed vid card you only want one 'Device' section. Also:

You are going to want that on, or dual head will not work at all...
as for the one Device section, that is a good idea, i will try that,

For your xinerama=on suggestion, i was under the impression that xinerama was for a single spanning desktop, which is my eventual goal, but first i though it wouls be smart to try and make a simpler comfiguration work of just two clone screens, then go from there. am i mistaken on this?
 
Old 03-28-2005, 07:33 PM   #4
poiuytrewq
Member
 
Registered: Jul 2004
Posts: 107

Original Poster
Rep: Reputation: 15
Edit: fixed some more, lines not gone, will post update in a bit.

old message:
ok, using only one Device section half worked

my secondary monitor still has no signal, but my primary screen now shows gnome in a distorted fashion like so ( its encouraging that im getting somewhere though):
http://img126.exs.cx/img126/8139/screenshot1ho.png
with the edges of the screen in the middle. (if i take a screenshot, i get a regular screen, but that image is what im looking at (simulated in gimp))

more help?

Last edited by poiuytrewq; 03-28-2005 at 08:22 PM.
 
Old 03-29-2005, 05:03 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 65
Quote:
For your xinerama=on suggestion, i was under the impression that xinerama was for a single spanning desktop, which is my eventual goal, but first i though it wouls be smart to try and make a simpler comfiguration work of just two clone screens, then go from there. am i mistaken on this?
Xinerama is the extensions that make the X server aware of more than 1 display. You need xinerama to use two monitors in _any_ configuration.

As for your screenshot, it would appear the two displays are overlapping on 1 display! Is that right? I'm not sure what to tell you. I have never seen that...

This guide has some sample conf files, (They're for XFree86 but they will work fine) and also some good explanation of dual-screen configuration. Maybe you can start from scratch and build a new conf file using your current conf and examples from the guide:
http://www.tldp.org/HOWTO/Xinerama-HOWTO/index.html

hth
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X not working with dual monitors Mahudude Linux - Newbie 2 03-05-2005 01:52 PM
Configuring dual head video card for 2 monitors in FC2? the_rhino Fedora 1 02-10-2005 03:20 PM
Dual monitors not working, need some help! Duffy Slackware 10 02-06-2005 01:27 PM
Two video cards, dual head not working Arconis Linux - Newbie 2 02-01-2005 11:29 PM
Not understanding why dual head isnt working Wall Linux - Newbie 6 02-18-2004 12:00 AM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration