doitsujin / dxvk

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

[d3d10] Devil May Cry 4 benchmark renders black #2606

Open Oschowa opened 2 years ago

Oschowa commented 2 years ago

The Devil May Cry 4 benchmark renders everything black except for the menus:

DXVK ![dxvk-0000234580](https://user-images.githubusercontent.com/8129300/163019145-1d3b73cd-7150-4389-a5d4-9a6020832405.png)
Native ![native-0000234580](https://user-images.githubusercontent.com/8129300/163019159-5ba93f07-a3a4-4783-93d1-4215125c4830.png)

WINED3D has the same issue.

Software information

Devil May Cry 4 benchmark, it can be downloaded from here

System information

Apitrace file(s)

https://drive.google.com/file/d/14_PuANk6FPgbMZLGQZ5tDHId7fWcLuPG/view?usp=sharing It was recorded with apitrace-latest and seems to only replay on that and not the 10.0 release.

Log files

Blisto91 commented 2 years ago

Ye can reproduce. Only in dx10 mode.

I see similar have been reported for the games a while back https://github.com/ValveSoftware/Proton/issues/1227#issuecomment-583918397 https://github.com/ValveSoftware/Proton/issues/1779#issuecomment-470571940

CME42 commented 2 years ago

Apparently at least the windows nvidia driver has an app profile for this. The apitrace is also broken on nv windows and works when d3dretrace is renamed to DevilMayCry4_Benchmark_DX10.exe, also the benchmark breaks when the exe is renamed.

doitsujin commented 1 year ago

Game binds a 2D texture to a slot that expects 1D. This is broken and really should not work.