最近在配置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";
};