Hi,
When I try to run two separate imx6 opengl demo application(for example: GLES3/S06_Texturing_FB), one for an hdmi screen and the other one for lcd screen, both displays start stuttering. But If I kill one of the instances, the stuttering problem disappears.
Also, I tried a qt5 demo application named pinchzoom which displays little mice moving on the screen by drawing framebuffer using only cpu power, the movement in pinchzoom keeps stuttering but there is no stuttering in the opengl demo application. (I executed them simultaneously).
After that, I tried to run two pinchzoom instances simultaneously, one for hdmi and the other one for lcd screen, there does not occur any stuttering problem. The problem occurs when I run an opengl demo application.
Here is my system information:
Yocto: NXP yocto 4.1.15-1.0.0_ga
Linux:4.1.15-1.0.0
Processor: IMX6Q
&hdmi_core{
ipu_id = <1>;
disp_id= <1>;
status = "okay";
};
&mxcfb1 {
disp_dev = "hdmi";
interface_pix_fmt = "RGB24";
mode_str = "1920x1080M@60"
default_bpp = <32>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
&mxcfb2 {
disp_dev = "lcd";
interface_pix_fmt = "RGB24";
mode_str = "1920x1080"
default_bpp = <32>;
int_clk = <0>;
late_init = <0>;
status = "okay";
};
I use PLL5 as a clock source for both hdmi and lcd since they need the same clock frequency(148.5 MHZ).
I would be grateful for your help.
Best Regards,
Tugay
Hi Tugay
to better understand problem one can try ddr profiling
For lcd one can try to decrease frame rate, also try tweak QoS, using
Chapter 45 Network Interconnect Bus System (NIC-301), sect.45.3.3.1 QoS registers'
i.MX6DQ Reference Manual or IOMUXC_GPR6,7.
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------