cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Extreme stuttering issues while gaming + missing windows from some games

Open gabriele2000 opened this issue 2 years ago • 8 comments

support-files.zip Everything you need to know about my system is in that archive, generated by Pop_Os support page because I'm supposed to be working.

I've had this two issues since months, but I figured that I could just wait for them to be fixed. Now I need to know what the cause is, because if the cause is a deficiency in the graphic driver, at least I'll know.

First problem Only on COSMIC DE there are multiple games who doesn't show a screen after opening. Games such as Call of Duty: Ghosts or Hunt: Showdown.

They open, their window doesn't exist but you can hear sounds, that means that the window doesn't get created while it should be.

Second problem For now it happens only in one game: Songs of Horror.

That game is weird and it has the usual Unreal Engine 4 bullshit's behaviour... basically since I'm using GE-Wine, I have FSR1 built-in.

1 - I open the game 2 - The game is windowed 3 - I put it in fullscreen using ALT+ENTER (I don't use the in-game setting because it'll use a dumb borderless mode, FSR won't work then) 4 - I watch in despair as there's this weird aspect ratio, Instead of a resolution like 1920x1080, I see the game going to 1910x1080, with black bars at the borders. Everything is more thin. This doesn't happen on other DEs.

If you want I can provide you the logs for Songs of Horror and for Hunt: Showdown (the invisible window)

gabriele2000 avatar Jan 16 '24 10:01 gabriele2000

Now I need to know what the cause is, because if the cause is a deficiency in the graphic driver, at least I'll know.

This is much more likely caused by deficiencies in our relatively young Xwayland implementation.

Thanks for reporting. In the meantime I suggest using gamescope to handle problematic games, which is also an easy way to confirm this theory is correct.

Drakulix avatar Jan 16 '24 14:01 Drakulix

Now I need to know what the cause is, because if the cause is a deficiency in the graphic driver, at least I'll know.

This is much more likely caused by deficiencies in our relatively young Xwayland implementation.

Thanks for reporting. In the meantime I suggest using gamescope to handle problematic games, which is also an easy way to confirm this theory is correct.

Flatpak gamescope, right?

Issue: Steam isn't installed as flatpak

gabriele2000 avatar Jan 16 '24 18:01 gabriele2000

Now I need to know what the cause is, because if the cause is a deficiency in the graphic driver, at least I'll know.

This is much more likely caused by deficiencies in our relatively young Xwayland implementation. Thanks for reporting. In the meantime I suggest using gamescope to handle problematic games, which is also an easy way to confirm this theory is correct.

Flatpak gamescope, right?

Issue: Steam isn't installed as flatpak

No gamescope can also be installed from normal package repositories. You only want the flatpak version, if you also installed steam from flatpak.

Drakulix avatar Jan 16 '24 19:01 Drakulix

No gamescope can also be installed from normal package repositories. You only want the flatpak version, if you also installed steam from flatpak.

But I don't have the package in the repositories, and that's weird.

gabriele2000 avatar Jan 16 '24 19:01 gabriele2000

This is much more likely caused by deficiencies in our relatively young Xwayland implementation.

I have a question: since two or three weeks I'm noticing something that it's starting to get in the way while I'm gaming. It was fine until it wasn't, but let's cut straight to the point.

Games running under 60FPS (with non frame-perfect pacing) will internally run very well (recording the screen outputs something in line with the FPS counter and the mouse movements, but what I see is a stutter so bad that it's almost like the compositor (?) is doing something incorrectly.

I thought that the new v550 nvidia driver would help me, but it didn't do anything better than v545, so we can rule out the driver for good this time.

gabriele2000 avatar Jan 26 '24 20:01 gabriele2000

Continuation of https://github.com/pop-os/cosmic-comp/pull/265#issuecomment-1913221051 here

UPDATE: Enabling V-Sync in games fixes that issue. Confirmed: it's a comeback of the implicit sync issue, although I don't know why it resurfaced in the form of extreme lag, since it wasn't present a month ago.

gabriele2000 avatar Jan 27 '24 16:01 gabriele2000