LinHES Forums http://forums.linhes.org/ |
|
dual head pc http://forums.linhes.org/viewtopic.php?f=5&t=18909 |
Page 1 of 1 |
Author: | abigailsweetashoney [ Tue Sep 02, 2008 7:22 pm ] |
Post subject: | dual head pc |
I have a wierd non-myth issue with X. I have a pc with a Matrox AGP G400 card in it. When I configure X it pumps the same screen out to each monitor. So I rewrite the config file as shown below and now I get notta on one screen (screen 1) and unintelligible fuzz on Screen 0. Any idea what's going on? Thanks, Abs. XF86Config file Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Above "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" 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/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 "record" Load "dbe" Load "glx" Load "xtrap" Load "extmod" Load "type1" Load "speedo" Load "mga_hal" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "VSC" ModelName "VG900b" Option "DPMS" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor1" VendorName "VSC" ModelName "VG900b" Option "DPMS" EndSection Section "Device" #Option "Monitor2HSync" # [<str>] #Option "Monitor2VRefresh" # [<str>] #Option "Monitor2Position" # [<str>] #Option "MetaModes" # [<str>] Identifier "Card0" Driver "mga" VendorName "Matrox Graphics, Inc." BoardName "MGA G400 AGP" BusID "PCI:5:0:0" Screen 0 EndSection Section "Device" #Option "Monitor2HSync" # [<str>] #Option "Monitor2VRefresh" # [<str>] #Option "Monitor2Position" # [<str>] #Option "MetaModes" # [<str>] Identifier "Card1" Driver "mga" VendorName "Matrox Graphics, Inc." BoardName "MGA G400 AGP" BusID "PCI:5:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1280x1024" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Modes "1280x1024" Viewport 0 0 Depth 24 EndSubSection EndSection |
Author: | abigailsweetashoney [ Tue Sep 02, 2008 9:06 pm ] |
Post subject: | |
Better question... any idea where to begin to troubleshoot this? Thanks, Abs |
Author: | tjc [ Tue Sep 02, 2008 9:24 pm ] |
Post subject: | |
Part of your problem is that you only have one card "Device" section defining "Card1" and references to two separate ones (Card0, Card1) in your "Screen" sections. First thing is probably to find an example of how the MGA drivers do their dual headed config. Does the driver act as if there are two separate cards (as the ivtv driver does with the PVR-500) or that there's one card and two screens, or ... Googling for something like "mga dual headed xorg.conf examples" comes up with tons of relevant hits.... Of the first 4-5 I looked at, half of them had example xorg.conf samples.... (edit - Whoops fooled by lack of formatting, there are two Device sections not just one. Please, when posting code (including formatted config files) use the appropriate BBS markup so it doesn't get squished.) |
Author: | abigailsweetashoney [ Wed Sep 03, 2008 8:31 am ] |
Post subject: | |
The G400 card has two monitor ports. This configuration works on other pcs I own. Not sure why this particular pc is giving me fits. Thanks. |
Author: | abigailsweetashoney [ Wed Sep 03, 2008 9:05 am ] |
Post subject: | |
It seems that my problem is that my version of mga_drv.o doesn't support XFree86 4.5.0. Does anybody know where to get a driver for the G400 card that would support this? Thanks, -Abs[/quote] |
Author: | tjc [ Wed Sep 03, 2008 6:45 pm ] |
Post subject: | Re: dual head pc |
Finding current drivers for old hardware is often hard. According to this you need to get the mga_hal driver directly from Matrox for the G400 http://ftp.x.org/pub/X11R7.0/doc/html/mga.4.html and the newest ones they have on their FTP site are at least 2 years old and for much older versions on the x.org server.... Looks like it may be time to find a newer spare video card... BTW - I understood that the card had two connectors on it, thus the comparison to the PVR-500. The question was not one physical card or two but one _virtual_ card or two. With a formatted version of your xorg.conf it becomes clearer that the answer is "two virtual cards". abigailsweetashoney wrote: Code: Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Above "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" 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/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 "record" Load "dbe" Load "glx" Load "xtrap" Load "extmod" Load "type1" Load "speedo" Load "mga_hal" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "VSC" ModelName "VG900b" Option "DPMS" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor1" VendorName "VSC" ModelName "VG900b" Option "DPMS" EndSection Section "Device" #Option "Monitor2HSync" # [<str>] #Option "Monitor2VRefresh" # [<str>] #Option "Monitor2Position" # [<str>] #Option "MetaModes" # [<str>] Identifier "Card0" Driver "mga" VendorName "Matrox Graphics, Inc." BoardName "MGA G400 AGP" BusID "PCI:5:0:0" Screen 0 EndSection Section "Device" #Option "Monitor2HSync" # [<str>] #Option "Monitor2VRefresh" # [<str>] #Option "Monitor2Position" # [<str>] #Option "MetaModes" # [<str>] Identifier "Card1" Driver "mga" VendorName "Matrox Graphics, Inc." BoardName "MGA G400 AGP" BusID "PCI:5:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1280x1024" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Modes "1280x1024" Viewport 0 0 Depth 24 EndSubSection EndSection |
Author: | abigailsweetashoney [ Thu Sep 04, 2008 2:26 pm ] |
Post subject: | |
Not sure why the formatting matters but no bother. I did find a driver and compiled it. Things are working well now. So much fun. Thanks. |
Author: | tjc [ Thu Sep 04, 2008 7:20 pm ] |
Post subject: | |
abigailsweetashoney wrote: Not sure why the formatting matters
forthesamereasonthatwhitespaceandpunctuationmatter Yes, the X server would probably have accepted that format and I could have painstakingly picked through the road pizza text or pretty printed it, but you're asking for help, so anything you can do to make it easier for people to help you is in your own best interest. The first time I read the config file there was no separation between the "Monitor1" and "Card0" sections, so I missed the one and you got a less than useful answer. I'm not trying to be insulting or patronizing here, just trying to suggest ways for you (and other readers) to help us help you in the future. |
Author: | abigailsweetashoney [ Thu Sep 04, 2008 10:54 pm ] |
Post subject: | |
that's hardly a fair comparison, my xf86config file and your example. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |