Ugoos AM9 Pro, HDR only green on Sony TV

I am testing the 0311 latest Nightly build on Ugoos AM9 Pro (S905X5) and encountered a persistent “Green Screen” issue when playing HDR10+ or Dolby Vision content after a system resume or reboot.

Device Info:

  • Model: Ugoos AM9 Pro

  • Chipset: Amlogic S905X5-M (dt-id: s6_s905x5_ugoos_am9_pro)

  • Build: CoreELEC-no.aarch64-22.0-Piers_nightly_20260311

  • Kernel: 5.15.170

Symptoms:

  1. Cold Boot: Video playback (HDR10+/DoVi) is perfectly normal with excellent audio/video quality.

  2. The Trigger: After the device enters sleep mode (suspend) and resumes, or after a warm reboot, the video output turns completely green.

  3. Driver Status: I have manually loaded the dovi.ko module (Jialong Jiang version) via autostart.sh. The module loads successfully, but it does not resolve the green screen issue post-resume.

  4. Attempts: I tried forcing HDMI HPD reset and re-setting the color attributes (444, 10bit) via sysfs, but the green screen persists. It seems like the VPU clock or the video pipeline fails to re-initialize correctly after power management events.

Debug Logs: I have generated a dmesg log here: https://paste.coreelec.org/SurgeonsGripe

Could you please take a look if there are any missing power-state transitions or VPU reset sequences specific to the S905X5 in the current Amlogic-no branch?

Thanks for the great work on this new SoC!

1 Like

This is the issue, use inbuilt process. It just works.

And additional this happen:

[   96.209076] amlogic-pcie-v3 f7b00000.pcie: ltssm state into L1_IDLE
[   96.209099] ------------[ cut here ]------------
[   96.209101] WARNING: CPU: 0 PID: 114 at common_drivers/drivers/pci/controller/amlogic-pcie-v3-comm.c:1411 amlogic_pcie_link_up+0x148/0x18c
1 Like

Hi, thanks for the guidance.

I have removed my autostart.sh script as suggested to test the inbuilt process. Here is the feedback:

Inbuilt Process: My TV no longer triggers HDR10+ or Dolby Vision mode. The metadata seems missing without the manual driver loading.

Green Screen: The issue persists. After a suspend/resume or reboot, the video output remains completely green when playing HDR10+ content.

New Debug Log (Clean System):
dmesg | paste

https://paste.coreelec.org/HumbleMeanest

Thank you for looking into this and for your hard work on the S905X5.

Hi, thanks for the guidance.

I have removed my autostart.sh script as suggested to test the inbuilt process. Here is the feedback:

Inbuilt Process: My TV no longer triggers HDR10+ or Dolby Vision mode. The metadata seems missing without the manual driver loading.

Green Screen: The issue persists. After a suspend/resume or reboot, the video output remains completely green when playing HDR10+ content.

New Debug Log (Clean System):
dmesg | paste

https://paste.coreelec.org/HumbleMeanest

Thank you for looking into this and for your hard work on the S905X5.

journalctl -l | paste

https://paste.coreelec.org/PubliclyAppoint

dmesg | paste

https://paste.coreelec.org/UneasySpare

Thank you.

Additional Observation:
Actually, the only way to get HDR10+ working correctly is the first boot after restarting from Android. Any subsequent warm reboot or resume within CoreELEC triggers the green screen.

From what I see module is not even loaded and something went wrong.

dovi-loader[966]: dovi not supported

Do you even copied dovi.ko file to correct location?
/storage/.config/dovi.ko or /flash/dovi.ko or /storage/dovi.ko

If you can enable terminal sharing I can look this part.

1 Like

My apologies for the confusion. I was testing with a custom path (/storage/bomb/dovi.ko) earlier. I have now moved the driver to the standard location: /storage/.config/dovi.ko.

The Result: After rebooting CoreELEC, the issue remains identical. The log still shows the same error, and the Green Screen persists after any resume or warm reboot.

Comparison & Setup:

  • TV: Sony X9000H (Flagship LED).

  • Comparison: I have used a Banana Pi (S905X3) on this exact same TV for years, and it has never encountered any green screen or HDMI handshake issues.

This confirms that my TV and cables are perfectly fine, and the issue is specific to the S905X5’s VPU/PCIe initialization in the current kernel.

I am happy to enable terminal sharing for further debugging. I have enabled terminal sharing service now. Thank you.

I noticed a major hurdle for our debugging:

Even if I issue the reboot command within the CoreELEC terminal, the device reboots directly into Android instead of returning to CoreELEC. I have to manually select “Boot to CoreELEC” from Android every time to get back, which causes the Terminal Sharing service to disconnect and makes consistent debugging very difficult.

It seems the boot priority isn’t sticking during a warm reboot on the AM9 Pro. Let me know how you want to handle this.

Use µSD instead USB. Android bootloader have a boot bug and does not detect USB storage on warm boot.

Known issue without solution yet. Use poweroff and then start it again.

++++++++++++++++++++++++++++++++++++++++++++++++++
+ /sys/devices/virtual/amhdmitx/amhdmitx0/dv_cap +
++++++++++++++++++++++++++++++++++++++++++++++++++
DolbyVision RX support list:
VSVDB Version: V2
2160p30hz: 1
Parity: 0
Support mode:
  DV_RGB_444_8BIT
  LL_YCbCr_422_12BIT
IEEEOUI: 0x00d046
EMP: 0
VSVDB: eb0146d00048037288627697

You have AVR between TV & CE device?
Only DV 2160p30hz maximum…

