[meta-freescale] libGL references libX11?

Mark Farver mfarver at mindbent.org
Tue Aug 23 12:44:10 PDT 2016


On Tue, Aug 23, 2016 at 1:47 PM, Mark Farver <mfarver at mindbent.org> wrote:
> Now I can build with weston, but weston itself won't start.
>
> # tail /var/log/weston.log
>
> [16:11:21.285] 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:11:21.285] failed to create egl surface
> [16:11:21.285] gl_renderer_output_create failed.

Just for posterity's sake, the fix for the above issue was that the
"default_bpp" setting in the mxcfb1 device tree entry of my custom
kernel was set to 24.  Changing it to 16 resolved the issue.

    mxcfb1: fb at 0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "ldb";
        interface_pix_fmt = "RGB24";
        mode_str = "LDB-WVGA";
        default_bpp = <16>;
        int_clk = <0>;
        late_init = <0>;
        status = "okay";
    };

Thanks to this forum post for the solution:
https://community.nxp.com/thread/390594


More information about the meta-freescale mailing list