On Thu, Jul 18, 2002 at 05:47:25PM -0400, [EMAIL PROTECTED] wrote: > I am looking to try the matroxfb-vsync-irq-patch to see if it can > reduce the cpu usage of mplayer/directfb any. The patch seems to be > for vintage (2.4.6) kernels and does not build correctly on leading > edge (2.4.18ish) kernels.
The fix (TM). Works on 2.4.19-rc1 at least. - ACCESS_FBINFO(currenthw)->CRTC[0x11] + ACCESS_FBINFO(hw).CRTC[0x11] Also when building DirectFB make sure you get the FBIO_WAITFORVSYNC definition. Add it to /usr/include/linux/fb.h or DirectFB/src/core/fbdev.c if you don't want to mess with system headers. The patch only adds it to the kernel tree. Without the definition you just end up polling some CGA registers and that's not nice for CPU usage. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
