I have tried to upload an mp4, 720p video on Anthias player using Raspberry Pi 5. The FPS is very low (around 15-20 FPS). How do I fix this issue? The Pi 5 was connected to a Haier 65’ TV using standard HDMI port and a cooling case. As you see, it doesn’t really utilize the whole RAM. How do I improve the FPS?
@danonchik, let me check this one. How did you install Anthias on your Raspberry Pi 5?
If you installed Anthias on top of Raspberry Pi OS Lite, have you tried increasing the shared memory (SHM_SIZE in bin/upgrade_containers.sh)? If you are to adjust the value of SHM_SIZE, you could re-run ./bin/upgrade_containers.sh.
@danonchik, have you tried updating /boot/firmware/config.txt and modify gpu_mem_1024 or gpu_mem (if the former doesn’t work) to a higher value? Make sure to reboot the device after changing the config.
I do have the same problem. I installed Anthias over Raspi OS Lite 64 bit and everything works fine until the video playback. The video plays with low fps. I tried to increase “gpu_mem_1024=512” and changed “export SHM_SIZE_KB=“$(echo “$TOTAL_MEMORY_KB” * 0.3 | bc | cut -d’.’ -f1)” to “export SHM_SIZE_KB=“$(echo “$TOTAL_MEMORY_KB” * 0.6 | bc | cut -d’.’ -f1)”.
A 720p video plays well, but 1080p has low fps.
But the video playback is still with low fps. Any ideas what may cause the problem?
I edited the `/boot/firmware/config.txt` an added `gpu_mem=2048`. After a reboot there was no change in the video playback. Low fps as before
Edit: I’ve installed VLC-Player on the raspi an played the file with hardware acceleration. The video played well with full fps. Is there an option in anthias the enable hardware acceleration?
This is exactly what a recent rework targets. The old way the player drew video was capped at roughly 8 to 12 frames per second, because each frame made a slow round trip through the CPU before being shown. The video path was rebuilt to draw frames directly on the screen (#2975) and to pace them to the display (#3006), which removes that cap. Please update to the latest release and your Pi 5 video should be much smoother. Marking this as solved. If it is still choppy on the latest, share the video details and we will look.
One correction on this thread, because this comes up a lot.
The “CEC error” line in System Info was not evidence of a power problem. Before 2026.08.1 that card was built on libcec, which cannot select the kernel CEC device, so the query often failed and the card reported an error regardless of the display, the cable or the power supply. It told you nothing about the health of the Pi.
That was rewritten in 2026.08.1 on the kernel CEC API. The card now separates the cases: “No CEC display detected” for a display that does not answer CEC, which is normal and not a fault, “No CEC adapter” for hardware with no CEC at all, and “CEC error” only when a query genuinely fails.
If you do want to know whether a Pi 5 is being underpowered, 2026.08.2 added a real check for it. The web interface now warns you when the power supply cannot hold its voltage, based on the under-voltage flags the hardware itself reports. That is the signal to watch, not the CEC card.