• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5902
  • Last Modified:

Fedora 3 Dual Head Matrox G450 (PCI Version)

I have the card currently working for a single monitor display.  Right now I am trying to get the multi head view option working, which will allow me to span the desktop across my to screens.  Her is mt lspci output:

00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
05:09.0 PCI bridge: Hint Corp HiNT HB4 PCI-PCI Bridge (PCI6150) (rev 04)
06:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85)
06:04.0 Display controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85)


And here is my xorg.conf file:
# Xorg configuration created by system-config-display

Section "ServerLayout"
      Identifier     "Multihead layout"
      Screen      "Screen0" LeftOf "Screen1"
      Screen      "Screen1"
      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      "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"
      Identifier   "Monitor0"
      VendorName   "Monitor Vendor"
      ModelName    "LCD1770NX"
      DisplaySize  340      270
      HorizSync    31.0 - 81.0
      VertRefresh  56.0 - 75.0
      Option          "dpms"
EndSection

Section "Monitor"
      Identifier   "Monitor1"
      VendorName   "Monitor Vendor"
      ModelName    "LCD1770NX"
      DisplaySize  340      270
      HorizSync    31.0 - 81.0
      VertRefresh  56.0 - 75.0
      Option          "dpms"
EndSection

Section "Device"
      Identifier  "Videocard0"
      Driver      "mga"
      VendorName  "Videocard vendor"
      BoardName   "Matrox Millennium G400"
      Screen      0
EndSection

Section "Device"
      Identifier  "Videocard1"
      Driver      "mga"
      VendorName  "Videocard Vendor"
      BoardName   "Matrox Millennium G400"
      Screen      1
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    "1280x1024" "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    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
      EndSubSection
EndSection

Section "DRI"
      Group        0
      Mode         0666
EndSection

As you can see I believe that I have made the proper modifications as well I have alreday installed the Matrox driver.  The only thing I have not done yet is place the BusID option inside of the config, the reason why is whenever I put PCI:6:0:0  which is the ID given by the device by typing lspci, the xserver hangs. Any help would be greatly appreciated
0
wiedmanb
Asked:
wiedmanb
  • 2
  • 2
1 Solution
 
wiedmanbAuthor Commented:
Also this is the output when I use startx >& output.log

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF]
Current Operating System: Linux aamny2901b.ardenasset.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
Build Date: 20 October 2004
Build Host: tweety.build.redhat.com
 
      Before reporting problems, check http://wiki.X.Org
      to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-1.667 (bhcompile@tweety.build.redhat.com) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004
Markers: (--) probed, (**) from config file, (==) default setting,
      (++) from command line, (!!) notice, (II) informational,
      (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 25 18:49:20 2005
(==) Using config file: "/etc/X11/xorg.conf"

(WW) MGA: More than one matching Device section found: Videocard1
(WW) MGA: No matching Device section for instance (BusID PCI:6:4:0) found
(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.
Symbol xf86I2CWriteByte from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CWriteByte from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CWriteByte from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CWriteByte from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CWriteByte from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86DestroyI2CBusRec from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86DestroyI2CBusRec from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86DestroyI2CBusRec from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CProbeAddress from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Symbol xf86I2CProbeAddress from module /usr/X11R6/lib/modules/drivers/mga_drv.o is unresolved!
Agent pid 4456
xset:  bad font path element (#64), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
SetClientVersion: 0 8
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
Klipper is already running!

** (gedit:4539): CRITICAL **: file bonobo-mdi.c: line 2426 (bonobo_mdi_set_restoring_state): assertion `priv->restoring_state && restoring_state' failed

** (gedit:4539): CRITICAL **: file bonobo-mdi.c: line 2426 (bonobo_mdi_set_restoring_state): assertion `priv->restoring_state && restoring_state' failed

(gedit:4539): GnomeUI-CRITICAL **: file gnome-client.c: line 2578 (gnome_client_request_interaction): assertion `(client->interact_style != GNOME_INTERACT_NONE) && ((client->interact_style == GNOME_INTERACT_ANY) || (dialog_type == GNOME_DIALOG_ERROR))' failed
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainloop is deprecated, use gtk.main instead
  self.warn(message, DeprecationWarning)
rm: cannot remove `/root/.gnome2/gedit-DXPA3X/': Not a directory
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  7
  Minor opcode:  0
  Resource id:  0x1a00003
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  6
  Minor opcode:  0
  Resource id:  0x1a00003
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainquit is deprecated, use gtk.main_quit instead
  self.warn(message, DeprecationWarning)
startkde: Shutting down...
warning: leaving MCOP Dispatcher and still 12 object references alive.
  - Arts::SampleStorage
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_MULTI_ADD
  - Arts::Synth_PLAY
  - Arts::StereoVolumeControl
  - Arts::StereoEffectStack
  - Arts::Synth_BUS_DOWNLINK
  - Arts::SoundServerV2
  - Arts::Synth_BUS_UPLINK
  - Arts::Synth_AMAN_PLAY
  - Arts::AudioManagerClient
  - Arts::MidiManager
warning: leaving MCOP Dispatcher and still 113 types alive.
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.


waiting for X server to shut down


0
 
gheistCommented:
man 4 mga
...                                           Support for the second head on G400
       cards requires a binary-only "mga_hal" module that  is  available  from
       Matrox  <http://www.matrox.com>, and may be on the CD supplied with the
       card.

mandrake includes this , I am not sure about Fedora

(WW) MGA: No matching Device section for instance (BusID PCI:6:4:0) found

You have to add busid for both devices so you or xorg do not swap them etc
06:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85)
06:04.0 Display controller: Matrox Graphics, Inc. MGA G400 AGP (rev 85)
0
 
gheistCommented:
first tries must be creating two config files, of whom each works perfectly with one screen or other, then combining them by hand in one config file.
0
 
wiedmanbAuthor Commented:
Points awarded for trying, I am still not exactly sure what the problem was.  I wound up simply installing my other copy of SUSE instead and that worked right out of the box.  So I am comparing the configs now we will see what the problem si, and I will report back if I find out what the problem is
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now