Nightly images for A64, H3, H5, H6 and R40 boards

  • Gigabit ethernet was always broken on Beelink GS1, at least on my box. Could never hold more than a few minutes of sustained load, dying with transmit queue watchdog timeout.

    Spent some time investigating, it seems this marvel of Shenzhen AZW Technology Co. engineering requires some additional tx delay.

    I have absolutely no idea on how to tune the actual tx-delay-ps value properly.
    200 seems to work, box survived overnight iperf3 test with 5 TiB transferred and no link drops or errors in eth0 stats.

  • Beelink GS1 latest nightly, on fresh boot vp9 hardware decoder doesn't work.

    Code
    kernel: hantro_watchdog:127: frame processing timed out!

    Workaround is playing at least one h264 or hevc video, it somehow unblocks vp9, probably initialization issue.

  • Did some tests, a few modesets on GS1 with 1440p monitor.

    Monitor EDID

    TL;DR
    1) Broken [email protected] and semi-broken [email protected]
    2) Limited RGB in some but not all of 1080p modes
    3) Way too conservative downgrade to 8-bit and YUV422. Theoretically, assuming HDMI 2.0, for this monitor everything up to 1440p@120 can be 10bpc+RGB, 4K@60 can be 8bpc+RGB

  • Test following image

    VP9 is now working straight after reboot :thumbup:

    As for 1440p modes:
    1) Every 1440p mode from EDID is now 8bpc+YUV422 :( But non-EDID ones supplied in cmdline like video=HDMI-A-1:2560x1440@61 are still 10bpc+RGBfull!
    2) [email protected] modeswitch now works. No stripes in video playback.
    3) 2560x1440@120 is fine on boot, in Kodi UI and in videos up to 1080p, but playback breaks to horizontal stripes on 4K videos.
    4) [email protected] works in console, stripes in Kodi UI on first boot until some video played. Video playback is fine upto 720p, 1080p and 4K video playback breaks to stripes.


    Also, in 8bpc+YUV422 modes there is a green vertical line on the left, probably first 1px wide column.

    Edited once, last by offbeat (November 4, 2026 at 11:09 AM).

  • Thanks for testing!

    1. That's how format selection worked so far. Your monitor declares 300 MHz as its max TMDS clock for non-scrambled signals, so at [email protected] (241.5 MHz) 10-bit RGB doesn't fit anymore (301.9 MHz), while at 120 and 144 Hz 10-bit RGB is over the 594 MHz limit. In all those cases the driver fell back to 10-bit YUV 4:2:2 (monitors usually show 4:2:2 as 8 bpc, but it carries 10 bits). Your custom 61 Hz mode has different timings, so 10-bit RGB still fits there.

    That said, 4:2:2 makes sense only for HDR content, so I changed the policy: YUV 4:2:2 is now used only when HDR metadata is set (HDR video playback), otherwise RGB 8-bit is preferred if it fits. This also applies to 4K@60 modes, which used YUV 4:2:0 for SDR on HDMI 2.0 sinks before. Output format is switched automatically when HDR playback starts and stops.

    The green line: I couldn't reproduce it on my monitor, but YUV 4:2:2 conversion used a long filter, which can produce garbage at the line start. It now drops chroma samples without filtering, the same as the vendor driver does. Since SDR is now RGB, you'll only see 4:2:2 with HDR videos - please check if the line is still there.

    3. This one is a hardware limit. Downscaling 4K video to 1440p at 120 Hz needs about 75 % more display engine bandwidth than it has, and with compressed frames (HEVC and VP9 decoders output them on H6) the display engine can't skip lines to compensate. The vendor driver has the same limitation. Please enable "Adjust display refresh rate" in Kodi, so 4K videos are played at 24/25/30/50/60 Hz instead. Which codec are those 4K videos?
    4. The stripes in the UI at 144 Hz were with YUV 4:2:2 at 592.5 MHz, while the console (RGB 8-bit) worked fine. Since UI and SDR videos are now RGB, that should be gone. Bandwidth shouldn't be an issue for 1080p video at that mode, so please report how it behaves now.

    Test image: https://jernej.libreelec.tv/images/h6/Libr…241-0dafbf3.tar

  • Thank you, tested HDR video, mode switched to 4:2:2, no green line anymore.

    So according to strict interpretation of EDID this particular monitor isn't allowed to use pixel clocks between between 300MHz and 340MHz over HDMI? I could try connecting it over HDMI to amdgpu PC some time next week, test how it behaves. Over displayport this monitor has different EDID with max pixel clock 690MHz, allowing 1440@175 mode.

    As for 1440@120, this is an unfortunate limitation of Allwinner, being multiple of 24/30/60 is such a good refresh rate for typical video content, it's also kind of OK for 25/50 videos. Whitelists and refresh adjust options in Kodi are nice, but monitors/TV's are typically slow to adjust rates, which is annoying.

    Anyway, messed around a bit with EDID editor, 1440p modes can only be described in DTD blocks, and only four of these fit in EDID. Defined 60/50/48/47.95Hz modes with CVT-RBv2 timings, created edid override in LE, all four modes run in 10bpc RGB.

    1440@144 issue still persists. I mean 144Hz itself isn't really usable for video playback purposes because of display engine limitations, etc. But this bug is bad for usability reasons. On new installation, Kodi boots to 1080p60 because of default cmdline, user then tries to change resolution to monitors native 1440p, Kodi automatically chooses highest refresh rate for that particular resolution and UI goes brrr. Workaround is playing single video in some other resolution, then UI doesn't corrupt at 1440@144 anymore (until next reboot).

  • Thanks for confirming the green line fix!

    About the 300-340 MHz range: yes, that's per spec. HDMI 2.0 section 10.3.2 says that Max_TMDS_Character_Rate in the HF-VSDB covers only rates above 340 MHz, while Max_TMDS_Clock in the HDMI 1.4 VSDB still sets the limit for rates up to 340 MHz. Your monitor declares 300 MHz there, so 300-340 MHz isn't allowed over HDMI, which matches the black screen you got with 10-bit at [email protected]. Testing with amdgpu would still be interesting, but note that it ignores that limit, so if it works there, it only means the monitor tolerates more than it declares.

    Nice work with the EDID override.

    1440p@144: found it. Kodi renders its UI at 1080p and the display engine upscales it to the screen resolution. The scaler produces one pixel per display engine clock cycle and the display engine ran at 600 MHz, which isn't enough at 592.5 MHz pixel clock with reduced blanking - it was busy about 93 % of each line. The console isn't scaled, so it worked fine. I reproduced the stripes on my side by lowering the display engine clock at 4K@60 to get the same load. It starts breaking at about 90 % and works at 86 %. The vendor kernel runs the H6 display engine at 696 MHz, so the new image does the same, which brings 1440p@144 down to 80 %.

    Test image: https://jernej.libreelec.tv/images/h6/Libr…047-9f52d60.tar

  • 1440p@144 seems to be fixed, modeset+gui works on fresh reboot, thank you!

    Quickly went through all the EDID modes, everything except following three modeset in Kodi without problems:
    720x480@60 wrong colors, flickering, semi-readable
    1280x720@60 wrong colors for a split second, 1279x720 on monitors OSD, then failure, black screen
    1280x1440@60 failure, black screen

    Of these 1280x720 is probably useful to have in Kodi for older HD TVs.

  • offbeat Thanks for testing, good to hear that 1440p@144 works now!

    Found the issue with the other three modes. It affects 10-bit output only. I reproduced it on my side with 720x480 and 720p, and both are clean now. Other monitors could be affected too when 720p@60 is output with 10 bits, so thanks for catching it.

    EDIT: One more change: I reverted the RGB preference for SDR content from the previous image. Video planes are YUV, so YUV output lets the display engine pass video through without converting it to RGB and back, and 10-bit video stays 10-bit in 4:2:2. 10-bit RGB is still used wherever it fits, e.g. at 1080p, and 4:2:2 is only used where it doesn't, like 1440p at 120/144 Hz or 4K@60. The green line and the 144 Hz stripes, which made 4:2:2 look bad, are fixed separately.

    Test image: https://jernej.libreelec.tv/images/h6/Libr…921-ec9f767.tar

  • Found the issue with the other three modes

    Three problematic modes are fixed now, thanks! Retested all EDID resolutions with max refresh for each, no messed up colors or flickering anywhere.

    As for limited/full broadcast range, H6 driver heuristics seem to be EDID based: "limited" is set for TV'ish resolutions from VDB SVD records, and "full" for monitor'ish resolutions from STI and DTD records, with "full" being given priority if same resolution is on both sides. Wonder why this flag isn't exposed to userspace apps like Kodi?


    and 10-bit video stays 10-bit in 4:2:2

    EDIT: Tested how amd gpu modesets this monitor in win11, color depth (10/8/6 bpc) and color format (RGB full, RGB limited, 4:4:4, 4:2:2) settings are available there as two separate lists. It is possible to set 4:2:2 + 8bpc and 4:2:2 + 10bpc mode separately, monitor OSD confirms it.


    Edited 3 times, last by offbeat (November 10, 2026 at 6:09 PM).

  • Thanks for retesting!

    The range selection follows CTA-861 and is the same as in every other mainline driver, it's not H6 specific. It doesn't depend on where the mode comes from in the EDID, but on its timing. If the timing matches a CTA video format (a VIC, except 640x480), it's a "CE" format and RGB defaults to limited range, everything else is an "IT" format and defaults to full range. SVDs are by definition CTA formats and your 1440p DTDs aren't, which is why it looks like it depends on the EDID section. Your monitor doesn't have a Video Capability Data Block, which means it doesn't support explicit range signalling, so the spec only allows sending the default range for each format, and the monitor expects exactly that. YCbCr is always limited range.

    One thing doesn't fit, though: in your first test 1920x1080@60 was RGB full, but its timing is the same as CTA VIC 16 even when it comes from the standard timings, so it should be limited. Could you set that mode again and post the mode line from `cat /sys/kernel/debug/dri/0/state`? Please also post the raw EDID, e.g. the output of `hexdump -C /sys/class/drm/card*-HDMI-A-1/edid`, since the parsed version doesn't show everything.

    There's a "Broadcast RGB" property in DRM for overriding this, but the HDMI driver used on Allwinner doesn't implement it. Without range signalling support on the sink side, you'd also have to switch the monitor to full range manually for it to make sense.

    About 8 vs 10 bpc in 4:2:2: your screenshots are from DisplayPort, which signals the bit depth explicitly. HDMI doesn't. YCbCr 4:2:2 over HDMI always uses 12-bit components and there's no field which would tell the monitor how many of them are actually used, so the monitor OSD just guesses 8 bpc. With 10-bit content all 10 bits get through.

  • in your first test 1920x1080@60 was RGB full

    1920x1080@60 still is 10bpc RGB full, at least according to OSD.
    1080p 50/59.94/119.88/120Hz modes are limited.


    post the mode line from `cat /sys/kernel/debug/dri/0/state

    Modeline:


    post the raw EDID

    EDID:


    YCbCr 4:2:2 over HDMI always uses 12-bit components

    Connected over HDMI to amdgpu on Windows, but strangely driver doesn't even offer YUV modes over HDMI: RGB full/limited only. Allowed bpc values are also different: 6/8/10 for Displayport vs 8/10/12 for HDMI

    Also, another quick unscientific test: same amdgpu+HDMI+monitor, Linux, Kodi 22 in gbm/console. Kodi doesn't allow choosing refresh rate for GUI there, so only max for each mode:

  • Thanks, that explains it. There is a bug in Linux kernel, where 1080p60 mode configuration has wrong values. This makes failure to recognize your EDID mode as CTA format, so it doesn't set it as RGB limited mode. Your monitor still shows correct colours, since it sees non-CTA mode configured. I'll send Linux fix upstream and it will trickle down as fix later.

    Note that broadcast_rgb, is_limited_range and output_* fields in the state dump come from a generic HDMI helper which the Allwinner HDMI driver doesn't use, so they don't reflect the actual output.

    The amdgpu list matches, by the way: CTA formats are limited and everything else is full.