Results 1 to 9 of 9

Thread: Kodi crashes immediately on starting.

  1. #1

    Default Kodi crashes immediately on starting.

    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

  2. #2

    Default Re: Kodi crashes immediately on starting.

    Quote Originally Posted by Budgie2 View Post
    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?

  3. #3
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,194
    Blog Entries
    1

    Default Re: Kodi crashes immediately on starting.

    Quote Originally Posted by Budgie2 View Post
    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?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  4. #4

    Default Re: Kodi crashes immediately on starting.

    Quote Originally Posted by karlmistelberger View Post
    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 :-

    Code:
    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?

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,194
    Blog Entries
    1

    Default Re: Kodi crashes immediately on starting.

    Quote Originally Posted by Budgie2 View Post
    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 :-

    Code:
    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:

    Code:
    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:

    Code:
    #  | 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:

    Code:
    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:

    Code:
    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.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  6. #6
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,194
    Blog Entries
    1

    Default Re: Kodi crashes immediately on starting.

    Booted Intel machine into onboard graphics. kodi works well:

    Code:
    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:~> 
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  7. #7

    Default Re: Kodi crashes immediately on starting.

    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!

  8. #8
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,194
    Blog Entries
    1

    Default Re: Kodi crashes immediately on starting.

    Quote Originally Posted by Budgie2 View Post
    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.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  9. #9
    Join Date
    Jan 2021
    Posts
    4

    Default Re: Kodi crashes immediately on starting.

    I installed the flatpak version of Kodi on my newly installed Tumbleweed system. Used NFS to connect to my ubuntu NAS. Works fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •