> Here is a patch which Mark Vojkovich posted a few month ago in
> comp.os.linux.x , thread "XFree 4.0: Overlay Visuals". It might be quite
> instructive to read the rest of the thread. But I've still the problems
> you are describing. Maybe it's due to the SDRAM on my card, I'm still
> waiting for my SGRAM replacement.
That might be it. I already changed that file you mention below, and it
kind of worked, but only when you disabled HW acceleration and used a SW
cursor.
Guess the speed of that solution. :( Even then the screen would be
temporarily disturbed by occasional "shooting stars" racing horizontally
over the desktop. Not very stable either. But the Overlay worked.
Quote:> However, if you get your app running with or without using xnest I'd be
> really interested how you did it.
Here's my device section of /etc/X11/XF86Config...
Section "Device"
Identifier "Matrox Millennium G200 16MB"
Driver "mga"
Chipset "mgag200"
Option "HWCursor" "off"
Option "NoAccel" "on"
Option "Overlay"
EndSection
Unfortunately, it doesn't work without setting the chipset down to
"mgag200",
the "mgag400" did not work at all.
After that, X opened with an 8-bit screen (Root window depth was 8), but
it was possible to open windows with 24-bit "TrueColor" visual (like xv,
etc). Netscape opened an 8-bit window, though.
Nice detail: All the 8-bit applications get their own colormaps, hence
no weird color-flashing when you switch between apps.
I didn't manage to get a 24-bit root window, though.
Let me know if anything happens on the SD/SGRAM front.
Ingo Jankowski