7" display issue

Post Reply
_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

7" display issue

Unread post by _tz » Tue Mar 12, 2019 9:15 am

Hi,
I have bought an XU4. I have a problem:
After installing the OS I see the good picture on the desktop monitor, however, on the 7" monitor ( Waveshare and 52pi products) the color red is missing. The monitors are fine under Raspberry PI and Windows. The cables are good. I experienced this only on XU4, under Ubuntu, Android 4.4, Lineage OS 14 and 15 too.
I have searched on forums, but I have not found a solution, but since there is a post about how the touch should be set on a Waveshare 7" display, I presume that it works for someone.
My suspicions are either a hardware or firmware problem. Could you help me someone ?

User avatar
odroid
Site Admin
Posts: 31322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 47 times
Been thanked: 180 times
Contact:

Re: 7" display issue

Unread post by odroid » Tue Mar 12, 2019 10:14 am

What is native resolution of your 7inch display?
You might need to force the resolution or change the vout mode to DVI from HDMI by editing boot.ini file.

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Wed Mar 13, 2019 7:48 am

Unfortunately, it doesn't work.
My boot.ini:

Code: Select all

setenv fb_x_res "1024"
setenv fb_y_res "600"
setenv hdmi_phy_res "1024x600p60hz"
setenv vout "hdmi"
setenv rotation "0"
# Enable/Disable ODROID-VU7 Touchsreen
setenv disable_vu7 "false"
setenv disable_dp "true"
# invert touch screen x,y
setenv touch_invert_x "false"
setenv touch_invert_y "false"
setenv edid "0"
setenv hpd "1"
setenv mmc_size_gb "-1"
get_mmc_size 0
setenv led_blink        "1"
setenv bootcmd      "movi read kernel 0 40008000;bootz 40008000"
setenv bootargs     "fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} hdmi_phy_res=${hdmi_phy_res} disable_vu7=${disable_vu7} disable_dp=${disable_dp} touch_invert_x=${touch_invert_x} touch_invert_y=${touch_invert_y} edid=${edid} hpd=${hpd} led_blink=${led_blink} androidboot.mmc_size=${mmc_size_gb} androidboot.model=${board_name} androidboot.rotation=${rotation}"
boot

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Wed Mar 13, 2019 8:23 am

Hi @_tz,
Could you check if your display supports HDMI or DVI?
If your monitor is compatible with only DVI, it makes sense, then please try DVI option.

Code: Select all

setenv vout "dvi"

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Wed Mar 13, 2019 9:41 am

yes. i tried it.

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Fri Mar 15, 2019 3:12 pm

To make sure, could you share your status more?
I will ask two.

1.
You mean you have hdmi display shown in the monitor but only red color is missing, right?
Actually, I can't grasp the exact symptom of your issue. :(
So if possible, please share the your screen captured with the issue.

2.
Can you run Ubuntu on XU4?
If so, could you capture your monitor's information as following on Ubuntu?

(1) check if all videoconfig options in boot.ini are commented with notation #.

Code: Select all

# setenv videoconfig "video=HDMI-A-1:1280x800@60"
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_60hz.bin"
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_30hz.bin"
# setenv videoconfig "video=HDMI-A-1:1920x1080@60"
.....
.....
(2) save edid.bin

Code: Select all

$ cat /sys/class/drm/card0-HDMI-A-1/edid > /media/boot/edid.bin
Then please share edid.bin here as an attachment.

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Mon Mar 18, 2019 2:59 am

Hi,
Thank you for your answer.
I am going to summerise my problem. English is not my native language, so I will use short sentences.
- I installed Android 4.4 on XU4.
- everything works great on desktop monitor in every resolution.
- after editing boot.ini ( see it above my boot.ini ) I put it on a 7" monitors
(
https://www.52pi.com/new-arrivals/286-7 ... k-pro.html
AND
https://www.waveshare.com/product/modul ... -lcd-f.htm
)
- both monitors have 1024x600 resolution with capacitive touch.
- both monitors work well with Windows and Raspberry Pi
- with XU4 the color red is missing from both monitors, in every resolution it is capable.
- I tried it with several cables, boot.ini variation.
- I installed Lineage 14 and 15. I experienced something similar.
- I installed Ubuntu, the results were the same.
- on the forum I have found a post about the touch not working on Waveshare 7" display ( indeed, neither for me), so this configuration should work.
- It is not an option for me to try anything on Ubuntu, because I bought the card for a certain project for Android, which I started on Raspberry, but it is too slow on Lineage OS unfortunately.

