Bug 135423 - Matrox G400 DH (Dual Head) have not been detected properly - i'm including 100% working fix on this bug
Summary: Matrox G400 DH (Dual Head) have not been detected properly - i'm including 10...
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Final
Hardware: x86 SuSE Linux 10.0
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords: Code, Code_Error, easy_fix, patch, Readme, regression_test_needed, UI
Depends on:
Blocks:
 
Reported: 2005-11-24 03:05 UTC by Luis Freitas
Modified: 2005-11-24 14:59 UTC (History)
1 user (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
XOrg.conf for Matrox G400 DH (10.52 KB, text/plain)
2005-11-24 03:17 UTC, Luis Freitas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Freitas 2005-11-24 03:05:38 UTC
After clean install of SuSE 10.0 Final Version, my graphics card Matrox G400 DH (Dual Head) don't work properly. I have two 17" monitors (Belinea 103020) connected to a Matrox G400 DH. In SuSE 9.3 Professional, it was detected that i had two monitors (correct) and a dual head graphic card. Using sax2 i could also configure it without problem activating xinerama, clone or whatever.
In SuSE 10.0 Final, it did't detect as 9.2 and 9.3 (correctly) and it only detected ONE monitor and one Matrox G400. The result was that i had connected 2 monitors and only one was functioning. I tried "init 3" and use "sax2 -r" but it would not detect properly the Dual Head and i couldn't activate it anywhere. There was not even a option to activate it.

So to make it work properly i changed "XOrg.conf" in /etc/X11/XOrg.conf manually and the XOrg.conf file is like this now (and working 100%):

==============================================================================
#XOrg.conf - Matrox G400 DH problem fix

# /.../
# Created on: 2005-11-24T02:16:00+0000.
# Contact: Marcus Schaefer <sax@suse.de>, 2002
# Fix by Luis Miguel P. Freitas <luis@jazzmelody.net>, 2005
#
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "type1"
  Load         "dbe"
  Load         "freetype"
  Load         "glx"
  Load         "v4l"
  Load         "extmod"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "pt"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "PS/2 Logitech Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
EndSection

Section "Monitor"
  DisplaySize  337 270
  HorizSync    28-70
  Identifier   "Monitor[0]"
  ModelName    "103020"
  Option       "DPMS"
  VendorName   "BELINEA"
  VertRefresh  50-120
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  DisplaySize  337 270
  HorizSync    28-70
  Identifier   "Monitor[1]"
  ModelName    "103020"
  Option       "DPMS"
  VendorName   "BELINEA"
  VertRefresh  50-120
  UseModes     "Modes[1]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline 	"1280x960" 116.18 1280 1360 1496 1712 960 961 964 998
  Modeline 	"1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
  Modeline 	"1280x800" 111.77 1280 1360 1496 1712 800 801 804 837
  Modeline 	"1280x800" 95.95 1280 1352 1488 1696 800 801 804 832
  Modeline 	"1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
  Modeline 	"1152x864" 93.90 1152 1224 1344 1536 864 865 868 899
  Modeline 	"1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
  Modeline 	"1280x768" 107.23 1280 1360 1496 1712 768 769 772 803
  Modeline 	"1280x768" 92.15 1280 1352 1488 1696 768 769 772 799
  Modeline 	"1280x768" 77.37 1280 1344 1480 1680 768 769 772 794
  Modeline 	"1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
  Modeline 	"1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
  Modeline 	"1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline 	"800x600" 73.98 800 848 936 1072 600 601 604 639
  Modeline 	"800x600" 66.71 800 848 936 1072 600 601 604 635
  Modeline 	"800x600" 58.73 800 840 928 1056 600 601 604 632
  Modeline 	"800x600" 51.73 800 840 928 1056 600 601 604 628
  Modeline 	"800x600" 44.13 800 840 920 1040 600 601 604 624
  Modeline 	"800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline 	"768x576" 67.79 768 816 896 1024 576 577 580 613
  Modeline 	"768x576" 61.21 768 816 896 1024 576 577 580 610
  Modeline 	"768x576" 53.75 768 808 888 1008 576 577 580 606
  Modeline 	"768x576" 47.41 768 808 888 1008 576 577 580 603
  Modeline 	"768x576" 40.41 768 800 880 992 576 577 580 599
  Modeline 	"768x576" 33.74 768 792 872 976 576 577 580 596
  Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
  Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
  Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
  Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
  Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
  Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline 	"1280x960" 116.18 1280 1360 1496 1712 960 961 964 998
  Modeline 	"1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
  Modeline 	"1280x800" 111.77 1280 1360 1496 1712 800 801 804 837
  Modeline 	"1280x800" 95.95 1280 1352 1488 1696 800 801 804 832
  Modeline 	"1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
  Modeline 	"1152x864" 93.90 1152 1224 1344 1536 864 865 868 899
  Modeline 	"1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
  Modeline 	"1280x768" 107.23 1280 1360 1496 1712 768 769 772 803
  Modeline 	"1280x768" 92.15 1280 1352 1488 1696 768 769 772 799
  Modeline 	"1280x768" 77.37 1280 1344 1480 1680 768 769 772 794
  Modeline 	"1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
  Modeline 	"1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
  Modeline 	"1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline 	"800x600" 73.98 800 848 936 1072 600 601 604 639
  Modeline 	"800x600" 66.71 800 848 936 1072 600 601 604 635
  Modeline 	"800x600" 58.73 800 840 928 1056 600 601 604 632
  Modeline 	"800x600" 51.73 800 840 928 1056 600 601 604 628
  Modeline 	"800x600" 44.13 800 840 920 1040 600 601 604 624
  Modeline 	"800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline 	"768x576" 67.79 768 816 896 1024 576 577 580 613
  Modeline 	"768x576" 61.21 768 816 896 1024 576 577 580 610
  Modeline 	"768x576" 53.75 768 808 888 1008 576 577 580 606
  Modeline 	"768x576" 47.41 768 808 888 1008 576 577 580 603
  Modeline 	"768x576" 40.41 768 800 880 992 576 577 580 599
  Modeline 	"768x576" 33.74 768 792 872 976 576 577 580 596
  Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
  Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
  Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
  Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
  Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
  Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
  Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
EndSection

Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection

Section "Device"
  BoardName    "Matrox G400 DH-0641"
  BusID        "1:0:0"
  Driver       "mga"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "Matrox"
EndSection

Section "Device"
  BoardName    "Matrox G400 DH-0641"
  BusID        "1:0:0"
  Driver       "mga"
  Identifier   "Device[1]"
  Screen       1
  VendorName   "Matrox"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "on"
  Screen       "Screen[0]"
  Screen       "Screen[1]" RightOf "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection

=============================================================================

SO Matrox G400 DH wasn't detected properly in SuSE 10.0 (x86) so i couldn't configure it in sax2 also. I had to do it manually.
Comment 1 Luis Freitas 2005-11-24 03:17:36 UTC
Created attachment 58518 [details]
XOrg.conf for Matrox G400 DH

If you are using Matrox G400 DH (Dual Head), you can use this XOrg.conf to make it work fine. Just change the [Section "Monitor"] for the model you are using.
Tested and functioning. Sax2 in KDM working fine and configuring after aplying this .conf file but sax2 still not working properly in "init 3" after aplying this .conf file.
Comment 2 Stefan Dirsch 2005-11-24 07:52:42 UTC
On 10.0 we didn't configure Matrox G400 boards as Dualhead boards by default, because there has always been huge problems with this for people, who only use one monitor (which is still the majority AFAIK) - believe me. I think with 10.1 it'll be possible to enable the sencond monitor easily. Marcus? I think we can close this with FIXED/WONTFIX.
Comment 3 Luis Freitas 2005-11-24 09:49:28 UTC
Matrox sold non-DualHead versions of the G400 Millennium, so be sure you know what version you're getting on the DualHead concept.
I used flawlessly four x86 on production environment several G400 DH, detected and functioning perfectly on Asus Motherboards (P4C800 and P4P800), and SuSE 9.2 and 9.3 detected that without any problems at all. Just for the record.
It's possible to separate the G400 DH from the non-dual versions of the G400 Millenium?
Comment 4 Marcus Schaefer 2005-11-24 14:59:32 UTC
well you are a lucky guy not stumbling over the wide range of bugs the
mga driver has. The first and foremost reason not to activate dualhead by
default is the missing core maintenance for the driver code within Xorg.
Matrox has lost its top position concerning desktop graphics hardware and
due to this reason nobody is really interested to take care for the driver.

The current version of sax supports Matrox Merged Framebuffer mode as well
as the old Xinerama style but both are not activated by default. you can
easily check that out by testing the current version available here:

   ftp://ftp.berlios.de/pub/sax/head-build/suse-10.0

1) MergedFB:
------------
- call "sax2 -r" as root from runlevel 3 and click on the
  <activated dual mode> checkbox, That's it :-)

2) Xinerama:
------------
- call "sax2 -b Xinerama" as root from runlevel 3 and you will
  see two desktops you can configure like you are used to do it
  in the past

Regards
Marcus