New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Micro stuttering linux #6741
Comments
After the last update 1.1.1294, the mcrostuttering problem disappeared. I can't understand how the nature of the update could have affected the solution of the problem. (mouse problems with avalonia UI)? In any case, it's better that way. |
Nothing, after a restart of the pc the problem recurred. |
If you'd like to give it a try https://github.com/Ryujinx/release-channel-master/releases/tag/1.1.1215 |
With the version linked above, the problem of microstuttering is not there. The problem is that some games in my possession don't start, while with the latest release they do. Otherwise I would have used this one. Thank you |
You can also build the master build locally and inside of the Ryujinx,GTK3 folder you'll find the one you want. |
Thank you. I'll try to study the whole thing. I don't have any skills on compilation. |
As far as the compilation is concerned, it was successful, but at the time of launching the executable it gave me an error regarding libc6. And here I am stopped for incompetence :) |
Nothing, I've done countless tests and on some games. Microstuttering is still present. In a minor form but occasionally it shows up. In all versions prior to the introduction of avalonia, microstuttering does not occur. At this point, I deduce that the problem is not in the OS but something related to the new graphical interface. |
I've done a lot of testing with a few games that were suffering from the problem. After the latest updates I found out that in opengl the problem is solved. Stay using Vulkan. It's not a problem because in opengl on linux the games all run well, with no performance differences with vulkan. |
I found the solution. I disabled in the nvidia driver settings "Sync to Vblank" and the stuttering is gone. Also in the latest version of ryujinx. |
I did some more tests. I assumed that the problem was the sync. I put the Vulkan driver back in and in the Nvidia panel I checked, as originally, Sync To Vblank. All by default. If you launch the games in a window and then put it in full screen, the problem recurs. By launching the game directly in full screen, there is no stuttering. The problem is resolved. I ask the developers: could it be that by switching from the window to the full screen, the Vsync goes into crisis? |
I have to change my mind, the problem reappears randomly. With the latest version in gtK3 everything is smooth. Problem occurred after the update with ava. Can't you also put the compiled version in GTK3 as before? |
Disabling logging helped (not fixed) my Avalonia settings lag a bit Since it seems Avalonia is the cause of your stuttering, I'm not sure this will help, but since you talked about Vsync - |
Thank you for your reply. I've already tried to disable the logs. I then followed various guides on the web for vsync with all the possible recommended combinations. The problem is that with a old interface, whatever you put there is no problem. With the new versions, yes. At this point, I think it doesn't matter what changes you make at the os/driver level. |
I have to thank you, I didn't turn off all the logs, and now, after 40 minutes of gameplay, no stuttering |
Today I played the same game as yesterday and the problem comes up again. At this point I tried to recreate the same conditions as yesterday and maybe I found what causes the stuttering. The latest release of ubuntu suffers from a window overlapping issue. When I launch ryujinx, sometimes, I leave the file manager window open underneath. After various tests I noticed that without windows underneath, there is no stuttering. That's why sometimes there wasn't a problem and sometimes it was. With the gtk3 interface it doesn't. I think I've solved it. I hope :) |
Nothing. I give up. Problems that are beyond my capabilities. Stuttering recurs randomly. I hope the developers take into account the fact that with the old GTK3 graphics backend the problem was not there. With the new GUI, yes. I pass and close. |
Here I am, as I get discouraged, but I never give up. Today I tested the old versions 1.1.1215 and 1.1.086 in gtk3 and confirm that they did not suffer from the problem. But there were lines at the bottom of the screen, a symptom of vsync out of sync. I tried mangohud with the latest version of Ryujinx 1.1.1316. Removed Vsync and locked fps to 60 with mangohud. It was a sync issue now solved. For this I thank the good RickAndTired. |
Description of the issue
Ubuntu 24.04, kernel Linux 6.8.0-31-generic - Proprietary NVIDIA 535 drivers. Several games suffer from micro stuttering, both with opengl and vulkan. This problem doesn't exist if I run the same games with an old version (1.1.1086 same kernel, same drivers). The problem started a few months ago. Could it be due to the new avalonia UI? Is there a version 1.1.1291 with the old UI (gtk3) to test?
Reproduction steps
Several games suffer from micro stuttering
Log file
Ryujinx_1.1.1293_2024-04-28_20-16-41.log
OS
Ubuntu linux 24.04
Ryujinx version
1.1.1291
Game version
1.0
CPU
12th Gen Intel® Core™ i5-12400F × 12
GPU
NVIDIA GTX 1650
RAM
16gb
List of applied mods
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: