[meta-ti] egl on beagleboard xM
Tomas Frydrych
tf+lists.yocto at r-finger.com
Thu Apr 26 13:10:47 PDT 2012
Hi,
I am trying to get native egl (i.e., without X) working on Beagleboard
xM, but without much success. I am using libgles-omap3 (4.05.00.03) the
kernel(s) and sgx drivers from meta-ti master; everything appears to
start fine (i.e., no errors reported from pvr-init or dmesg), but trying
run any of the gles tests / demos gives:
'eglInitialize' returned egl error 'EGL_BAD_ALLOC' (0x3003)
I have tried both linux-omap 2.6.39 and linux 3.0.8, with same results.
Any pointers to what the problem might be would be much appreciated,
Tomas
kernel command line:
console=ttyO2,115200n8 vram=48M mpurate=auto
omapfb.mode=dvi:1280x720MR-16 at 60 omapfb.debug=y omapdss.def_disp=dvi
root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
Also tried 1024x768MR-16 at 60, and different vram sizes, without success.
# lsmod
Module Size Used by
bufferclass_ti 4696 0
omaplfb 11014 0
pvrsrvkm 142463 2 bufferclass_ti,omaplfb
...
# cat /proc/pvr/nodes
Registered nodes
Addr Type Class Index Ref pvDev Size Res
db42eb00 ?9 buffer 2 1 da43ba00 28 (null)
db42ed40 ?9 display 1 1 db77a300 52 (null)
db42eec0 ?7 3D 0 1 db57c000 0 db572680
# fbset -i
mode "1280x720-60"
# D: 64.000 MHz, H: 44.444 kHz, V: 59.979Hz
geometry 1280 720 1280 720 16
timings 15625 80 48 3 13 32 5
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name :omapfb
Address : 0x9d000000
Size : 1843200
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 2560
More information about the meta-ti
mailing list