I suspect a hardware or firmware error. Unfortunately, the Hardkernel has no kind of support, I am currently exchanging mails with a sales lady. The "generous" four weeks guarantee will expire shortly.
Do you have any relevant solution according to the things written above?

User avatar
odroid
Site Admin
Posts: 31322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 47 times
Been thanked: 180 times
Contact:

Re: 7" display issue

Unread post by odroid » Mon Mar 18, 2019 11:40 am

Since we don't have the same display, it is really hard to support your issue. We can't buy all the different display samples.
Is there any major difference from our official display?
https://www.hardkernel.com/shop/odroid- ... apability/

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Mon Mar 18, 2019 2:47 pm

@_tz,
I've tried XU4 Android 4.4 and checked if there are interfaces that can gather detailed information of your monitor.
But just limited interfaces.
And so far I have no idea how to catch the clue of your monitor because of lack of hw specification under the link.

So if you have another sd card, could you install the following Ubuntu image, then check my aforementioned requests?
https://dn.odroid.com/5422/ODROID-XU3/U ... 203.img.xz
https://wiki.odroid.com/odroid-xu4/os_i ... 1_20181203

If you have another version ubuntu of XU4, it doesn't matter.

1. edid information of your monitor

Code: Select all

$ cat /sys/class/drm/card0-HDMI-A-1/edid > /media/boot/edid.bin
2. dmesg log

Code: Select all

$ dmesg
Then, it will be easier to judge where the problem is.
It can be hw issue,
but also can be a sw issue or wrong EDID information of your monitor.

I'm not sure, but the cause can be a missing setup of display output protocol , DVI / VGA / HDMI something not HW issue,
based on some google searches.
https://forum.videohelp.com/threads/306 ... red-colour
https://linustechtips.com/main/topic/34 ... color-red/

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Tue Mar 19, 2019 8:52 am

@odroid: yes, I saw the VU7A. However, for now I do not think that it is a good idea to buy one, because if it is found out that the XU4 is wrong, then I will remain in the same place but poorer by 75$.
I have two well working 7" display, it would be great if I could use them.
@joy: I tried out what you said. I got the worst result so far. The picture is of low quality, the color red is still missing. But with every move of the mouse or touch the display will go white for some moments.
I read out the edid info of the displays, I could not find any problem.

User avatar
odroid
Site Admin
Posts: 31322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 47 times
Been thanked: 180 times
Contact:

Re: 7" display issue

Unread post by odroid » Tue Mar 19, 2019 9:12 am

Please capture the dmesg output from SSH console and post it for our review.

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Tue Mar 19, 2019 10:50 am

_tz wrote:
Tue Mar 19, 2019 8:52 am
@joy: I tried out what you said. I got the worst result so far. The picture is of low quality, the color red is still missing. But with every move of the mouse or touch the display will go white for some moments.
I read out the edid info of the displays, I could not find any problem.
OK.
Thank you for sharing your status.

You mean you've tried XU4 Ubuntu image, too, right?
If so, could you please share (1) dmesg (2) edid.bin (3) boot.ini that you've tried with Ubuntu?

If the issue is related to display output format setup, there may be a possibility to solve the red color missing issue.
Let's check the detailed information of XU4 display setting together.

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Tue Mar 19, 2019 6:22 pm

I enclose.
xu4_ubuntu18.04.rar
(12.28 KiB) Downloaded 5 times

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Wed Mar 20, 2019 11:46 am

@_tz,
Thank you for your time to get the information. :)

The edid.bin is pre-built one for VU7+ and I need your monitor's edid information.
You should have blocked all videoconfig when you capture your monitor's edid.
So could you try to get edid.bin with the following boot.ini?

