dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

NosTale wings are not rendered properly

Open memegauste opened this issue 5 years ago • 12 comments

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

  • GPU: rx5700 XT
  • Driver: AMDGPU (kernel 5.9.6, tested on many other kernel versions before too)
  • Wine version: 5.13
  • DXVK version: 1.7.2

Apitrace file(s)

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

Log files

memegauste avatar Nov 11 '20 11:11 memegauste

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.

memegauste avatar Nov 11 '20 12:11 memegauste

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

K0bin avatar Nov 11 '20 13:11 K0bin

Nos_Tale_Comparison I think i understand what he is talking about.

SveSop avatar Nov 12 '20 08:11 SveSop

So it's a depth sorting issue?

K0bin avatar Nov 12 '20 10:11 K0bin

@CME42 says this is a depth bias issue on nvidia

DadSchoorse avatar Nov 12 '21 14:11 DadSchoorse

@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.

memegauste avatar Feb 18 '22 19:02 memegauste

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

Blisto91 avatar Apr 21 '22 19:04 Blisto91

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.

CME42 avatar Apr 21 '22 20:04 CME42

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

Blisto91 avatar Apr 21 '22 20:04 Blisto91

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.

CME42 avatar Apr 21 '22 20:04 CME42

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.

Blisto91 avatar Apr 21 '22 20:04 Blisto91

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

CME42 avatar Apr 21 '22 20:04 CME42

Fixed by #3501

K0bin avatar Jun 20 '23 12:06 K0bin

Apparently it's not completely fixed.

K0bin avatar Jun 20 '23 13:06 K0bin