LE11 from build 20220701 failing to start UI/Kodi

  • Hi,

    since build 20220701 I can't start UI/Kodi with any newer build and it always ends up booting into safe mode after several failed attempts.

    I have an onboard Intel graphics card and after searching this forum I assumed problems with the driver used, unfortunately none of the following entries in kodi.cfg helped:

    echo 'LIBVA_DRIVER_NAME="i915"' >> /storage/.config/kodi.conf

    or

    echo 'LIBVA_DRIVER_NAME="i965"' >> /storage/.config/kodi.conf

    I don't see any specific error in kodi.log.

    Any idea what it could be?

    Thanks in advance,

    Martin


    On the last working build, after typing lspci -v | less I see this:

    00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])

    DeviceName: Onboard IGD

    Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

    Flags: bus master, fast devsel, latency 0, IRQ 28

    Memory at f7800000 (64-bit, non-prefetchable) [size=4M]

    Memory at e0000000 (64-bit, prefetchable) [size=256M]

    I/O ports at f000 [size=64]

    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]

    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-

    Capabilities: [d0] Power Management version 2

    Capabilities: [a4] PCI Advanced Features

    Kernel driver in use: i915

  • In the absense of a boot log to show what the system is doing I have no clue and CvH will be the same. Neither of us are mind readers.

    @chewitt>

    kodi.log, it can be viewed here: http://ix.io/46Bx

    kodi_crash.log, it can be viewed here: http://ix.io/46By

    journalctl > all_logs.txt, it can be viewed here: http://ix.io/46Bz

    and kodi.log with debug logging enabled, it can be viewed here: http://ix.io/46BD

    If I should supply any other log, please let me know which one and I will supply it.

    Thanks in advance,

    Martin

    Edited once, last by mpavlis76 (August 4, 2022 at 2:25 AM).

  • I don't see any specific error in kodi.log.

    2022-08-04 02:37:28.121 T:2995 ERROR <general>: libva error: /usr/lib/dri/iHD_drv_video.so init failed

    since build 20220701

    could be:

    20220701-10d897b

    and therefore

    https://github.com/LibreELEC/MesaLibreELEC.tv/pull/6659

    CPU: Intel(R) Core(TM) i5-4570S

    with

    GPU: Intel® HD Graphics 4600

    - I wonder if it's really a MESA bug, cause my mother runs my old haswell nuc with a HD 4400 GPU, Fedora 36 and Mesa 22.1.4

    alas currently no access to the box (700 km away) -


    mpavlis76

    is there a /storage/.config/kodi.conf still active ?

    if so: remove the file and reboot

    P.S.

    I do for kernel testing usually this in an terminal:

    dmesg|grep -iEw 'bad|bug|conflict|corrupt|error|fail|failed|fault|fatal|invalid|Lock|NULL|segfault|stack|trace|warn'

    Edited 6 times, last by GDPR-7 (August 4, 2022 at 5:55 AM).

  • Code
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0x0000000001288ef0 in PVR::CPVRTimers::UpdateEntries(int) ()
    [Current thread is 1 (Thread 0x7f3deaffd640 (LWP 3107))]
    
    Thread 1 (Thread 0x7f3deaffd640 (LWP 3107)):
    #0  0x0000000001288ef0 in PVR::CPVRTimers::UpdateEntries(int) ()
    #1  0x000000000128a4dd in PVR::CPVRTimers::Process() ()
    #2  0x0000000000e62c53 in CThread::Action() ()
    #3  0x0000000001694446 in ?? ()

    Currently your kodi is crashing in PVR Manager when starting PVR Simple Client.

    Follow this post to remove the PVR addon and install the latest version. Please post new crash log if still failing.

  • No, there's no /storage/.config/kodi.conf at all. After discovering that the entry probably had no effect on Kodi, I "cleaned up" after myself and deleted the whole file again.

    I do for kernel testing usually this in an terminal:

    dmesg|grep -iEw 'bad|bug|conflict|corrupt|error|fail|failed|fault|fatal|invalid|Lock|NULL|segfault|stack|trace|warn'

    Thank you for your advice. After entering the command you mentioned, I get the following response:

    Looks good to me, don't you think? Or should I address some of the line I found?

    Anyway, thanks a lot!

    Martin

    Edited 2 times, last by mpavlis76 (August 6, 2022 at 10:44 AM).

  • Currently your kodi is crashing in PVR Manager when starting PVR Simple Client.

    Follow this post to remove the PVR addon and install the latest version. Please post new crash log if still failing.

    It works!

    1) I removed the PVR Simpe Client add-on

    2) after removing the PVR Simple Client, Kodi loads without any problem

    great, but.. as soon as I again downloaded and installed the latest version of PVR IPTV add-on from the official Kodi repo, than just after installing - probably in the moment, when Kodi tried to start PVR IPTV plug-in again, it immediately crash it (Kodi). From that moment, it is impossible to start Kodi again till I manually remove this PVR IPTV Client at all.

    mglae> Do you wand to analyse my logs? Just let me know, otherwise, I don't care.

    Maybe it would actually be best to report this directly to the creators of the PVR IPTV add-on, but unfortunately I have to admit that I actually have no idea how to do it "right" and make it useful in the end. But if someone points me in the right direction, I'll be happy to do it.

    Anyway, once again and many many thanks mglae!

    Martin

  • I'm unsure if this occurs because of latest updates in LE master (e.g. gcc12) and running older somehow incompatible binary addons.

    1) I removed the PVR Simpe Client add-on

    According to the post you have to remove .kodi.FAILED/addons/packages/* too.


    To be on the stable side again I recommend updating (at least) to nigthly image 20220806 to include glibc 2.36 and confirm you do have pvr.iptvsimple-20.4.0.2 installed on this.

    If still failing a new debug crash log show most helpful information.

  • mglae >

    Following your last advice, I simply removed the Simple IPTV PVR addon from my Kodi and that didn't solve the problem, but it did put it to rest. After a few weeks I saw the option to install the updated Sipmple IPTV, even in the latest version 20.6.0. I did the install, but unfortunately from that moment on LE is unable to boot and always ends up in Safe Mode.

    Following the instructions, I therefore obtained the appropriate logs:

    Can I please ask where the problem is?

    I tried to go through the logs and discover the problem in them myself, but without success.

    Can I ask for help?

    Thank you very much in advance,

    Martin

  • pvr.iptvsimple v20.6.0.2 should match image nightly-20220920-5d1ef41 so it's a different issue.

    It's still crashing in:

    Code
    Thread 1 (Thread 0x7f9297ff86c0 (LWP 9316)):
    #0  0x000000000128f510 in PVR::CPVRTimers::UpdateEntries(int) ()
    #1  0x0000000001290afd in PVR::CPVRTimers::Process() ()
    #2  0x0000000000e68ed3 in CThread::Action() ()
    #3  0x00000000016a2b66 in ?? ()
    #4  0x0000000000e66ba3 in ?? ()
    #5  0x00007f936543b403 in ?? () from /usr/lib/libstdc++.so.6
    #6  0x00007f9365601460 in ?? () from /usr/lib/libc.so.6
    #7  0x00007f936567aa2c in ?? () from /usr/lib/libc.so.6

    but I cannot see a reason for it.


    You can enable verbose debugging and disable safe mode with:

    Code
    touch /storage/.config/debug.enhanced
    touch /storage/.config/safemode.disable

    Please enable debug logging via advancesettings.xml

    When iptvsimple is crashing again do

    Code
    systemctl stop kodi
    pastecrash
    rm -rf /storage/.kodi/addons/pvr.iptvsimple
    systemctl restart kodi

    Please post the URL of pastecrash.


    Edit: this seems to be odd:

    Did you start with empty/deleted settings in /storage/.kodi/userdata/addon_data/pvr.iptvsimple?