Ryujinx / Ryujinx

Experimental Nintendo Switch Emulator written in C#
https://www.ryujinx.org
MIT License
34.47k stars 3.93k forks source link

[Bug] Enabling Vsync destroys FPS (Linux, RX 6600XT) #6995

Open ctrl-alt-breathe opened 2 months ago

ctrl-alt-breathe commented 2 months ago

Description of the issue

I'm running Ryujinx on my Archlinux PC with an R5 5600X and RX 5600XT. Without vsync enabled, games get 150+ FPS constantly which is of course unplayably fast. But when I enable vsync, it often drops to 30-40 for seemingly no reason.

Reproduction steps

Enable or disable vsync

Log file

Ryujinx_1.1.1340_2024-07-01_22-52-55.log

OS

Archlinux

Ryujinx version

1.1.1340

Game version

N/A

CPU

Ryzen 5 5600X

GPU

RX 5600XT

RAM

16GB

List of applied mods

No response

Additional context?

No response

ekuland commented 2 months ago

Enabling vsync will drop the framerate to what the game is requesting. On most switch games this is 30fps. This is intended.

Although this log is for mk8 which should be a 60. Is this log specifically for a game that is dropping to '30/40'?

aelsi2 commented 1 month ago

Experiencing the same issue in Mario Wonder. CPU: Intel Core i7 12700H RAM: 16 GB GPU: NVIDIA GeForce RTX 3060 Laptop GPU OS: Arch Linux Emulator version: 1.1.1352