https://bugs.kde.org/show_bug.cgi?id=415286

Kai Krakow <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from Kai Krakow <[email protected]> ---
(In reply to Roman Gilg from comment #9)
> > At this occasion, I also found out that the Proton fullscreen hack also
> > automatically tells KWin to resume compositing when minimizing a game.
> > Though e.g. the native Linux port of Shadow of the Tomb Raider by Feral
> > doesn't do this.
> 
> Also interesting. Didn't know that Proton does this automatically but other
> (major) players like Feral don't.

This patch was actually contributed by me: If the wine surface switches to full
screen resolution, it will set the "bypass compositor" hint via a X11 protocol
flag. This reduced game stuttering a lot for me (a real lot). The DXVK author
jumped in and confirmed my patch: The kwin compositor (and compositors in
general) are a potential source of stutters in games. I think this is mostly
due to compositors putting their own vsync routine and the game engine doesn't
know of this. May work fine sometimes (some reports even say games are
tear-free then), but most other times it breaks smoothness.

I haven't seen the freezing problem in a long time now. But actually seeing the
relation to window thumbnails here: Yes, I turned off keeping current
thumbnails for all windows also a while ago because it seems to improve game
performance. So I tend to confirm that kwin window thumbnails may be the issue.
BTW: I was also able to freeze native Linux games that way when run under kwin
but that's a few years back.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to