Joshua-Ashton / d9vk

A Direct3D9 to Vulkan layer using the DXVK backend. [Upstreamed to DXVK]
https://github.com/doitsujin/dxvk
zlib License
833 stars 42 forks source link

Tomb Rader 'Legends' trilogy has serious mouse lag when using D9VK #440

Closed FurtiveDolus closed 4 years ago

FurtiveDolus commented 4 years ago

Pretty much what it says in the title. The mouse lags terribly on my older FX 8350 box. It's still there but less noticeable on my newer Ryzen 2700X PC. What I notice in the HUD is that the CPU usage spikes hard every time you move the mouse. Doesn't happen with a controller, doesn't happen with OpenGL.

OSes: Fedora 30 & 31 CPU: FX 8350 & Ryzen 2700x GPU: RX 480 & Vega 56 RAM: 16 gigs of DDR3 & 32 gigs of DDR4

K0bin commented 4 years ago

Please make an apitrace.

FurtiveDolus commented 4 years ago

Same procedure for Steam games as the one in your wiki?

K0bin commented 4 years ago

Yes

K0bin commented 4 years ago

The game for some reason defaults to 24hz for me. Make sure to check if the refresh rate is set correctly in the menu. Other than that it's running fine for me.

FurtiveDolus commented 4 years ago

Sorry for the delay. As it happens the RX 480 in my older box died on me. I'll test this on the newer box with the Ryzen and Vega hardware when I get off work.

On Sun, Nov 3, 2019 at 9:39 AM Robin Kertels notifications@github.com wrote:

The game for some reason defaults to 24hz for me. Make sure to check if the refresh rate is set correctly in the menu.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Joshua-Ashton/d9vk/issues/440?email_source=notifications&email_token=AL2TZI2PGRAB65PZ563UTVLQR3WCHA5CNFSM4JHAIV32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5VT5Y#issuecomment-549149175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2TZIZMD2V4V65BK5XJW7DQR3WCHANCNFSM4JHAIV3Q .

FurtiveDolus commented 4 years ago

Apologies. This issue isn't noticeable on the newer hardware and the traces I made were far too small to have been successful.

Joshua-Ashton commented 4 years ago

Are we sure this isn't just some stupid mouse polling bug?

FurtiveDolus commented 4 years ago

Wouldn't it happen on both machines with the same mouse? Both were running on Fedora 31. So only the HW differed. Not the software or peripherals.

Joshua-Ashton commented 4 years ago

I have no idea what the cause of the mouse polling bug was/is so it could be anything 🐸

FurtiveDolus commented 4 years ago

Delightful. This doesn't happen in the latest Wine and D9VK. So maybe it's something Valve specifically did.

Joshua-Ashton commented 4 years ago

Gonna close this then. Probably was the 4.11-8 FlushImplicit bug.