protonscr

Hitman Absolution needs "Class linkage"

dxvkclosed feature setd3d11
doitsujin/dxvk#33 · opened 2018-01-26 by oscarbg · updated 2018-01-29 · 6 comments · github
Ooscarbg 2018-01-26 github

I only see in d3d11.log errors like:
warn: D3D11RasterizerState: Depth clamp not properly supported
err: D3D11RasterizerState: Antialiased lines not supported
warn: D3D11Device::CreateShaderModule: Class linkage not supported
err: DxbcCompiler: Unhandled PS SV input: DxbcSystemValue::SampleIndex

Ddoitsujin maintainer 2018-01-27 github

Please stick to the issue template and at least describe what the game does, and provide an apitrace. Class linkage not being implemented is only an issue if the game actually relies on it rather than just using dummy objects, and if that's all the errors you're getting I don't think the game actually needs it.

Eexolyte 2018-01-27 github

The game crashes a few seconds after opening the launcher. It does launch with wined3d, though I wasn't able to get an apitrace through wine. Will try on windows later.
HMA_d3d11.log
HMA_dxgi.log

Ddoitsujin maintainer 2018-01-28 github

Thanks. Based on the logs, class linkage is a non-issue for this game (AFAIK even wined3d doesn't support it properly). The only real issue I see is that a bunch of shaders fail to compile:
err: DxbcCompiler: Unhandled PS SV input: DxbcSystemValue::SampleIndex

Shouldn't be too hard to fix.

Ddoitsujin maintainer 2018-01-28 github

8a3dcf7c99f386e6ae5abe508c79a7847724ed84 implements SampleIndex, with some luck this might work now.

Eexolyte 2018-01-28 github

Only tested the starting area, but it seems to work with some minor bugs.

Enabling MSAA makes the game look like this: https://pomf.pyonpyon.moe/dmhatt.png
Windows of a van look like this with bloom enabled: https://pomf.pyonpyon.moe/rudfve.png
And like this with bloom disabled: https://pomf.pyonpyon.moe/qpjfsb.png
Under some very specific angles they render correctly: https://pomf.pyonpyon.moe/mbbvtj.png

I tried making an apitrace on windows, but for some reason apitrace stops after recording 1 frame.
HMA_d3d11.log
HMA_dxgi.log

Ddoitsujin maintainer 2018-01-29 github

Fixed in 9fbddf57df9c88d9ec3bea3020bf413fd6a4c83c.

Nothing extracted yet.