vkd3d-proton icon indicating copy to clipboard operation
vkd3d-proton copied to clipboard

Red Dead Redemption 2 stuck at loading screen in DX12 mode

Open thebobbyboy420 opened this issue 2 years ago • 10 comments

its 2023 and RDR2 is still not woking in DX12 mode (which is needed for reshade to work in wine/linux)

Still not working in DX12 mode :(

Software information Red Dead Redemption 2 DirectX-12

System information GPU: NVIDIA GeForce RTX 4070 Driver: 535.54.03 Wine version: tested many all the same results VKD3D-Proton version: 2.9 (also tested the new 2.9 fix that you made for star wars battlefront)

318087.716:01a8:0254:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 0.125 ms. 318087.717:01a8:0254:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Mapping read-only cache took 0.140 ms. 318087.717:01a8:0254:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Parsing stream archive took 0.796 ms. 318087.717:01a8:0254:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive. 318087.729:01a8:023c:info:vkd3d-proton:dxgi_vk_swap_chain_init: Creating swapchain (3440 x 1440), BufferCount = 3. 318087.729:01a8:023c:info:vkd3d-proton:dxgi_vk_swap_chain_init_sync_objects: Ensure maximum latency of 3 frames with KHR_present_wait. 318087.739:01a8:023c:info:vkd3d-proton:dxgi_vk_swap_chain_init_waiter_thread: Enabling present wait path for frame latency. 318089.193:01a8:025c:info:vkd3d-proton:dxgi_vk_swap_chain_recreate_swapchain_in_present_task: Got 3 swapchain images. 318089.431:01a8:025c:info:vkd3d-proton:dxgi_vk_swap_chain_recreate_swapchain_in_present_task: Got 3 swapchain images. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 318090.062:01a8:01d8:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented.

Screenshot from 2023-07-05 14-14-18 ksnip_20230705-142238

thebobbyboy420 avatar Jul 05 '23 06:07 thebobbyboy420

There is no need to keep making duplicates when you've already commented in the original issues

Blisto91 avatar Jul 05 '23 07:07 Blisto91

On my Steam Deck, the game crashes during the loading screen

robotman40 avatar Nov 19 '23 00:11 robotman40

same

zqpvr avatar Feb 15 '24 20:02 zqpvr

It still crashes with the latest proton. :/

tenphi avatar Mar 23 '24 19:03 tenphi

Referen

GE too?

zqpvr avatar Mar 23 '24 20:03 zqpvr

Yes, GE too. 9-2

tenphi avatar Mar 24 '24 11:03 tenphi

A very good reason to get this working under VKD3D is that native VULKAN has a VRAM leak if you are using resize bar. Sure, on my 24GB RX 7900 XTX is not that big of an issue, but on a 12GB card such as my old 6700 XTX, I can't play for more than 1-1.5 hours at a time before the VRAM shortage halves my performance and eventually crashes the game.

DoomPenguin9 avatar Mar 28 '24 20:03 DoomPenguin9

A very good reason to get this working under VKD3D is that native VULKAN has a VRAM leak if you are using resize bar. Sure, on my 24GB RX 7900 XTX is not that big of an issue, but on a 12GB card such as my old 6700 XTX, I can't play for more than 1-1.5 hours at a time before the VRAM shortage halves my performance and eventually crashes the game.

I have not experienced the issue you're describing, but I believe fixing this game can also have the domino effect of fixing current and future DX12 games.

robotman40 avatar Mar 28 '24 20:03 robotman40

application: Red Dead Redemption 2 runner: lutris-ge-proton 7.43 dxvk version: 2.3.1 graphic card: gtx 1650

17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.287:014c:0174:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.308:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.317:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.318:014c:016c:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.352:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.371:014c:0170:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x1 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x2 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x4 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled index range write mask 0x8 (0xf). 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x2 4. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_check_index_range: Unhandled register 0x11. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dcl_index_range: Ignoring dcl_index_range 0x11 2. 17102.489:014c:0160:fixme:vkd3d-proton:vkd3d_dxbc_compiler_emit_dereference_register: Relative addressing not implemented.

s1mpleog avatar Apr 13 '24 08:04 s1mpleog

Game crashes in radv during the loading screen when running d3d12 mode with

SPIR-V parsing FAILED:
    In file ../src/compiler/spirv/vtn_cfg.c:393
    b->block && b->block->branch == NULL
    5344 bytes into the SPIR-V binary

A spirv-val from a Fossilize dump shows

Fossilize ERROR: spirv-val: Return must appear in a block
  OpReturn

Fossilize WARN: Failed to validate SPIR-V module: 77535ADFFD072E7A, skipping!

Archive with dumps both via VKD3D_SHADER_DUMP_PATH and Fossilize https://drive.proton.me/urls/5CMJFEVKTW#2dEQZT81WRcJ

vkd3d-proton log ran with VKD3D_DEBUG and VKD3D_SHADER_DEBUG set to trace rdr2.tar.gz

Blisto91 avatar Sep 04 '24 17:09 Blisto91