[2508.4][Brick] MPV broken

Attempting to playback any video results in the following error:
“Error opening/initializing the selected video_out (–vo) device.”

I’ve tried playback over the network, as well as from a local file.

After looking into this a bit more, I found the following:

MPV on TrimUI has five video outputs (mpv --vo=help):

Available video outputs:
  libmpv           render API for libmpv
  gpu              Shader-based GPU Renderer
  null             Null video output
  image            Write video frames to image files
  tct              true-color terminals

libmpv and gpu are broken, null, image, and tct work fine. For the outputs that worked, everything else was functioning too.

The issue appears to be isolated to the video output. This makes sense, considering a133 (TrimUI chipset) and H700 (Anbernic chipset) have different GPUs.

One other thing I noticed, mpv --vo=help reports an additional output on Anbernic devices (tested on RG35XXSP): sdl SDL 2.0 Renderer. Is there a reason this output isn’t available on TrimUI devices?

The issue turned out to be SDL was disabled in the make script. Knulli is built with a 32bit userspace, however SDL support in MPV requires support for 64bit atomics (and by extension a fully 64bit build). Since TrimUI devices lack support for 32bit applications anyway, I removed the offending condition. It worked.

Here are the compiled libraries:

1 Like

A complete success! This will be added to the next release.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.