You are not logged in.

#1 2017-08-06 15:42:06

Math
Member
Registered: 2011-10-10
Posts: 40

[SOLVED] Bad performance in Xfce for games

I've been testing some native games on my Dell XPS 13 (1943, Intel HD 5500) , and I'm getting much better performance(more fps/no tearing) in Gnome(Xorg) than with Xfce on Xorg.

How is this possible, even with a lightweight DM like Xfce?

Last edited by Math (2017-08-06 17:03:11)

Offline

#2 2017-08-06 16:06:57

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED] Bad performance in Xfce for games

wayland?

Offline

#3 2017-08-06 16:26:14

Math
Member
Registered: 2011-10-10
Posts: 40

Re: [SOLVED] Bad performance in Xfce for games

ugjka wrote:

wayland?

No, like I said in Xorg. smile
I'm not using Wayland since most games can't find other native resolutions. I'm also not able to use xrandr in Wayland, so I just run Gnome on X.

Last edited by Math (2017-08-06 16:28:20)

Offline

#4 2017-08-06 16:51:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: [SOLVED] Bad performance in Xfce for games

try to disable xfwm4 compositing and/or try openbox.

Offline

#5 2017-08-06 16:56:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Bad performance in Xfce for games

If your WM doesn't do any compositing, and the game itself doesn't implement Vsync you will get tearing. On the other hand if a game does implement vsync, they can and do often, set a WM_Hint that the WM should disable compositing for this window, an option which something as full featured as GNOME is likely to hone and smaller WMs might not have implemented. That are two big reason I could think of why you see this.

Offline

#6 2017-08-06 17:00:35

Math
Member
Registered: 2011-10-10
Posts: 40

Re: [SOLVED] Bad performance in Xfce for games

seth wrote:

try to disable xfwm4 compositing and/or try openbox.

Thnx! It was indeed just the xfwm4 compositing that was causing this choppy performance.

Offline

#7 2017-08-06 17:08:16

Math
Member
Registered: 2011-10-10
Posts: 40

Re: [SOLVED] Bad performance in Xfce for games

V1del wrote:

On the other hand if a game does implement vsync, they can and do often, set a WM_Hint that the WM should disable compositing for this window

How can I do this in Xfce so I don't have to disable my compositing?

Offline

#8 2017-08-06 17:19:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Bad performance in Xfce for games

I don't think it has support for that directly. However even on GNOME compositing will be disabled here you just have to remember to do it yourself.

Offline

Board footer

Powered by FluxBB