Closed Hadrianneue closed 1 year ago
I think this is a RADV bug, RADV takes almost 2 minutes to compile the ~300 RT pipelines the game has on a single thread. I guess the game might just not expect it to take that long and time out, I'll open a mesa bug report.
Took a look at this again because I thought it might be the same issue as #1534 - both UE4 titles - but it seems to be something different. It looks like a bunch of stack overflows are happening when trying to load a new game:
...
23821.016:0138:014c:trace:seh:handle_syscall_fault returning to user mode ip=00000002d4ad9d26 ret=c0000005
23821.016:0138:014c:trace:seh:handle_syscall_fault code=c0000005 flags=0 addr=0x7f455fdb74bb ip=7f455fdb74bb tid=014c
23821.016:0138:014c:trace:seh:handle_syscall_fault info[0]=0000000000000001
23821.016:0138:014c:trace:seh:handle_syscall_fault info[1]=0000000006210f98
23821.016:0138:014c:trace:seh:handle_syscall_fault rax=00000000c0000005 rbx=0000000066b00a28 rcx=000000000630e640 rdx=0000000000000000
23821.016:0138:014c:trace:seh:handle_syscall_fault rsi=0000000066b00a30 rdi=0000000016290080 rbp=000000000620f220 rsp=0000000006210fa0
23821.016:0138:014c:trace:seh:handle_syscall_fault r8=0000000000000000 r9=0000000000000020 r10=00007f438a1ba240 r11=0000000000000202
23821.016:0138:014c:trace:seh:handle_syscall_fault r12=0000000000000000 r13=0000000068652e60 r14=0000000066b009d0 r15=0000000000000000
23821.016:0138:014c:err:seh:handle_syscall_fault Syscall stack overrun.
backtrace: --- Exception 0xc0000005 at 0x7f455fdb74bb: /home/mbriar/Games/SteamApps/common/Proton - Experimental/files/bin/../lib64/wine/x86_64-unix/ntdll.so + 0x4d4bb.
It loads into gameplay now on latest RADV, there are rendering issues and it hangs the GPU, but I'm pretty sure that's a driver issue as well. This issue can probably be closed.
It loads into gameplay now on latest RADV, there are rendering issues and it hangs the GPU, but I'm pretty sure that's a driver issue as well. This issue can probably be closed.
Oh nice, thanks, just tested and also launches here too, RT performance is actually good, very close to windows, also had artifacts on reflections on certain angles.
NOTE: had to disable that PR 6833 on RADV to prevent GTT memory usage since my GPU doesn't have enough vram or juice to run it properly otherwise it would hang and crash.
Game works on windows when ray-tracing is on, with AMDVLK gives fatal error before launching and RADV crashes when trying to load the game with ray-tracing enabled or while in-game, games such as Resident Evil 3 and Control work fine with VKD3D + RT, i'm using the following env vars: RADV_PERFTEST=rt VKD3D_CONFIG=dxr.
Log:
Manjaro Linux 6.1.7-1 AMD Radeon RX 6500 XT Intel Xeon E3-1230 V2 Mesa 23.1.0-devel (git-56e758d9e9)