Linux GUI crashes with "GL: Error compiling vertex shader"
#1
The issue
I have an issue where KODI is consistently crashing after a few minutes idle when on the GUI. Crashing does not occur during video playback. The crash manifests itself as a black screen, and is unrecoverable. I have to close the window.

The setup
KODI runs on an Intel NUC NUC8I3BEK (Intel Core i3 8109U). My media library is CIFS share mounted at /mnt for KODI to consume from. My setup is pretty vanilla, I use no addons except for the default ones. I'll post them below. I'm using the Estuary skin, but the problem seems to occur with any skin. I've tried several.

OS: Debian - Linux tvnuc 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux
KODI: Kodi 2:17.6+dfsg1-4+b1


Troubleshooting:
So far I've tried the following:
  • Remove and re-install KODI
  • Tried multiple skins
  • Removed ~/.kodi directory

The details
Looking at the debug logs, it appears to be an odd GL rendering issue, which might not be an issue with KODI itself, but maybe a dodgy graphics driver. I'd appreciate any help if any has seen this before.

Kodi version
from apt
text:


apt info kodi
Package: kodi
Version: 2:17.6+dfsg1-4+b1
Priority: optional
Section: video
Source: kodi (2:17.6+dfsg1-4)
Maintainer: Debian Multimedia Maintainers <[email protected]>
Installed-Size: 140 kB
Provides: kodi-api-guilib (= 5.11.0), kodi-api-pvr (= 5.2.1)
Depends: kodi-bin (>= 2:17.6+dfsg1-4), kodi-bin (<< 2:17.6+dfsg1-4.1~), kodi-data (>= 2:17.6+dfsg1-4)
Recommends: kodi-repository-kodi | kodi-repository, kodi-visualization-spectrum
Breaks: xbmc (<< 2:13.2+dfsg1-5~)
Replaces: xbmc (<< 2:13.2+dfsg1-5~)
Homepage: https://kodi.tv/
Download-Size: 32.8 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian buster/main amd64 Packages

uname:
text:

Linux tvnuc 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux

lspci:
text:


00:00.0 Host bridge: Intel Corporation Device 3ecc (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 655 (rev 01)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller (rev 30)
00:17.0 SATA controller: Intel Corporation Cannon Point-LP SATA Controller [AHCI Mode] (rev 30)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1c.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1d.6 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (6) I219-V (rev 30)
6d:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. Device 5762 (rev 01)
6e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

glxheads:
text:

glxheads :0
Name: :0
Display: 0x56552952a910
Window: 0x1600002
Context: 0x565529543ec0
GL_VERSION: 3.0 Mesa 18.3.6
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel® HD Graphics (Coffeelake 3x8 GT3)

KODI debug log:
Line 234 & 258 are really interesting with some weird characters in there!

https://paste.kodi.tv/upigapodak.kodi


glxinfo
I had to truncate some of the output due to post size limits.

https://paste.kodi.tv/wopuyopufa


Addons:
Listed from .kodi/addons

https://paste.kodi.tv/teqeyelate.kodi

Intersted to see what you think! Cheers.

mod edit to remove the log spam
Reply
#2
We don't support the version you are running. It's more than 3 years old and broken patched with an ffmpeg version not matching our release.
Furthermore the SW stack you have is very old. If Coffee-Lake is properly supported, no one knows besides debian.

Please file a bug with them, they can check in their QA records if this version they provide has ever run on your hardware.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
We also have, in nice big bold friendly letters above the posting buttons - Do not post logs in the forum. Use https://paste.kodi.tv/ instead.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
Thanks folks. And sorry for the log spam, I saw the notice as I submitted the post and I couldn't edit to fix.
Reply

Logout Mark Read Team Forum Stats Members Help
GUI crashes with "GL: Error compiling vertex shader"0