protonscr

[d3d9] NEKOPARA Vol. 0, 1, 2 (385800, 333600, 420110) - Non-static character models (E-mote) are partially or completely transparent.

dxvkclosed
doitsujin/dxvk#1647 · opened 2020-06-02 by ZereoX · updated 2020-06-15 · 7 comments · github
ZZereoX 2020-06-02 github

Description:

This was reported by a user on the Proton Issue Tracker: https://github.com/ValveSoftware/Proton/issues/180#issuecomment-611259828

In NEKOPARA Vol. 0, 1, 2 (385800, 333600, 420110) non-static character models (E-mote) are partially or completely transparent.

This issue occurs on both Proton 5.0-7 and Windows using DXVK 1.7 or master (5558460). Issue is not present on WineD3D or Native Windows D3D. The issue however appears when replaying a Native Windows D3D apitrace in qapitrace on Windows.

DXVK WineD3D / Native
NEKOPARA Vol  1 - 333600 - 3D Portrait DXVK NEKOPARA Vol  1 - 333600 - 3D Portrait WineD3D

Please let me know if any additional information is required or if additional testing is needed.

Notes

Software information

NEKOPARA Vol. 0 (385800)
NEKOPARA Vol. 1 (333600)
NEKOPARA Vol. 2 (420110)

System information

OS: Ubuntu 18.04 / Windows 10 Pro 1909
GPU: Radeon RX 580 / Nvidia GeForce GTX 1060
Beta Drivers: 20.2~git2006011930.7c793a~oibaf~e / 440.66.15 (443.24 for Windows)
Stable Drivers: 20.0.7~kisak1~b / 440.82-0ubuntu0~0.18.04.1 (446.14 for Windows)
Wine version: Proton 5.0-7
DXVK version: 1.7 / Master (5558460)

Apitrace file

Log files

d3d9.log: nekopara_vol1_d3d9.log

Tested froggi.es builds:

master - 5558460 (❌) - [#1309](https://git.froggi.es/doitsujin/dxvk/-/jobs/1309)
1.7 - 2e37825 (❌) - [#1286](https://git.froggi.es/doitsujin/dxvk/-/jobs/1286)
1.6.1 - dbc9f40 (❌) - [#1261](https://git.froggi.es/doitsujin/dxvk/-/jobs/1261)
1.5.5 - 1e426cd (❌) - [#1178](https://git.froggi.es/doitsujin/dxvk/-/jobs/1178)
1.5.0 - 3cdae3a (❌) - [#1044](https://git.froggi.es/doitsujin/dxvk/-/jobs/1044)

Mmisyltoad 2020-06-05 github

This is a game bug, but I can work around it.

It's entirely stupid. The game locks mip 1 then unlocks mip 0 and expects it to upload -- so then when it renders it does mip filtering between 0 and 1 and 1 hasn't been uploaded which makes this funny transparent catgirl.

Mmisyltoad 2020-06-05 github

Should be fixed now!

ZZereoX 2020-06-05 github

Hi @Joshua-Ashton,

I retested on Vol.0 (since you have that game) and the issue is fixed by d39cf31 / b658cae however fa988be appears to break it again to a lesser extent:

fa988be b658cae WineD3D
DXVK DXVK-326f6c2 WINED3D
DXVK-2 DXVK-2-326f6c2 WINED3D-2

Overall transparency is much lower with fa988be, when characters tilt their heads some transparent layering effects can also be seen.

DXVK-Highlight

This was tested on Proton 5.0-8-RC1 w/ DXVK Build [#1311](https://git.froggi.es/doitsujin/dxvk/-/jobs/1311) and [#1310](https://git.froggi.es/doitsujin/dxvk/-/jobs/1310)

KK0bin maintainer 2020-06-05 github

Could you try it with my branch: https://github.com/K0bin/dxvk/tree/mark-dirty-in-lock?

EDIT: nevermind, this code has been merged to master.

ZZereoX 2020-06-15 github

I confirmed that all 3 Nekopara titles (Vol. 0, 1, 2) are now displaying correctly when using DXVK master (291f7e0).

Closing... Thanks.

(Sorry for the delay I was on vacation this past week.)

KK0bin maintainer 2020-06-15 github

I confirmed that all 3 Nekopara titles (Vol. 0, 1, 2) are not displaying correctly when using DXVK master

Are they still broken or did you mean to write 'are now displaying correctly'?

ZZereoX 2020-06-15 github

@K0bin Yeah, sorry that was a typo. They are indeed rendering correctly. I'll edit my comment to make the correction. Thanks.

Proton versions

Upstream links