doitsujin / dxvk

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

NosTale wings are not rendered properly #1811

Open PSzczepanski1996 opened 3 years ago

PSzczepanski1996 commented 3 years ago

The wings in game NosTale, are rendered in front of character, and should be rendered in the character back. Also animation is bit... so fast? Wonky?

Software information

Same specs as in: https://github.com/doitsujin/dxvk/issues/1810 Screenshot from Linux: wings_debug Screenshot from Windows: https://cdn.discordapp.com/attachments/434701912751996928/776050415367225394/20201111-0-Jarvey.jpg (Gonna upload better screenshot from Windows soon, I must reboot my PC because of triplebooting).

System information

Apitrace file(s)

https://share.froggi.es/cedc91762a8e [Password: h4ppycr0w] [8 weeks expiration from today (11 november)]

Log files

PSzczepanski1996 commented 3 years ago

Another windows screenshot: wings_windows

Now I see the animation of wings on DXVK is too fast, like 3-5 times faster than on native Windows.

K0bin commented 3 years ago

What exactly is wrong about the wings? Looks absolutely identical to me in your screenshots.

SveSop commented 3 years ago

Nos_Tale_Comparison I think i understand what he is talking about.

K0bin commented 3 years ago

So it's a depth sorting issue?

DadSchoorse commented 2 years ago

@CME42 says this is a depth bias issue on nvidia

PSzczepanski1996 commented 2 years ago

@CME42 says this is a depth bias issue on nvidia

It also occurs on my rx5700 XT card, while using AMDGPU. You can still encounter it on newest proton (7.0-1 by time of writing this comment).

-- Update: It works fine on Intel HD4000 modesetting driver.

Blisto91 commented 2 years ago

I tried reproducing this on my R9 380 and mesa git, but i've been unable to. Is it only certain wings?

CME42 commented 2 years ago

There are two issues here, one is depth bias on nvidia and one is some fixed function fun, i have an nsight trace locally here where it's reproducible.

Blisto91 commented 2 years ago

But the OP has a AMD GPU. Maybe i misunderstand what the Nvidia specific issue is

CME42 commented 2 years ago

Yeah i just got myself confused back then, there is also a depth bias problem on nvidia, but on AMD it's only some fixed function stuff.

Blisto91 commented 2 years ago

Roger. At least i didn't notice the wings Infront issue when i tested with 1.7.2. and mesa git. But I'll try to find the correct wing type just to make sure.

CME42 commented 2 years ago

https://imgsli.com/MTA1MTE2/0/2 dxvk vs wined3d vs dxvk-nv nsight: https://drive.google.com/file/d/1YlJxu5pcCYZ0HTLsuMqeUazXpW7oYj0A/view?usp=sharing

K0bin commented 1 year ago

Fixed by #3501

K0bin commented 1 year ago

Apparently it's not completely fixed.