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

Kodi Crash during startup, Linux, OpenGL (glGetString, GL_VERSION) related #18076

Closed
1 of 7 tasks
olafbono opened this issue Jun 18, 2020 · 5 comments
Closed
1 of 7 tasks
Labels
Resolution: Not applicable issue is not relevant to code in this repo and is not an external issue Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it

Comments

@olafbono
Copy link

Bug report

Describe the bug

Starting kodi leads to the following output and a core dump:

libva info: VA-API version 1.7.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
/usr/bin/kodi: line 219: 22795 Segmentation fault      (core dumped) ${KODI_BINARY} $SAVED_ARGS

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:

#0  0x00007ffff51672b1 in __strlen_avx2 () from /lib64/libc.so.6
#1  0x000000000100e83c in std::char_traits<char>::length (__s=0x0) at /usr/include/c++/9/bits/char_traits.h:335
#2  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append (__s=0x0, this=0x7fffffffd590)
    at /usr/include/c++/9/bits/basic_string.h:1266
#3  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+= (__s=<optimized out>, this=<optimized out>, this=<optimized out>, 
    __s=<optimized out>) at /usr/include/c++/9/bits/basic_string.h:1178
#4  LogGraphicsInfo () at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/utils/GLUtils.cpp:224
#5  0x00000000012f6f59 in CRenderSystemGL::InitRenderSystem (this=0x19ec398) at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/rendering/gl/RenderSystemGL.cpp:84
#6  0x0000000000d7e6b3 in CApplication::InitWindow (this=<optimized out>, res=RES_DESKTOP) at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/Application.cpp:705
#7  0x0000000000d8d40b in CApplication::CreateGUI (this=0x190da80) at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/Application.cpp:650
#8  0x0000000000fd6331 in XBMC_Run (renderGUI=<optimized out>, params=...) at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/utils/GlobalsHandling.h:160
#9  0x00000000008645bb in main (argc=2, argv=0x7fffffffda38) at /usr/src/debug/kodi-18.7-1.2.x86_64/xbmc/platform/posix/main.cpp:77

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:

  1. run kodi from command line without any arguments

Debuglog

The debuglog can be found here:

