Imx6 LVDS Display Problems

Hello,

We are working with a modified version of the imx6q-apalis-eval.dtb. Our System is running fine but we recently needed to switch to a new Touch Display: https://www.telerex-europe.com/content/files/pdfs/productPdfs/POW/PH102600T009-IBC03.pdf

We have some Issues with the Displays Colors… there are strange stripes in our Colors and sometimes there are appearing purple pixels on screen.

I Modified the Device Tree Files like this:

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";
};

&ldb {
	status = "okay";

	lvds-channel@0 {
		reg = <0>;
		fsl,data-mapping = "spwg";
		fsl,data-width = <24>;
		crtc = "ipu1-di0";
		primary;
		status = "okay";

		display-timings {
			native-mode = <&timing_wsvga>;
			timing_wsvga: 1024x600 {
				clock-frequency = <32000000>;
				hactive = <1024>;
				vactive = <600>;
				hback-porch = <88>;
				hfront-porch = <40>;
				hsync-len = <128>;
				vback-porch = <33>;
				vfront-porch = <10>;
				vsync-len = <2>;
				vsync-active = <0>;
				hsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};

for vidargs we use:

vidargs=video=mxcfb0:dev=ldb,if=RGB24,bpp=32 ldb=sin0 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M

I managed to catch the issue on my phone… i cant think of a better way to send you a image of the issue… but u can clearly see the stripes, the purple pixels and the red pixels. … this is just a picture of the floor, a red door in the background and a part of my leg… the image is displayed on our software.

I think these are the relevant parts… I tried to modify the interface_pix_fmt values and set it to something else… but no success… maybe my display timings are off?.. I cant find any relevant display timing data in that data sheet. Can somebody help me maybe?

greetings,

Georg

ok the stripes are probably from the touch panel… maybe i can get them fixed with turning back the background lighting a bit. … i can reduce the pixel issues massively by tweaking the clock-frequency… still havent found the right value tho.

hi @GeorgWesolutions

Welcome to the Toradex Community!

Could you provide the version of the hardware and software of your module? Which carrier board are you using?

Please share the dmesg log in file?

Could you show some test pictures on the screen and share the photos of the screen?

Thanks and best regards,
Jaski

@jaski.tx sure thing :slight_smile:

Board: Ixora V1.0A

Display: https://www.telerex-europe.com/content/files/pdfs/productPdfs/POW/PH102600T009-IBC03.pdf

dmesg log file: dmesg.txt

Software isnt really relevant… we worked with the last version of this display without problems… but they are not producing that one anymore so we needed to upgrade to this type. We use a QT 5.12 based application on the device.

I made some pictures with my phone… cant think of a better way. You cant really see much tho. The error is there are Stripes from Top to Bottom on the whole screen, and there are those small pixel errors in the green part. And i think the display is flickering a bit.

test images

I still think the values for Hfront Porch… Hback Porch and so on are off… and they are not given in the Data-Sheet so i cant really set them properly. Can i somehow calculate them?

I am really thankfull for every piece of help :slight_smile:

greetings Georg

hi

Software isnt really relevant… we worked with the last version of this display without problems… but they are not producing that one anymore so we needed to upgrade to this type. We use a QT 5.12 based application on the device.

I would install a LXDE Image and check if you see the issue.

I made some pictures with my phone… cant think of a better way. You cant really see much tho. The error is there are Stripes from Top to Bottom on the whole screen, and there are those small pixel errors in the green part. And i think the display is flickering a bit.

I don’t see any errors. Could you make better pictures, please?

I still think the values for Hfront Porch… Hback Porch and so on are off… and they are not given in the Data-Sheet so i cant really set them properly. Can i somehow calculate them?

You cannot calculate these without knowing anything. Some of these values must be provided by the manufacturer of the display.

Best regards,
Jaski

Our retailer sent me new values… and it got even worse :wink:
here my new settings:

			timing_wsvga: 1024x600 {
				clock-frequency = <40000000>;
				hactive = <1024>;
				vactive = <600>;
				hback-porch = <33>;
				hfront-porch = <40>;
				hsync-len = <20>;
				vback-porch = <23>;
				vfront-porch = <10>;
				vsync-len = <3>;
				vsync-active = <0>;
				hsync-active = <0>;
				de-active = <1>;
				pixelclk-active = <0>;
			};

here the test picture:

test_picture_newsettings

Thanks for this information.

Unfortunately it is not clear, what is the issue.

Could you please make pictures with vertical and horizontal test colour stripes and zoom in to the wrong pixels?

What Information did your retailer provide you?