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
The solution for that is in the archives, but for the google impaired:
echo 4000000 > /sys/class/graphics/fb1/size
regards,
Koen
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
That's no longer true if you're using an up to date filesystem. X now uses fb2 as overlay.
regards,
Koen
Hi,
I am using Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--beagleboard.rootfs,
which is latest I guess.
thanks,
edesign
With 'up to date' I mean that 'opkg update ; opkg upgrade' is done on a regular bases.
regards,
Koen
Sorry, I am new to this. So I am not able to understand what you are suggesting.
Thanks
edesign
Also, I am not getting mmap() fails , rather mmap: Invalid argument. I
wonder if they both are one and the same
Dirk
9
Koen Kooi wrote:
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?
The solution for that is in the archives, but for the google impaired:
echo 4000000 > /sys/class/graphics/fb1/size
Thanks, added to FAQ:
http://elinux.org/BeagleBoardFAQ#omapfbplay_mmap_fails
Best regards
Dirk