2020-06-19 00:20:12.453 T:140321511210688  NOTICE: -----------------------------------------------------------------------
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Starting Kodi (18.7 Git:20200520-20200520-f14f7a8). Platform: Linux x86 64-bit
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Using Release Kodi x64 build
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Kodi compiled 2020-05-20 by GCC 9.3.1 for Linux x86 64-bit version 5.6.0 (329216)
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Running on openSUSE Tumbleweed 20200603, kernel: Linux x86 64-bit version 5.7.0-3.gad96a07-default
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: FFmpeg version/source: 4.2.2
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Host CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 cores available
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://xbmcbin/ is mapped to: /usr/lib64/kodi
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib64/kodi/addons
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://masterprofile/ is mapped to: /home/bono/.kodi/userdata
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://envhome/ is mapped to: /home/bono
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://home/ is mapped to: /home/bono/.kodi
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://temp/ is mapped to: /home/bono/.kodi/temp
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: special://logpath/ is mapped to: /home/bono/.kodi/temp
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: The executable running is: /usr/lib64/kodi/kodi-x11
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Local hostname: krondor
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: Log File is located: /home/bono/.kodi/temp/kodi.log
2020-06-19 00:20:12.453 T:140321511210688  NOTICE: -----------------------------------------------------------------------
2020-06-19 00:20:12.453 T:140321511210688    INFO: loading settings
2020-06-19 00:20:12.454 T:140321511210688  NOTICE: special://profile/ is mapped to: special://masterprofile/
2020-06-19 00:20:12.479 T:140321511210688   DEBUG: CSkinSettings: no <skinsettings> tag found
2020-06-19 00:20:12.507 T:140321511210688  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
2020-06-19 00:20:12.508 T:140321511210688  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2020-06-19 00:20:12.508 T:140321511210688  NOTICE: Default Video Player: VideoPlayer
2020-06-19 00:20:12.508 T:140321511210688  NOTICE: Default Audio Player: paplayer
2020-06-19 00:20:12.508 T:140321511210688  NOTICE: Disabled debug logging due to GUI setting. Level 1.
2020-06-19 00:20:12.508 T:140321511210688  NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
2020-06-18 22:20:12.508 T:140321511210688    INFO: creating subdirectories
2020-06-18 22:20:12.508 T:140321511210688    INFO: userdata folder: special://masterprofile/
2020-06-18 22:20:12.508 T:140321511210688    INFO: recording folder:
2020-06-18 22:20:12.508 T:140321511210688    INFO: screenshots folder:
2020-06-18 22:20:12.519 T:140321511210688  NOTICE: PulseAudio: Server found running - will try to use Pulse
2020-06-18 22:20:12.519 T:140321502803712   DEBUG: Thread Lirc start, auto delete: false
2020-06-18 22:20:12.519 T:140321502803712    INFO: Loading special://xbmc/system/Lircmap.xml
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'mceusb'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'XboxDVDDongle'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'Microsoft_Xbox'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'PinnacleSysPCTVRemote'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'anysee'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'iMON-PAD'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'Antec_Veris_RM200'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'MCE_via_iMON'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'TwinHanRemote'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'linux-input-layer'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Linking remote mapping for 'linux-input-layer' to 'cx23885_remote'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'mediacenter'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'devinput'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'devinput-32'
2020-06-18 22:20:12.522 T:140321502803712    INFO: * Adding remote mapping for device 'devinput-64'
2020-06-18 22:20:12.523 T:140321502803712   DEBUG: CIRTranslator::Load - no userdata Lircmap.xml found, skipping
2020-06-18 22:20:12.528 T:140321511210688  NOTICE: Running database version Addons27
2020-06-18 22:20:12.532 T:140321511210688    INFO: ADDON: cpluff: 'Could not read plug-in directory /home/bono/.kodi/addons: No such file or directory'
2020-06-18 22:20:12.723 T:140321511210688    INFO: ADDON: cpluff: 'Could not read plug-in directory /usr/lib64/kodi/addons: No such file or directory'
2020-06-18 22:20:12.723 T:140321511210688   DEBUG: ADDON: cpluff: 'Not all directories were successfully scanned.'
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.album.universal v3.1.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.artists.universal v4.3.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.allmusic.com v3.2.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.fanart.tv v3.6.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.2 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.common.themoviedb.org v3.1.9 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.local v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.themoviedb.org v5.1.7 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.1.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: pvr.vdr.vnsi v3.6.3 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: pvr.vdr.xvdr v0.9.8 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.59 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: service.xbmc.versioncheck v0.4.6 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: skin.estouchy v2.0.28 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: skin.estuary v2.0.27 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.addon v18.7.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-06-18 22:20:12.723 T:140321511210688  NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-06-18 22:20:12.741 T:140321511210688   DEBUG: CFavourites::Load - no system favourites found, skipping
2020-06-18 22:20:12.741 T:140321511210688   DEBUG: CFavourites::Load - no userdata favourites found, skipping
2020-06-18 22:20:12.762 T:140321511210688   DEBUG: DBus method call to org.freedesktop.ConsoleKit.Manager.CanStop at /org/freedesktop/ConsoleKit/Manager of org.freedesktop.ConsoleKit failed: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.ConsoleKit was not provided by any .service files
2020-06-18 22:20:12.762 T:140321511210688    INFO: Selected Logind/UPower as PowerSyscall
2020-06-18 22:20:12.782 T:140321511210688   DEBUG: LogindUPowerSyscall - inhibit lock taken, fd 11
2020-06-18 22:20:12.783 T:140321511210688    INFO: Selected UPower as PowerSyscall
2020-06-18 22:20:12.785 T:140321511210688   ERROR: DBus error: org.freedesktop.DBus.Error.InvalidArgs - No such property “CanSuspend”
2020-06-18 22:20:12.785 T:140321511210688   ERROR: DBus error: org.freedesktop.DBus.Error.InvalidArgs - No such property “CanHibernate”
2020-06-18 22:20:12.785 T:140321494411008   DEBUG: Thread ActiveAE start, auto delete: false
2020-06-18 22:20:12.785 T:140321413396224   DEBUG: Thread AESink start, auto delete: false
2020-06-18 22:20:12.786 T:140321494411008   DEBUG: PulseAudio: Context authorizing
2020-06-18 22:20:12.786 T:140321494411008   DEBUG: PulseAudio: Context setting name
2020-06-18 22:20:12.786 T:140321494411008   DEBUG: PulseAudio: Context ready
2020-06-18 22:20:12.786 T:140321494411008 WARNING: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail
2020-06-18 22:20:12.787 T:140321405003520   DEBUG: PulseAudio: Found Built-in Audio with devicestring alsa_output.hw_0_0
2020-06-18 22:20:12.787 T:140321494411008  NOTICE: Found 1 Lists of Devices
2020-06-18 22:20:12.787 T:140321494411008  NOTICE: Enumerated PULSE devices:
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:     Device 1
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_deviceName      : Default
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_displayName     : Default
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_channels        : FL, FR
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:     Device 2
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_deviceName      : alsa_output.hw_0_0
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_displayName     : Built-in Audio
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_displayNameExtra: Built-in Audio (PULSEAUDIO)
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_channels        : FL, FR
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
2020-06-18 22:20:12.787 T:140321494411008  NOTICE:         m_streamTypes     : No passthrough capabilities
2020-06-18 22:20:12.787 T:140321413396224    INFO: CActiveAESink::OpenSink - initialize sink
2020-06-18 22:20:12.787 T:140321413396224   DEBUG: CActiveAESink::OpenSink - trying to open device Default
2020-06-18 22:20:12.787 T:140321413396224   DEBUG: CActiveAESink::OpenSink - trying to open device PULSE:Default
2020-06-18 22:20:12.787 T:140321413396224   DEBUG: PulseAudio: Context authorizing
2020-06-18 22:20:12.788 T:140321413396224   DEBUG: PulseAudio: Context setting name
2020-06-18 22:20:12.788 T:140321413396224   DEBUG: PulseAudio: Context ready
2020-06-18 22:20:12.788 T:140321413396224   DEBUG: PulseAudio: Stream ready
2020-06-18 22:20:12.788 T:140321413396224  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
2020-06-18 22:20:12.789 T:140321413396224   DEBUG: CActiveAESink::OpenSink - PULSE Initialized:
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Output Device : Default
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Sample Rate   : 44100
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Sample Format : AE_FMT_FLOAT
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Channel Count : 2
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Channel Layout: FL, FR
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Frames        : 2205
2020-06-18 22:20:12.789 T:140321413396224   DEBUG:   Frame Size    : 8
2020-06-18 22:20:12.818 T:140321511210688    INFO: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Arabic QWERTY" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian ЯВЕРТЪ" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian АБВ" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Chinese BasePY" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Chinese BaiduPY" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Croatian QWERTY" successfully loaded
2020-06-18 22:20:12.819 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Czech QWERTZ" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Danish QWERTY" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "English QWERTY" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "English AZERTY" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "English ABC" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "French AZERTY" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "German QWERTZ" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "German ABC" successfully loaded
2020-06-18 22:20:12.820 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Greek QWERTY" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew QWERTY" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew ABC" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Hungarian QWERTZ" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Icelandic QWERTY" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Italian QWERTY" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Korean ㄱㄴㄷ" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian AZERTY" successfully loaded
2020-06-18 22:20:12.821 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian QWERTY" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Norwegian QWERTY" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Polish QWERTY" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Portuguese (Portugal) QWERTY" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Romanian QWERTY" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Russian ЙЦУКЕН" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Russian АБВ" successfully loaded
2020-06-18 22:20:12.822 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Silesian QWERTY" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak QWERTZ" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak QWERTY" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Slovak ABC" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Slovenian QWERTZ" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Spanish QWERTY" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Swedish QWERTY" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Thai Kedmanee" successfully loaded
2020-06-18 22:20:12.823 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Turkish QWERTY" successfully loaded
2020-06-18 22:20:12.824 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian ЙЦУКЕН" successfully loaded
2020-06-18 22:20:12.824 T:140321511210688   DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian АБВ" successfully loaded
2020-06-18 22:20:12.825 T:140321511210688   DEBUG: Selected UDisks2 as storage provider
2020-06-18 22:20:12.826 T:140321511210688   DEBUG: UDisks2: Daemon version 2.8.4
2020-06-18 22:20:12.826 T:140321511210688   DEBUG: UDisks2: Querying available devices
2020-06-18 22:20:12.887 T:140321511210688 WARNING: CXRandR::Query - output HDMI2 has no current mode, assuming disconnected
2020-06-18 22:20:12.888 T:140321511210688    INFO: Available videomodes (xrandr):
2020-06-18 22:20:12.888 T:140321511210688    INFO: Output 'HDMI1' has 30 modes
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x49 Name:1920x1200 Refresh:59.950169 Width:1920 Height:1200
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.015625
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x4a Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1b6 Name:1920x1080 Refresh:50.000000 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1b7 Name:1920x1080 Refresh:59.940201 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1ba Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1bc Name:1920x1080 Refresh:23.976080 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1b8 Name:1920x1080i Refresh:30.000000 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1b9 Name:1920x1080i Refresh:25.000000 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1bb Name:1920x1080i Refresh:29.970100 Width:1920 Height:1080
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1bd Name:1600x1200 Refresh:60.000000 Width:1600 Height:1200
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1be Name:1280x1024 Refresh:75.024673 Width:1280 Height:1024
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.300000
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1bf Name:1280x1024 Refresh:60.019741 Width:1280 Height:1024
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.300000
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c0 Name:1152x864 Refresh:75.000000 Width:1152 Height:864
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c1 Name:1280x720 Refresh:60.000000 Width:1280 Height:720
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c2 Name:1280x720 Refresh:50.000000 Width:1280 Height:720
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c3 Name:1280x720 Refresh:59.940201 Width:1280 Height:720
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.914062
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c4 Name:1024x768 Refresh:75.028580 Width:1024 Height:768
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c5 Name:1024x768 Refresh:60.003841 Width:1024 Height:768
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c6 Name:800x600 Refresh:75.000000 Width:800 Height:600
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c7 Name:800x600 Refresh:60.316540 Width:800 Height:600
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c8 Name:720x576 Refresh:50.000000 Width:720 Height:576
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.300000
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1c9 Name:720x576i Refresh:25.000000 Width:720 Height:576
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.300000
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1ca Name:720x480 Refresh:60.000000 Width:720 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.083333
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1cb Name:720x480 Refresh:59.940060 Width:720 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.083333
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1cc Name:720x480i Refresh:30.001110 Width:720 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.083333
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1cd Name:720x480i Refresh:29.970030 Width:720 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.083333
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1ce Name:640x480 Refresh:75.000000 Width:640 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1cf Name:640x480 Refresh:60.000000 Width:640 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1d0 Name:640x480 Refresh:59.940479 Width:640 Height:480
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 1.218750
2020-06-18 22:20:12.888 T:140321511210688    INFO: ID:0x1d1 Name:720x400 Refresh:70.081657 Width:720 Height:400
2020-06-18 22:20:12.888 T:140321511210688    INFO: Pixel Ratio: 0.902778
2020-06-18 22:20:12.888 T:140321511210688  NOTICE: Checking resolution 16
2020-06-18 22:20:12.888 T:140321511210688   DEBUG: Window Manager Name: KWin
2020-06-18 22:20:13.023 T:140321511210688    INFO: RetroPlayer[PROCESS]: Registering process control for X11
2020-06-18 22:20:13.024 T:140321511210688    INFO: RetroPlayer[RENDER]: Registering renderer factory for OpenGL
2020-06-18 22:20:13.070 T:140321511210688   ERROR: failed to initialize egl
2020-06-18 22:20:13.254 T:140321511210688  NOTICE: Using visual 0x20
2020-06-18 22:20:13.264 T:140321511210688  NOTICE: VDPAU::CreateContext - creating decoder context
2020-06-18 22:20:14.495 T:140321511210688  NOTICE: vdp_device = 0x000493e1 vdp_st = 0x00000000
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: VDPAU Decoder capabilities:
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: name          level macbs width height
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: ------------------------------------
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: H264_BASELINE    51 16384  2048  2048
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: H264_MAIN        51 16384  2048  2048
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: H264_HIGH        51 16384  2048  2048
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: ------------------------------------
2020-06-18 22:20:14.496 T:140321511210688  NOTICE: VDPAU::Close - closing decoder context
2020-06-18 22:20:14.500 T:140321511210688   DEBUG: GLX_EXTENSIONS: GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_VENDOR = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_RENDERER = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_VERSION = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_SHADING_LANGUAGE_VERSION = NULL

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.

@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 Jun 18, 2020
@fritsch
Copy link
Member

fritsch commented Jun 19, 2020

Please disable the vaapi to vdpau wrapper, it's useless on your system.

Second:

2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_VENDOR = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_RENDERER = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_VERSION = NULL
2020-06-18 22:20:14.500 T:140321511210688  NOTICE: GL_SHADING_LANGUAGE_VERSION = NULL

There is an issue with your GPU drivers. The segfault appears, cause GLGetString returns a nulltpr.

@olafbono
Copy link
Author

Thank you very much, removing libvdpau_va_gl1 fixed my issues. Nethertheless, I would prefer an error message from kodi instead of a crash.

@fritsch
Copy link
Member

fritsch commented Jun 19, 2020

Me, too.

@DaVukovic
Copy link
Member

I guess this one can be closed then?!

@Rakasa
Copy link

Rakasa commented Jul 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Not applicable issue is not relevant to code in this repo and is not an external issue 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