It is currently Sun, 29 Nov 2020 13:27:00 GMT



 
Author Message
 G400 DualHead clock problems
I'm running SuSE 6.4 and XFree86 4.01, a Matrox G400MAX DualHead,
the latest mga_drv.o from Matrox's web site, and identical
LG Electronics StudioWorks 995E 19" monitors.  I followed the
instructions in Matrox's readme.txt pretty closely to come up
with a dual-monitor XF86Config.

The problem is that while I can run my first head at 1600x1200x24,
I can't run the second head at anything better than 800x600.  This
seems to be because it detects different clocks for the second head:

(==) MGA(0): Min pixel clock is 12 MHz
(==) MGA(0): Max pixel clock is 360 MHz

(==) MGA(1): Min pixel clock is 12 MHz
(==) MGA(1): Max pixel clock is 112 MHz

Is this detection correct?  Is the second head really that much more
restricted?  If it isn't, how can I convince it otherwise?

Alternately, how can I come up with a mode that lets me get 1280x1024
with a less-than-112MHz clock?  I'm not a modeline expert, and was
just using the lines that SaX (SuSE's XF86Config tool) came up with
for me.

According to Matrox's web site (which I didn't read closely enough
before purchase) 1280x1024 is the max for the second head, but even
so, that'd be a hell of a lot better than 800x600.

I've appended my XF86Config and server output.  Any suggestions would
be appreciated.  Thanks.

Alan

# Edited from a SaX autogenerated XF86Config file

Section "Files"
  RgbPath       "/usr/X11R6/lib/X11/rgb"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/local"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc: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/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath      "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/latin7/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath      "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/ucs/100dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/uni"
  FontPath      "/usr/X11R6/lib/X11/fonts/xtest"
EndSection

Section "ServerFlags"
  AllowMouseOpenFail
EndSection

Section "Module"
EndSection

Section "Keyboard"
  Protocol      "Standard"
  XkbRules      "xfree86"
  XkbModel      "pc104"
  XkbLayout     "us"
EndSection

Section "Pointer"
  Protocol              "PS/2"
  Device                "/dev/psaux"
  SampleRate            60
  BaudRate              1200
EndSection

Section "Monitor"    
  Identifier    "Primary-Monitor"
  VendorName    "LG ELECTRONICS"
  ModelName     "STUDIOWORKS 99T"
  HorizSync     30-95
  VertRefresh   50-144
  Modeline "1600x1000" 197.60 1600 1616 1968 2080 1000 1000 1015 1044
  Modeline "1280x960" 158.08 1280 1296 1552 1664 960 960 975 1003
  Modeline "1024x768" 126.16 1024 1040 1216 1328 768 768 783 802
  Modeline "640x480" 59.99 640 656 720 832 480 480 491 501
Modeline "1600x1200" 197.60 1600 1680 2032 2080 1200 1200 1215 1237
  Modeline "1280x1024" 158.08 1280 1296 1552 1664 1024 1024 1039 1070
  Modeline "1152x864" 142.12 1152 1168 1384 1496 864 864 879 902
  Modeline "800x600" 93.70 800 816 928 1040 600 600 613 626
EndSection

Section "Device"
  Identifier    "G400_Head1"
  VendorName    "MATROX"
  BoardName     "MILLENIUM G400"
  Driver        "mga"
  BusID         "PCI:1:0:0"
  Screen        0
#  Videoram     32768
EndSection

Section "Device"
  Identifier    "G400_Head2"
  VendorName    "MATROX"
  BoardName     "MILLENIUM G400"
  Driver        "mga"
  BusID         "PCI:1:0:0"
  Screen        1
#  Videoram     32768
EndSection

Section "Screen"  
#  Driver       "SVGA"
  Identifier    "Screen 1"
  Device        "G400_Head1"
  Monitor       "Primary-Monitor"
  DefaultColorDepth     24
  SubSection "Display"
    Depth       32
    Modes       "640x480"
  EndSubSection
  SubSection "Display"
    Depth       24
    Modes       "1600x1200"
    Virtual     1600 1200
  EndSubSection
  SubSection "Display"
    Depth       16
    Modes       "640x480"
  EndSubSection
  SubSection "Display"
    Depth       8
    Modes       "1600x1200"
  EndSubSection
EndSection

Section "Screen"  
  Identifier    "Screen 2"
  Device        "G400_Head2"
  Monitor       "Primary-Monitor"
  DefaultColorDepth     24
  SubSection "Display"
    Depth       32
    Modes       "640x480"
  EndSubSection
  SubSection "Display"
    Depth       24
