Low fps on landscape mode

Open
#16,734 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, ios

Research direction

No source file, test, or entry point is named. First reproduce the issue on an iPhone X running iOS 17.5 with the mGBA or melonDS cores, comparing automatic landscape rotation with the 90- or 270-degree Video Rotation settings; done means stable 60 fps in landscape mode.

Written by the indexing model from the issue text.

Description

Description

When rotating my iPhone X from portrait to landscape, the game's framerate drops from stable 60 fps to around 30-40 fps. It sometimes briefly goes back to 60 fps while in landscape mode but at very irregular intervals. However, when I change the "Video Rotation" option to 90 or 270 degrees (Screen Orientation setting is unavailable in iOS), the game (excluding the overlays) goes to landscape mode but at a stable 60 fps.

Expected behavior

The game must be consistently at 60 fps while in landscape mode.

Actual behavior

The game drops to around 30-40 fps while in landscape mode.

Steps to reproduce the bug
  1. Run any game using the mGBA or melonDS cores.
  2. Rotate your phone by 90 degrees to activate landscape mode.
  3. Observe the fps drops.
Bisect Results

It started happening ever since my first install of retroarch up until this day.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.19.1
Environment information
  • OS: iOS v17.5
  • Compiler: Clang/LLVM (15.0.0 (clang-1500.3.9.4)) 64-bit
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

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.

More from libretro/RetroArch

All issues in libretro/RetroArch

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.