New 10" display shows green instead of white

Started by anverx, November 07, 2019, 04:36:21 PM

Previous topic - Next topic

anverx


Recently olimex has updated the display controller board. When connected to A20 Lime, it renders fonts differently, specifically fonts with 1 pixel wide vertical lines show up green instead of white.  This was a direct drop-in replacement, older displays were fine. 



How do i get this fixed?

olimex

Can you give us more details?
What power supply? Which Linux image are you using?
We tested random board + LCD from our stock and there are no such problems, so you must do something wrong, can you please take picture of your setup? 

anverx

- We are using power supplies from reputable brands like Mean Well and Nordic Power, 5v 2A.
- System info:
    The system is pretty much out of the box Debian 9.
    uname:
Linux assembly-10139 4.9.0-6-armmp-lpae #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) armv7l GNU/Linux 

    Xorg.log header:

[    12.180] X Protocol Version 11, Revision 0
[    12.180] Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian
[    12.180] Current Operating System: Linux assembly-10139 4.9.0-6-armmp-lpae #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) armv7l
[    12.180] Kernel command line: sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 console=tty1 quiet
[    12.181] Build Date: 16 October 2017  09:48:39AM
[    12.181] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[    12.181] Current version of pixman: 0.34.0


- Here are some pictures of our setup




It feels like the issue is specific to lines that are 1 pixel wide.  Bigger fonts seem to render ok.  Could this be about subpixel rendering?

LubOlimex

It could be anything but we have few ideas:

- we also changed the 10 inch displays some times ago and new displays required new software configuration or certain glitches were expected; this was detailed here: https://www.olimex.com/Products/OLinuXino/LCD/LCD-OLinuXino-10/resources/LCD-OLinuXino-10-errata.pdf

- remove the blue radio board just for the test; we've seen certain boards affecting the data lines of the display, maybe it bugs colors; remove it or place it further away from the LCD board and test again

- make sure to test a few displays since it can be bent cables causing glitches

- test with the latest official Olimex image without any changes - this is not optimal but will show if it is a software issue or hardware issue; this is meant only as a test; the latest images can be found here:

ftp://staging.olimex.com/Allwinner_Images/A20-OLinuXino/1.latest_mainline_images/bionic/images/

We also have Debian 10 images but they are server images without X so I can't recommend them for this test of the displays, yet if you are interested for future work consider checking them here:

ftp://staging.olimex.com/Allwinner_Images/A20-OLinuXino/1.latest_mainline_images/buster/images/
Technical support and documentation manager at Olimex

anverx

- the nfc reader doesn't affect this.  It can be disconnected or removed the effects don't change.
- i've tested couple more displays from the batch, all seem to behave the same below are couple of pictures from a different unit
- I'll try to boot up that ubuntu image, but so far i've only gotten black screen, is meant to work with LCD out of the box?
- Here are couple of close ups:
this is an xterm


and this is from console, white color is rendered correctly but colored prompt is broken


So this might not be related to subpixel rendering, or does console driver do it too?

LubOlimex

#5
> - I'll try to boot up that Ubuntu image, but so far I've only gotten black screen, is meant to work with LCD out of the box?

Usually yes, but if it doesn't start, you can also configure it manually - you need to interrupt the boot process to stay in u-boot (at the point where it say press any key). This might require serial connection to the debug pins of the board or HDMI screen. You then type:

olinuxino monitor set LCD-OLinuXino-10

then save with command "saveenv" and reset with "reset". More info can be found here: https://www.olimex.com/wiki/ArmbianHowTo#Selecting_video_output
Technical support and documentation manager at Olimex

anverx

I can confirm that most recent ubuntu desktop image looks fine, both in xterm and in chromium.  I'll have to redo our production image basing on the latest debian server, hopefully it has all the same drivers.

I was under impression that `apt-get update/upgrade` gets the latest kernel and xserver, looks like it doesn't

ring

Quote from: anverx on November 08, 2019, 01:11:25 PM- We are using power supplies from reputable brands like Mean Well and Nordic Power, 5v 2A.
- System info:
    The system is pretty much out of the box Debian 9.
    uname:
Linux assembly-10139 4.9.0-6-armmp-lpae #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) armv7l GNU/Linux 


    Xorg.log header:

[    12.180] X Protocol Version 11, Revision 0
[    12.180] Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian
[    12.180] Current Operating System: Linux assembly-10139 4.9.0-6-armmp-lpae #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) armv7l
[    12.180] Kernel command line: sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 console=tty1 quiet
[    12.181] Build Date: 16 October 2017  09:48:39AM
[    12.181] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[    12.181] Current version of pixman: 0.34.0



- Here are some pictures of our setup for how to measure ring size.




It feels like the issue is specific to lines that are 1 pixel wide.  Bigger fonts seem to render ok.  Could this be about subpixel rendering?

have you a guide for centos 7?.