libretro / libretro/RetroArch

[glcore] launching from cli does not work with overlays

Open
#19,573 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

When video_driver = glcore and input_overlay_enable = "true", the overlay png file does not render when launching from CLI.

In its place is a stale frame from the content's playfield, but at the fullscreen aspect ratio - the decorative overlay never shows.

Expected behavior

No response

Steps to reproduce the bug

After launching content, the content renders fullscreen at the wrong aspect ratio. About a half-second later, it resizes to correct aspect ratio leaving behind a stale frame where the overlay should have rendered.

This screenshot shows the symptom, although on a 1920x1080 display, the "border" is actually extended edge-to-edge and not 4:3 as shown here:
Image

Version/Commit

1.22.2

Bisect Results

No response

Present in the nightly version

Yes, this is reproduced in the nightly build

Platform & operating system

Linux aarch64

Affected Cores

all

Environment information

Perhaps related to #19569 - I do not have any issue using Vulkan driver from a Wayland desktop.

Relevant log output

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

Reproduce by launching content from the CLI with video_driver = glcore and input_overlay_enable = "true" on Linux aarch64, then compare the overlay result with the Vulkan-driver behavior mentioned in the issue. Trace the glcore startup and overlay-rendering path; done means the PNG overlay appears and the content keeps the correct aspect ratio without a stale frame.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
cli, computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.