Describe the bug
After 9.2.0 update, the old Hyperion.NG addon stopped working (no light, only on reboot), so I had to update the Hyperion.NG addon.
Hyperion.NG v9.2.101 addon in coreelec is buggy, the color order in MENU is BGR instead of RGB
During playback it is working fine, color order is okay.
It was a known bug in the previous version, but someone fixed it a ~year ago in this topic and disabled auto update for this addon:
The fix is quickfix basicly is to change pixelformat from BGR32 to RGB32.
For hyperion.ng I changed
case 16: pixelFormat = PIXELFORMAT_BGR16; break;
case 24: pixelFormat = PIXELFORMAT_BGR24; break;
case 32: pixelFormat = PIXELFORMAT_RGB32; break; // was PIXELFORMAT_ BGR32
Error(_log, “Unknown pixel format: %d bits per pixel”, vinfo.bits_per_pixel);
For hyperion I changed
if (vinfo.bits_per_pixel == 16)
pixelFormat = PIXELFORMAT_BGR16;
else if (vinfo.bits_per_pixel == 24)
pixelFormat = PIXELFORMAT_BGR24;
else if (vinfo.bits_per_pixel == 32)
pixelFormat = PIXELFORMAT_RGB32; // was PIXELFORMAT_ BGR32
Steps to reproduce the behaviour:
- Install CoreElec and Hyperion.NG (NG, and not the old Hyperion)
- Setup to work
- In menu the blue color is red, the red is blue, the yellow is cyan.
- Normal playback is correct color order
I have no debug log, the bug and fix is stated up.
CoreELEC version and device
CoreELEC version: 9.2.0
Hyperion version: 9.2.101
Device: Alfawise H96 pro+ (3gb)
Device Tree: it was 2 years ago I don’t remember…
Other information, sample media (if appropriate)
I’m a n00b. Tried to compile myself, but I stucked in the process, when It finally compiled I found out it is not for Kodi …