HansKristian-Work / vkd3d-proton

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

Far Cry 6 (trail) no crash but show no video , no GUI #1536

Open benni-r1 opened 1 year ago

benni-r1 commented 1 year ago

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

far cry 6 trail (can download free on UBI store). full version have problem too and for test the trail is good enough. I use lowest settings and window 1280x720 to make test case easiest

System information

Log files

Proton or Wine logs. I see no vkd3d proton log in game folder, I am sure it use proton because there is vkd3d-proton.cache file in program folder . probkem after the shaders are compile there can see no intro video. I am sure the game is not crash there can hear sound after some time and after pressing space key. it only show no video no gui the window it opens stay black.

mbriar commented 1 year ago

AMD's windows vulkan driver is broken for like 8/10 games on vkd3d-proton and can't even pass the test suite. Unless this also broken on Linux with radv or nvidia it probably doesn't mean much.

22 Apr 2023, 14:18 by @.***:

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

far cry 6 trail (can download free on UBI store). full version have problem and for test the trail is good enough. I use lowest settings and window 1280x720 to make test case easiest

System information GPU: AMD RX 6500 Driver: windows 11 AMD Adrenalin 23.4.1 Wine version: no i use windows 11 to test if it can run in linux later. VKD3D-Proton version: 2.8 you offer for download Log files

Proton or Wine logs. I see no vkd3d proton log in game folder, I am sure it use proton because there is vkd3d-proton.cache file in program folder . probkem after the shaders are compile there can see no intro video. I am sure the game is not crash there can hear sound after some time and after pressing space key. it only show no video no gui the window it opens stay black.

— Reply to this email directly, > view it on GitHub https://github.com/HansKristian-Work/vkd3d-proton/issues/1536> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A3G6J6K25JGBPT6WN6LVUI3XCPD7ZANCNFSM6AAAAAAXHZTHCU> . You are receiving this because you are subscribed to this thread.> Message ID: > <HansKristian-Work/vkd3d-proton/issues/1536> @> github> .> com>

benni-r1 commented 1 year ago

ok, i can test on nvidia card too. i report what happen there later. I thought amd is better. with nvidia card on my windows 10 install half life 2 dxvk vulkan show wrong textures. on win 11 it work. with AMD card half life 2 vulkan work on win 10 and win 11 ok

benni-r1 commented 1 year ago

I have now plug in the gforce 1030. same thing. maybe it is only a small problem in display code because there is nothing see. window stay black.

I have put the d3d12.dll in the bin folder of the game far cry trail folder

mbriar commented 1 year ago

You need to use dxvk in addition or it's not going to work. Some games still won't work on windows, but I'm pretty sure fc6 is know to work on Linux.

22 Apr 2023, 15:22 by @.***:

I have now plug in the gforce 1030. same thing. maybe it is only a small problem in display code because there is nothing see. window stay black.

I have put the d3d12.dll in the bin folder of the game https://user-images.githubusercontent.com/61731713/233787558-c0de9c8e-28a8-4273-887b-fccd2609cf8c.jpg

— Reply to this email directly, > view it on GitHub https://github.com/HansKristian-Work/vkd3d-proton/issues/1536#issuecomment-1518656508> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A3G6J6JRJLDRXHW6UD56JWLXCPLQPANCNFSM6AAAAAAXHZTHCU> . You are receiving this because you commented.> Message ID: > <HansKristian-Work/vkd3d-proton/issues/1536/1518656508> @> github> .> com>

benni-r1 commented 1 year ago

I add all the dxvk 2.1 files to the bin folder of the game. intro and gui work good now. after click of continue it load some time and then it draw garbage and hang. music play. there come a warning message . driver of gfx card is too old. it is only a warning so i guess it stop not the game.

I get now a logfile. it think later i use a AMD GPU. I have both drivers install nvidia and AMD. on real dx 12work without problem . there is only _dxgi.log . d9 d11 is create but contain 0 bytes warn: CreateDXGIFactory2: Ignoring flags info: Game: FarCry6Trial.exe info: DXVK: v2.1 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x7ffb3e69ea80 info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface info: NVIDIA GeForce GT 1030: info: Driver: 528.49.0 info: Vulkan: 1.3.224 info: Memory Heap[0]: info: Size: 1981 MiB info: Flags: 0x1 info: Memory Type[7]: Property Flags = 0x1 info: Memory Heap[1]: info: Size: 16342 MiB info: Flags: 0x0 info: Memory Type[0]: Property Flags = 0x0 info: Memory Type[1]: Property Flags = 0x0 info: Memory Type[2]: Property Flags = 0x0 info: Memory Type[3]: Property Flags = 0x0 info: Memory Type[4]: Property Flags = 0x0 info: Memory Type[5]: Property Flags = 0x0 info: Memory Type[6]: Property Flags = 0x0 info: Memory Type[8]: Property Flags = 0x6 info: Memory Type[9]: Property Flags = 0xe info: Memory Heap[2]: info: Size: 214 MiB info: Flags: 0x1 info: Memory Type[10]: Property Flags = 0x7 info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU info: DXGI: NvAPI workaround enabled, reporting AMD GPU warn: DXGI: MakeWindowAssociation: Ignoring flags far cry hang

K0bin commented 1 year ago

Why are you trying to use VKD3D-Proton on Windows anyway.

It's almost certainly gonna be slower than just using the regular D3D12 driver.

Blisto91 commented 1 year ago

I get now a logfile. it think later i use a AMD GPU. I have both drivers install nvidia and AMD. on real dx 12work without problem . there is only _dxgi.log . d9 d11 is create but contain 0 bytes

Only the dxgi file is used alongside d3d12 so that is expected. Reporting Nvidia GPU's as AMD by default is dxvk behavior and can be disabled by putting dxgi.nvapiHack = False in a file called dxvk.conf next to the games exe (usually. Or where logs appear).

benni-r1 commented 1 year ago

Why are you trying to use VKD3D-Proton on Windows anyway.

It's almost certainly gonna be slower than just using the regular D3D12 driver.

because i notice a bad amd shader cache working. far cry use many pixelshaders (more as 7300) .maybe it is in vulkan better. or what need do the pixelshader and texture shader caching of most used stuff in phsysical VRAM ?. see this videos.
/6500 have huge slowdown .https://www.youtube.com/watch?v=PI64REAm1hc with a gforce with only 2 GB no slowdown problems. it also have a slow pciee3 x4 bus. https://www.youtube.com/watch?v=Wrj5eJwD4AE&t=188s RX 6500 with 4 GB VRAM slow down even more as the gforce. such slowdown problems happen on all games i test with the 6500 when play longer. because of the bad cache management of AMD it do huge slowdown when the whole game and other programs that run at same time alloc more vram as the card have

I also report this to AMD here https://community.amd.com/t5/opengl-vulkan/bad-memory-virtual-vram-management-in-amd-drivers-or-windows/m-p/600179#M2605

mbriar commented 1 year ago

It will be the same or worse with vkd3d-proton. In general vkd3d-proton is extremely slow on current windows AMD vulkan drivers because they are missing VK_EXT_mutable_descriptor_type.

benni-r1 commented 1 year ago

Is there known a good working memory speed benchmark that measure the speed from system mem to GFX Card ?. there is gfx memory speed from 3delite but it show on slow or fast cards always around 22 GB. I can reduce pcie speed in bios results stay same Also i like to know need the driver manage which data is most important and stay in pysical vram if for example a browser window alloc vram. ?