#     Modes     "1600x1200"
#     Virtual   1600 1200
#  grrr... :(
    Modes       "800x600"
  EndSubSection
  SubSection "Display"
    Depth       16
    Modes       "640x480"
  EndSubSection
  SubSection "Display"
    Depth       8
    Modes       "1600x1200"
  EndSubSection
EndSection

Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" LeftOf "Screen 2"
    Screen "Screen 2"

#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
EndSection    

XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 1 July 2000
        If the server is older than 6-12 months, or if your card is newer
        than the above date, look for a newer version before reporting
        problems.  (see http://www.**-**.com/ )
Operating System: Linux 2.2.15-urw1 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Apr 20 18:42:09 2000
(==) Using config file: "/etc/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Primary-Monitor"
(**) |   |-->Device "G400_Head1"
(**) |-->Screen "Screen 2" (1)
(**) |   |-->Monitor "Primary-Monitor"
(**) |   |-->Device "G400_Head2"
(==) |-->Input Device "Implicit Core Pointer"
(==) |-->Input Device "Implicit Core Keyboard"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc104"
(**) XKB: layout: "us"
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/PEX".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/PEX").
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/truetype".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/truetype").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/cyrillic,/usr/X11R6/lib/X11/fonts/hellas/misc,/usr/X11R6/lib/X11/fonts/hellas/75dpi,/usr/X11R6/lib/X11/fonts/hellas/100dpi,/usr/
X11R6/lib/X11/fonts/hellas/Type1,/usr/X11R6/lib/X11/fonts/latin2/misc,/usr/X11R6/lib/X11/fonts/latin2/75dpi,/usr/X11R6/lib/X11/fonts/latin2/100dpi,/usr/X11R6/lib/X11/fonts/latin7/75dpi,/usr/X11R6/lib/X11/fonts/kwintv,/usr/X11R6/lib/X11/fonts/ucs/misc,/usr/X11R6/lib/X11/fonts/ucs/75dpi,/usr/X11R6/lib/X11/fonts/ucs/100dpi,/usr/X11R6/lib/X11/fonts/uni,/usr/X11R6/lib/X11/fonts/xtest"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 4, Mem @ 0xd8000000/25, 0xd4000000/14, 0xd5000000/23
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 1.0.0
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
(--) Chipset mgag400 found
(--) Chipset mgag400 found
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 0.1.0
(**) MGA(0): Depth 24, (--) framebuffer bpp 24
(==) MGA(0): RGB weight 888
(==) MGA(0): Default visual is TrueColor
(--) MGA(0): Chipset: "mgag400"
(II) MGA(0): Offscreen memory usage will be limited to 512 lines if the DRI is enabled.
(==) MGA(0): Using HW cursor
(--) MGA(0): Linear framebuffer at 0xD8000000
(--) MGA(0): MMIO registers at 0xD4000000
(--) MGA(0): Pseudo-DMA transfer window at 0xD5000000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07A80
(WW) MGA(0): Video BIOS info block not detected!
(==) MGA(0): Write-combining range (0xd8000000,0x2000000)
(--) MGA(0): Crtc2 will use 8192K of VideoRam
(--) MGA(0): VideoRAM: 24576 kByte
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.0.1, module version = 1.2.0
(WW) MGA(0): Failed to set up write-combining range (0xd8000000,0x1800000)
(II) MGA(0): I2C bus "DDC" initialized.
(II) MGA(0): I2C device "DDC:ddc2" registered.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C Monitor info: (nil)
(II) MGA(0): end of I2C ...

read more »



 Fri, 07 Feb 2003 14:38:51 GMT   
 G400 DualHead clock problems
According to http://www.anandtech.com/showdoc.html?i=1322&p=2 the
driver has the speed of the secondary RAMDAC hardcoded to 112MHz,
and this can be changed by hacking the source to change it to the
actual value.  The secondary RAMDAC of the G400 is actually 135MHz;
the secondary RAMDAC of the G450 is 230MHz.

Haven't tried playing with my config using the new information...

Alan
...

read more »



 Sat, 08 Mar 2003 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. G400 dualhead screen dimesntion problem

2. matroxfb problems with dualhead G400

3. Matrox G400 dualhead TV Output w/ Mandrake 9.1?

4. matrox g400 max dualhead + Abit kt7-raid

5. Red Hat 8.0 and Matrix G400 DualHead Card

6. G400 dualhead - separate heads

7. G400 Dualhead with 1600x1200 (both screens)

8. G400 Dualhead edge distortion

9. Matrox G400 DualHead support

10. Matrox G400 Dualhead


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software