libretro / libretro/RetroArch

Video freezing during rewind when shaders enabled with Metal-Build

Open
#13,243 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: metal gpu api: metal platform: osx prs welcome
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Rewinding with the Metal-Build of RetroArch on my M1 Macbook Air works as expected unless I enable and apply a shader. Afterwards video will freeze whenever I rewind. The Intel-Build doesn't do this.

Expected behavior

Video should be rewinding during rewind.

Actual behavior

Video freezes until rewind is finished. Then it skips and resumes at the current rewind-state

Steps to reproduce the bug
  1. enable rewind
  2. enable shaders and load any shader
  3. start any game with any core
  4. initiate rewind
  • OS: macOS Monterey 12.0.1

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 the freeze on an M1 Mac using the Metal build with rewind and any loaded shader, then compare it with the Intel build. Trace the rewind and video-rendering paths to determine why frames stop updating while shaders are enabled. Done means video visibly updates throughout rewind and resumes at the current rewind state afterward.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.