UnleashedRecomp icon indicating copy to clipboard operation
UnleashedRecomp copied to clipboard

[GNU/Linux] Inconsistent frame rate on Wayland

Open ninstar opened this issue 3 months ago • 1 comments

On X11 the frame rate is very consistent and stays around 60 fps with some very occasional dips to 55-59 fps, while on Wayland, with the same graphics settings, the game is constantly hovering around 50 fps when boosting or in areas with lots of transparency effects, with stages like Jungle Joyride running at around 30/40 fps.

Clip comparing the performance: https://www.youtube.com/watch?v=T9gI0FTy5QE

I have tried different settings combinations (vsync on/off, transparency aa off, no anti aliasing at all) and force the game to run with different video drivers as described in the readme with no luck.

For context, I'm only having this issue with Unleashed Recompiled. So far I have not experienced performance drops like this in other games when using Wayland, either natively or via Wine.

System details:

  • OS: Ubuntu 24.04.3 LTS
  • CPU: Intel Core i5-11300H (Intel Iris Xe Graphics TGL GT2)
  • GPU: NVIDIA GeForce GTX 1650 Mobile (nvidia-driver-580-open)
  • Memory: 16gb SODIMM DDR4 3200mhz

ninstar avatar Oct 06 '25 08:10 ninstar

I am using Bazzite (new linux user here) and my experience is basically the same. The native version has pretty noticeable and unstable frame rate drops. On the other hand, the windows version (which I had when I used w10) through Lutris works perfectly smooth on the same parts the Linux version has frame drops.

I'll take this chance to also thanks all the people involved in this project, thank you so much for your efforts!

Edit: I wasn't aware of this, but using Flatseal to change Unleashed Recompiled's flatpak settings, you can turn off Wayland Window System, and the game will start using x11's compatibility mode. Performance seems much better that way.

Maesejesus avatar Oct 31 '25 14:10 Maesejesus

I am using Bazzite (new linux user here) and my experience is basically the same. The native version has pretty noticeable and unstable frame rate drops. On the other hand, the windows version (which I had when I used w10) through Lutris works perfectly smooth on the same parts the Linux version has frame drops.

I'll take this chance to also thanks all the people involved in this project, thank you so much for your efforts!

Edit: I wasn't aware of this, but using Flatseal to change Unleashed Recompiled's flatpak settings, you can turn off Wayland Window System, and the game will start using x11's compatibility mode. Performance seems much better that way.

I tried your suggestion in the edit, it indeed improved performance a lot. Thanks.

ninstar avatar Dec 08 '25 23:12 ninstar

I am glad that it works for others! sometimes it pays to be stubborn...

This also helps with other stuff, like Retroarch's current flatpak release having faulty fullscreen.

Maesejesus avatar Dec 11 '25 17:12 Maesejesus