Steam compositor causes jittering on all unity3d games
I've been testing a few games that use unity3d engine, and all of them do not run smooth. Screen scrolling jitters in all of them. I've tested Teslagrad, Shadowrun, Rochard, ARMA Tactics, etc. When the same games are tested in my Ubuntu install with an openbox session (without compositor) everything runs nice and smooth. I've also tested the same games running in Gnome3 desktop session and there's no jittering. I've had to had in /etc/environment the following line CLUTTER_PAINT=disable-clipped-redraws:disable-culling to avoid tearing, though. I'm running a GTX680.
Were you running the compositor with -u ?
Edit: I believe this may be an issue with the game engine disabling vsync when detecting a compositor. Edit 2: This thread may provide you with information about the issue: http://steamcommunity.com/groups/steamuniverse/discussions/1/648814841992270182
With the -u vsync doesn't work, there's tearing. Without it doesn't tear, but it's not smooth. Gnome 3 compositor for example deals with vsync and do not jitter.
The reason why compositors are used is to add transparency and other visual effects and to add vsync. SteamOS doesn't need visual effects because the client do them by itself, also vsync can be enabled in the games or the video card control panel, so there's no need to have another layer hurting performance just to add a function that the game already have.
Also is known that X doesn't deal very well with compositors. All linux compositors hurt game performance. This is something that I have hope that Wayland or MIr to fix.
In the meantime if the compositor is hurting games performance, there's two option: one is to fix it, two is to ditch it completely.
Thanks for the link, I already posted there, and got the -u info from the devs.
"Also is known that X doesn't deal very well with compositors. All linux compositors hurt game performance."
That's not true. You can run steam in a naked X session without any window manager or compositor and get the same performance as with Mutter or KWin, since they disable compositing on fullscreen windows anyway. I tested this a lot with HL 2: Lost Coast. There is no performance difference with and without X compositing when it is done right.
What I found out is that all xcompmgr based compositors cause stuttering on my PC with NVIDIA GTX 580 GPU. I used xcompmgr and compton and all have stuttering in certain situations even when the framerate is still way over 100 FPS. Performance is about 15% worse compared to no compositor or Mutter/KWin.
Note that while the license for steamcompmgr states it's based on xcompmgr because its source was used as a starting point, the compositing and rendering code is completely different. It's a very straightforward OpenGL-based compositor that should be similar to how clutter operates when a full-screen application is running. I will look into these reports.
Yes, please do. The compositor is hurting the smoothness of games, especially unity3d engine ones. Screen scrolling jitters like it's skipping frames. Just try Teslagrad game which is a 2d game and notice how laggy screen scrolling is, compared to no compositor.
I don't seem to be getting any jitter or frame drops on Teslagrad nor Arma Tactics; is your SteamOS image unmodified? Are you subscribed to alchemist_beta?
Framerate doesn't suffer fluctuation, but scrolling is not smooth if you pay atention. I'm using unmodified SteamOS with alchemist_beta. Have you tried shadowrun. Screen scrolling in that game is severly affected.
First i tought it was the compositor but seems Big picture is doing this in my case, is there anyway we can disable autologin and the autostart of steam so we can use te old interface to test the results?
For some reason the FPS drops to 15 in some games like: Serious Sam 3, Naturel Selection 2. I also have a unmodified SteamOS and i'm in alchemist_beta.
I'm using a NVIDIA GTX 470.
You can disable autologin in lightdm.conf, yes. With the greeter you get you should be able to select a GNOME session and log in as 'steam'. You can run Steam in regular 2' mode from there (don't use the 'Return to steam' desktop shortcut, however).