Posts by popcornmix

    Soooo... first thanks for the help and second, how come gpu_mem=96 isn't the default instead of 76?

    The Pi's hardware video decoder is designed for level High Profile, level 4.1 H.264 encodes, as used by Blu-Ray.

    We'll play any file encoded to that format with the default gpu_mem.

    My guess if your file has been badly encoded (possibly a large number of reference frames requiring level 5).

    You may be able to play these with increased gpu_mem (but it's not guaranteed). Best to avoid these encodes if you can.

    This doesn't sound like a LibreELEC issue.

    And USB isn't something I know too much about.

    I'd suggest opening a kernel issue and describing the issue,

    where a USB expert may have better advice.


    If you can reproduce the issue with RPiOS then that would be even better (as there may be more debugging tools available).

    My videos are encoded as AVC 5.1 with 16 reference frames, and will only play audio, the screen freezes and GUI elements start leaving trails on the screen. If I press top, the screen returns to normal.

    The Pi hardware decode is only specced for level 4.1 (which is the BluRay standard).

    Don't encode videos like that.

    If you set gpu_mem (in config.txt) high enough, the videos will probably play, but you may have issues with the reduction in arm side memory this results in.

    If you add vc4.force_hotplug=1 to cmdline.txt (on existing line) the the Pi will never know if the TV or AVR has been switched off.

    It will be outputting exactly the same signal before and after. Does that change anything?

    Code
    Feb 16 19:10:56.709875 LibreELEC kernel: vc4-drm gpu: [drm] *ERROR* Failed to read TMDS config: -121

    I've never seen this error on a Pi. It comes from an SCDC command to check scrambling status (something specific to 4kp60 modes).

    This uses the I2C pin (also used for reading edid) to communicate with the display.

    I'd typically suggest trying with a different hdmi cable, trying a different hdmi input to display, or trying a different display.

    But:

    Quote

    As of today, I use an RPi4 4GB in an Argon One housing.

    Argon cases are widely reported to cause hdmi issues, so first step would be to test without the case.


    A workaround would be to avoid 4kp60 modes (4kp30 should be okay).

    As most 4k content is 24fps or 30fps this may not lose you much.

    Choose 1080p60 as GUI resolution and enable 4kp24 and 4kp30 in the whitelist.

    4:2:2 MPEG2 content triggers a restart from the LE splash screen

    4:2:2 h.264 content also triggers a restart from the LE splash screen

    I've just tested and some similar files are playing for me (nighyl LE12 on Pi5):

    and

    (10-bit, 12-bit, and 444 variants also playing). So I guess there's something different in your files.

    4:2:2 video like that currently causes my LE Pi 5 to reboot - though AIUI the CPU should be fine to decode it in software (as it also should 4:2:2 MPEG2) so this is less likely to be a hardware limitation on the Pi 5, more a software issue that needs some work.

    Is this LE11 or LE12? I did spend a while making sure the software paths for the all the weird formats I would find (which did include 422/444 as well as 10-bit/12-bit) did the right thing. That may be LE12 only.

    If LE12 fails, can you point me at a sample file that crashes and I'll look into it.