Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Kodi 18.1 do not display DVB subtitles correctly on linux #15723
Describe the bug
On Linux, after upgrading to kodi 18.1, subtitles for DVB streams (both live tv and recordings) are no more readable : a white rectangle is displayed instead. If hardware acceleration is enabled, any time such a white rectangle shows, the video flickers. When hardware acceleration is disabled or not available, there is no flickering.
Here is a clear and concise description of what was expected to happen:
Watching live tv or recordings with subtitles enabled is expected to display readable subtitles. Using hardware acceleration must not generate flickering when activating subtitles.
Playing DVB streams with subtitles enabled displays white rectangles when subtitles are expected.
Steps to reproduce the behavior:
I use tvheadend to watch live TV and record TV shows, with a DVB card. To reproduce you need to watch a DVB stream with subtitles enabled.
Here is a sample from an existing recording containing DVB subtitles : https://www.dropbox.com/s/yn05enw040i0zff/kodi_18.1_bug_subtitles_dvb%20-%20issue%2015723.mkv?dl=0
The debuglog can be found here:
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
My DVB recordings are created by tvheadend. Tvheadend produces MKV files without further postprocessing as far as i understand correctly. With mktoolnix i listed the content of recorded files and saw that subtitles streams are using the S_DVBSUB type. This type is not properly rendered in kodi v18.1, while it was in kodi v17.6.
Note, screenshot and kodi.log where created from a VM to be able to reproduce the problem from scratch and from a clean install.
Used Operating system:
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Seems to be a linux only issue.
When saying "Linux" you should make clear what configuration you are referring to. I doubt that there is an issue on a typical Linux x86 installation. Running Kodi in a virtual machine is an edge case.
2019-03-11 15:19:27.094 T:140134571451328 NOTICE: GL_VENDOR = VMware, Inc.
I totally agree, but as i wrote in the bug report, i created a vm to reproduce the bug and to make sure the issue was not with my real kodi computer on which i downgraded to 17.6-Krypton as soon i encountered the problem.
Here comes an extract from current kodi.log (currently downgraded to kodi 17.6) from my real hardware :
If needed i can re-update to kodi 18.1 and produce a debug log from real hardware.
I'm experiencing the same problem with embedded subtitles in mkv files. External srt files are working fine. Here's an example:
I use the standard Arch Linux package and run Kodi in standalone mode following the guide in the Arch wiki.
The subs were displayed correctly under 17.6.
This is a shot in the dark but it seems like missing shaders for GLSL < 1.5. Perhaps this could help:
Thank you for this !
One bad new, one good new.
The bad one : I already tried to copy
Now, for the good one, if i ignore
@kszaq there is no tone mapping for that old version of GL. You can safely ignore the error.
For a fix you should enable SM_TEXTURE instead of SM_TEXTURE_LIM if glsl version is < 1.5
Limited range is not supported on those old systems.
Can confirm on hardware: