protonscr

Resident Evil 2 Remake. Random crashes under dx12 in recent proton versions

vkd3dopen
HansKristian-Work/vkd3d-proton#1568 · opened 2023-05-23 by benbot · updated 2025-03-13 · 4 comments · github
Bbenbot 2023-05-23 github

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

Software information

Resident Evil 2 remake
max settings (including ray tracing) and max settings with high shadows

System information

  • GPU: RTX 4090
  • Driver: 530.41.03
  • Wine version: Proton 8.0-3 (and several others including some later 7.5+ proton versions where the VKD3D_CONFIG=dxr11 environment variable works)
  • VKD3D-Proton version: Not sure, running through steam

Log files

steam-883710.log

RE2 crashes randomly and instantly, but runs fine otherwise.
This seems to be the most notable thing in the logs when it crashes.

I can play the game fine if i use steam's Proton-7.0-5, but with no ray tracing :(

Unhandled exception: page fault on write access to 0x0000000000000000 in 64-bit code (0x00000142a32c37).
39129.894:0264:0268:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
 rip:0000000142a32c37 rsp:0000000110faf2e0 rbp:000000000000000d eflags:00010202 (  R- --  I   - - - )
 rax:0000000017d706a0 rbx:000000001ee32690 rcx:0000000000000000 rdx:0000000000000000
 rsi:0000000000000800 rdi:00000000000000b0  r8:0000000000000118  r9:0000000017d706a0 r10:0000000005c0d200
 r11:000000002e684760 r12:00000000000000a7 r13:000000001ee32690 r14:0000000000000000 r15:000000002e680b80
Stack dump:
0x00000110faf2e0:  0000000000000000 0000000000000000
0x00000110faf2f0:  00000000059220d0 000000002e680b80
0x00000110faf300:  0000000000000070 0000000142a35da3
0x00000110faf310:  000000001ee32690 000000002e6815b0
0x00000110faf320:  0000000000004910 000000000c9fea40
0x00000110faf330:  000000000c9edfb0 000000014290a361
0x00000110faf340:  000000000c9eb5c0 0000000000000000
0x00000110faf350:  0000000019e6f310 0000000019e6f310
0x00000110faf360:  0000000110faf380 0000547486918501
0x00000110faf370:  0000000110faf390 0000000110faf600
0x00000110faf380:  0000000000000000 00000001bc081164
0x00000110faf390:  00000000fffffffe 0000007000000000
Backtrace:
=>0 0x00000142a32c37 in re2 (+0x2a32c37) (0x0000000000000d)
  1 0x00000142a35da3 in re2 (+0x2a35da3) (0x00000000004910)
  2 0x0000014290a361 in re2 (+0x290a361) (0000000000000000)
  3 0x000001429072bb in re2 (+0x29072bb) (0x00000110fafda0)
  4 0x00000141f5bbca in re2 (+0x1f5bbca) (0x00000110faffa0)
  5 0x00000141f5c08b in re2 (+0x1f5c08b) (0x00000110faffa0)
  6 0x000001420242a5 in re2 (+0x20242a5) (0x00000110faffa0)
  7 0x0000007b61467d in kernel32 (+0x1467d) (0x00000110faffa0)
  8 0x0000017000f1a7 in ntdll (+0xf1a7) (0000000000000000)
0x00000142a32c37 re2+0x2a32c37: movq	%r9,(%rcx,%rdx,8)
Bbenbot 2023-05-23 github

Seems to run fine if i disable ray tracing though. Haven't run into a crash yet after about an hour.

I disabled ray tracing in the menu, but the game crashed during that session. I'll try again where RT is never enabled during a session and see if that's any better

KK0bin 2023-06-10 github

I can reproduce it. It happens both with and without ray tracing.

EDIT: I can also reproduce it on VKD3D-Proton 2.8.

Ggardotd426 2023-07-18 github

I'm wondering if this is related to my issue with RE7.

I got like 5 hours of playtime in back a couple years ago, but I tried to go back to it and now it crashes on launch (right at the first health warning splash screen) on every proton version going back to 4.X, official 4.0 is the only one that works and I'm pretty sure 4.0 is before VKD3D-Proton existed and it was upstream VKD3D. But also it never loads the start screen.

From what I can tell the error looks similar?

Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit code (0x0000000142a6d2cb).
Register dump:
 rip:0000000142a6d2cb rsp:000000007449fe10 rbp:000000007449fed8 eflags:00010246 (  R- --  I  Z- -P- )
 rax:00004faa9d0d287b rbx:000000000373a4e0 rcx:0000000000000000 rdx:0000000000000000
 rsi:000000000373a4e0 rdi:0000000000000000  r8:0000000000000000  r9:000000007449fe38 r10:0000000074900020
 r11:000000007449fe98 r12:0000000000000001 r13:0000000000000000 r14:0000000000000000 r15:00000000290cee08
Stack dump:
0x000000007449fe10:  0000000074940190 0000000074940190
0x000000007449fe20:  00000000749000d0 0000000000000000
0x000000007449fe30:  0000000000000000 0000000000000000
0x000000007449fe40:  0000000000000001 0000000000000000
0x000000007449fe50:  000000007449ff10 000007ff385dfdaf
0x000000007449fe60:  00004faa9d0d287b 000007ff385e9995
0x000000007449fe70:  00000000290cee08 0000000000000000
0x000000007449fe80:  000000002987c300 0e38e38e38e38e39
0x000000007449fe90:  0000000000000000 0000000142a6ccea
0x000000007449fea0:  000000000373a4e0 000000000373a4e0
0x000000007449feb0:  000000007449fed8 00000000290cedc8
0x000000007449fec0:  00000000124a7d80 0000000000000000
Backtrace:
=>0 0x0000000142a6d2cb ?Bytes@WriteBytesCount@AK@@UEBAPEAEXZ+0x2a1cffb() in re7 (0x000000007449fed8)
  1 0x0000000142a6ccea ?Bytes@WriteBytesCount@AK@@UEBAPEAEXZ+0x2a1ca1a() in re7 (0x000000007449fed8)
  2 0x0000000142a6ac83 ?Bytes@WriteBytesCount@AK@@UEBAPEAEXZ+0x2a1a9b3() in re7 (0x00000000290cee08)
  3 0x00000001424cb575 ?Bytes@WriteBytesCount@AK@@UEBAPEAEXZ+0x247b2a5() in re7 (0x0000000000000000)
  4 0x000000007b62d759 ActivateActCtx+0x218a9() in kernel32 (0x0000000000000000)
  5 0x000000017005f707 A_SHAFinal+0x3caa7() in ntdll (0x0000000000000000)
