XU4 HDMI issues

Post Reply
420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

XU4 HDMI issues

Post by 420droid »

Hello

I have bought a 2k mipi lcd screen 2560x1600 with an hdmi to mipi board.
ImageImage

Before anybody ask I am aware that the screen resolution is above the capabilities of the XU4. And I am cool with running it 1920x1200!!!!

It works pretty good on my win10 desktop pc, just a bit of flickering on boot then it goes well. I have tested all the resolution win and my gpu allowed me to. No problem at all!

Differently, if I try to connect it to the XU4 can happen two things:
The first is if in boot.ini the “setav HPD true” or one of the settings it is uncommented (with the exclusion of the 1920x1200 which works(kind of)) : the screen do not lightsup and (connected to another monitor) the droid remains stuck on black with a “_” blinking top left.
The second, if 1920x1200 is uncomented and HPD is set to false, the screen lights up, flickers heavily and this is what I see:
Image

Which is better than what I see if I boot the XU4 on the big screen, then I set one of the lower resolution, disconnect the big and connect the small... in that case there is also a sort of distortion horizontally.

So after I have read all the topics on the forum and wiki, downloaded and installed programs to read, dump and edit the EDID file from the monitor on my win pc (yes edid tools wont read that screen in ubuntu nor it is present a edid file in the file system on the droid).
And finally I managed to save and make a “custom_edid.bin” and guess what? It do not work, it stops booting!
So I have tried to edit the edid file and I have discovered in it that there were some strange things, for example the phisical dimensions are wrong: the screen measures H 120mm W 190mm 8.9” Diagonally (16:10)
But in the edid it is written 5.5” also the native resolution marked is strange.
Anyway for the expert in the field (as Joy I think) to read I attach the various files I have saved below and I am open to suggestions on tests and configurations.

Thanks for any help❤️

Ps here the files
Archivia.zip
This zip contains the edid bin log dump etcetc about the issue
(7.88 KiB) Downloaded 15 times
Pps maybe there is a syntax error in the .bin file in the version I have upped. Now it is corrected but still not working

User avatar
odroid
Site Admin
Posts: 37286
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1749 times
Been thanked: 1127 times
Contact:

Re: XU4 HDMI issues

Post by odroid »

Could you make it work at 1920x1200 mode with your Windows PC?
If there is no scaler in the display board, it seems not to be feasible.
Can you show us a list of available resolutions on the Windows display settings screen?

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

odroid wrote:
Mon Jan 25, 2021 12:10 pm
Could you make it work at 1920x1200 mode with your Windows PC?
If there is no scaler in the display board, it seems not to be feasible.
Can you show us a list of available resolutions on the Windows display settings screen?
Yes I can run it at 1920x1200 without a problem
ImageImage

🤔 I do not know if it has rescaling or not and it do not have an osd control too!
Tomorrow I will note the allowed resolution under win!
Thanks very much🤗

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

Here there are the supported resolutions according to win 10. And they works above and below 1920x1200 (which is the one active in the pic) without glitches 😳
Image
I really do not understand why the Odroid do not like it🤷🏻‍♂️

User avatar
odroid
Site Admin
Posts: 37286
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1749 times
Been thanked: 1127 times
Contact:

Re: XU4 HDMI issues

Post by odroid »

Thank you for the various tests.
Please try 1920x1080 no-edid mode by editing boot.ini file.
https://github.com/mdrjr/5422_bootini/b ... ot.ini#L36

Also try sending a PM to @Joy.

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

odroid wrote:
Mon Feb 08, 2021 12:18 pm
Thank you for the various tests.
Please try 1920x1080 no-edid mode by editing boot.ini file.
https://github.com/mdrjr/5422_bootini/b ... ot.ini#L36

Also try sending a PM to @Joy.
Thankyou for the reply!
Here it is what I see if I set 1920x1080 no-edid mode:
Image

It is disappointing...
sure I will do right now!

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

Re: XU4 HDMI issues

Post by joy »

Hi @420droid,
Sorry for late support.
Let me check the availability with the monitor's timing and test it on XU4 here.
These users thanked the author joy for the post:
420droid (Tue Feb 09, 2021 8:48 am)

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

Re: XU4 HDMI issues

Post by joy »

@420droid,
I found a monitor those product name is ZHDISP08901 and looked into its specification to see if it's applicable on XU4.
As I parse its EDID, it shows only 2560x1600p50Hz mode.

Code: Select all

root@odroid:~# cat /sys/class/drm/card0-HDMI-A-1/edid | edid-decode
edid-decode (hex):

