LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-12-2004, 05:48 AM   #1
newlyded1
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Newbie - Triple monitor


Ok, I'm trying my hand at linux... again! Before I go any further, I would like to mention that I have been reading any manuals, other posts, etc to learn more. I have managed to mnt the ntfs drives on my windows partitions, plus got flac and the flac-xmms pluging working fine this way. When it comes to my triple monitor setup, I'm a little confused with the manuals, though. Like in some of them, they'll say to type in the window... and I'm like, what window? I assume Konsole. Anyway...

I've got a triple monitor setup. It works just fine under windows. I've got 2 video cards. One is an agp ATI AIW Radeon 7500. The other is a pci ATI Radeon 7500. My main monitor is a Hewlett Packard HP D3859A 17", which is hooked up to the agp card. The other two monitors that I have are a Gateway VX900 19" and an IBM P200 20", respectively. These two are hooked up to the pci card.

The main monitor on the agp card works just fine. The other 2 monitors on the pci card are... well, just dead weights at the moment. From the way I understand it, it's pretty much a matter of editing the xorg.conf file. Is this correct? Or is there something else that I need to do?

I do know how to open up the .conf file. And I'm sure I could edit. I'm just not sure what exactly to edit, and a few things that I read in some of the manuals like finding bus ids are just confusing to me, so far. Btw, I'm using Fedora Core 2. Here's a copy of the xorg.conf file:

# 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"
Option "Xinerama" "on"
Option "Clone" "off"
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 "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 "keyboard"
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 "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "HP D3859A Multi Media 17-inch Display"
DisplaySize 320 240
HorizSync 30.0 - 68.0
VertRefresh 56.0 - 85.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Gateway VX900"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 7500"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard Vendor"
BoardName "ATI Radeon 7500"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 07-15-2004, 12:26 PM   #2
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Hey same situation

Hi;

I am in the same situation singel vga agp card and dual vga, pci card. (though different cards). Have you found a solution to your issue yet, or maybe a reference site or such? Anyone else got any ideas?

Thx alot
 
Old 07-17-2004, 02:52 AM   #3
newlyded1
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Nope, I still haven't got it working. This is what I get. When I have both the agp and the pci cards inserted, Fedora seems to only recognize the agp card, so I only get the one monitor that's hooked up to that card.

When I take the agp card out of my system, then Fedora configures the pci card for dual monitors. Ok, so now I've also got the bus id for that card.

I put the agp card back in the system, and tried editing the xorg.conf file, adding in the info for the pci card, etc. The first time I did this, x wouldn't start. It gave me an error something along the lines of the word "section" is in the wrong place. I think I may have left a " out.

Not knowing how to change xorg.conf back to the original via command, I settled for reinstalling Fedora. I again tried editing xorg.conf. This time, I checked and double checked. It all looked fine compared to some of the other's I've seen posted. This 2nd time, once again, x wouldn't start. The error on the 2nd attempt was that there wasn't any such device on the bus id for the pci card.

And that's where I'm at currently.
 
Old 07-21-2004, 04:03 AM   #4
newlyded1
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Whoohoo! I finally got it. Much thanks goes to jduck, as I used his solution as a bit of a template for my own solution. Just as jduck did, I also had to remove the screen identifier from my agp card. Screen 0 and Screen 1 were used just for the dual port pci card. In my case, I had to turn xinerama on.

Here's my current working conf file:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "vnc"
Load "glx"
Load "record"
Load "dbe"
Load "dri"
Load "xtrap"
Load "extmod"
Load "freetype"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
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 "Monitor"
DisplaySize 320 240
Identifier "Monitor0"
VendorName "HWP"
ModelName "HP D3859A Multi Media 17-inch Display"
HorizSync 30.0 - 68.0
VertRefresh 56.0 - 85.0
Option "DPMS"
EndSection

Section "Monitor"
DisplaySize 360 270
Identifier "Monitor1"
VendorName "GWY"
ModelName "GATEWAY VX900"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Monitor"
DisplaySize 360 270
Identifier "Monitor2"
VendorName "IBM"
ModelName "IBM P200"
HorizSync 29.0 - 90.0
VertRefresh 50.0 - 120.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV200 QW [Radeon 7500]"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Card1"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV200 QW [Radeon 7500]"
BusID "PCI:2:9:0"
Screen 0
EndSection

Section "Device"
Identifier "Card2"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV200 QW [Radeon 7500]"
BusID "PCI:2:9:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 07-21-2004, 09:00 AM   #5
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Hey;

Its kinda wierd cause I tried that screen 0 & 1 thing and it didnt work. I think its because I dont have the latest driver for my pci card (i have the nvidia "nv" driver but not the "nvidia" driver). Anyways I've gonna build my kernel then install the driver if its not there (woohoo finally moving up to 2.6!).

Newlyded, what kernel version r u running?

Thanks alot, Ill keep this thread updated.
 
Old 07-21-2004, 09:56 AM   #6
newlyded1
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
My kernel version is 2.6.5-1.358. I don't think ATI even has drivers for my cards. I checked the site out and what drivers I found were for the later cards. So, I'm just using what came with the distro. The tv tuner probably won't work because of that, but right now, I don't care. Getting my 3 monitors going were my main concern. I can always go back into windows for the tv if needed.

