I.MX6DL + LVDS Display 1366x782 + OpenGL ES + QT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I.MX6DL + LVDS Display 1366x782 + OpenGL ES + QT

965件の閲覧回数
hichembenfekih
Contributor I

Hello 

I know that, this is maybe a repeated question. but I couldn't find any solution.

for the moment I am using the following test environment:

-- wandboard (i.mx6dl)

-- custom kernel build 3.14.52_1.0.0_ga-wandboard

-- Galcore Kernel module version 5.0.11.41671

-- Qt 5.6

the problem is that when I start a Qt Quick application I got following error:

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

I think OpenGL ES can not handle the display resolution (1366x782). when I change the resolution in the kernel Device Tree to 1360x782, or 1368x782, then everything works fine.

I think this has something to do with the IPU of the CPU which can handle only 8 byte aligned addresses or something like that.

 

is there any one who could display an image using OpenGL ES with an 1366x782 Display?

Thank you in advance.

the following is my device tree configuration:

mxcfb1: fb@0 {
    compatible = "fsl,mxc_sdc_fb";
    disp_dev = "ldb";
    interface_pix_fmt = "RGB24";
    mode_str ="LDB-WXGA";
    default_bpp = <32>;
    int_clk = <0>;
    late_init = <1>;
    status = "okay";
};

&ldb {
  status = "okay";
  lvds-channel@0 {
     fsl,data-mapping = "spwg";
     fsl,data-width = <24>;
     primary;
     status = "okay";
     display-timings {
        native-mode = <&timing0>;
        timing0: hj070na {
            clock-frequency = <65000000>;
            hactive = <1366>;
            hfront-porch = <50>;
            hsync-len = <100>;
            hback-porch = <50>;
            vactive = <768>;
            vfront-porch = <10>;
            vsync-len = <10>;
            vback-porch = <18>;
         };
    };
};

ラベル(2)
0 件の賞賛
返信
0 返答(返信)