[iOS/iPadOS] Fullscreen mode on extended display rendered and scaled incorrectly.

Open
#20,068 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c, ios
Domain
frontend, mobile

Research direction

Start by tracing how RetroArch determines the active display's size and fullscreen window dimensions on iPadOS, then follow the video-driver paths used by Metal, Vulkan, and GL. The report names no source files or tests; reproduce with an iPad connected to an extended display and compare the window and reported video mode. Done means the frontend and cores render across the full external display at the correct scale.

Written by the indexing model from the issue text.

Description

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

I have hooked up my iPad Pro M2 to my 4K tv and set it as extended display.
When extending retroarch to a fullscreen window, it shows up partially, with the rest of the screen in black.
Video modes report the iPad's builtin screen resolution. Changing monitor indexes or drivers doesn't change this behaviour.
This also happens inside the cores themselves.

I have recorded a video through my phone showing the issue (the built-in screen recorder would keep interrupting so, apologies about the poor quality):
https://www.youtube.com/watch?v=YMFznuTDHzw

Expected behavior

RetroArch window would correctly use the whole screen window to render frontend and cores.

Steps to reproduce the bug
  1. Hook up external display and set it to Extended Display in the iPad's settings.
  2. Launch retroarch in extended display
  3. Bug visible immediately on non-fullscreen window
  4. Bug also visible on fullscreen
  5. Resizing the window also seems to be weird
Version/Commit

1.22.2

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

iPadOS 27.2

Affected Cores

Beetle PSX HW (0.9.44.1-GLES3 d6383bf), Mupen64Plus-Next (2.8-Vulkan 680e033), bsnes (115)

Environment information
  • Installed through App Store
  • Affects Metal, Vulkan and GL video drivers
  • iPad model: iPad Pro (12.9-inch) (6th generation)
Relevant log output

Dominant language
C
Stars
14.6k
Forks
2.4k
Avg merge
2d 5h
Merged PRs (30d)
63

Getting set up

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.