doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.04k stars 836 forks source link

Garry's mod NPC motion problem...? #4312

Closed SakuraRK closed 1 week ago

SakuraRK commented 1 week ago

When I use the latest dxvk on Garry's mod, I find the NPC motion look like low framerate. I never seen that problem on native DirectX 9+ mode. I upload a video to bilibili about this problem

Software information

Garry's mod x86-64 branch, DirectX 9 Mode CPU: Intel(R) Core i5-10400 2.9GHz@4.00GHz(Locked the clock boosted all Core) 48GBytes(16+32 2 ways) 3200MT/s DDR4

System information

Apitrace file(s)

It actually NOT property work(haven't catch ANY apitrace) on my PC. So I ingore it. Sry _

Log files

gmod_d3d9.log

K0bin commented 1 week ago

I don't have any experience with GMod, so we really need that apitrace. Can you please try looking into it again?

HunterCZ122 commented 1 week ago

Can you try increasing cl_interp_npcs or cl_interp (console commands)?

SakuraRK commented 1 week ago

Can you try increasing cl_interp_npcs or cl_interp (console commands)? I usually set the cl_interp to 0.

SakuraRK commented 1 week ago

Can you try increasing cl_interp_npcs or cl_interp (console commands)?

On steam arg

HunterCZ122 commented 1 week ago

I usually set the cl_interp to 0.

I think that's the problem. cl_interp 0 will make all NPCs laggy asf since it disables animation interpolation. Set it back to cl_interp 0.1

SakuraRK commented 1 week ago

https://mega.nz/file/zz5gXY7R#Zfy8WQYPa9UqgDeswoYqO-PQRpS6Sct1u0JJ-rPBvFw apitrace here (Mega) and maybe you(r) can find other problem.

SakuraRK commented 1 week ago

https://mega.nz/file/zz5gXY7R#Zfy8WQYPa9UqgDeswoYqO-PQRpS6Sct1u0JJ-rPBvFw apitrace 这里 (Mega),也许您 (r) 可以找到其他问题。

@HunterCZ122 @K0bin

SakuraRK commented 1 week ago

I usually set the cl_interp to 0.

I think that's the problem. cl_interp 0 will make all NPCs laggy asf since it disables animation interpolation. Set it back to cl_interp 0.1

I set it to 0.1, Now is normal. thx!