LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Newbie needs help making 3 monitors work (https://www.linuxquestions.org/questions/linux-software-2/newbie-needs-help-making-3-monitors-work-446262/)

extendedping 05-18-2006 09:35 PM

Newbie needs help making 3 monitors work
 
I just installed fedora 5 on my computer which has 3 monitors working in xp. I have a matrox g200 card that supports up to 4 monitors. Presently my main monitor works fine but my other 2 just have colorful streaks across them. I went to matrox's site and looked for new drivers (not that I know how to install drivers on linux yet anyway :) and the links to 3rd party drivers were either moved or pointed to sites that had nada to do with drivers. Any way to get all me monitors working with this card? My education starts.....now!!!

sixy 05-19-2006 12:07 AM

Please post your xorg.conf file (found in /etc) and any startup messages from your video card (dmesg | grep matrox)

extendedping 05-19-2006 07:10 AM

OK first my cryptic xorg.conf file.............


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
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 "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 "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync P1150"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 94.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Graphics, Inc. MGA G200 AGP"
EndSection

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

Section "DRI"
Group 0
Mode 0666
EndSection

:



NOW MY DMESG FILE


[root@www X11]# dmesg | grep matrox
matroxfb: Matrox G200 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x13107)
matroxfb: framebuffer at 0xDA000000, mapped to 0xf8a00000, size 8388608
matroxfb: Matrox G200 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x6553)
matroxfb: framebuffer at 0xD9000000, mapped to 0xf9a80000, size 4194304
matroxfb: Matrox G200 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x6553)
matroxfb: framebuffer at 0xD8000000, mapped to 0xfab00000, size 4194304
matroxfb: Matrox G200 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x6553)
matroxfb: framebuffer at 0xD7000000, mapped to 0xfbb80000, size 419430


Thanks in advance...................

extendedping 05-19-2006 03:53 PM

Ah so I stumped the forum? Help a newbie linux brother brothers...

sixy 05-20-2006 09:35 AM

Quote:

Originally Posted by extendedping
Ah so I stumped the forum? Help a newbie linux brother brothers...

No, just cant always reply the instant you post. A little patience goes a long way.

Now there are two ways to go from here, but in either case the first thing to do is backup your xorg.conf file.

First way is easy, but may not work. Start computer in runlevel 3. Login as root. Type X -configure, which will generate a test xorg.conf file in /root/. TO test it, type X -config /root/xorg.conf.test (file name from memory, it will tell you what to type after you have run X -configure).
If it works, cp /root/xorg.conf.test /etc/X11/xorg.conf

If that doesnt do the job, then we need the output of lspci. (if in runlevel 5 you need to type /sbin/lspci)

extendedping 05-20-2006 07:24 PM

thanks, I tried, went to runlevel 3 and then typed the command but it didn't work. my screen went blank and I had to reboot. When I rebooted and looked for an xorg.conf.test I could not find it (I did an updatedb first...I guess I go to lspci next?

sixy 05-21-2006 03:52 AM

yeah. the output of lspci tells you the bus id of the graphics cards (matrox cards tend to identify as separeate cards, even though they are only one physical card)

extendedping 05-21-2006 11:52 AM

Thank you here is the cryptic lspci.....

00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:05.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
02:04.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
02:08.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
02:0c.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)

sixy 05-22-2006 11:16 AM

Ok... you need an xorg.conf *something* like this:

But a warning: make sure you backup your xorg.conf file before you do this, as i dont have a matrox system to test it on. It should work, but i cant easily test for typos so be careful.

Code:

Section "ServerLayout"
Identifier "single head configuration"
#Screen 0 "Screen0" 0 0
Screen "Screen0"
Screen "Screen1" Leftof "Screen0"
Screen "Screen2" Rightof "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
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 "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 "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync P1150"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 94.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync P1150"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 94.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync P1150"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.0 - 94.0
VertRefresh 55.0 - 160.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Graphics, Inc. MGA G200 AGP"
BusID "PCI:2:00:0"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Graphics, Inc. MGA G200 AGP"
BusID "PCI:2:04:0"
EndSection

Section "Device"
Identifier "Videocard2"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Graphics, Inc. MGA G200 AGP"
BusID "PCI:2:08:0"
EndSection

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

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

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

Section "DRI"
Group 0
Mode 0666
EndSection



All times are GMT -5. The time now is 03:31 PM.