HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.75k stars 184 forks source link

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

Open Fabxx opened 10 months ago

Fabxx commented 10 months ago

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

Software information

Ratchet & clank: Rift Apart

System information

Log files

Regular wine + dxvk + vkd3d log: game.log

Video:

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

Blisto91 commented 10 months ago

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

Fabxx commented 10 months ago

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.

Blisto91 commented 10 months ago

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.

Fabxx commented 10 months ago

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

Fabxx commented 10 months ago

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

mbriar commented 10 months ago

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

Blisto91 commented 10 months ago

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"

Fabxx commented 10 months ago

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

Blisto91 commented 10 months ago

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.

Fabxx commented 10 months ago

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

Fabxx commented 10 months ago

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

therealmate commented 10 months ago

Can you try the latest version of the game?

Blisto91 commented 9 months ago

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

Fabxx commented 9 months ago

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

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

Blisto91 commented 9 months ago

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

Blisto91 commented 8 months ago

@Fabxx friendly ping

Fabxx commented 8 months ago

@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

Fabxx commented 2 weeks ago

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

immagine

therealmate commented 2 weeks ago

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