protonscr

wine: Call from 000000007B013AD7 to unimplemented function d3d12core.dll.D3D12GetInterface, aborting

vkd3dopen
HansKristian-Work/vkd3d-proton#1653 · opened 2023-08-14 by Fabxx · updated 2024-06-19 · 19 comments · github
FFabxx 2023-08-14 github

The game fails to display the launcher interface for game settings configuration.

Software information

Ratchet & clank: Rift Apart

System information

  • GPU: ASUS RTX 3060 Dual v2
  • Driver: 535.86.05
  • Wine version: 8.12
  • VKD3D-Proton version: 2.9

Log files

Regular wine + dxvk + vkd3d log:
game.log

Video:

https://github.com/HansKristian-Work/vkd3d-proton/assets/30447649/16256f4b-1ead-44da-91e1-7ceae42b2fcf

BBlisto91 2023-08-14 github

I assume you have installed vkd3d-proton and made a native override for both d3d12 and d3d12core?
It would seem like it isn't using vkd3d-proton's d3d12core

FFabxx 2023-08-14 github

I assume you have installed vkd3d-proton and made a native override for both d3d12 and d3d12core? It would seem like it isn't using vkd3d-proton's d3d12core

for some reason the install from winetricks did override natively only d3d12 but not d3d12core, but if i override d3d12core to native the game does not detect DX12 support with an error and i can't proceed:

3662.714:0114:0118:err:vkd3d-proton:load_d3d12core_once: Failed to find vkd3d-proton d3d12core interfaces. Make sure d3d12core.dll is installed as well.

BBlisto91 2023-08-14 github

The latest stable release of winetricks doesn't install the d3d12core DLL. So you'll have to do that yourself or use a git version of winetricks.

FFabxx 2023-08-14 github

The latest stable release of winetricks doesn't install the d3d12core DLL. So you'll have to do that yourself or use a git version of winetricks.

understood, i'll try this and i'll let you know

FFabxx 2023-08-14 github

Ok replacing the DLL in the wine prefix manually made the launcher work, but then i launch the game and it crashes again, i post the updated log plus an error i've noticed:

4356.991:0110:016c:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Flushing disk cache (wakeup counter since last flush = 67). It seems like application has stopped creating new PSOs for the time being.

game.log

Mmbriar 2023-08-14 github

You should try a build of latest master instead of 2.9 for this game.

BBlisto91 2023-08-14 github

As mbriar mentions, i completely forgot this game was crashing on Nvidia until recently when some workarounds and other work was made on vkd3d-proton. At least when one is using higher game settings so it uses direct storage.
You could try using the newest master version of vkd3d-proton to see if it helps. You can download it here https://github.com/HansKristian-Work/vkd3d-proton/actions/runs/5831116413
This might need to be combined with some ioring work included in Wine 8.13 to prevent a crash. I think, not 100% on that.

Alternatively if you don't want to deal with any of that you can try to disable direct storage all together WINEDLLOVERRIDES="dstorage,dstoragecore=d"

FFabxx 2023-08-14 github

tried the dll override line in the launch command, and it spams 3 times this error:
image

BBlisto91 2023-08-14 github

Ok.
Note I have not tried that myself as I don't have Nvidia. Was just posted as a workaround before the vkd3d-proton fixed were a thing.

FFabxx 2023-08-14 github

understood, will try the lastes master in the prefix and i'll give an update on the situation.

FFabxx 2023-08-14 github

With dxvk and lastes vkd3d version i get this new log:
game.log

Ttherealmate 2023-09-07 github

Can you try the latest version of the game?

BBlisto91 2023-10-05 github

@Fabxx Could i get you to give another shot at this?

FFabxx 2023-10-05 github

@Fabxx Could i get you to give another shot at this?

Alright, should i use vkd3d master or the source code?

BBlisto91 2023-10-05 github

What ever is easiest for you. If you want a pre compiled version of current master you download it here https://github.com/HansKristian-Work/vkd3d-proton/actions/runs/6421153275

BBlisto91 2023-11-10 github

@Fabxx friendly ping

FFabxx 2023-11-10 github

@Fabxx friendly ping

thank you for the reminder, unfortunately i've been very busy these months but i'll try to test the game again today with the lastes vkd3d-master artifact

FFabxx 2024-06-19 github

i did retest with the lastet proton experimental/wine + vkd3d-proton, i get this error:

immagine

Ttherealmate 2024-06-19 github

You might need the visual c++ runtimes. Download it from http://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 or install them using winetricks

Proton versions

Launch options

DLLs