Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen while playing all HEVC on Arch Linux - Kodi Omega Beta 3 #24802

Closed
1 of 7 tasks
cg00001 opened this issue Mar 4, 2024 · 10 comments
Closed
1 of 7 tasks

Black screen while playing all HEVC on Arch Linux - Kodi Omega Beta 3 #24802

cg00001 opened this issue Mar 4, 2024 · 10 comments
Labels
Ignored rules issue that does not follow the rules (no template, missing debug log, ...) Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it

Comments

@cg00001
Copy link

cg00001 commented Mar 4, 2024

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

Black screen while playing all HEVC files on Arch Linux - Kodi Omega Beta 3.
This started a few builds of kodi-git back.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Play HEVC files normally.

Actual Behavior

On all HEVC files it shows black screen, but audio plays.

Possible Fix

To Reproduce

Steps to reproduce the behavior:

  1. Just install latest Kodi Omega and try to play an HEVC file.

Debuglog

The debuglog can be found here:
Sorry only partial log, Kodi Omega erased and Nexus used now.

2024-03-04 07:32:09.107 T:7528 info : CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
2024-03-04 07:32:09.192 T:825 info : GLES: Selecting single pass rendering
2024-03-04 07:32:09.192 T:825 info : GLES: Selecting YUV 2 RGB shader
2024-03-04 07:32:09.192 T:825 error : GLES: BaseYUV2RGBGLSLShader - unsupported format 3

Screenshots

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:

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Arch Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name:
    Arch Linux.

  • Kodi version:
    Kodi Omega Beta 3.
    Kodi git version (binary used): kodi-git r65461.8404b9f510f-1
    Current AUR git version (waiting to be converted to binary): kodi-git r65168.a4b164c00cb-1

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

@xbmc-gh-bot xbmc-gh-bot bot added the Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it label Mar 4, 2024
@sarbes sarbes added the Ignored rules issue that does not follow the rules (no template, missing debug log, ...) label Mar 4, 2024
@xbmc-gh-bot
Copy link

xbmc-gh-bot bot commented Mar 4, 2024

Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot 😉

The issue that you have opened was marked as ignoring the rules of our bug tracker by a team member. Please review the following requirements for issue reports and make sure that you follow all of them:

  • Reports must follow our template and have all relevant fields filled in.
  • A full debug log is always mandatory.
    • Make sure that you restart Kodi after setting the log level to debug.
    • Log files may not be modified except for the removal of personally identifying information, usernames/passwords and similar.
    • For build errors, include a full build log instead.
  • You may not have any banned add-ons installed.
  • Bugs should be reproduced on a clean Kodi installation whenever possible.

Please understand that adherence to these rules is required for the team to be able to handle the volume of open issues efficiently. The issue will be closed after one week has passed without satisfactory follow-up from your side.

@neo1973
Copy link
Member

neo1973 commented Mar 4, 2024

The problem is likely that the maintainer switched the build to default to GLES, see https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=kodi-git&id=508c6d72d3451514a56d9210a0c0d85052c45c43

For everything else we need a full log because we know nothing about your setup/environment.

@neo1973 neo1973 closed this as completed Mar 4, 2024
@cg00001
Copy link
Author

cg00001 commented Mar 4, 2024

Thanks for your reply.

@ilikenwf
Copy link

ilikenwf commented Mar 4, 2024

Have you looked into the hardware acceleration settings? In addition what graphics card are you using?

HDR doesn't work at all unless GLES is used.

@graysky2
Copy link
Contributor

graysky2 commented Mar 4, 2024

Please see line 24 in the PKGBUILD wherein you need to define the _renderer variable to a value of either gles or gl.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=kodi-git#n24

@cg00001
Copy link
Author

cg00001 commented Mar 5, 2024

Have you looked into the hardware acceleration settings? In addition what graphics card are you using?

HDR doesn't work at all unless GLES is used.

I would take HEVC any day instead of HDR, I never had such an issue with Kodi until now.
The problem is I'm using a kodi-git binary from Chaotic-AUR, and it autobuilds gles instead of gl, there is no way to enable gl from within Kodi.

@ilikenwf
Copy link

ilikenwf commented Mar 5, 2024

Sounds like a hardware issue in this guy's case to me. HDR works great with my Arc, save for vp9 videos on youtube...

I want both and both work if I use cpu rendering for vp9...my fancy TV does HDR nicely. Even OSMC defaults to gles now.

@cg00001
Copy link
Author

cg00001 commented Mar 5, 2024

Sounds like a hardware issue in this guy's case to me. HDR works great with my Arc, save for vp9 videos on youtube...

I want both and both work if I use cpu rendering for vp9...my fancy TV does HDR nicely. Even OSMC defaults to gles now.

If it's a hardware issue of mine, how come HEVC always worked in the past without Gles?
It's a Gles issue.

@cg00001
Copy link
Author

cg00001 commented Mar 5, 2024

I've asked Chaotic-AUR to change PKGBUILD of kodi-git to gl before building, we'll see.

@cg00001
Copy link
Author

cg00001 commented Mar 5, 2024

It's done, kodi-git from Chaotic-AUR binary works as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ignored rules issue that does not follow the rules (no template, missing debug log, ...) Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it
Projects
None yet
Development

No branches or pull requests

5 participants