omapfbplay

121 views
Skip to first unread message

edesign

unread,
Jun 18, 2009, 7:46:53 AM6/18/09
to Beagle Board
Hi all,

I am using latest armstrong distribution on my beagle board and I was
trying to check omapfbplay, but it fails giving the following error ..

root@beagleboard:/# omapfbplay sample.mpg
Input #0, mpeg, from 'sample.mpg':
Duration: 00:00:30.03, start: 0.223333, bitrate: 1904 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 640x480 [PAR 1:1
DAR 4:3], 1
04857 kb/s, 30 tbr, 90k tbn, 30 tbc
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 192 kb/s
Using 130 frame buffers, frame_size=516096
mmap: Invalid argument

Can anybody help?

Thanks
edesign

Koen Kooi

unread,
Jun 18, 2009, 7:49:30 AM6/18/09
to beagl...@googlegroups.com

The solution for that is in the archives, but for the google impaired:

echo 4000000 > /sys/class/graphics/fb1/size

regards,

Koen

PGP.sig

rajvi shah

unread,
Jun 18, 2009, 8:09:28 AM6/18/09
to beagl...@googlegroups.com
Ok, I'm also facing the same problem,
root@beagleboard:/# cat /sys/devices/platform/omapfb/framebuffers
0 p:80690000 v:c9000000 size:1228800 t:gfx
1 p:00000000 v:00000000 size:0 t:vid1
2 p:00000000 v:00000000 size:0 t:vid2

I read the solution pointed by you
"If X has already launched you have already lost, use update-rc.d to
disable gpe-dm and reboot. "

but I don't know how to use update-rc.d to stop X from running ...

Thanks,
edesign

Koen Kooi

unread,
Jun 18, 2009, 8:12:26 AM6/18/09
to beagl...@googlegroups.com

Op 18 jun 2009, om 14:09 heeft rajvi shah het volgende geschreven:

>
> Ok, I'm also facing the same problem,
> root@beagleboard:/# cat /sys/devices/platform/omapfb/framebuffers
> 0 p:80690000 v:c9000000 size:1228800 t:gfx
> 1 p:00000000 v:00000000 size:0 t:vid1
> 2 p:00000000 v:00000000 size:0 t:vid2
>
> I read the solution pointed by you
> "If X has already launched you have already lost, use update-rc.d to
> disable gpe-dm and reboot. "

That's no longer true if you're using an up to date filesystem. X now
uses fb2 as overlay.

regards,

Koen

PGP.sig

rajvi shah

unread,
Jun 18, 2009, 8:15:04 AM6/18/09
to beagl...@googlegroups.com
Hi,

I am using Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--beagleboard.rootfs,
which is latest I guess.

thanks,
edesign

Koen Kooi

unread,
Jun 18, 2009, 8:16:04 AM6/18/09
to beagl...@googlegroups.com

Op 18 jun 2009, om 14:15 heeft rajvi shah het volgende geschreven:

>
> Hi,
>
> I am using Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-

> stable-20090612--beagleboard.rootfs,
> which is latest I guess.

With 'up to date' I mean that 'opkg update ; opkg upgrade' is done on
a regular bases.

regards,

Koen

PGP.sig

rajvi shah

unread,
Jun 18, 2009, 8:19:34 AM6/18/09
to beagl...@googlegroups.com
Sorry, I am new to this. So I am not able to understand what you are suggesting.

Thanks
edesign

rajvi shah

unread,
Jun 18, 2009, 8:23:30 AM6/18/09
to beagl...@googlegroups.com
Also, I am not getting mmap() fails , rather mmap: Invalid argument. I
wonder if they both are one and the same

Dirk Behme

unread,
Jun 20, 2009, 2:31:15 AM6/20/09
to beagl...@googlegroups.com

Thanks, added to FAQ:

http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails

Best regards

Dirk

Reply all
Reply to author
Forward
0 new messages