I have just installed Kodi on TW/KDE and tried to run but it crashes immediately on startup.
I see there are pages of add-ons in repo but surely the basic application should at least start.
I have installed kodi, as with all my multimedia, from packman.
Please can somebody help me get started.
Budge
Not many Kodi users here then?
1 Jan 2021 and still crashing in spite of many updates. I must be missing something but have no idea where to start.
Please can somebody come to my rescue?
Kodi works like a charm on all my machines running Tumbleweed/KDE. Thus I presume there is a problem with your setup. Troubleshooting works by bisection. First step: Is the problem with you graphical login or does it occur with a new user too?
Hi Karl,
Talk about senior moment! There already is a thread which I started and you helped me with but I changed machines (and location) and foolishly started over.
I tried creating a new user but this crashed as before. Moving back to my normal user account and running kodi from cli this is what I get :-
alastair@localhost:~> kodi
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
failed to open /usr/lib64/dri/hybrid_drv_video.so
Not using hybrid_drv_video.so
libva info: va_openDriver() returns 0
failed to open /usr/lib64/dri/hybrid_drv_video.so
Not using hybrid_drv_video.so
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>:<exec_prefix>]
ImportError: No module named site
malloc(): smallbin double linked list corrupted
/usr/bin/kodi: line 219: 3495 Aborted (core dumped) ${KODI_BINARY} $SAVED_ARGS
find: ‘/home/alastair/pCloudDrive/Crypto Folder’: Permission denied
Crash report available at /home/alastair/kodi_crashlog-20210103_094832.log
alastair@localhost:~>
And the crashlog is too long so have had to post on susepaste:-
https://susepaste.org/55011559
Different problems from previously but all I believe point to video driver.
What to do next?
This seems to be related to the system, not the user configuration. I get:
karl@3400G:~> kodi
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_9
libva info: va_openDriver() returns 0
karl@3400G:~>
You may check your installation by temporarily disabling all but the following repos:
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | URI
---+----------------------------------+--------------------------------------------+---------+-----------+---------+----------+--------------------------------------------------------------------------------
17 | packman | packman | Yes | (r ) Yes | Yes | 90 | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/
7 | download.opensuse.org-non-oss | Haupt-Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/non-oss/
8 | download.opensuse.org-oss | Haupt-Repository (OSS) | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/tumbleweed/repo/oss/
9 | download.opensuse.org-tumbleweed | Hauptaktualisierungs-Repository | Yes | (r ) Yes | Yes | 99 | http://download.opensuse.org/update/tumbleweed/
**3400G:~ #**
Now run ‘zypper dist-upgrade’ until done:
**3400G:~ #** zypper dist-upgrade
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Nothing to do.
**3400G:~ #**
Now run until done:
**3400G:~ #** zypper dist-upgrade --allow-vendor-change --from packman
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
Nothing to do.
**3400G:~ #**
Note: kodi works well both on AMD and Intel hardware with the same startup message. Both open successfully /usr/lib64/dri/radeonsi_drv_video.so Unfortunately I failed to have the Intel machine work with onboard graphics.
Booted Intel machine into onboard graphics. kodi works well:
karl@erlangen:~> kodi
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
karl@erlangen:~>
karl@erlangen:~>
Hi Karl,
Done all you suggest but still no joy.
I need to unpick the video drivers but am not anxious to lose control.
Will check out hardware fundamentals. More reading for me!
Remove any orphaned packages and unneeded installs, which might provide stuff related to video. Loading algorithms tend to load anything they find.
I installed the flatpak version of Kodi on my newly installed Tumbleweed system. Used NFS to connect to my ubuntu NAS. Works fine.