Bsp Release 4.1.15_1.1.0 EGL not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bsp Release 4.1.15_1.1.0 EGL not working

Jump to solution
2,214 Views
h4nn35
Contributor II

Hello all,

I'm trying to get the Bsp Release 4.1.15_1.1.0 to work on our custom board. I created a yocto image as described int he Freescale Yocto Project User's Guide, but I can't get it to work. It worked with the Bsp 3.14.28-1.0.0.  I can see the openembedded splash screen at startup so I know that the ldb display works.

But I haven't updated the u-boot, I'm not sure if this is necessary.

If I start weston i get the following log:

Date: 2016-04-21 UTC

[16:26:04.432] weston 1.9.0

               http://wayland.freedesktop.org

               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0

               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)

[16:26:04.432] OS: Linux, 4.1.15-1.1.0+ga4d2a08, #1 SMP PREEMPT Thu Apr 21 14:48:44 CEST 2016, armv7l

[16:26:04.433] Starting with no config file.

[16:26:04.433] Loading module '/usr/lib/weston/fbdev-backend.so'

[16:26:04.455] Output repaint window is 7 ms maximum.

[16:26:04.455] initializing fbdev backend

[16:26:04.456] Loading module '/usr/lib/weston/gl-renderer.so'

[16:26:04.458] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.

[16:26:04.474] warning: EGL_EXT_swap_buffers_with_damage not supported. Performance could be affected.

[16:26:04.474] Retrieving EGL client extension string failed.

[16:26:04.474] Creating fbdev output. /dev/fb0 x=0 y=0

[16:26:04.474] Opening fbdev frame buffer.

[16:26:04.474] Calculating pixman format from:

                - type: 0 (aux: 0)

                - visual: 2

                - bpp: 24 (grayscale: 0)

                - red: offset: 16, length: 8, MSB: 0

                - green: offset: 8, length: 8, MSB: 0

                - blue: offset: 0, length: 8, MSB: 0

                - transp: offset: 0, length: 0, MSB: 0

[16:26:04.476] failed to create egl surface

[16:26:04.476] gl_renderer_output_create failed.

dmesg shows me that the vivante driver is loaded:

[drm] Initialized drm 1.1.0 20060810

[drm] Initialized vivante 1.0.0 20120216 on minor 0

galcore: clk_get vg clock failed, disable vg!

Galcore version 5.0.11.41671

and I have a galcore device in /dev.

If I try to use the viv sample I get the following error:

root@imx6dl:~# /opt/viv_samples/tiger/tiger            

id=53, a,b,g,r=0,8,8,8, d,s=16,0, AA=0,openvgbit=71

eglCreateWindowSurface fail.

InitEGL fail!

Has someone experienced something similar? Or got I someone to work?

Thx,

Hannes

1 Solution
1,276 Views
h4nn35
Contributor II

I was able to resolve my issue. The error was in my custom devicetree, I used for mxcfb1 for my ldb device a default_bpp of 24 which has caused the error. After setting this value to 16 everything is working fine.

View solution in original post

1 Reply
1,277 Views
h4nn35
Contributor II

I was able to resolve my issue. The error was in my custom devicetree, I used for mxcfb1 for my ldb device a default_bpp of 24 which has caused the error. After setting this value to 16 everything is working fine.