Inconsistent Linux Crash/Freezes (and some solutions for some crashes)

Wrenderbender

New member
I've had some crashes on linux and have been doing a lot of research for how to solve it. I haven't been able to solve my problem but I have found some solutions for other crashes which may help other people.

Random Crashes potential solutions

My problem
My crash has happened across source 2 games (or at least CS2) which is when in game (not in the hideout) the game will freeze and some audio effects will loop (particularly ability effects like wraith's cards). Then the following will display in another dialogue box
Code:
Vulkan encountered unrecoverable error VK_ERROR_DEVICE_LOST.
Then I have to restart the game and rejoin the game. It usually happens during laning phase but has happened later in the game. Sometimes I will not freeze but this is uncommon. I've checked my logs when it freeze and nothing displays which indicates a crash (perhaps the game.... deadlocks? sorry.) When it crahses mangohud doesn't show a crash spike anywhere, though my swap gets to 9 GB. Though swap size is 16GB.

Some info (will provide more on request)

Mesa Version: OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.3.3-arch1.5
Driver Version: cachyos-v4/linux-cachyos-nvidia-open 6.18.5-2
CPU: 11th Gen Intel(R) Core(TM) i7-11370H (8) @ 4.80 GHz
GPU 1: NVIDIA GeForce RTX 3050 Ti Mobile [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.35 GHz [Integrated]
OS: CachyOS x86_64
Kernel: Linux 6.18.5-2-cachyos
Proton Version: GE-Proton10-28
DE: KDE Plasma 6.5.5
Launch options
Code:
__GL_SHADER_DISK_CACHE=true __GL_SHADER_DISK_CACHE_PATH=/home/wren/Applications/Deadlock/ShaderCache __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=true gamemoderun %command% +citadel_unit_status_use_new true
 
Last edited:
Back
Top