AVR mostly don’t like DV signals! Use (e)ARC with passthough instead.

​Hi @Portisch and @Vpeter,

​Thank you for the suggestions. Here are the updates based on my testing:

​Direct Connection (No AVR): As shown in my previous photo, I am connected directly to the Sony X9500H via HDMI 3 (eARC). There is no AVR or soundbar in between. On my S905X3 box, this same setup provides 4K 60Hz DV without issue. The fact that the S905X5 only detects 2160p30hz suggests an EDID or handshake bug in the current S905X5 kernel.

​Boot Issue (Power off vs Reboot): @Vpeter, I tried using the poweroff command and then starting the device again as you suggested. Unfortunately, it still boots directly into Android. On this Ugoos AM9 Pro, neither a warm reboot nor a cold boot (via poweroff) seems to respect the µSD boot priority once it has been in CoreELEC.

​Hardware Status: I will leave the device powered on and the Terminal Sharing (wangyu1314) active so you can continue to investigate these VPU/HDMI and Bootloader issues directly.

Wrong HDMI port, this is for the soundbar. Try other ports. You see in display info what formats are supported by your TV.

No bug, your TV just don’t support it.
My TCL does report 2160p60hz and it works.

​@Portisch,

​Now that we have confirmed the HDMI 3 port and Sony TV are correctly configured for 4K 60Hz (as shown in my previous photos), let’s look at the actual core issue.

​I have attached a photo of the Green Screen occurring during playback of a standard 4K HDR10 file.

​Hardware Decoder: am-h265 (HW) is active.

​Resolution: 4K UHD.

​Result: Complete green screen (VPU failure).

​This proves that even with the “Enhanced Format” enabled on the TV and the correct HDMI handshake, the S905X5 kernel/driver is failing at hardware decoding.

​This is the real bug I’ve been trying to report. It’s not the cable, not the port, and not the TV—it’s the VPU implementation on this new SoC. Please use the log from my Terminal Sharing session (wangyu1314) to investigate this decoding failure.

Furthermore, in this green screen state, the decoding performance is abysmal. The playback is constantly stuttering or completely freezing.

​This suggests that the VPU is not just outputting wrong colors, but is likely crashing or failing to manage the buffer at the kernel level.

​To recap:

​Android works perfectly (Same hardware, same TV, same file).

​CoreELEC fails with a green screen and total playback stagnation.

​This is a textbook case of a broken hardware-accelerated video driver in the current S905X5 build. I hope these details help you pinpoint whether it’s a memory allocation issue or a VPU clocking bug.

  1. Did you try HDMI1 without any special setup? Without force any HDR!
  2. Did you share any media sample?
  3. Did you try with GUI set to 1080p? This is highly recommend!

​@Portisch,

​I have followed all your suggestions, and the results clearly point to a hardware initialization failure in the CoreELEC kernel for S905X5.

​Test Setup as requested (See attached photos):

​HDMI Port: Switched to HDMI 1 (Standard/Enhanced mode).

​GUI Resolution: Set to 1080p 60Hz.

​Media: Tested various samples, including non-HDR H.264 and H.265 files.

​The Results:

​The Problem Persists: Every single file results in a GREEN SCREEN and extreme decoding lag (as shown in the Player Info overlay). It doesn’t matter if it’s 1080p or 4K, HDR or SDR.

​The “Sleep” Trigger: If I put the device to sleep/standby using the Sony remote and then wake it up, every video becomes green.

​The “Android” Proof: All these files play perfectly on Android firmware using the exact same hardware and HDMI 1/3 ports.

​The “Warm Boot” Logic: If I reboot into CoreELEC directly from Android, the FIRST playback is normal (see the successful 4K playback photo). But after one playback or a standby cycle, it breaks completely.

​Conclusion:

This is NOT a TV setting issue, NOT a cable issue, and NOT a media sample issue. The fact that it works after an Android reboot but fails after a CE cold boot or sleep cycle proves that CoreELEC is failing to correctly initialize or reset the VPU/HDMI registers on the S905X5. The evidence is now undeniable. I have provided the logs and the visual proof. It’s time to look into the kernel’s VPU/HDMI driver implementation.

​@Portisch,

​Here is the evidence of normal playback on the same setup.

​The photos show that when I reboot into CoreELEC directly from the Android firmware, everything works perfectly (4K, HDR, correct colors).

​However, after a sleep cycle or a cold boot in CoreELEC, the screen turns green as shown before. This confirms that the hardware, cable, and Sony TV settings are all correct. The issue is specific to how the system handles video/output after a fresh boot or standby in the current build.

Dolby Vision video plays on AM9 Pro at first launch
dmesg
https://paste.coreelec.org/FruitsConduit
After restarting Kodi, there is sound but a black screen when playing Dolby Vision videos.
dmesg
https://paste.coreelec.org/LynneCreeped

Note:The same error occurs on the SK1 device.
demsg black screen
https://paste.coreelec.org/SandemanSupreme
dmesg green screen
https://paste.coreelec.org/RushmoreSheppard
Tv: TCL 55 C 745

Don’t see any issues, all media play just fine…
Log does tell the h264 is broken.

1 Like

@Portisch,

Update: After further testing with alpha3, I noticed that the green screen issue is partially resolved, but it still persists with certain files.

Some videos now play correctly, which is progress. However, other files still trigger the same green screen and lag, especially after a standby cycle.

It seems the VPU driver is now “halfway there.” It can handle some profiles but still fails on others. I’ll keep testing to see if I can find a pattern in the file specs (bit depth or frame rate) that causes the failure. Thanks for the partial fix in this build!