Low fps on landscape mode
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
- Domain
- mobile-dev, performance
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
- Run any game using the mGBA or melonDS cores.
- Rotate your phone by 90 degrees to activate landscape mode.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libretro/RetroArch
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
All issues in libretro/RetroArch
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100