-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Kodi Crash during startup, Linux, OpenGL (glGetString, GL_VERSION) related #18076
Comments
Please disable the vaapi to vdpau wrapper, it's useless on your system. Second:
There is an issue with your GPU drivers. The segfault appears, cause GLGetString returns a nulltpr. |
Thank you very much, removing libvdpau_va_gl1 fixed my issues. Nethertheless, I would prefer an error message from kodi instead of a crash. |
Me, too. |
I guess this one can be closed then?! |
I am having this issue too, anyone have any recommendations either on how to resolve the GL_* = NULL settings and/or disable dependence on OpenGL? Fedora 32 (upgraded from 29) with the rpmfusion build of the nvidia drivers installed, but seemingly not working (laptop has both nvidia and intel display chips) Kodi was working fine under Fedora 29, and started failing with the upgrade to Fedora 32 ~ Rakasa |
Bug report
Describe the bug
Starting kodi leads to the following output and a core dump:
Here is a clear and concise description of what the problem is:
It looks like the detection of OpenGL version does not work for my system:
In CRenderSystemGL::InitRenderSystem at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/rendering/gl/RenderSystemGL.cpp:41 the function call glGetString(GL_VERSION) returns 0. This leads to the version number set to 0.0.
Later in:
#4 LogGraphicsInfo () at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/utils/GLUtils.cpp:224
224 extensions += (const char*) glGetString(GL_EXTENSIONS);
glGetString returns 0 and leads to the crash:
Looking at the source, we should use glGetStringi for OpenGL >= 3.2, but as we have not detected the correct version, this fails.
Expected Behavior
Here is a clear and concise description of what was expected to happen:
No crash.
Actual Behavior
Crash due to wrong OpenGL call because of OpenGL version not detected.
Possible Fix
Could also be a bug in my OpenGl configuration, but kodi is the only application with such a problem, all other video or OpenGL applications run fine.
Any hint how to debug it further would be helpful.
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
Your Environment
Used Operating system:
Android
iOS
Linux
OSX
Raspberry-Pi
Windows
Windows UWP
Operating system version/name: OpenSuSE Tumbleweed current, Mesa-20.0.7
Kodi version: 18.7 Git:20200520-20200520-f14f7a8
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.
The text was updated successfully, but these errors were encountered: