Posts: 1,407
Joined: Aug 2009
Reputation:
24
I have a samsung TV. I will look for the info you discussed. Can you share your "hacked" modification to LinuxRendererGL.cpp as well? I wonder if this is a legit bug?
Posts: 692
Joined: Mar 2011
Reputation:
87
sarbes
Team-Kodi Member
Posts: 692
Coder or not, you will need to do some serious legwork to get Kodi on GBM running on a desktop system. You need to compile in GLES support if the distro isn't offering it. And you need to do some serious scripting to launch Kodi. That's something I would avoid, even as a coder.
The limitation to GLES is because embedded platforms were the first with HDR support. Desktop systems followed later. GL support is low priority, as GLES is functionally the same as far as I know.
HDR is not possible on X (this wont change as far as I see), and Wayland is "not there yet". Kodi is amongst the few pieces of software that can present an HDR image by avoiding both systems. Even worse for Wayland, applications are not allowed to manipulate the refresh rate (AFAIK). So framerate switching support is uncertain. Additionally, only on GBM is it possible for Kodi to make use of the hardware compositor.
I don't understand the reluctance against LE. It makes very little difference having to choose between Kodi and the desktop at startup or at login.
Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
For the discussion GLES vs. GL. Yes only the GLES implementation sets the SetHDR of the TV. Keep in mind when you hack that in: also the srcPrimaries need changing, as we obviously want to send BT2020 like primaries to the TV and not BT709 done from EGL.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 1,407
Joined: Aug 2009
Reputation:
24
There is a bit of off topic stuff in here. Is this a summary of the salient points?
* Only kodi-gbm is capable of displaying HDR out-of-the-box
* For HDR content to be display by kodi-gbm, it must be compiled it with GLES rendering