This is interesting. I did know that there even is a native fbdev driver for the neomagic. However the driver says that it's based on the XFree86 code. So I don't expect it to do some magic we don't do.
The speedup may have another reason: the mtrr setup may not work correctly. With the fbdev driver in the kernel mtrr should be enabled from this driver. I need to check this once I find the time. I discovered a problem with mtrr on an IBM Thinkpad using a Neomagic just the other day. Egbert. Matthew Reimer writes: > Florent CHANTRET wrote: > > Hi there, > > > > I've a Sony VAIO laptop (Celeron 366 Mhz, 192 Mo SDRAM) with a NeoMagic > > both for audio and video. > > > > I've installed XFree 2.4.99 on my Mandrake 9 in order to have the Xv > > patch. If I set the option OverlayMem to the value of about 800000 > > (don't remember but the correct value for NTSC fullscreen DVD watching), > > I've a green line at the bottom of my screen and a scratchy sound. > > > > I've maximised this value and no problem for the green line / sound but > > it still not perfect. > > > > On Xine, there is a lot of slowdown and hiccups in the sound, and it's > > better on mplayer or videolan. But, I think I lost a lot of frames > > resulting in "lines" appearing on fast move on the screen. > > > > Is there a way to have a perfect display for DVD on such a system (poor > > CPU not so powerful and a shared audio / video neomagic card). Just a > > precision, the sound is managed by OSS. > > > > Regards, > > Florent CHANTRET > > FWIW, I just managed to get perfect DVD playback on my Vaio PCG-Z505HE > (PIII 450MHz, 192M RAM, NeoMagic 256AV), but I don't exactly know what > fixed it. My guess is that either the kernel framebuffer driver or the > directfb driver initialized something on the card that the XFree86 > driver doesn't. Previously the slowdown was due to writes to overlay > memory in NEOCopyYV12Data() in the neomagic driver (cvs from early Dec); > I'd get about 19 fps. What changed is that I tried using /dev/fb0 and > directfb, and then afterward tried running mplayer and ogle using the xv > driver, and voila! Perfect playback, full frame rates (24 fps), and > about 20% idle CPU leftover. You may not get perfect playback on a 366 > MHz machine, but if you're affected by this slowdown, you'd at least get > better framerates. > > BTW, one more thing that's different about my setup than yours is that > since I don't have a DVD drive for the laptop, I'm nfs-mounting the DVD > drive from my desktop. > > So perhaps somebody with some neomagic clue (Egbert?) might be able to > figure out what fixed it. > _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

