[MPlayer-dev-eng] [PATCH] vo_tdfxfb.c clear screen and tiny image bug

Arpi arpi at thot.banki.hu
Wed Aug 28 20:54:10 CEST 2002


Hi,

> > > +	frame_mem = (char*)mmap(0,mga_vid_config.frame_size*mga_vid
> > > _config.num_frames,PROT_WRITE,MAP_SHARED,f,0);
> > > +	frames[0] = frames[0] + 1*mga_vid_config.frame_size;
> > 
> > huh? nice way to sig11...
> > 
> > anwyay what's the sense of moving buffers a frame away?
> to separate text mode and graphics (seems that on 3dfx it goes so)

no
mga uses the end of teh video memory to allocate BES buffers, text is at teh
beginning.
in case of tdfxfb, it has no BES but it can render (probably using teh 3d
engine) yuy2 frame scaled to the rgb framebuffer, so it overwrite text.

> > and the mga vs. fullscreen was discussed already, STFA
> the solution would be setting up (correctly) graphics mode in vo_mga (not
> vo_xmga!)

no. vo_mga does not use/depend on framebuffer driver/device.
if you need /dev/fb mess, use -vo fbdev:vidix:mga_vid...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list