Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-01-21 15:57:49

manu
Member
Registered: 2023-01-21
Posts: 4

Heavy stuttering in games under XFCE 4.18

Hello!

I run XFCE 4.18 on Arch Linux. When I use Lutris, I have noticed that playing under XFCE introduces a large amount of stuttering that is not present when gaming under a different DE/WM. Basically, the game has micro-freezes every second or so, independently of the actual point of the game: this happens constantly even in static, 2D scenes and in very old games. If I run the same game, with identical Lutris settings and identical xorg.conf file, but switch DE in my `.xinitrc` from XFCE to say, Cinnamon or i3, the level of stuttering reduces dramatically. Mavbe it's not stutter-free, but it playable while under XFCE it is absolutely unbearable. This happens with both OpenGL and Vulkan games.

Information:

* OS: Arch Linux
* GPU: NVIDIA Geforce GTX 1060 6GB
* Driver: nvidia binary driver 525.85.05
* Xorg 21.1.6
* XFCE 4.18

Things I have tried:

* Disable the compositor
* Disable vsync via `xfconf-query -c xfwm4 -p "/general/sync_to_vblank" -s false`
* vsync via mangohud

Nothing worked.

Last edited by manu (2023-01-21 15:58:44)

Offline

#2 2023-01-21 17:47:51

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Heavy stuttering in games under XFCE 4.18

Hello and welcome.

I don't have an nvidia card to help, just wanted to point you to this open bug report where I believe something similar is being discussed. There are some workarounds and solutions listed there, especially towards the end. Perhaps it can be of help?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2023-01-22 10:48:22

manu
Member
Registered: 2023-01-21
Posts: 4

Re: Heavy stuttering in games under XFCE 4.18

Thanks!

I'm reading the other issue looking for tips.

For completeness, I'll add that further tests show that this issue is apparently also game dependent. In most Windows games I've tried so far under Lutris the amount of stuttering is much worse under XFCE than in any other DE, but surprisingly some games do not show this issue. For example, the GOG version of Doom 64, which uses the KEX Engine, is absolutely perfect, no matter which API I ask it to use (OpenGL Vulkan or DX11, which is then wrapped via DXVK, the same exact DXVK that tuttering games use).

This is puzzling to say the least.

Offline

#4 2023-01-22 12:07:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Heavy stuttering in games under XFCE 4.18

Did you try the suggestion about disabling g-sync for xfwm4? If that is the case as suggested in that post, then the other DEs (compositors) are already blacklisted by the nvidia driver but not xfwm4.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2023-01-28 09:03:43

manu
Member
Registered: 2023-01-21
Posts: 4

Re: Heavy stuttering in games under XFCE 4.18

I forgot to mention that my screen is not G-Sync capable. I still tried that suggestion but it did not help.

For comparison, I tried a clean installation of Garuda XFCE on the same hardware (without any tweaks at either system level or via Lutris), and while it also stuttered, it was much less frequent. So this is probably an issue with my local configuration.

Offline

#6 2023-01-28 15:47:41

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Heavy stuttering in games under XFCE 4.18

It appears that garuda uses the same repositories as Arch and more importantly, the same xfwm4 package. It does however, ship with its own xfwm4 configuration settings.

Can you test the different vlbank modes as detailed here to see if there is any noticeable difference?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2023-02-05 10:50:17

manu
Member
Registered: 2023-01-21
Posts: 4

Re: Heavy stuttering in games under XFCE 4.18

I tried the solution described in the link but it made no difference.

Offline

Board footer

Powered by FluxBB