[MPlayer-users] matroxfb / mgavid driver

Ryan Underwood nemesis-lists at icequake.net
Mon Apr 14 01:18:28 CEST 2003


I have a few little problems with the mgavid driver and/or matroxfb that
I hope someone knows something about.

I have a G400MAX DH.  I load mga_vid with option mga_ram_size=32 since it
is mis-detected as only having 16MB RAM.  My desktops are both 1280x960
32bpp in Xfree86 4.2.1.  Framebuffer matroxfb is 1280x960.
Linux kernel version 2.4.21-pre6.

When I play certain movies such as the new matrix trailer, or some of the
realplayer movies from the www.digibarn.com (as well as many others which
I haven't bothered to list here), the desktop background on the second head
becomes corrupted.  On some movies it looks like a "negative" of the image
that mplayer is displaying, and on others (like the matrix trailer) it becomes
totally corrupted.  Occasionally I can move a window around on the second
desktop and "wipe away" the corruption, but most of the time I have to restart
the second window manager in order to fix it.

The corruption only occurs using the -vo xmga on the first head; it doesn't
happen when using -vo x11 or sdl on either head.  I am not sure about the
mysterious workings of the mga_vid driver :D so not really sure what's happening
here.  Can anyone help?

Here are the appropriate syslog messages:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel 440BX chipset
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] AGP 0.99 on Intel 440BX @ 0xd0000000 256MB
[drm] Initialized mga 3.0.2 20010321 on minor 0
matroxfb: Matrox G400 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 640x480x8bpp (virtual: 640x26208)
matroxfb: framebuffer at 0xE8000000, mapped to 0xd0905000, size 33554432
Console: switching to colour frame buffer device 80x30
fb0: MATROX VGA frame buffer device
matroxfb_crtc2: secondary head of fb0 was registered as fb1
i2c-core.o: i2c core module
i2c-core.o: driver maven registered.
Matrox MGA G200/G400/G450/G550 YUV Video interface v2.01 (c) Aaron Holtzman & A'rpi
mga_vid: Found MGA G400/G450
mga_vid: MMIO at 0xd2918000 IRQ: 11  framebuffer: 0xE8000000
mga_vid: OPTION word: 0x50044120  mem: 0x10  SGRAM
mga_vid: RAMSIZE forced to 32 MB
syncfb (mga): IRQ disabled in mga_vid.c

In particular I'm not sure what that last message (about IRQ disabled) means.


Ryan Underwood, <nemesis at icequake.net>, icq=10317253

More information about the MPlayer-users mailing list