0x0000000142a6d2cb re7+0x2a6d2cb: movq	(%rcx),%rax
Modules:
Module	Address					Debug info	Name (77 modules)
PE	00000000009a0000-00000000009b7000	Deferred        vcruntime140
PE	00000000009c0000-0000000000a11000	Deferred        concrt140
PE	0000000000a20000-0000000000a2f000	Deferred        amd_ags_x64
PE	0000000067d30000-0000000067eba000	Deferred        gameoverlayrenderer64
PE	000000007a720000-000000007a74a000	Deferred        akconvolutionreverb
PE	000000007a750000-000000007a773000	Deferred        msspatial
PE	000000007a850000-000000007a854000	Deferred        opengl32
PE	000000007b000000-000000007b0da000	Deferred        kernelbase
PE	000000007b600000-000000007b814000	Export          kernel32
PE	0000000138000000-00000001395f0000	Deferred        steamclient64
PE	000000013b400000-000000013b444000	Deferred        steam_api64
PE	0000000140000000-0000000149a30000	Export          re7
PE	0000000170000000-00000001700a1000	Export          ntdll
PE	0000000180000000-000000018009d000	Deferred        msvcp140
PE	00000001c4ee0000-00000001c4f10000	Deferred        winspool
PE	00000001c69e0000-00000001c72fe000	Deferred        shell32
PE	00000001c8b40000-00000001c8b60000	Deferred        msacm32
PE	00000001c8db0000-00000001c8e47000	Deferred        msvcrt
PE	00000001cd860000-00000001cd868000	Deferred        api-ms-win-crt-utility-l1-1-0
PE	00000001d97a0000-00000001d97a7000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	00000001dd3f0000-00000001dd4bf000	Deferred        crypt32
PE	00000001ec2b0000-00000001ec2d6000	Deferred        ws2_32
PE	00000001f51e0000-00000001f51f0000	Deferred        hid
PE	000000021a7e0000-000000021a855000	Deferred        setupapi
PE	0000000228450000-000000022847b000	Deferred        propsys
PE	0000000231ae0000-0000000231b62000	Deferred        rpcrt4
PE	0000000236370000-000000023639e000	Deferred        winepulse
PE	000000023d820000-000000023da6e000	Deferred        user32
PE	0000000240030000-000000024005d000	Deferred        iphlpapi
PE	0000000241850000-0000000241857000	Deferred        api-ms-win-crt-environment-l1-1-0
PE	00000002419a0000-00000002419e0000	Deferred        wbemprox
PE	0000000253cc0000-0000000253cde000	Deferred        xinput1_3
PE	0000000262250000-0000000262259000	Deferred        api-ms-win-crt-runtime-l1-1-0
PE	000000026b4c0000-000000026b53a000	Deferred        gdi32
PE	00000002739c0000-0000000273af7000	Deferred        oleaut32
PE	000000028ba60000-000000028ba67000	Deferred        api-ms-win-crt-time-l1-1-0
PE	000000028dfa0000-000000028dfac000	Deferred        nsi
PE	000000029cfc0000-000000029cfd6000	Deferred        dnsapi
PE	000000029e400000-000000029e436000	Deferred        msctf
PE	00000002bb750000-00000002bb894000	Deferred        comctl32
PE	00000002cd450000-00000002cd4b7000	Deferred        d3d11
PE	00000002d4d40000-00000002d4d57000	Deferred        bcrypt
PE	00000002e3540000-00000002e3591000	Deferred        shlwapi
PE	00000002e8f10000-00000002e902a000	Deferred        ole32
PE	00000002f1fa0000-00000002f1fae000	Deferred        version
PE	00000002f2930000-00000002f293c000	Deferred        avrt
PE	00000002f6140000-00000002f6193000	Deferred        xaudio2_8
PE	00000002fe110000-00000002fe11a000	Deferred        api-ms-win-crt-multibyte-l1-1-0
PE	0000000308050000-000000030809b000	Deferred        dinput8
PE	000000030a2c0000-000000030a2c9000	Deferred        api-ms-win-crt-stdio-l1-1-0
PE	000000030c980000-000000030c988000	Deferred        api-ms-win-core-synch-l1-2-0
PE	00000003126f0000-0000000312709000	Deferred        shcore
PE	0000000319900000-0000000319932000	Deferred        mfreadwrite
PE	0000000327020000-0000000327073000	Deferred        combase
PE	000000032a700000-000000032a72a000	Deferred        sechost
PE	0000000330260000-00000003302a0000	Deferred        advapi32
PE	0000000336850000-000000033687b000	Deferred        mmdevapi
PE	000000033ea00000-000000033ea09000	Deferred        api-ms-win-crt-string-l1-1-0
PE	0000000344840000-0000000344848000	Deferred        api-ms-win-crt-filesystem-l1-1-0
PE	0000000346ba0000-0000000346bc1000	Deferred        jsproxy
PE	0000000350a30000-0000000350a39000	Deferred        api-ms-win-crt-convert-l1-1-0
PE	0000000351680000-0000000351688000	Deferred        api-ms-win-core-localization-l1-2-1
PE	0000000355100000-0000000355107000	Deferred        api-ms-win-crt-locale-l1-1-0
PE	0000000358120000-0000000358166000	Deferred        winhttp
PE	0000000360a80000-0000000360a8a000	Deferred        api-ms-win-crt-math-l1-1-0
PE	0000000375610000-0000000375648000	Deferred        win32u
PE	000000039b510000-000000039b518000	Deferred        api-ms-win-crt-heap-l1-1-0
PE	00000003af670000-00000003af730000	Deferred        ucrtbase
PE	00000003afd00000-00000003afd1a000	Deferred        imm32
PE	00000003b8f00000-00000003b8fc1000	Deferred        winmm
PE	00000003be590000-00000003be5f3000	Deferred        dbghelp
PE	000007ff385d0000-000007ff3863d000	Deferred        mfplat
PE	00007fabd1d60000-00007fabd1d63000	Deferred        lsteamclient
PE	00007fabd2e20000-00007fabd2e23000	Deferred        d3d12
PE	00007fabd37a0000-00007fabd37a4000	Deferred        winex11
PE	00007fabd3ff0000-00007fabd3ff4000	Deferred        wined3d
PE	00007fabd87c0000-00007fabd87c4000	Deferred        dxgi
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
	00000024    0
	000000c0    0
	00000140    0
