Page 1 of 1

[SOLVED] DPI colors messed up with LQ35NC111 screen

Posted: Sat Feb 10, 2018 3:15 pm
by Sushi
I'm trying out a DPI setup on my pi. The problem is that my screen only shows white. I've used the screen's datasheet to setup the DPI timings and made sure it's been wired properly. Has anybody else experienced anything like this? Were you able to fix it?

I'm using the LQ35NC111. My config.txt has this at the end:

Code: Select all

dpi_output_format=458775		
hdmi_timings=320 1 20 30 38 240 0 4 3 15 0 0 0 60 0 4608000 1

enable_dpi_lcd=1
display_default_lcd=1	

dtparam=i2c_arm=off
dtparam=spi=off

Re: DPI displaying white screen

Posted: Sun Feb 11, 2018 12:39 am
by salami738
Sushi wrote:
Sat Feb 10, 2018 3:15 pm
I'm trying out a DPI setup on my pi. The problem is that my screen only shows white. I've used the screen's datasheet to setup the DPI timings and made sure it's been wired properly. Has anybody else experienced anything like this? Were you able to fix it?

I'm using the LQ35NC111. My config.txt has this at the end:

Code: Select all

dpi_output_format=458775		
hdmi_timings=320 1 20 30 38 240 0 4 3 15 0 0 0 60 0 4608000 1

enable_dpi_lcd=1
display_default_lcd=1	

dtparam=i2c_arm=off
dtparam=spi=off
Hi, kite used exact this screen in his custom board. Please try his settings https://github.com/kiteretro/Super-AIO/ ... config.txt

Re: DPI displaying white screen

Posted: Fri Feb 16, 2018 10:27 pm
by Sushi
I've got an image now! Thanks! There's just one issue: I get no red channel and the colors look crazy :(
Take a look at what I mean:
ImagesShow
IMG_0779.JPG
IMG_0779.JPG (2.65 MiB) Viewed 13726 times
IMG_0777.JPG
IMG_0777.JPG (2.48 MiB) Viewed 13726 times
It's possible that it's wiring, though I went over it at least 5 times to make sure it wasn't that. It looks as though greens are blue, reds are green and there are no blues to be replaced with reds.

I used this reference for the Pi's pins and this datasheet for the displays.

Re: DPI colors messed up

Posted: Sat Feb 17, 2018 6:02 am
by moosepr
There are different colour modes for the DPI screens

You need to adjust the dpi_output_format so that it is the different modes. I found this post, http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi/ (nod to electriccrowbar on discord) and in this post he has a link to a spreadsheet that helps you to calculate the value you need

https://docs.google.com/spreadsheets/d/ ... sp=sharing

This is how I managed to fix mine 😀

Re: DPI colors messed up

Posted: Sat Feb 17, 2018 1:14 pm
by Sushi
I fixed it :D

The problem was that I'd wired for 888, but was outputting 666. Thanks!

Re: DPI colors messed up

Posted: Sat Feb 17, 2018 1:15 pm
by VeteranGamer
Sushi wrote:
Sat Feb 17, 2018 1:14 pm
I fixed it :D

The problem was that I'd wired for 888, but was outputting 666. Thanks!
ahhh the ole 666.... :twisted:


.

Re: [SOLVED] DPI colors messed up with LQ35NC111 screen

Posted: Sun Feb 18, 2018 6:19 am
by YaYa
Changed the topic's title to something more relevant and moved it to the solved forum :D