# Bad FPS on Raspberry Pi 5

**URL:** https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471
**Category:** Anthias
**Created:** [July 7, 2025, 8:10am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471 "2025-07-07T08:10:49Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![danonchik](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@danonchik](https://forums.screenly.io/u/danonchik)
#### Post date: [July 7, 2025, 8:10am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/1 "2025-07-07T08:10:50Z")

</div>

Hi!

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?

 ![photo_2025-07-07 11.03.38](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/2ee8d0e530eec1e6b5c1dc9f3bfaee636b071866.jpeg)

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [July 7, 2025, 1:40pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/2 "2025-07-07T13:40:54Z")

</div>

@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`.

In the meantime, I’ll take a closer look.

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [July 9, 2025, 8:45pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/3 "2025-07-09T20:45:58Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![albert-e](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@albert-e](https://forums.screenly.io/u/albert-e)
#### Post date: [July 10, 2025, 3:06pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/4 "2025-07-10T15:06:31Z")

</div>

I think you might have a power problem based on the CEC error. Are you using the required recommended 27W power supply for a RPI 5 board?

---

<div class="post-metadata">

### Author: ![danonchik](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@danonchik](https://forums.screenly.io/u/danonchik)
#### Post date: [July 16, 2025, 7:53pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/5 "2025-07-16T19:53:52Z")

</div>

I will check it in a couple of days. Thanks!

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [July 16, 2025, 8:04pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/6 "2025-07-16T20:04:47Z")

</div>

Got it, thanks @danonchik.

---

<div class="post-metadata">

### Author: ![jgims](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jgims](https://forums.screenly.io/u/jgims)
#### Post date: [August 1, 2025, 5:16am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/7 "2025-08-01T05:16:09Z")

</div>

Hi,

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?

Thanks.

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [August 1, 2025, 4:17pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/8 "2025-08-01T16:17:14Z")

</div>

Have you tried increasing the GPU memory via the boot config file?

- Edit `/boot/firmware/config.txt` and make sure that a [gpu\_mem](https://www.raspberrypi.com/documentation/computers/config_txt.html#:~:text=gpu_mem%252C%2520gpu_mem_256%252C%2520gpu_mem_512%252C%2520gpu_mem_1024%252C) config is present.
- If not, add the following config: `gpu_mem=<desired_memory_in_mib>`. For instance, ``gpu_mem=2048``.

---

<div class="post-metadata">

### Author: ![jgims](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jgims](https://forums.screenly.io/u/jgims)
#### Post date: [August 4, 2025, 4:40am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/9 "2025-08-04T04:40:11Z")

</div>

Thanks for your answer.

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?

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [August 4, 2025, 12:41pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/10 "2025-08-04T12:41:04Z")

</div>

@jgims, did you run VLC directly at the host machine?

Videos are being played inside the container so it might have something do with the issue.

Have you tried updating /boot/firmware/config.txt and changed the value of dtoverlay from `vc4-kms-v3d` to `vc4-fkms-v3d`?

---

<div class="post-metadata">

### Author: ![jgims](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jgims](https://forums.screenly.io/u/jgims)
#### Post date: [August 6, 2025, 5:02am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/11 "2025-08-06T05:02:02Z")

</div>

Yes, VLC was running at the host machine.

I tried to change `vc4-kms-v3d` to `vc4-fkms-v3d` in the “/boot/firmware/config.txt”. Now I can’t see the video, only video noise.

---

<div class="post-metadata">

### Author: ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)
#### Post date: [August 6, 2025, 5:47am UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/12 "2025-08-06T05:47:15Z")

</div>

@jgims, thanks. You can now revert it to the previous setting.

---

<div class="post-metadata">

### Author: ![vpetersson](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/vpetersson/32/8_2.png) [@vpetersson](https://forums.screenly.io/u/vpetersson)
#### Post date: [June 9, 2026, 3:18pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/13 "2026-06-09T15:18:47Z")

</div>

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](https://github.com/Screenly/Anthias/pull/2975)) and to pace them to the display ([#3006](https://github.com/Screenly/Anthias/pull/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.

---

<div class="post-metadata">

### Author: ![vpetersson](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/vpetersson/32/8_2.png) [@vpetersson](https://forums.screenly.io/u/vpetersson)
#### Post date: [August 17, 2026, 6:39pm UTC](https://forums.screenly.io/t/bad-fps-on-raspberry-pi-5/6471/14 "2026-08-17T18:39:29Z")

</div>

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.

For the original question about frame rate, the video rework in my earlier reply is the fix. Current release: [Release 2026.08.2 · Screenly/Anthias · GitHub](https://github.com/Screenly/Anthias/releases/tag/v2026.08.2)
