Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
863 stars 156 forks source link

wine is stuttering in all games #661

Open logan001 opened 2 years ago

logan001 commented 2 years ago

I don't know when it started. a few months ago.

the wine i'm building from here (everything default) will stutter in every game. the strange thing is that the fps seems to be the same (40-50) from benchmarks even when the games is stuttering like its running at 5fps.

if i use lutris version i have no issue with those version.

I've tried this on 2 computers (after partial upgrade) a 1700x with nvidia 970 and now a 5700g with amd apu.

both systems have the same problem.

Tk-Glitch commented 2 years ago

I was not able to reproduce this on my end either on Nvidia or AMD/mesa, but it might be fixed with the recent fshack rebase. I think it's more of a compositor issue, or maybe it was a mainline bug that got fixed as quickly as it popped.

logan001 commented 2 years ago

well for now i can't say that wine is stuttering anymore. but there is a big difference in fps (for my APU) 7.3 (from tkg) gives 20 fps 6.2 from lutris gives 26 fps something is wrong with this but i'm not that smart to know what :)

Tk-Glitch commented 2 years ago

That's a large gap. Which game? Regressions are to be expected but this seems large enough to be worth looking into it.

logan001 commented 2 years ago

guild wars 2 (dx11 engine)

Tk-Glitch commented 2 years ago

Thanks, I'll check that out. Same dxvk version used I guess?

logan001 commented 2 years ago

for diablo 3 (just started a single player map) 83 - 6.2 77 - 7.3

logan001 commented 2 years ago

ok after a few more tests with lutris lutris7.1 stutters lutris-fshack-7.1 does not stutter wine 7.3 tkg stutters.

i forgot to mention that the previous results for gw2 was with powersave governor but d3 is with gamemode on. i don't know what fshack in lutris version of wine means. but the 6.2 version also has fshack in name.

Tk-Glitch commented 2 years ago

So yeah it's most definitely a compositor issue and not wine itself. The fshack will try to disable the compositor, and that will give smooth frametimes. I suppose building 7.3 with the fshack will also give no stutter. What's your DE?

logan001 commented 2 years ago

cinnamon. i have effects disabled in both lutris and cinnamon.

logan001 commented 2 years ago

how do i enable fshack for tkg?

Tk-Glitch commented 2 years ago

Change _proton_fs_hack="false" to _proton_fs_hack="true" in your customization.cfg

logan001 commented 2 years ago

it works better now but it still not as good as the one from lutris.