Summary: when using 8+24 overlay on Matrox G450, sometimes the
24-bit plane is obscured with 8-bit plane, which is filled by one color
(typically black).

        Hardware: ASUS P3B-F, Intel PIII-800, 1GB RAM, G450AGP 32M SDRAM.

        Software: Red Hat Linux 7.1, kernel 2.4.2.  xearth-1.1-4 and
xfishtank-2.1tp-7 are from Red Hat 7.1 powertools, xmms-1.2.4-13 from 7.1
(xmms-1.2.5-7 RPM from www.xmms.org exibits the same symptoms).  fvwm-2.4
with focus policy set to SloppyFocus (~= FocusFollowsMouse).

The problem first appeared on stock Red Hat's 4.0.3, but I've tested
XFree86's CVS head from 29 Sep 2001 (which includes G550 support), and the
problem is still there.  XF86Config-4 is at the bottom of the mail.

        A full story: I wanted to set up overlay for xfishtank to work (it
requires a pseudocolor visual), with 24-bit visual still to be default.
This was done easily (except that DRI had to be disabled).  But soon after
XMMS began to behave strangely: its main window became black when pointer
is moved to it.  Sometimes XMMS worked okay for some time before beginning
to "blacken".

        Furthermore, when starting xearth together with xfishtank
(xearth&; xfishtank -d&), sometimes fishes began to leave black traces
behind (i.e. they restored the root window content with black instead of
what required).  "Sometimes" is the time when xearth "moves".  And even
when they revert back to normal repainting, "air bubbles" and other fishes
moved *under* black areas!

        An obvious idea comes to mind -- in some circumstances when
executing XCopyArea(pixmap -> screen@24bpp), the driver fills 8-bit plane
with some wrong value instead of colorkey.

        To reproduce: run X with 'X -cc 4 -depth 24 -fbbpp 32', start
xearth and xmms.  Voila -- when moving mouse pointer to xmms, its window
becomes black (xmms receives focus and repaints the window to reflect
that).  After moving some other window above xmms (to make the server
repaint it -- xmms uses background pixmap), the window content becomes
normal again, until repainted bu xmms, when it (or some parts) become
black again.

---- CUT HERE ----

# Note: DRI is disabled, since overlay doesn't work with DRI -- the server
# segfaults on start (at least in 4.0.3).

# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# 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.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# 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.

    FontPath   "unix/:7100"

EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "extmod"
        Load "fbdevhw"
        Load "pex5"
##      Load "dri"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"

#       Option  "AutoRepeat"    "500 5"

# when using XQUEUE, comment out the above line, and uncomment the
# following line
#       Option  "Protocol"      "Xqueue"

# 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:nocaps"
        Option  "XkbRules"      "xfree86"
        Option  "XkbModel"      "pc104"
        Option  "XkbLayout"     "us"
        Option  "XkbVariant"    "nodeadkeys"
        #Option "XkbOptions"    ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "MouseManPlusPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync   30.0-96.0
        VertRefresh 50.0-160.0

        # -- 1400x1050 --
        # 1400x1050 @ 60Hz, 65.8 kHz hsync
        Modeline "1400x1050"  129   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

        # 1400x1050 @ 70Hz, 76.8 kHz hsync
        Modeline "1400x1050"  151   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

        # 1400x1050 @ 75Hz, 82.3 kHz hsync
        Modeline "1400x1050"  162   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

        # 1400x1050 @ 85Hz, 93.2 kHz hsync
        Modeline "1400x1050"  184   1400 1464 1656 1960
                              1050 1051 1054 1100 +HSync +VSync

        Modeline "1152x864"  120.528 1152 1168 1280 1488 864  865 868 900
        Option  "DPMS"
EndSection

Section "Device"
        # no known options
        Identifier   "Matrox Millennium G450"
        Driver       "mga"
        VendorName   "Matrox Millennium G450"
        BoardName     "Matrox Millennium G450"
        
        #BusID

        Option          "Overlay"
#       Option          "HWCursor" "Off"
EndSection

Section "Screen"
        Identifier   "Screen0"
        Device       "Matrox Millennium G450"
        Monitor      "Monitor0"
        DefaultDepth    24

        Subsection "Display"
                Depth       24
                Modes       "1152x864" "1024x768" "800x600" "640x480"
        EndSubsection

        Subsection "Display"
                Depth       8
                Modes       "1152x864" "1024x768" "800x600" "640x480"
        EndSubsection

EndSection

Section "DRI"
        Mode 0666
EndSection

---- CUT HERE ----

        _________________________________________
          Dmitry Yu. Bolkhovityanov
          [EMAIL PROTECTED]
          The Budker Institute of Nuclear Physics



_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to