Anyway, concerning your prob. I'm assuming you've got the corrent BusID's. Have you checked the xorg or xfree log file? I was pointed towards that on another board. While it didn't offer me too much, at least told me that it was just a problem with the conf file. You may want to check that, if you haven't already.
 
Old 07-30-2004, 01:45 AM   #7
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
update;

after building my kernel (which took several days cause of problems) and installing the nvidia driver (quite easy) i got my triple monitor working using the screen 0, screen 1 trick mentioned above, (now im battling my tv tuner card which displays video but no audio).

Anyways thanks a whole lot for the help newlyded1 !!!! Its much appreciated
 
Old 07-30-2004, 03:44 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally posted by newlyded1
My kernel version is 2.6.5-1.358. I don't think ATI even has drivers for my cards. I checked the site out and what drivers I found were for the later cards. So, I'm just using what came with the distro. The tv tuner probably won't work because of that, but right now, I don't care. Getting my 3 monitors going were my main concern. I can always go back into windows for the tv if needed.

Good luck on the TV tuner I tried for two weeks to get my 7500 going if you want to try your luck with the drivers for it they are here.

http://gatos.sourceforge.net/
 
Old 07-30-2004, 03:46 AM   #9
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally posted by movitto
update;

after building my kernel (which took several days cause of problems) and installing the nvidia driver (quite easy) i got my triple monitor working using the screen 0, screen 1 trick mentioned above, (now im battling my tv tuner card which displays video but no audio).

Anyways thanks a whole lot for the help newlyded1 !!!! Its much appreciated
If you are using the bttv module I believe there is an audio capture module you may have to have compiled.
 
Old 07-30-2004, 09:52 AM   #10
string
LQ Newbie
 
Registered: Jul 2004
Location: Not sure, Earth sometimes
Distribution: Slackware, FC2
Posts: 23

Rep: Reputation: 15
Sorry to hijack this thread as your talking about tv cards now, but I'm trying to get two monitors to work as one screen. As I understand I will need to edit the xorg configuration file, how do I do that.

Thanks
string
 
Old 07-30-2004, 03:03 PM   #11
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
what is your graphics card arrangement? do you have a single port agp and pci? two single pci's? a dual pci or agp?
 
Old 07-31-2004, 03:56 AM   #12
string
LQ Newbie
 
Registered: Jul 2004
Location: Not sure, Earth sometimes
Distribution: Slackware, FC2
Posts: 23

Rep: Reputation: 15
movitto,
It's a matrox millennium G450 agp, with two vga ports, using fedora core2. This is the file of my monitor layout.


# XFree86 4 configuration created by pyxf86config

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "S/M 753DF"
DisplaySize 320 240
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Millennium G450"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection


Thanks in advance
string
 
Old 07-31-2004, 12:35 PM   #13
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Quote:
but I'm trying to get two monitors to work as one screen

I am assuming you want two different outputs on the two monitors (not both displaying the same thing).
To do this, make sure you have the lastest matrox drivers that support your card.
This page on the matrox site has the drivers for your card, but they are for older versions of Red Hat. Im not sure if fedora is backwards compatible with drivers for older versions of red hat. You can try some of the 3rd party drivers, which can be found on this page (also here is the complete list ).

Once you installed the lastest drivers, put the following as the device, screen, serverflags, and serverlayout sections of your xfree86 config (remove the ones that you hve now and make sure you BACKUP your existing one!!!!!!)(once again, this will save ALOT of headaches, BACKUP xfree86 config, I only say this cause I was pretty stupid in the past and had X crash on me because of a faulty xfree86 config file)

Section "Device"
Identifier "Videocard0"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Millennium G450"
BusID "PCI:1:0:0" #Since your card is agp this is the most likely id, but check with lspci command
Screen 0 #This is the trick that will hopefully make it work
EndSection

Section "Device"
Identifier "Videocard1"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Millennium G450"
BusID "PCI:1:0:0" #Same BusID as above
Screen 1 #Different 'screen'
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0" #or however your arrangement is
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "Xinerama" "true"
EndSection


More information can be found here
 
Old 08-01-2004, 04:54 AM   #14
string
LQ Newbie
 
Registered: Jul 2004
Location: Not sure, Earth sometimes
Distribution: Slackware, FC2
Posts: 23

Rep: Reputation: 15
movitto

Thanks for the reply, I'll make sure to do a backup and cross my fingers and toes.

string
 
  


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
Monitor Issue for a newbie tito522 Linux - Newbie 4 03-01-2005 01:41 PM
triple monitor display in windows and linux dot_txt Linux - Hardware 2 11-05-2004 11:57 AM
Very Very newbie, problem with monitor J_angel2000 Linux - Newbie 5 02-26-2004 06:20 PM
Help with Triple Monitor Setup jduck Linux - Hardware 5 10-11-2003 10:25 PM
newbie redhat7.3 monitor soyyo Linux - Newbie 11 08-20-2002 12:02 PM


All times are GMT -5. The time now is 09:54 AM.

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