Posts by lnoferin

    Try to connect the dongle(s) with an USB extension cable(s) or with an USB hub. Perhaps there's a high-frequency noise from RPi (or from the USB3 key) which breaks the dongle's wireless communication so it may be better if you move them as far as possible from RPi's board. Also try to replace batteries with fresh ones.

    It worked, thanks!

    The keyboard began to work normally, the remote is not working yet but I think this is due to a hardware problem.

    Thanks again!

    Depending on how old your RPi4 is, you may still have to update its firmware for booting and the USB3 controller. If that has not yet been done, then you'll have a challenge getting the RPi4 to boot from USB.

    Booting goes fine and everthing works but not the keyboard and remote.

    It is something like these devices do not receive enough current but I cannot read anything in the log e/o in dmesg.

    Quote

    Perhaps you can still fix the SD slot problem(s).

    I think I will need some micro-soldering.

    Hello,

    I have a raspberry pi4 working fine booting from the sd card with libreelec stable and using a wireless microsoft keyboard and a remote with usb dongle attached to usb 2 ports.

    But some days ago the sd socket broke a little and it is no more well attached to the motherboard.

    So I used a usb key to boot the system using the usb 3 port and quite everything worked fine but the usb keyboard and remote are not working anymore because the key pressed are received only sometimes. I can control Kodi using the kore remote program and the web interface.

    I tried to boot also with a usb ssd with external power supply but the problem remains.

    I cannot see any clue in dmesg and kodi.log.

    I have similar symptoms either with video and flac files taken from a NAS connected via ethernet cable (I tried to report this problem in [Raspberry PI4] Can't watch anymore movies).

    I tried your hint with advancedsettings file but without solution: http://ix.io/2QWP here is the log trying to play a flac file.

    I saw many lines with this error:

    Code
    2021-02-26 16:46:27.563 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] invalid coeff precision
    2021-02-26 16:46:27.563 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] decode_frame() failed
    2021-02-26 16:46:27.573 T:2020668272   DEBUG: ffmpeg[7870F370]: [NULL] sample/frame number mismatch in adjacent frames
    2021-02-26 16:46:27.574 T:2020668272   DEBUG: ffmpeg[7870F370]: [NULL] crc check failed from offset 0 (frame 1967) to 3037 (frame 1967)
    2021-02-26 16:46:27.574 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] invalid residual
    2021-02-26 16:46:27.574 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] decode_frame() failed

    Mp3 files is working fine

    I have a raspberry PI4 (4g of ram) connected to my nas via ethernet.

    Until three days ago I could watch movies and listening music fine but now watching movies is not possible because the playing jumps, the images are "mixed" and then it stops.

    In the log I can see this error trying to see a movie .mkv (with mpeg-4)

    Activating the debug log I can see these messages:

    Code
    2021-02-21 14:05:03.420 T:2681721712   DEBUG: CMMALRenderer::Process - debug vsync:269592 queue:0 fps:23.94/23.98/60.00 inc:0.400000 diff:0.000000
    2021-02-21 14:05:03.420 T:2681721712   DEBUG: CMMALRenderer::Process - omvb:(nil) mmal:(nil) vsync:269592 queue:0 diff:-1.000000
    2021-02-21 14:05:03.436 T:2681721712   DEBUG: CMMALRenderer::Process - debug vsync:269593 queue:0 fps:23.94/23.98/60.00 inc:0.400000 diff:-0.600000
    2021-02-21 14:05:03.438 T:3011249488   DEBUG: CMMALRenderer::Update
    2021-02-21 14:05:03.438 T:3011249488   DEBUG: CMMALRenderer::RenderUpdate - MMAL: clear:0 flags:0 alpha:255 source:0 omvb:0xa8f8ca58 mmal:0x78ccb3a8 mflags:0 len:368640 data:0xc enc:I420
    2021-02-21 14:05:03.439 T:1755231088   DEBUG: CDecoder::FFReleaseBuffer buf:0x4b3a610 gmem:0x78b14f80
    2021-02-21 14:05:03.439 T:1755231088   DEBUG: CDecoder::FFGetBuffer 720x304 format:0:0 flags:1
    2021-02-21 14:05:03.439 T:1755231088   DEBUG: CDecoder::FFGetBuffer buf:0x76ce95d0 mmal:0x78ccbeb8 gmem:0x7aac26d0 avbuf:0xaaa45000:0xaaa81000:0xaaa90000
    2021-02-21 14:05:03.440 T:1755231088   DEBUG: CDecoder::Decode - mmal:0x78ccbeb8 buf:0x76ce95d0 old:0xa8f8c750 gpu:0x7aac26d0 720x304 (768x320)
    2021-02-21 14:05:03.440 T:1755231088   DEBUG: CDecoder::GetPicture - mmal:0x78ccbeb8 dts:332.753 pts:332.753 buf:0x76ce95d0 old:0xa8f8c750 gpu:0x7aac26d0 720x304 (768x320)

    I cannot find any other clue.