rust-windowing / rust-windowing/winit

Refresh rate capped at 60fps on iOS

Open
#4,358 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug DS - uikit
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Description

The refresh rate of application cannot go above 60fps currently on iOS. This is because the backend doesn't use MTKView which seems to be required to run games at high fps.

I have a working patch that I use in my game. It targets an older commit of winit to be compatible with bevy, but it can be used as a starting point.

Now, is migrating to MTKView something that is wanted at all ?

Device and iOS version

iPhone 14 Pro Max running iOS 26

Winit version

0.30.12

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

Review the linked working patch and the current iOS backend's view setup in winit 0.30.12, focusing on the proposed MTKView migration. Confirm whether the backend can support refresh rates above 60fps on the reported device, and document or implement the migration only if it fits the project's direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, rust
Domain
mobile-dev, performance
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.