Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Is there a tutorial that shows how to get HDR working with Ubuntu 22.04/Xorg/Nexus?
#46
As for why we don't use GLES for the PPA: historically GL was (much) better supported and had some features GLES didn't. This has changed by now and I actually do consider changing the PPA to GLES.
If we do that it will be nightlies (=v21) first for a while, so it gets some sufficient testing.
Reply
#47
GL supports PBOs, supports YUV scaling and GL 4.x shaders for efficient lookup and scaling -> 720p to 4k upscaling use-case
GLES supports both not
GLES supports 8 bit visuals with the HDR knob if GLES is in use, which it is to my knowledge for every desktop (x64) render chain.

So - if we want the 8 bit HDR light is enabled effect for e.g. intel with vaapi, which is the only desktop hwaccel working for GBM, we can add the HDR hack into GL as well. Would be great though to properly run the output in e.g. 12 bit (which intel is doing under the hood anyways) with modern smartphones and properly updither for 8 bit content until we can properly switch the output formats (GL visuals and mode)

Other than that: There is currently no "mainline ARM" chip that we really support where the entire HDR chain would properly work.

If my understanding is wrong for intel + vaapi via GBM - I kindly ask for correction with technical explanation.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#48
Pretending HDR by passthing through metadata and setting HDR colorspace at the TV but outputting tonemapped 8 bit for legacy 8 bit colorspace is nonsense and worse than having no HDR at all.
Reply
#49
Yeah :-). I wanted to "hint" that a bit more indirectly. But your summary matches, yes.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#50
Any progress with this topic so far?
Reply
#51
Following instructions found here, I have re-compiled my Kodi 20.2 with "gbm" and "gles" flags. In Gentoo that was not too tricky.
Started Kodi from the second console, and it worked. At that moment I realized I need to give my user 'input' permission.

When I started Kodi for the second time, I was able to use it.
HDR passthrough did not work immediately, but only after I instructed Kodi to change output framerate to match movie's FPS.
At that moment real HDR kicked.

So, we could call it success, but... Playback was very very choppy.
I have checked CPU usage, and it was less then 20%. 

Anyways, good start for the first test.
Cheers!
Reply
#52
@wsnipex does your latest build still support GLES?   https://launchpad.net/~wsnipex/+archive/ubuntu/kodi-git

Was the team-kodi nightly build also switched to GLES?

Also, any chance of adding Mantic/23.10 to your build target list? My hardware is relatively new (alderlake-n, N100) and older distros/kernels were unfortunately not stable and I had not choice but to use 23.10. This setup uses GBM, I manually installed the official team-kodi PPA packages for Kinetic (the latest full-set set I could find at the time). It works very well but for the reasons explained earlier in this thread, it misses out on HDR
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a tutorial that shows how to get HDR working with Ubuntu 22.04/Xorg/Nexus?0