[MPlayer-users] Intel Poulsbo framebuffer
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Aug 7 19:53:56 CEST 2012
On Tue, Aug 07, 2012 at 07:00:52AM +0200, Oliver Seitz wrote:
> Hi!
>
> I'm trying to make use of a intel board with NM10 chipset. I've
> installed debian squeeze, and compiled a patched kernel with intels
> proprietary framebuffer driver. KMS works, monitor has native
> resolution.
>
> cat /dev/urandom > /dev/fb0 gives the noisy picture it should give.
>
> But, MPlayer does not play, both -vo fbdev and -vo fbdev2 refuse to
> try displaying a picture. -vo directfb sets a black screen which can
> only be revertet by restarting the system.
>
> Can someone help?
>
> framebuffer too small for double-buffering, disabling
> Can't mmap /dev/fb0: Resource temporarily unavailable
Looks like the driver is incredibly crappy and does not even support
writing into the frame buffer via mmap.
MPlayer does not support writing into the framebuffer via write (and
honestly that seems like it would be horribly slow anyway, plus no
reasonable way to support the OSD).
As a quick hack you could try replacing the mmap/munmap by malloc/free
and the in flip_page use write() to write that buffer into /dev/fb0.
(I assume you tried running as root, just in case that mmap and only
that for some reason is restricted to root?)
More information about the MPlayer-users
mailing list