protonscr

Can't run Kingdom Hearts 1.5 + 2.5 HD ReMIX

vkd3dclosed
HansKristian-Work/vkd3d-proton#604 · opened 2021-04-02 by xorpix · updated 2021-04-14 · 21 comments · github
Xxorpix 2021-04-02 github

Hello!
When i try to run the game (executable of the game or launcher executable it doesn't matter), i get a black screen and one error message spamming in the logs with infinite cycle:
332:fixme:d3d12_command_list_update_current_framebuffer: Invalid RTV for attachment 0.
And few other messages which appear very rarely. I'll attach the ghostbin with the log below.
https://ghostbin.com/paste/d2tlt

Will wait for the update on this. Thank You!

Mmisyltoad maintainer 2021-04-02 github

Needs bundles.

SSukid 2021-04-02 github

Surprising that this game of all things is using DX12, much more a feature vkd3d doesn't have yet. o_o I wonder why?

I'll just add that I do have the same thing happen, but only if I put the d3d12.dll file in the game folder. Otherwise the game actually fails to link to it completely for some reason. Though that might be some odd quirk of how Heroic Games Launcher sets up the prefix.

Xxorpix 2021-04-02 github

What's more funny about this situation is that Kingdom Hearts III runs successfully (but with custom media foundation installation script).

SSukid 2021-04-02 github

Yeah, III uses DX11 whereas the older game collections use DX12 for some reason.

Xxorpix 2021-04-04 github

Needs bundles.

Do vkd3d devs plan to implement this?

Ddoitsujin maintainer 2021-04-06 github

It's a core API feature so we'll probably have to do it at some point anyway, but it just happens to be one of the most annoying ones.

Ddoitsujin maintainer 2021-04-07 github

Can you test if https://github.com/doitsujin/vkd3d/tree/bundles gets you any further?

In theory this is a complete implementation of bundles, but since we don't have any real test coverage for that I don't expect this to work properly right away. I also don't expect stellar performance since bundles really only add extra overheand.

Xxorpix 2021-04-07 github

I need to compile this and then override d3d12 in Lutris settings, right?

SSukid 2021-04-07 github

@xorpix Yep, do that. If anything just copy it into the DXVK folder you're already using. I'll also test it myself once I'm done with work.

?ghost 2021-04-08 github

Surprising that this game of all things is using DX12, much more a feature vkd3d doesn't have yet. o_o I wonder why?

Because its a direct port as you can get from Xbox One to PC lol (or at least thats what people figured).

SSukid 2021-04-09 github

The version @doitsujin linked to indeed gets it to boot! I haven't actually played much yet, but I wanted to make sure I mentioned it at least boots before I forget to say anything at all due to being high.

Xxorpix 2021-04-09 github

@Sukid Could You send me compiled dlls please? I can't figure it out..

SSukid 2021-04-09 github

@xorpix Use dxvk-tools by TKGlitch. https://github.com/Frogging-Family/dxvk-tools
In upvkd3d-proton.cfg, replace the link to the repo with https://github.com/doitsujin/vkd3d, then next to "branch", replace "master" with "bundles".

Then just open a terminal and run ./upvkd3d-proton build and if you're using lutris, then go ./upvkd3d-proton lutris. Otherwise just manually copy the built d3d12.dll into the Kingdom Hearts folder with the executables, and in winecfg set d3d12 to native and dxgi to builtin.

Unfortuantely, any time I select one of the games in the collection it just tires to load then bumps me back to the menu. the logs sare... a little unhelpful, will update after I get up.

Xxorpix 2021-04-09 github

@Sukid Thank You so much for Your explanation. I have the similar problem here. It's a bit different for me though.. When i select a game from the list, it just infinitely spins the heart in the corner.
Here's my log:
@doitsujin
https://ghostbin.com/paste/xXkaP

Jjjtcm 2021-04-10 github

I tested the bundles branch with KH2 Final Mix and was able to start and play the game for about an hour without any problems.
Could not see any major graphics errors or the like during the test.
From the performance I have also not noticed a big change compared to Windows.

Tested with a GTX 1080 on wine-tkg 6.3 with Arch Linux.

Jjoao-o 2021-04-10 github

I also tested kh2 and I was able to get to the menu at least. will report furter after more extensive testing

Tested in gentoo with the bundles branch. game crashed with wine-vanilla-6.0 it looked like some sort of mono crash(wine-mono-5.1.1). after upgrading to wine-staging-6.4 (wine-mono 6.0.0) the game worked. Running a RX480 on 5.10.26 kernel

Ooscarbg 2021-04-11 github

Hi,
just confirm that with bundles branch also DX12 SDK sample D3D12Bundles works:
https://github.com/microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12Bundles
wasn't working before of course..
EDIT: I attach sample binary in case someone wants to try..
D3D12Bundles.zip

Xxorpix 2021-04-11 github

I still can't get it to run. Same errors in logs. Can't figure what i'm doing wrong.

Jjoao-o 2021-04-11 github

@xorpix I'm running the kh2 executable directly and skipping the launcher, I imagine the other people with positive results are doing the same thing

Xxorpix 2021-04-11 github

Oh, i'll try this. Thank You!

Upd. Yes, indeed. KH2 works if you launch it bypassing the launcher. Interesting what causes the problem with launcher then.

Xxorpix 2021-04-13 github

Can't manage getting it to work with Launcher. No matter what it shows errors which are decribed in logs above.

DLLs