|
From: Fredrik N. <no...@no...> - 2003-01-31 00:16:53
|
Hi Antonino, fre 2003-01-31 klockan 00.22 skrev Antonino Daplas: > However, at least 3 people have mailed me that they are using their > somewhat old pc as a set top box with mplayer, DirectFB and i810fb. No > X. The image instability is noticeable because they are driving > big-screen TV's, especially because DirecFB is double-buffered, with > triple-buffering in the TODO list. I don't think vertical retrace synchronisation is strictly necessary for excellent video playback on low-grade systems. Reason is that I believe most graphics cards delay the flip automatically in hardware using shadow registers which load the real registers during retrace. The software only needs to flip the buffers with approximately the same frequency, and it'll work fine. I've sent a few patches to the Xine (video player) developers to improve the frame buffer driver and player. The new driver allocates as many buffers as possible natively in video RAM. Thus, with a 16 MB TNT card you'll get about 9 buffers at 768x576x32 (PAL DVD) resolution. That should give the driver plenty of margins to deal with occasional scheduling problems etc. because the only essential thing it needs to do meanwhile is flipping buffers using the FBIOPAN_DISPLAY ioctl. This can be done with the regular Linux kernel frame buffer drivers. I think Xine being threaded (as compared with mplayer which is not) is an advantage when implementing this. It's still work-in-progress but I hope the theory will work out when I have the ability to do more advanced tests than I've done so far. :) Fredrik |