protonscr

Torchligh II GOG crashes during loading (DX9)

dxvkclosed
doitsujin/dxvk#1380 · opened 2020-01-28 by Ahmed-E-86 · updated 2020-02-06 · 19 comments · github
1 matching comments, n / p to jump
AAhmed-E-86 2020-01-28 github

Torchlight II crashes during loading using d9vk, but it runs fine using wined3d.

System information

  • GPU: AMD Radeon HD 8750M
  • Driver: Mesa 19.3.2 (kisak-mesa ppa)
  • Wine version: wine-staging 5.0
  • DXVK version: 1.5.2

Log files

Ddoitsujin maintainer 2020-01-28 github

The game is known to run more or less fine with DXVK. Please make sure you have native d3dx9 and d3dcompiler libraries installed.

Also, what exactly do you mean by crash?`The terminal output you posted doesn't look like it crashed.

AAhmed-E-86 2020-01-28 github

It gives this message, and I press cancel:

Runic Games Crash Reporter_001

Mmisyltoad 2020-01-28 github

Does the game work with WineD3D?

AAhmed-E-86 2020-01-28 github

Does the game work with WineD3D?

Yes.

Mmisyltoad 2020-01-28 github

Hm, the trace I have plays back fine with no errors, and I know this used to work
image

Did you install native d3dx9 and d3dcompiler? And if so, which versions

AAhmed-E-86 2020-01-28 github

I have d3dx9_24.dll to d3dx9_41.dll, I have also, d3dcompiler_42.dll, d3dcompiler_43.dll, and d3dcompiler_47.dll, and all set to native.

I installed them using winetricks.

AAhmed-E-86 2020-01-28 github

Using AMDVLK instead of RADV gives me a message about a required extension that is not supported

D3D9 : Direct3D9 Rendering Subsystem created.
info:  Game: Torchlight2.exe
info:  DXVK: v1.5.2
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
info:  Required Vulkan extension VK_KHR_surface not supported
terminate called after throwing an instance of 'dxvk::DxvkError'

abnormal program termination
Mmisyltoad 2020-01-28 github

Looks like a setup issue if that isn't supported.

AAhmed-E-86 2020-01-28 github

I don't get the same error with RADV. Anyway, I tried Padoka ppa instead of kisak-mesa ppa, and I got the same results.

Ssaboya 2020-01-28 github

Did you test other games with DXVK? Do they work properly?

KKron4ek 2020-01-28 github

The game crashes for me too on DXVK 1.5.2, but it works fine on the latest git build.

AAhmed-E-86 2020-01-28 github

The game crashes for me too on DXVK 1.5.2, but it works fine on the latest git build.

Thanks for confirming the issue.

I can't build DXVK manually, because I have the same build issue as this one https://github.com/doitsujin/dxvk/issues/766

Could you upload the latest git build?

AAhmed-E-86 2020-01-28 github

Thanks. The game works now, but the performance is much worse than wined3d. My GPU doesn't work well with d9vk, but I have to use it to be able to use vkBasalt.

Mmisyltoad 2020-01-28 github

@ahmed-elsayed2017 Hi, can you set d3d9.floatEmulation = False in dxvk.conf and see if that improves performance for you?

AAhmed-E-86 2020-01-28 github

@ahmed-elsayed2017 Hi, can you set d3d9.floatEmulation = False in dxvk.conf and see if that improves performance for you?

I copied dxvk.conf to the game folder next to the executable of the game, and added this option, and tried the game with it, and without it, and I didn't notice any difference unfortunately.

Mmisyltoad 2020-01-28 github

Can you send me logs of you with that option added?

AAhmed-E-86 2020-01-28 github

Can you send me logs of you with that option added?

Torchlight2.txt

AAhmed-E-86 2020-02-06 github

The issue with this game crashing is fixed, so I see no need to keep this issue opened.

Upstream links

DLLs