(1) Block 1024x600.bin videoconfig line and then reboot.

Code: Select all

# -----------------------------------------------
# 1024x600 without monitor data using generic information (ODROID VU7+)
# comment this line with " # "
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
# -----------------------------------------------

Code: Select all

ODROIDXU-UBOOT-CONFIG

# U-Boot Parameters
setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"

# Mac address configuration
setenv macaddr "00:1e:06:61:7a:39"

# --- Screen Configuration for HDMI --- # 
# ---------------------------------------
# Uncomment only ONE line! Leave all commented for automatic selection.
# Uncomment only the setenv line!
# ---------------------------------------
# ODROID-VU forced resolution
# setenv videoconfig "video=HDMI-A-1:1280x800@60"
# -----------------------------------------------
# ODROID-VU forced EDID
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
# -----------------------------------------------
# 1920x1200 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_60hz.bin"
# -----------------------------------------------
# 1920x1200 30hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_30hz.bin"
# -----------------------------------------------
# 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
# setenv videoconfig "video=HDMI-A-1:1920x1080@60"
# -----------------------------------------------
# 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
# -----------------------------------------------
# 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
# setenv videoconfig "video=HDMI-A-1:1920x1080@50"
# -----------------------------------------------
# 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
# -----------------------------------------------
# 1920x1080 24Hz (1080P) without monitor data using generic information (1080p 24hz-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_24hz.bin"
# -----------------------------------------------
# 1920x1080 23.976Hz (1080P) without monitor data using generic information (1080p 23.976hz-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_23_976hz.bin"
# -----------------------------------------------
# 1920x800 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x800.bin"
# -----------------------------------------------
# 1792x1344 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1792x1344.bin"
# -----------------------------------------------
# 1680x1050 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1680x1050.bin"
# -----------------------------------------------
# 1600x1200 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x1200.bin"
# -----------------------------------------------
# 1600x900 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x900.bin"
# -----------------------------------------------
# 1400x1050 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1400x1050.bin"
# -----------------------------------------------
# 1440x900 with monitor provided EDID information.
# setenv videoconfig "video=HDMI-A-1:1440x900@60"
# -----------------------------------------------
# 1440x900 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
# -----------------------------------------------
# 1366x768 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1366x768.bin"
# -----------------------------------------------
# 1360x768 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1360x768.bin"
# -----------------------------------------------
# 1280x1024 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
# -----------------------------------------------
# 1280x768 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x768.bin"
# -----------------------------------------------
# 1280x720 (720P) with monitor provided EDID information. (720p-edid)
# setenv videoconfig "video=HDMI-A-1:1280x720@60"
# -----------------------------------------------
# 1280x720 (720P) without monitor data using generic information (720p-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
# -----------------------------------------------
# 1152x864 75hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1152x864_75hz.bin"
# -----------------------------------------------
# 1024x768 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
# -----------------------------------------------
# 1024x600 without monitor data using generic information (ODROID VU7+)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
# -----------------------------------------------
# 800x600 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
# -----------------------------------------------
# 848x480 60hz without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/848x480.bin"
# -----------------------------------------------
# 800x480 without monitor data using generic information (ODROID 7")
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
# -----------------------------------------------
# 720x576 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
# -----------------------------------------------
# 720x480 without monitor data using generic information 
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
# -----------------------------------------------
# 640x480 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
# -----------------------------------------------
# 480x800 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x800.bin"
# -----------------------------------------------
# 480x320 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x320.bin"

# --- HDMI / DVI Mode Selection ---
# ------------------------------------------
# - HDMI Mode
setenv vout "hdmi"
# - DVI Mode (disables sound over HDMI as per DVI compat)
# setenv vout "dvi"

# --- HDMI CEC Configuration ---
# ------------------------------------------
setenv cecenable "false" # false or true
# set to true to enable HDMI CEC

# Enable/Disable ODROID-VU7 Touchsreen
setenv disable_vu7 "false" # false

# DRAM Frequency
# Sets the LPDDR3 memory frequency
# Supported values: 933 825 728 633 (MHZ)
setenv ddr_freq 825

