NelloKudo / osu-winello

osu! stable installer for Linux with patched wine-osu and other nice features 8)
GNU General Public License v3.0
297 stars 13 forks source link

PSA: Poor performance ~4.0ms on default installation #40

Closed b1scoito closed 1 year ago

b1scoito commented 1 year ago

By running

$ osu-wine --winecfg

And enabling the "Enable VAAPI as backend for DXVA2 GPU decoding" checkbox I now get 0.34ms and 1000 > FPS.

Sclafus commented 1 year ago

FYI, I did not encounter this issue. What GPU are you using and with which driver?

b1scoito commented 1 year ago

FYI, I did not encounter this issue. What GPU are you using and with which driver?

GTX 1060 6GB Driver Version 535.98 Running on Xorg with i3wm

NelloKudo commented 1 year ago

I think I've never heard of that setting affecting performance that much, on my setup (AMD) the game gives the same exact performance with or without it (~0.35ms). Looking into it as soon as I'm on an nvidia setup, I wonder if it's driver-related.

Sclafus commented 1 year ago

I am running with a very similar system (GTX 1070, 535.98, Linux 6.4.10) on Plasma 5+Xorg, and I don't see any improvement with the option on/off either Have you tried without i3wm? 4.0ms sounds like a frame rate cap to me.

NelloKudo commented 1 year ago

Turns out that DXVA2 has actually been disabled for a while in Wine, so unless you’re using a pretty old Staging build (which is not the case with this script) any difference should be placebo.

I guess in your case it was just prefix doing its things/drivers not updated correctly (?) I’m pretty sure disabling that now in winecfg should give you the same exact performance.

b1scoito commented 1 year ago

I'm running Arch Linux with everything on latest. Will test without to see if I it changes FPS once again. I found it weird since on a fresh install I'd get 4.0ms so I started messing around with configs and randomly I enabled that option and I started to get 0.30ms which is so weird to me.

b1scoito commented 1 year ago

Just tested. After disabling that option. performance is still great. Probably something related to the first run or the first runs of Wine.

NelloKudo commented 1 year ago

Closing as this sounds fixed 👍🏻