Posts by ghtester

    It's hard to say but it looks the current HDMI detection procedure needs to be optimized a bit.

    So I would try to configure the LE to work with some fixed monitor settings, to boot properly and work even without monitor attached.

    One way could be through kernel boot parameters (look here: Force HDMI OUTPUT ), the second way (which helped me when I permanently lost HDMI audio on my old monitor after some recent LE 11 Nightly update) could perhaps be the EDID save from working configuration (working monitor attached) as outlined above. Hope this could help. Try to run getedid create at home before travelling and you'll see... If it does not help, you may remove it through getedid delete and then reboot LE.

    BTW. Maybe it could be useful for developers to have the edid files from not-working configurations to analyze.

    If i am not mistaken, the edid create saves the edid-HDMI-A-1.bin file to /storage/.config/firmware/edid/ folder (and also edid-HDMI-A-2.bin for devices with two HDMI ports like RPi 4B etc.).

    And it's possible to look what's there with:

    edid-decode /storage/.config/firmware/edid/edid-HDMI-A-1.bin

    Hello, thanks for the feedback, I can't confirm as I don't plan reverting, hopefully the issue will disappear in future with some kernel update.

    The bad thing is I can't reproduce it easily whenever I want even on the current LE release, because it's more or less a random trouble.

    I believe it could be a kernel issue as I have found some similar issue reports across platforms, for instance like these:

    Linux 5.15.32 sometimes failing to initialize USB · Issue #5064 · raspberrypi/linux
    Describe the bug Hi! I have built a yocto-image for my CM4, and I'm using linux 5.15.32 from this repository. The CM4's USB2 lines are connected to a…
    github.com

    [Bug 215095] New: USB ehci error -110 and soft lockup on kernel 5.15.4 as kvm guest

    Keyboard & mouse stop working with kernel Ubuntu-5.13.0-22.22-387-g0fc979747dec - xhci: Fix command ring pointer corruption while aborting a command
    tl;dr: Keyboard & mouse don't work with certain kernels. Not asking for a workaround, I already have that. Using git bisect, I have identified the exact…
    askubuntu.com

    I am experiencing a serious issues related to USB layer on two RPi 4B devices running LE 11 Nightly builds, currently with 5.15.61 Linux kernel.

    The issue often happens when the DVB-T2 tuner is switched to another channel, sometimes after moving the timeshift point.

    Then sometimes the communication with USB devices is stopped and can be restored only after switching the RPi's USB ports off and on (with uhubctl app).

    Tested with both USB2 and USB3 ports - ihe issue is the same, also with USB device connected through USB hub. In past the same HW configuration (DVB-T2 adapter connected directly to USB2 port) worked stable.

    1) RPi 4B/4GB, DVB-T2 USB adapter MyGica, LE 11 Nightly running from microSD card

    [169263.505276] rpivid feb10000.codec: PPS changed

    [169271.569528] rpivid feb10000.codec: Missing DPB ent 0, timestamp=0, index=-1

    [169271.569554] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.569569] rpivid feb10000.codec: Missing DPB ent for col

    [169271.569892] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.569908] rpivid feb10000.codec: Missing DPB ent 2, timestamp=0, index=-1

    [169271.570661] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.570682] rpivid feb10000.codec: Missing DPB ent 2, timestamp=0, index=-1

    [169271.571438] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.582707] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.582743] rpivid feb10000.codec: Missing DPB ent for col

    [169271.583107] rpivid feb10000.codec: Missing DPB ent 2, timestamp=0, index=-1

    [169271.583979] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.584007] rpivid feb10000.codec: Missing DPB ent for col

    [169271.606637] rpivid feb10000.codec: Missing DPB ent 0, timestamp=0, index=-1

    [169271.606683] rpivid feb10000.codec: Missing DPB ent for col

    [169271.617299] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.622094] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169271.623300] rpivid feb10000.codec: Missing DPB ent 2, timestamp=0, index=-1

    [169274.794931] rpivid feb10000.codec: Missing DPB ent 0, timestamp=0, index=-1

    [169278.516161] rpivid feb10000.codec: Missing DPB ent 0, timestamp=0, index=-1

    [169278.516191] rpivid feb10000.codec: Missing DPB ent for col

    [169278.516705] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169278.517243] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169278.517756] rpivid feb10000.codec: Missing DPB ent 1, timestamp=0, index=-1

    [169283.314023] rpivid feb10000.codec: Missing DPB ent 0, timestamp=0, index=-1

    [169288.378889] usb 1-1.4.3: dvb_usb_v2: 2nd usb_bulk_msg() failed=-110

    [169290.512245] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169292.645613] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169294.779013] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169296.912419] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169299.045814] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169301.179150] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169303.312507] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169305.445876] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169307.579278] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169309.712668] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169311.849398] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169313.979432] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169313.979458] usb 1-1.4.3: dvb_usb_v2: streaming_ctrl() failed=-110

    [169316.112800] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169318.249541] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169320.379557] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169322.512963] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169324.646339] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169326.779696] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169328.913097] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    [169331.046493] usb 1-1.4.3: dvb_usb_v2: usb_bulk_msg() failed=-110

    2) RPi 4B/2GB - DVB-T2 USB adapter Astrometa, LE 11 Nightly running from USB/SATA adapter + SATA HDD

    With this configuration the USB issue does not happen so often but leads to complete LE crash as it is running from USB/SATA adapter.

    It seems the issue is related with 5.15 kernel revision which brought the unstability to USB layer.

    Unfortunately I don't own this kind of HW so can't offer any personal experience. So just some links to posts of another users with the same / similar issue:

    Posts by rua1 - LibreELEC Forum

    rua1
    February 11, 2020 at 4:16 PM
    Bier2020
    April 4, 2019 at 8:36 PM

    Perhaps some of developers could give a comment on this.

    If the image was written correctly, perhaps your USB/HDD adapter is not supported by kernel.

    Try another imaging tool to confirm the issue still persist, also check if the FAT partition is active.

    You may also test the latest LE 11 Nightly build from test.libreelec.tv and if the issue is still the same, use another USB/HDD adapter.

    Try to read this thread and follow the adviced steps (valid for safe mode after bootloop):

    Malocher
    July 23, 2022 at 5:39 PM

    What are your video and audio codecs?

    Here it's hevc and aac.

    Even with a good signal quality, after switching to another TV channel, sometimes the audio is not detected properly. Very annoying and long lasting bug. Usually there are 2 options selectable in the audio stream settings:

    Czech - AAC - 2 channels (1/2)

    Czech - AAC - 1 channels (2/2)

    Where the first one is working option which is usually selected automatically. The second option (Czech - AAC - 1 channels (2/2)) is producing silent only.

    And sometimes after switching the channel, there's only the second (thus not working) option is there or there's even no audio stream option available.

    Switching to another channel and back usually fixes the issue .

    In Kodi you need to go through TV / Recordings menu and then invoke the ContextMenu (of course if you have that function keymapped), then select Delete or Delete watched option.

    In case your remote control does not support it, you can navigate to the TV / Recordings menu and invoke the submenu from ssh console with kodi-send --action="ContextMenu" command.