EGL Error : Could not create the egl surface: error = 0x3003 錯誤的解決辦法

最近在配置qml運行環境時,遇到了一個OpenGL相關的報錯:

EGL Error : Could not create the egl surface: error = 0x3003

解決辦法參考下文:

I am currently using a 24bit parallel display, so in the .dtsi file inside fb@0, I set the default_bpp to 24. This needs to always be 16 regardless of the display. So I set default_bpp to 16 and I no longer get eglCreateWindowSurface() errors anymore!

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

參考:https://community.nxp.com/message/587654#587654

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章