HansKristian-Work / vkd3d-proton

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

Black screen in Forza Horizon 4 #665

Open rado84-github opened 3 years ago

rado84-github commented 3 years ago

I'm trying to play Forza Horizon using vkd3d but all I get is either fully black screen or the thing from the below screenshot. There is only sound and this output in terminal:

300:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 1536, may be inaccurate. 300:fixme:d3d12_command_queue_init: Ignoring priority 0x64. err: DxgiFactory::CreateSwapChainForComposition: Not implemented 560:fixme:d3d12_root_signature_init_global: Ignoring root signature flags 0xd. 560:fixme:d3d12_root_signature_init_global: Ignoring root signature flags 0x1d. 588:fixme:rs_desc_from_d3d12: Ignoring MultisampleEnable 0x1. 560:fixme:vkd3d_dxbc_compiler_emit_resource_declaration: Unhandled instruction flags 0x100. 560:fixme:vkd3d_dxbc_compiler_emit_resource_declaration: Unhandled instruction flags 0x100. 560:fixme:d3d12_swapchain_init: Ignoring swap effect 0x4. 560:fixme:d3d12_swapchain_init: Ignoring swapchain flags 0x840. warn: DXGI: MakeWindowAssociation: Ignoring flags 560:fixme:d3d12_swapchain_GetFrameStatistics: iface 000000003f3a0050, stats 000000000c213178 stub!

The problem from the screenshot happens whenever I click anywhere on the screen, whether it's a menu function or not.

ZgpxspX

Blisto91 commented 1 year ago

@rado84-github Sorry for necro ping in old issue, but is this still an issue for you?

rado84-github commented 1 year ago

@rado84-github Sorry for necro ping in old issue, but is this still an issue for you?

No. I purchased the game on Steam and it seems to be working somewhat fine with Proton Experimental. There are still some other issues but at least the black screen is gone.

Blisto91 commented 1 year ago

Hot damn that was a fast answer. Are the other issues vkd3d-proton related?

rado84-github commented 1 year ago

I'm currently viewing my inbox and an e-mail arrives instantly when there's a new reply, hence the fast answer. :) IDK, honestly. Trying to play multiplayer race often causes CTD, using the wheelspin also freezes the game, driving fast (350 kph or faster) causes textures to disappear and shortly after that - a CTD. Whether this is a vkd3d-proton problem or not - I have no idea, I'm not a programmer.

Blisto91 commented 1 year ago

Lovely gameplay experience 😁

mbriar commented 1 year ago

Is this one nvidia? Crashes and freezes with FH 4 and 5 on nvidia I see reported all the time.

rado84-github commented 1 year ago

It is nvidia. But FH5 works fine mostly. On Forza 5 the only limitation is not to drive at speeds higher than 400 kph, otherwise the textures can't load that fast and the car appears to be riding the air, much like a Valkyrie. Otherwise everything else works perfectly fine, so if you do offroading, you won't see any difference between performances on Linux and Windows.