From: Peter Z. <a.p...@ch...> - 2003-03-25 13:33:14
|
heyaz, I just got f1rmb to include fb support in xine-ui xitk again so I can watch my divx files on my TVout again, thanks daniel. The next problem is that framebuffer devices are not vsync'ed, hence tearing the picture. I own a matrox G400 max and use the second head (crtc2 on /dev/fb/1) to drive the TV. DirectFB has a patch that enables the matrox driver to vsync with interrupts, so I patched my kernel, rebooted since one cannot unload the console modules, started X again, and noticed that it wouldn't do me any good since the mga X driver disables the interrupt :(. This was noticed when, after modifying 'video_out_fb.c:fb_display_frame' to include a ioctl FBIO_WAITFORVSYNC, xine hung, just waiting to receive a interrupt. Well,. since I already was in fb_display_frame I saw that vsync'ing could be done with FBIOPAN_DISPLAY. So I went searching for why this didn't work for me. I found out that for FBIOPAN_DISPLAY to work the matrox_crtc2.o module needs a tty. So I got con2fb from the mplayer/TVout tree and mapped /dev/fb/1 to a tty. Guess what,. it worked, no tear in sight, HOWEVER.... the video playback was jerky as can be. Anybody any ideas on how I can fix it? regards, Peter Zijlstra |