00 ff ff ff ff ff ff 00 69 04 07 18 00 00 00 00 
08 1c 01 03 80 0c 07 78 0a 0d c9 a0 57 47 98 27 
12 48 4c 00 00 00 01 01 01 01 01 01 01 01 01 01 
01 01 01 01 01 01 ca 56 00 b7 a0 40 14 60 7b 0a 
c4 00 00 40 a6 00 00 18 00 00 00 fc 00 5a 48 44 
49 53 50 30 38 39 30 31 0a 20 00 00 00 10 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 27 

02 03 17 74 47 00 00 00 00 00 00 00 23 09 7f 07 
66 03 0c 00 30 00 80 ca 56 00 b7 a0 40 14 60 7b 
0a c4 00 38 80 47 00 00 18 ca 56 00 b7 a0 40 14 
60 7b 0a c4 00 38 80 47 00 00 18 ca 56 00 b7 a0 
40 14 60 7b 0a c4 00 38 80 47 00 00 18 ca 56 00 
b7 a0 40 14 60 7b 0a c4 00 38 80 47 00 00 18 ca 
56 00 b7 a0 40 14 60 7b 0a c4 00 38 80 47 00 00 
18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9b 

----------------

EDID version: 1.3
Manufacturer: ZHD Model 6151 Serial Number 0
Made in week 8 of 2018
Digital display
Maximum image size: 12 cm x 7 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Color Characteristics
  Red:   0.6250, 0.3398
  Green: 0.2802, 0.5947
  Blue:  0.1552, 0.0703
  White: 0.2832, 0.2978
Established Timings I & II: none
Standard Timings: none
Detailed mode: Clock 222.180 MHz, 2560 mm x 1600 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Display Product Name: ZHDISP08901
Dummy Descriptor
Dummy Descriptor
Has 1 extension block
Checksum: 0x27

----------------

CTA-861 Extension Block Revision 3
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
4 native detailed modes
19 bytes of CTA data blocks
  Video Data Block
  Audio Data Block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Vendor-Specific Data Block, OUI 0x000c03 (HDMI)
    Source physical address 3.0.0.0
    Supports_AI
Detailed mode: Clock 222.180 MHz, 1080 mm x 1920 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Detailed mode: Clock 222.180 MHz, 1080 mm x 1920 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Detailed mode: Clock 222.180 MHz, 1080 mm x 1920 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Detailed mode: Clock 222.180 MHz, 1080 mm x 1920 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Detailed mode: Clock 222.180 MHz, 1080 mm x 1920 mm
               2560 2683 2693 2743 (123  10  50)
               1600 1612 1616 1620 ( 12   4   4)
               -hsync -vsync
               VertFreq: 49.999 Hz, HorFreq: 80.999 kHz
Checksum: 0x9b
I've tried various timing combination of 1920x1200p50Hz, but so far, no good result.
I'm not sure this monitor supports the native resolution 1920x1200 and other modes like 1920x1080.
With one of my monitor, AOC, that support 1920x1200p60Hz, I got normal 1920x1200p50Hz displays with all cases I've tested today.

Here is what has been done so far.

[1] 1920x1200p50hz with pixel clock 154MHz

Code: Select all

# 1920x1200 @ 50.00 Hz (GTF) hsync: 61.723 kHz; pclk: 154.00 MHz
Modeline "1920x1200_50.00" 154.00 1920 2032 2240 2495 1200 1201 1204 1234 -HSync +Vsync
ZHDISP08901 (1)
1920x1200_50hz_Case1.jpg
1920x1200_50hz_Case1.jpg (55.42 KiB) Viewed 540 times
ZHDISP08901 (2)
1920x1200_50hz_Case1_2.jpg
1920x1200_50hz_Case1_2.jpg (60.29 KiB) Viewed 540 times
AOC monitor (1)
1920x1200_50hz_Case1_AOCMonitor_1.jpg
1920x1200_50hz_Case1_AOCMonitor_1.jpg (48.61 KiB) Viewed 540 times
[2] 1920x1200p50hz with pixel clock over 200Mhz
To use similar pixel clock of target monitor.

Code: Select all

# 1920x1200 @ 50.00 Hz (GTF) hsync: 81.012 kHz; pclk: 204.80 MHz
Modeline "1920x1200_50.00" 204.80 1920 2032 2240 2528 1200 1201 1204 1620 -HSync +Vsync
1920x1200_50hz_Case2.jpg
1920x1200_50hz_Case2.jpg (56.33 KiB) Viewed 540 times
[3] 1920x1200p50hz with same horizontal/vertical offsets as original 2560x1600 timing
To use same timing offsets of target monitor.

Code: Select all

# 1920x1200 @ 50.00 Hz (GTF) hsync: 61.025 kHz; pclk: 125.59 MHz
Modeline "1920x1200_50.00" 125.59 1920 2043 2053 2058 1200 1212 1216 1220 -HSync -Vsync
1920x1200_50hz_Case3.jpg
1920x1200_50hz_Case3.jpg (58.45 KiB) Viewed 540 times
I'm contemplating which test I should proceed for the next step,
but so far no good idea.
I will think a little more.