# External watchdog board enable
setenv external_watchdog "false"
# debounce time set to 3 ~ 10 sec, default 3 sec
setenv external_watchdog_debounce "3"


#------------------------------------------------------------------------------
#
# HDMI Hot Plug detection
#
#------------------------------------------------------------------------------
#
# Forces the HDMI subsystem to ignore the check if the cable is connected or 
# not.
# false : disable the detection and force it as connected.
# true : let cable, board and monitor decide the connection status.
# 
# default: true
# 
#------------------------------------------------------------------------------
setenv HPD "true"

#------------------------------------------------------------------------------------------------------
# Basic Ubuntu Setup. Don't touch unless you know what you are doing.
# --------------------------------
setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0"


# Load kernel, initrd and dtb in that sequence
fatload mmc 0:1 0x40008000 zImage
fatload mmc 0:1 0x42000000 uInitrd

setenv fdtloaded "false"
if test "x${board_name}" = "x"; then setenv board_name "xu4"; fi
if test "${board_name}" = "xu4"; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; setenv fdtloaded "true"; fi
if test "${board_name}" = "xu3"; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb; setenv fdtloaded "true"; fi
if test "${board_name}" = "xu3l"; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu3-lite.dtb; setenv fdtloaded "true"; fi
if test "${fdtloaded}" = "false"; then fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb; setenv fdtloaded "true"; fi

fdt addr 0x44000000

setenv hdmi_phy_control "HPD=${HPD} vout=${vout}"
if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
if test "${external_watchdog}" = "true"; then setenv external_watchdog "external_watchdog=${external_watchdog} external_watchdog_debounce=${external_watchdog_debounce}"; fi

# final boot args
setenv bootargs "${bootrootfs} ${videoconfig} ${hdmi_phy_control} ${hid_quirks} smsc95xx.macaddr=${macaddr} ${external_watchdog}"

# set DDR frequency
dmc ${ddr_freq}

# Boot the board
bootz 0x40008000 0x42000000 0x44000000
(2) save edid.bin

Code: Select all

$ cat /sys/class/drm/card0-HDMI-A-1/edid > /media/boot/edid.bin

And can I ask one more?
Have you tried DVI mode on XU4 Ubuntu?

Code: Select all

# --- HDMI / DVI Mode Selection ---
# ------------------------------------------
# - HDMI Mode
# setenv vout "hdmi"
# - DVI Mode (disables sound over HDMI as per DVI compat)
setenv vout "dvi"

_tz
Posts: 7
Joined: Sun Mar 10, 2019 4:06 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: 7" display issue

Unread post by _tz » Wed Mar 27, 2019 4:32 pm

@joy: Thank you for the advice, the result was a black screen.
After it became obvious that the Hardkernel has no kind of support, the advices did not have any validity, I ordered another XU4.
The truth was what I suspected from the beginning: the card was faulty. The new XU4 ran smoothly.
However, during this time the warranty time expired. I have been mailing with this sales girl for nothing, who was very dismissive and could speak English worse than I do.
Thank you for everybody's help.

joy
Posts: 841
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 7 times
Been thanked: 35 times
Contact:

Re: 7" display issue

Unread post by joy » Wed Mar 27, 2019 5:03 pm

_tz wrote:
Wed Mar 27, 2019 4:32 pm
@joy: Thank you for the advice, the result was a black screen.
After it became obvious that the Hardkernel has no kind of support, the advices did not have any validity, I ordered another XU4.
The truth was what I suspected from the beginning: the card was faulty. The new XU4 ran smoothly.
However, during this time the warranty time expired. I have been mailing with this sales girl for nothing, who was very dismissive and could speak English worse than I do.
Thank you for everybody's help.
@_tz,
Very sorry for the poor support. :(

1. You have black screen with the setting I mentioned,
2. and with another new XU4, you don't have the same problem, but get normal display with your 7inch display.
If so, it looks your XU4 may have hdmi issue.

I will work out way that I can figure out the real clue that makes the kind of issues through remote supports.

Thank you for sharing your test result and it will be very helpful for other users.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests