Linux Ubuntu Server 22.04.3 Kodi standalone (GBM) doesn't start
#1
Hi,
Kodi does not start if only the AMD inbox driver is installed and tries to access RadeonSI.
It works with the AMD driver from "repo.radeon.com", but I get display errors after a while, somehow I managed to start Kodi once with the inbox driver and it works fine.
Which dependencies do I have to install so that Kodi uses the inbox amdgpu driver?

wget https://repo.radeon.com/amdgpu-install/2...-1_all.deb
sudo apt install ./amdgpu-install_5.7.00.48.50700-1_all.deb
sudo amdgpu-install -y --usecase=graphics
sudo usermod -a -G render,video $LOGNAME

GPU: AMD Ryzen 3 3200G with Radeon Vega Graphics
OS: Ubuntu 22.04.3 LTS, Kernel 6.2
Kodi Version: ppa:team-xbmc/ppa

2b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15d8] (rev c9) (prog-if 00 [VGA controller])
       Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8]
       Flags: bus master, fast devsel, latency 0, IRQ 57, IOMMU group 10
       Memory at d0000000 (64-bit, prefetchable)
       Memory at e0000000 (64-bit, prefetchable)
       I/O ports at d000
       Kernel driver in use: amdgpu
       Kernel modules: amdgpu

Code:
Dez 09 02:26:04 tvserver kodi-standalone[1935]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
Dez 09 02:26:04 tvserver kodi-standalone[1935]: libva info: Found init function __vaDriverInit_1_14
Dez 09 02:26:04 tvserver kodi-standalone[1935]: libva info: va_openDriver() returns 0
Dez 09 02:26:06 tvserver tvheadend[1310]: htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv35)
Dez 09 02:26:06 tvserver tvheadend[1310]: htsp: 127.0.0.1 [ Kodi Media Center ]: Identified as user 'kodi'
Dez 09 02:26:06 tvserver tvheadend[1310]: htsp: 127.0.0.1 [ kodi | Kodi Media Center ]: Privileges updated
Dez 09 02:38:53 tvserver su[8402]: (to kodi) root on pts/1
Dez 09 02:38:53 tvserver su[8402]: pam_unix(su:session): session opened for user kodi(uid=1000) by root(uid=0)
Dez 09 02:38:59 tvserver sudo[8416]:     kodi : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/apt install kodi
Dez 09 02:42:04 tvserver sudo[9580]:     kodi : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/sbin/reboot
Dez 09 02:42:05 tvserver systemd[1]: Stopping Session 1 of User kodi...
Dez 09 02:42:05 tvserver su[8402]: pam_unix(su:session): session closed for user kodi
Dez 09 02:42:05 tvserver tvheadend[1310]: htsp: 127.0.0.1 [ kodi | Kodi Media Center ]: Disconnected
Dez 09 02:42:05 tvserver systemd[1]: Stopping Kodi standalone (GBM)...
Dez 09 02:42:05 tvserver systemd[9612]: pam_unix(login:session): session opened for user kodi(uid=1000) by (uid=0)
Dez 09 02:42:05 tvserver systemd[1]: Stopped Session 1 of User kodi.
Dez 09 02:42:07 tvserver systemd[9950]: pam_unix(login:session): session closed for user kodi
Dez 09 02:42:07 tvserver systemd[1]: kodi-gbm.service: Deactivated successfully.
Dez 09 02:42:07 tvserver systemd[1]: Stopped Kodi standalone (GBM).
Dez 09 02:44:36 tvserver systemd[1]: Started Kodi standalone (GBM).
Dez 09 02:44:36 tvserver systemd[1381]: pam_unix(login:session): session opened for user kodi(uid=1000) by (uid=0)
Dez 09 02:44:36 tvserver systemd-logind[1175]: New session 1 of user kodi.
Dez 09 02:44:36 tvserver systemd[1601]: pam_unix(systemd-user:session): session opened for user kodi(uid=1000) by (uid=0)
Dez 09 02:44:36 tvserver systemd[1]: Started Session 1 of User kodi.
Dez 09 02:44:37 tvserver podman[1665]: time="2023-12-09T02:44:37Z" level=info msg="Found CNI network podman (type=bridge) at /var/lib/kodi/.config/cni/net.d/87-podman.conflist"
Dez 09 02:44:37 tvserver kernel: overlayfs: fs on '/var/lib/kodi/.local/share/containers/storage/overlay/compat3737086248/lower1' does not support file handles, falling back to xino=off.
Dez 09 02:44:37 tvserver kernel: overlayfs: fs on '/var/lib/kodi/.local/share/containers/storage/overlay/metacopy-check194960873/l1' does not support file handles, falling back to xino=off.
Dez 09 02:44:37 tvserver kernel: overlayfs: fs on '/var/lib/kodi/.local/share/containers/storage/overlay/opaque-bug-check3443158702/l2' does not support file handles, falling back to xino=off.
Dez 09 02:44:37 tvserver podman[1829]: time="2023-12-09T02:44:37Z" level=info msg="Found CNI network podman (type=bridge) at /var/lib/kodi/.config/cni/net.d/87-podman.conflist"
Dez 09 02:44:38 tvserver kodi-standalone[1821]: libva info: VA-API version 1.14.0
Dez 09 02:44:38 tvserver kodi-standalone[1821]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
Dez 09 02:44:38 tvserver kodi-standalone[1821]: libva info: Found init function __vaDriverInit_1_14
Dez 09 02:44:38 tvserver kodi-standalone[1821]: libva info: va_openDriver() returns 0
Dez 09 02:44:40 tvserver tvheadend[1308]: htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv35)
Dez 09 02:44:40 tvserver tvheadend[1308]: htsp: 127.0.0.1 [ Kodi Media Center ]: Identified as user 'kodi'
Dez 09 02:44:40 tvserver tvheadend[1308]: htsp: 127.0.0.1 [ kodi | Kodi Media Center ]: Privileges updated
 
Reply
#2
I now know how I got it to start once.
The system boots up to the message "Cloud level target reached", then I have to wait until my monitor goes into standby, about 10 minutes. If I then log in to the web interface and click on the remote control area, then Kodi starts Smile I always have the stupidest bugs...
And what does that have to do with the AMD driver?
As soon as I install the AMD driver, Kodi starts immediately...
Reply
#3
I found a solution for the Display corruption/distortion issue

It works with the driver from the AMD Repro. and  ​"allow_rgb10_configs=false" in  "/etc/environment"
Reply

Logout Mark Read Team Forum Stats Members Help
Ubuntu Server 22.04.3 Kodi standalone (GBM) doesn't start0