00000030 services.exe
	00000034    0
	00000038    0
	00000044    0
	00000054    0
	00000068    0
	00000074    0
	00000098    0
	000000b0    0
	000000f8    0
0000003c winedevice.exe
	00000040    0
	0000004c    0
	00000050    0
	00000058    0
	0000005c    0
	000000bc    0
00000060 winedevice.exe
	00000064    0
	0000006c    0
	00000070    0
	00000078    0
	0000007c    0
	00000080    0
	00000084    0
	0000008c    0
00000090 plugplay.exe
	00000094    0
	0000009c    0
	000000a0    0
	000000a4    0
	00000194    0
	00000198    0
000000a8 svchost.exe
	000000ac    0
	000000b4    0
	000000b8    0
000000c4 explorer.exe
	000000c8    0
	000000d8    0
	000000dc    0
000000e4 rpcss.exe
	000000e8    0
	00000100    0
	00000104    0
	00000108    0
	0000010c    0
	00000110    0
00000118 tabtip.exe
	0000011c    0
	00000130    0
	0000013c    0
00000134 (D) Z:\home\matt\nvme\steamroot\steamapps\common\RESIDENT EVIL 7 biohazard\re7.exe
	00000138    0
	00000144    0
	00000148    0
	0000014c    0
	00000150   -1
	00000154    0
	00000158    0
	0000015c    0
	00000160   -1
	00000164   -1
	00000168   -1
	0000016c   -1
	00000170   -1
	00000174    0
	00000178    0
	0000017c    0
	00000180    0
	00000184   -1
	00000188  -15
	0000018c    0
	00000190    0
	0000019c    0
	000001a0    0
	000001a4    0
	000001a8    0
	000001ac   15
	000001b0    0
	000001b4    1
	000001b8    0 <==
	000001bc    2
	000001c0    1
	000001c4    1
	000001c8    1
	000001cc    1
	000001d0    1
	000001d4    1
	000001d8    1
	000001dc    1
	000001e0   -1
	000001e4   -1
	000001e8   -1
	000001ec   -1
	000001f0    0
	000001f4    0
	000001f8    0
	000001fc    0
	00000200    0
	00000204   15
	00000208    0
	0000020c    1
	00000210   15
	00000214    0
	00000218    0
	0000021c    0
	00000220    0
	00000224   15
	00000230   15
	00000234    1
	00000240    0
System information:
    Wine build: wine-7.0
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 6.4.3-zen1-2-zen
pid 603919 != 603915, skipping destruction (fork without exec?)
BBlisto91 2024-01-29 github

@benbot Are you still having this issue with the latest vkd3d-proton/proton and drivers?

Proton versions

Launch options