Edge2 Doesn't display via HDMI on Ubuntu 24

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Please provide the version of the system here:

Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble

Please describe your issue below:

Edge2 does not seem to display to HDMI display:

The display itself is known working on my windows device.

If I plug the display into a usb c dock it does display but seemingly not correctly. I’ve tried loading the EDID used in windows but it doesn’t work and seems to fail to load at boot./

Does your screen resolution is 1080x1200 ? Maybe this resolution is not supported by default. Could you provide the EDID infomation to us?

edid-decode < /sys/class/drm/card0-HDMI-A-1/edid

@Jacobe please follow up.

edid-decode (hex):

00 ff ff ff ff ff ff 00 33 54 01 00 00 00 00 00
0c 1b 01 03 80 00 00 78 0a 07 f5 9a 56 4e 86 26
1e 50 54 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 bc 39 38 13 41 b0 0c 40 64 05
63 00 5a a0 00 00 00 18 00 00 00 fc 00 33 38 31
20 20 20 20 20 20 20 20 20 20 00 00 00 ff 00 30
30 30 30 30 30 30 30 20 20 20 20 20 00 00 00 fd
00 17 4b 0f f0 1e 00 0a 20 20 20 20 20 20 01 10

02 03 17 74 47 00 00 00 00 00 00 00 23 09 7f 07
66 03 0c 00 30 00 80 bc 39 38 13 41 b0 0c 40 64
05 63 00 5a a0 00 00 00 18 bc 39 38 13 41 b0 0c
40 64 05 63 00 5a a0 00 00 00 18 bc 39 38 13 41
b0 0c 40 64 05 63 00 5a a0 00 00 00 18 bc 39 38
13 41 b0 0c 40 64 05 63 00 5a a0 00 00 00 18 bc
39 38 13 41 b0 0c 40 64 05 63 00 5a a0 00 00 00
18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8b

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

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: LZT
    Model: 1
    Made in: week 12 of 2017
  Basic Display Parameters & Features:
    Digital display
    Image size is variable
    Gamma: 2.20
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6015, 0.3359
    Green: 0.3056, 0.5263
    Blue : 0.1513, 0.1201
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings:
  Detailed Timing Descriptors:
    DTD 1:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
    Display Product Name: '381          '
    Display Product Serial Number: '00000000     '
    Display Range Limits:
      Monitor ranges (GTF): 23-75 Hz V, 15-240 kHz H, max dotclock 300 MHz
  Extension blocks: 1
Checksum: 0x10

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

Block 1, CTA-861 Extension Block:
  Revision: 3
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 4
  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 (HDMI), OUI 00-0C-03:
    Source physical address: 3.0.0.0
    Supports_AI
  Detailed Timing Descriptors:
    DTD 2:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
    DTD 3:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
    DTD 4:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
    DTD 5:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
    DTD 6:  1080x1200   89.997930 Hz   9:10   109.077 kHz    147.800000 MHz (90 mm x 160 mm)
                 Hfront  100 Hsync   5 Hback  170 Hpol N
                 Vfront    6 Vsync   3 Vback    3 Vpol N
Checksum: 0x8b

Sorry for the delay its late for me.

Also: managed to get it to display using one of the developer ubuntu installs but all blacks/grays are magenta.

Also it seems its not recognized by things like oowow for example regardless. Would love to hear any ideas.

Hello @Jonas_Noll
You can install the test image via OOWOW online.

The upload date of image is 20240822.

Because of I haven’t added this edid to uboot, so if you boot Edge2 with HDMI connected, still crash.

So you can boot first and then connect the HDMI.

The display is being recognized with the new image as well which is good but the display is still Magenta where it should be gray/black. Seems all other colors are correct somehow.

If I boot with the HDMI inserted the device boots into a login screen which uses the correct colors but the wrong resolution but when I log in it’s magenta again with the correct resolution.

Hello,

Thanks for the help so far. I managed to fix this on my own using this:

Steps to reproduce:
Install wxEDID

sudo apt-get install wxedid

Find the current EDID file:

find /sys/ -name "*HDMI*"

Returns this:

/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1

copy the EDID to another folder:

cp /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid ~/edid.bin

open in wxedit and follow the above link:
vsig_format → replace 0b01 wih 0b00
CEA-861 header → change the value of YCbCr420 and YCbCr444 to 0
options → recalc checksum
file → save as whatever you’d like
then create an edid directory in the /lib/firmware folder:

sudo mkdir /lib/firmware/edid

then move your new edid.bin over:

sudo mv <edid.bin> /lib/firmware/edid/edid.bin

now, you need to edit your uboot config,
there’s multiple ways to do this. Khadas recommends in their documentation to adjust /boot/uEnv.txt and add to the boot_user_args but I added it to the end of /boot/extlinux/extlinux.conf instead. Both should work theoretically.

sudo nano /boot/uEnv.txt

add this to the boot args:

drm.edid_firmware=HDMI-A-1:edid/edid.bin

then just

sudo update-initramfs -u

reboot and it should be normal colored.

3 Likes

Hello @Jonas_Noll

Thanks for sharing your solutions. :wink:

Cheers.