Skip to content

Dynamic shadows crashes (Linux) #873

@Placo

Description

@Placo

Quite recently I acquired a RX9070 XT and I have been testing ray traced stuff since that's my first RT capable video card.
I've been playing ad_tears (once again) with dynamic shadows turned on (set at low) but vkQuake crashes on quickloads quite frequently.
It is quite hard to reproduce as it will not always crash consistently.

When I say crash, I mean the screen freezes with looping audio and it usually crashes to desktop after 10/15 seconds but sometimes the kernel don't even recover and I am forced to hit the reset button.

Here's what I could see after a crash when launching vkQuake in a terminal:

Loading game from /path/to/Quake/AD180/quick.sav...

radv/amdgpu: The CS has been cancelled because the context is lost. This context is guilty of a hard recovery.
radv: GPUVM fault detected at address 0x80014b477000.
GCVM_L2_PROTECTION_FAULT_STATUS: 0x301031
	 CLIENT_ID: (TCP) 0x8
	 MORE_FAULTS: 1
	 WALKER_ERROR: 0
	 PERMISSION_FAULTS: 3
	 MAPPING_ERROR: 0
	 RW: 0

ERROR-OUT BEGIN

vkquake: ../Quake/host.c:1154: Host_Shutdown: Assertion `!Tasks_IsWorker ()' failed.
Abandon (core dumped)

I figure it is the video drivers that crash?

It seems I get crashes more consistently when quickloading a save made near the top of the level (near the widowmaker shotgun when the pillar is raised.

I have never been able to have a crash when loading the map for the first time. I have to load the game, play for a little bit (sometimes just a couple of seconds) then quickload.

Since I saw Novum's issue here about FTE particles I have tried turning them off but I still get the crashes.

I've then turned off dynamic shadows and I don't seem to get any crash (I will test that some more)

I don't think it's an hardware issue since I've been playing other stuff without problem (Cyberpunk 77 for example).
I am on Linux Mint 22.3 Cinnamon with 6.17 kernel (I have had the same crashes in 6.14)
Mesa drivers are 26.0 (had the same crashes with 25.3)
vkquake is self-built from sources at revision dabad40

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions