[Bug] Ryujinx runs slower when the window is focused #716

Open
opened 2025-02-24 15:51:19 +00:00 by bwzwiener · 2 comments
bwzwiener commented 2025-02-24 15:51:19 +00:00 (Migrated from github.com)

Description of the issue

When another window is focused, (or no window is focused), ryujinx framerate jumps significantly.

Ryujinx is still visible and playable with controller, just cannot be the focused window.
Have tried multiple versions, changing task priority to maximum, turning on and off shader caching, pptc, AA.

The issue seems cpu related, consistent 8% utilization due to ryujinx on focus, 12% when not focused.

Reproduction steps

Have not tested on fresh install on new computer, but for me:

Any new install instantly has the issue on first launch. Testing with Monster hunter Generations Ultimate.
~24 fps when focused, 60 when not (60 fps cheat enabled as the only cheat), 30 fps when not focused if cheat is disabled

No issue on steam deck install, game runs at stable 30 fps

Log file

Ryujinx_1.2.82_2025-02-24_10-19-24.log
Ryujinx_1.2.82_2025-02-24_10-39-09.log
Ryujinx_1.2.82_2025-02-24_10-40-06.log

OS

Windows 11

Ryujinx version

1.2.82, 1.2.81, 1.2.80, likely more

Game version

1.4.0

CPU

i7-11700k

GPU

NVIDIA RTX 3080ti

RAM

32GB

List of applied mods

60 fps cheat

[60 FPS]
58000000 018A6210
78000000 0000243C
64000000 00000000 42700000

Problem still occurs without cheat, just goes to 30 fps instead of 60 when not focused

Additional context?

Can send any additional information if requested

### Description of the issue When another window is focused, (or no window is focused), ryujinx framerate jumps significantly. Ryujinx is still visible and playable with controller, just cannot be the focused window. Have tried multiple versions, changing task priority to maximum, turning on and off shader caching, pptc, AA. The issue seems cpu related, consistent 8% utilization due to ryujinx on focus, 12% when not focused. ### Reproduction steps Have not tested on fresh install on new computer, but for me: Any new install instantly has the issue on first launch. Testing with Monster hunter Generations Ultimate. ~24 fps when focused, 60 when not (60 fps cheat enabled as the only cheat), 30 fps when not focused if cheat is disabled No issue on steam deck install, game runs at stable 30 fps ### Log file [Ryujinx_1.2.82_2025-02-24_10-19-24.log](https://github.com/user-attachments/files/18945766/Ryujinx_1.2.82_2025-02-24_10-19-24.log) [Ryujinx_1.2.82_2025-02-24_10-39-09.log](https://github.com/user-attachments/files/18945765/Ryujinx_1.2.82_2025-02-24_10-39-09.log) [Ryujinx_1.2.82_2025-02-24_10-40-06.log](https://github.com/user-attachments/files/18945767/Ryujinx_1.2.82_2025-02-24_10-40-06.log) ### OS Windows 11 ### Ryujinx version 1.2.82, 1.2.81, 1.2.80, likely more ### Game version 1.4.0 ### CPU i7-11700k ### GPU NVIDIA RTX 3080ti ### RAM 32GB ### List of applied mods 60 fps cheat [60 FPS] 58000000 018A6210 78000000 0000243C 64000000 00000000 42700000 Problem still occurs without cheat, just goes to 30 fps instead of 60 when not focused ### Additional context? Can send any additional information if requested
dxgldotorg commented 2025-02-26 16:34:53 +00:00 (Migrated from github.com)

Could be an issue with drivers or Game Mode. On my PC, FurMark gets capped to 60fps when it is in focus but runs full speed when out of focus.

Could be an issue with drivers or Game Mode. On my PC, FurMark gets capped to 60fps when it is in focus but runs full speed when out of focus.
bwzwiener commented 2025-02-27 02:26:47 +00:00 (Migrated from github.com)

Certainly a possibility. Strange that it fluctuates around 23-25 fps though, so definitely not some sort of hard cap on refresh, must be some sort of utilization limit if anything.

Certainly a possibility. Strange that it fluctuates around 23-25 fps though, so definitely not some sort of hard cap on refresh, must be some sort of utilization limit if anything.
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#716
No description provided.