libretro / libretro/RetroArch

Overlays appear to be overly resource heavy

Open
#10,688 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

overlays platform: rpi4
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

On Pi 4 (4GB) when overlays are applied in conjuction with a shader there is noticable frame skip/stuttering, despite the FPS readout showing a steady 60FPS. Has been discussed on forums and a few users have indicated that the overlays appear to be overly resource heavy and are the root cause of the issue (as opposed to shaders). This is with the system resolution set to 1080p and the overlay image size 1080p.

Expected behavior

Image should be fluid with no apparent frame dropping/stuttering.

Steps to reproduce the bug
  1. Ensure Pi 4 resolution set to 1080p
  2. Boot into Retropie/EmulationStation
  3. Open Street of Rage 2 ROM in either lr-genesis-plus-gx or picodrive
  4. Set any 1080p overlay
  5. Set zfast-crt shader
Environment information
  • OS: RetroPie 4.6 (md5: 9154d998cba5219ddf23de46d8845f6c) from official website

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Reproduce the report on a Raspberry Pi 4 at 1080p with a 1080p overlay and zfast-crt shader, then trace the overlay-and-shader rendering path. Done means the image is fluid without visible frame skipping or stuttering.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi
Domain
computer-graphics, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.