One more thing I'm going to check tomorrow is additional tests on Windows PC as you did.
If I get normal display of 1920x1200 or 1920x1080 on Windows PC, I will figure out the difference.
These users thanked the author joy for the post:
420droid (Wed Feb 10, 2021 5:37 am)

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

Surely you have gotten more results in one day than me in one month! I really hope you can find a solution and if you want to make some more test on mine too, tell me what to do and I will do it!!
Thanks

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

Re: XU4 HDMI issues

Post by joy »

Sorry for late update.
I tried Windows Host PC and ubuntu OS on the same Host PC.
My host PC support up to 1080p FHD resolution.

I got normal displays of 1920x1080@50hz, 1680x1050@50hz and others on Windows OS,
and got only 2560x1600 display on Ubuntu OS of a Host PC.
xu4_windows_2560x1600_2.jpg
xu4_windows_2560x1600_2.jpg (230.32 KiB) Viewed 350 times
xu4_windows_2560x1600_1.jpg
xu4_windows_2560x1600_1.jpg (496 KiB) Viewed 350 times
Well... it looks it can be related to scaler schemes of Windows system. :roll:
I'm going to try lower resolution HDMI PHY on XU4.

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

Re: XU4 HDMI issues

Post by joy »

No better result.
1680x1050@50Hz and other lower resolutions are not working with this monitor.

Also I've adjusted fb and panning size, but same abnormal display on this monitor. :(

Code: Select all

$ xrandr -display :0.0 --output HDMI-1 --rate 50 --mode 1920x1080 --fb 1920x1200 --panning 1920x1200
$ xrandr -display :0.0 --output HDMI-1 --rate 50 --mode 1920x1080 --fb 2560x1600 --panning 2560x1600

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

joy wrote:
Tue Mar 02, 2021 12:27 pm
No better result.
1680x1050@50Hz and other lower resolutions are not working with this monitor.

Also I've adjusted fb and panning size, but same abnormal display on this monitor. :(

Code: Select all

$ xrandr -display :0.0 --output HDMI-1 --rate 50 --mode 1920x1080 --fb 1920x1200 --panning 1920x1200
$ xrandr -display :0.0 --output HDMI-1 --rate 50 --mode 1920x1080 --fb 2560x1600 --panning 2560x1600
That is really sad... it is a good monitor as far as I tested it under win, it would have been the perfect choice for my rugged droid pc😢
One last try could be using a different dvi-mipi converter? Or it it useless?
Thanks anyway🤗

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

Re: XU4 HDMI issues

Post by joy »

420droid wrote:
Sat Mar 06, 2021 12:15 am
One last try could be using a different dvi-mipi converter? Or it it useless?
I don't think display output changes with different kinds of dvi-mipi converters
because it seems XU4 can't make a proper display output to fit the target monitor.
Or I think I don't fully understand exynos5422 fb drivers to make a better workaround.

I hope other users can help us to use this monitor with XU4.
Anyone here? :cry:

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

joy wrote:
Mon Mar 08, 2021 12:29 pm
420droid wrote:
Sat Mar 06, 2021 12:15 am
One last try could be using a different dvi-mipi converter? Or it it useless?
I don't think display output changes with different kinds of dvi-mipi converters
because it seems XU4 can't make a proper display output to fit the target monitor.
Or I think I don't fully understand exynos5422 fb drivers to make a better workaround.

I hope other users can help us to use this monitor with XU4.
Anyone here? :cry:
I believe you did all possible, but there must be something in the hardware or fw that is wrong beyond our possibilities!

Thats what I was thinking too, another hardware may not change something, but I accidentally found this: https://www.aliexpress.com/item/4000258204019.html

The version 4 seems to fit the job according to the description and for 34€ I could afford as last resource!
As soon as I can order it I will update on results, meanwhile If anyone has an idea or suggestion, pls help us!!!

420droid
Posts: 19
Joined: Thu Dec 03, 2020 9:04 am
languages_spoken: english
ODROIDs: Odroid Xu4
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: XU4 HDMI issues

Post by 420droid »

HARDWARE SOLUTION FOUND!!!!!🤩🤩🤩

So new mipi driver board arrived, it’s bigger, 4k and with more I/O ports, it has balanced audio out an esrphones plug, mdp, 2 hdmi, usb c and buttons interface. It works on out of the box, the XU4 is happy, tomorrow I will benchmark it!
Oh I forgot, it is a realtech device so better than an anon chinese product i suppose!
Anyway here some photos:
Image
Image
These users thanked the author 420droid for the post:
odroid (Wed Mar 31, 2021 4:40 pm)

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest