dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

[D3D9 Regression] Test Drive Unlimited 2 broken reflections in missions on DXVK 2.0 and up

Open koffiato opened this issue 1 year ago • 15 comments

Software information

Tested TDU2 both vanilla and modded. DXVK 2.0 and up exhibit issues with car reflections within the delivery missions (bomb icon on the map). Open world, interiors and races are fine however. 1.10.3 and lower (tried 1.5.4) appear to work fine.

DXVK 2.3 Screenshot (355)

DXVK 1.10.3 Screenshot (356)

System information

  • GPU: Radeon RX 6700 XT
  • Driver: Adrenalin 23.8.2 (anything newer crashes DXVK with error -13 on this engine, TDU1 is also affected)
  • DXVK version: 2.0 and up is buggy, 1.10.3 and below works fine.

Apitrace file(s)

Log files

koffiato avatar Jan 17 '24 13:01 koffiato

This seems like a driver issue. I can reproduce with the trace using amdvlk.Q3.1 on linux, which should correspond ish to 23.8.1/23.8.2 on Windows i believe. Using amdvlk.Q3.2 it is fine again so 23.10.2 and above should probably also be fine in regards to this.

Blisto91 avatar Jan 17 '24 15:01 Blisto91

Just tried updating to 23.10.2 per your suggestion and the game just crashes at startup with the attached log. Tried running it with 1.10.3, 2.3 and https://github.com/doitsujin/dxvk/commit/ac78048c23c946caf0c734972e880f960080dd62. TestDrive2_d3d9.log

koffiato avatar Jan 17 '24 20:01 koffiato

I am not reproducing a startup crash on Linux with amdvlk (also non newest versions) or radv at least. Testing using a RX 6800

Blisto91 avatar Jan 17 '24 20:01 Blisto91

Sorry for the late reply here. I've now tested all available AMD drivers on Linux and couldn't recreate this problem (nor the crash on Windows). Seems like this is a driver issue.

koffiato avatar Jan 21 '24 02:01 koffiato

Try again with the newly released AMD driver.

Blisto91 avatar Jan 25 '24 07:01 Blisto91

Tried running both TDU and TDU2 with the new driver and both game still crash with err: D3D9SwapChainEx: Failed to recreate swap chain: -13

koffiato avatar Jan 26 '24 13:01 koffiato

Can you try with these intermediate versions (rename to d3d9.dll ofc)?

mirh avatar Feb 05 '24 15:02 mirh

Unfortunately issue persists, every single version in the archive returned Error -13 as usual. Tried latest master, https://github.com/doitsujin/dxvk/commit/5312ef1cf9c201d20048f9e796d21b436420fd49 as well.

koffiato avatar Feb 06 '24 07:02 koffiato

I meant for the glitches, not for the error which is really out of the blue.

mirh avatar Feb 06 '24 12:02 mirh

Update for this issue. Cannot create the visual glitches in cubemaps on RADV. However the game itself is crashing on startup with the error mentioned above on anything above 23.8.2 drivers on Windows. Here's an apitrace with DXVK thanks to Blisto91.

koffiato avatar Jul 15 '24 16:07 koffiato