Xid109 CTX SWITCH TIMEOUT Driver Crashes In Many Applications

When will this bug fix be released? It’s really annoying and prevents us from playing games like Gray Zone Warfare!
I have other games too that I’m not touching for now because of the bug!

My issues with UE5 games + XiD 109 seem to be so far resolved in the 610 driver, time will tell if the issue returns

Any proton
Witcher 3
RTX 4080
driver 610.43.02

июн 06 11:26:32 RTX-Arch kernel: NVRM: GPU at PCI:0000:06:00: GPU-d28a407d-fb81-c00e-3c11-04ed7a0a4a81
июн 06 11:26:32 RTX-Arch kernel: NVRM: Xid (PCI:0000:06:00): 109, pid=14167, name=witcher3.exe, channel 0x00000025, errorString CTX SWITCH TIMEOUT, Info 0x29c03d

nvidia-bug-report.log.gz (950.6 KB)

Having this issue in World of Warcraft, seemingly specifically within Silvermoon City. I get it within moments of logging in, if i fly near the bridge out of the city. If I get out of the city, the crash stops. Compute Effects as mentioned before change nothing. DX11 does prevent the crash, it seems like.

Jun 08 20:45:36 moros-pc-cachy kernel: NVRM: Xid (PCI:0000:01:00): 109, pid=335114, name=WoW.exe, channel 0x0000001b, errorString CTX SWITCH TIMEOUT, Info 0xc01a

Also on 610.43.02

nvidia-bug-report.log.gz (499.5 KB)

Hi @k3LLerInstInkt

Request you to please test game Gray Zone Warfare with latest released driver 610.43.02 and share the feedback.

Years passed, and still we’ve this issue. It’s really annoying. I’ve this problem with many titles like: The Witcher 3, TLOS 1 & 2, …

Right now, I’m experiencing the same problem with The Last of Us Part I. I’ve tried all the mentioned solutions and Proton versions, but no luck.

nvidia-bug-report.log.gz (605.3 KB)

The issue persists with Resident Evil Village, too.

nvidia-bug-report.log.gz (582.5 KB)

I have another Xid 109 CTX SWITCH TIMEOUT report. Triggered with DX12 ray tracing in The Witcher 3 via VKD3D-Proton. With RT on, the game freezes within 1-3 min (video locks, audio continues). Stable with RT off.

System:

  • RTX 3090 (GA102), VBIOS 94.02.42.00.A9
  • Driver 595.84, open kernel module, GSP firmware 595.84
  • Kernel 7.1.3-200.nobara.fc44.x86_64, Nobara 44
  • Ryzen 7 3800X, MSI MAG B550M MORTAR WIFI

Reproduction:

  • The Witcher 3 (GOG 4.04a), DX12, GE-Proton11-1
  • No MangoHud/gamescope/overlays
  • Freezes with RTGI/RT AO enabled
  • No freezes with RTGIPreset=false, EnableRtRadiance=false

Error:

NVRM: Xid (PCI:0000:2b:00): 109, pid=244910, name=witcher3.exe,
channel 0x0000007b, errorString CTX SWITCH TIMEOUT, Info 0x60c098

Every Xid 109 here is name=witcher3.exe.

VKD3D-Proton side (PROTON_LOG=1, VKD3D_DEBUG=warn), device loss preceded by a burst of RT acceleration-structure ops (vkd3d_va_map_place_acceleration_structure, TLAS/BLAS):

d3d12_device_mark_as_removed: Device is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").
d3d12_command_queue_execute: Failed to submit queue(s), vr -4.

NVreg_EnableGpuFirmware=0 is a no-op on the open module.

nvidia-bug-report.log.gz (950.4 KB)

the issue persists with 610.43.02 driver - Directx 12

  • RTX 5070 TI
  • tried with :
    • Driver 595.84, open kernel module, GSP firmware 595.84
    • Driver 610.43.02 , open kernel module, GSP firmware 610.43.02

ubuntu 26.04 with XFCE

  • Kernel 7.0.0-28-generic
  • disabled xfce compositor
  • forced fulle composition pipeline in nvidia settings

Steam:

  • tried with GE-proton 10, 11.x
  • Proton experimental
  • Proton 11
  • __GL_SYNC_TO_VBLANK=0 vblank_mode=0 DXVK_FRAME_RATE=120 PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 %command% --no-sandbox
    

testing Eve Online, opening skill windows, gets stuck and triggers:

2026-07-26T19:58:03.818487+02:00 PC kernel: NVRM: Xid (PCI:0000:01:00): 109, pid=31539, name=exefile.exe, channel 0x00000016, errorString CTX SWITCH TIMEOUT, Info 0x8c012
2026-07-26T19:58:03.818495+02:00 PC kernel: 
2026-07-26T19:58:03.818487+02:00 PC kernel: NVRM: Xid (PCI:0000:01:00): 109, pid=31539, name=exefile.exe, channel 0x00000016, errorString CTX SWITCH TIMEOUT, Info 0x8c012
2026-07-26T19:58:26.254492+02:00 PC kernel: kauditd_printk_skb: 16 callbacks suppressed

Hello! It’s related, can help on the debugging/development perspective but not on the user side.

I have a Slang kernel which is compiled for Adreno 830, Xclipse 940 and NVIDIA RTX 3090. More information on the device:

Vulkan version: 1.4.350
slangc version: 2026.8
Name: NVIDIA GeForce RTX 3090, Type: DiscreteGpu, Vendor: invalid ( 10de )
Driver; ID: NvidiaProprietary, Name: 595.84, Info: NVIDIA

It worked on the former 2 devices but didn’t work on the RTX 3090 due to:

[89916.355482] NVRM: Xid (PCI:0000:01:00): 109, pid=281022, name=svk_test, channel 0x0000001d, errorString CTX SWITCH TIMEOUT, Info 0xec020

I couldn’t explain… it was a fairly simple kernel!

#include "common.slang"

#define NUM_AXES 3

groupshared uint s_min[NUM_AXES];
groupshared uint s_max[NUM_AXES];


[shader("compute")]
[numthreads(WORKGROUP_SIZE, 1, 1)]
void compute_level_minmax(float *points, uniform uint num_points, uint *indices,
                          uniform uint start_point_idx,
                          uniform uint partition_size,
                          uniform uint start_partition_idx, float *p_min,
                          uint *out_min, uint *out_max,
                          uint3 group_id: SV_GroupID,
                          uint3 gid: SV_DispatchThreadID,
                          uint3 tid: SV_GroupThreadID) {
    const uint partition_id = group_id.y;
    const uint global_partition_id = start_partition_idx + local_partition_id;
    const uint global_idx =
        global_partition_id * partition_size +
        start_point_idx + gid.x;
    const bool is_valid = global_idx < num_points;

    if (tid.x < NUM_AXES) {
        s_min[tid.x] = 0xFFFFFFFF;
        s_max[tid.x] = 0;
    }

    GroupMemoryBarrierWithGroupSync();

    for (int d = 0; d < NUM_AXES; ++d) {
        float val;
        if (is_valid) {
            const uint point_idx = indices[global_idx];
            // Positive float needed (so we can reinterpret as uint)
            val = points[point_idx * NUM_AXES + d] - p_min[d];
        }
        // Wave min/max
        float min_val = WaveActiveMin(is_valid ? val : FLOAT_MAX);
        float max_val = WaveActiveMax(is_valid ? val : -FLOAT_MAX);
        // Atomic min/max on shared memory
        if (WaveIsFirstLane()) {
            InterlockedMin(s_min[d], asuint(min_val));
            InterlockedMax(s_max[d], asuint(max_val));
        }
        GroupMemoryBarrierWithGroupSync();
        // Atomic min/max on global memory
        if (tid.x == 0) {
            InterlockedMin(out_min[global_partition_id * NUM_AXES + d], s_min[d]);
            InterlockedMax(out_max[global_partition_id * NUM_AXES + d], s_max[d]);
        }
    }
}

I was desperate, it was clearly an issue of the NVIDIA driver (shader compiler).
I tried asking to Gemini Pro 3.1 and the answer was reasonable:

Here is the technical breakdown of why that specific combination is a known landmine and why the fix works:

1. OpGroupNonUniformElect vs. Static Registers

In Slang/HLSL, WaveIsFirstLane() translates to the SPIR-V instruction OpGroupNonUniformElect. This is a dynamic instruction: it looks at the current execution mask of the wave and elects the lowest active lane to return true.

Conversely, WaveGetLaneIndex() == 0 translates to reading OpGroupNonUniformSubgroupLocalInvocationId (a static hardware register) and comparing it to 0.

2. The Reconvergence Problem

When you place OpGroupNonUniformElect inside a for loop—especially alongside subgroup reductions like WaveActiveMin—the driver’s shader compiler must perform complex Control Flow Graph (CFG) and reconvergence analysis.

NVIDIA’s compiler has a historical quirk (which flares up on Ampere and Ada Lovelace architectures) where it can miscalculate the reconvergence point of the execution mask inside loops. If the driver gets confused about which lanes are active when it hits the Elect instruction, it can fail to elect any lane, or it can desync the wave.

3. The Live-Lock (Xid 109)

If the wave desyncs or elections fail inside a loop that requires forward progress, the Streaming Multiprocessor (SM) gets stuck waiting for threads that will never arrive. The GPU physically hangs, triggering a Timeout Detection and Recovery (TDR) from the OS. On Linux, the NVIDIA driver logs this exact hardware reset as Xid 109: CTX SWITCH TIMEOUT.

Why the workaround is standard practice

Replacing WaveIsFirstLane() with WaveGetLaneIndex() == 0 completely bypasses the driver’s dynamic election logic. Because your compute_level_minmax shader dispatches full workgroups (and the execution mask isn’t divergent at the point of the atomic writes), you know for a fact that Lane 0 is always active. Reading the static lane index requires zero control-flow analysis from the NVIDIA compiler, instantly dodging the bug and preventing the crash.

And apparently it was right! Here’s the fixed version! (no more WaveIsFirstLane())

#include "common.slang"

#define WORKGROUP_SIZE 256u

groupshared uint s_min[NUM_AXES];
groupshared uint s_max[NUM_AXES];

[shader("compute")]
[numthreads(WORKGROUP_SIZE, 1, 1)]
void compute_level_minmax(float *points, uniform uint num_points, uint *indices,
                          uniform uint start_point_idx,
                          uniform uint partition_size,
                          uniform uint start_partition_idx, float *p_min,
                          uint *out_min, uint *out_max,
                          uint3 group_id: SV_GroupID,
                          uint3 gid: SV_DispatchThreadID,
                          uint3 tid: SV_GroupThreadID) {
    const uint partition_id = group_id.y;
    const uint global_partition_id = start_partition_idx + local_partition_id;
    const uint global_idx =
        global_partition_id * partition_size + start_point_idx + gid.x;
    const bool is_valid =
        global_idx < num_points && (start_point_idx + gid.x) < partition_size;

    if (tid.x < NUM_AXES) {
        s_min[tid.x] = 0xFFFFFFFF;
        s_max[tid.x] = 0;
    }

    GroupMemoryBarrierWithGroupSync();

    [ForceUnroll]
    for (int d = 0; d < NUM_AXES; ++d) {
        float val = 0.0;
        if (is_valid) {
            const uint point_idx = indices[global_idx];
            // Positive float needed (so we can reinterpret as uint)
            val = points[point_idx * NUM_AXES + d] - p_min[d];
        }
        // Wave min/max
        float min_val = WaveActiveMin(is_valid ? val : FLOAT_MAX);
        float max_val = WaveActiveMax(is_valid ? val : -FLOAT_MAX);

        // Atomic min/max on shared memory
        if (WaveGetLaneIndex() == 0) {
            InterlockedMin(s_min[d], asuint(min_val));
            InterlockedMax(s_max[d], asuint(max_val));
        }
        GroupMemoryBarrierWithGroupSync();
        // Atomic min/max on global memory
        if (tid.x == 0) {
            InterlockedMin(out_min[global_partition_id * NUM_AXES + d],
                           s_min[d]);
            InterlockedMax(out_max[global_partition_id * NUM_AXES + d],
                           s_max[d]);
        }
        GroupMemoryBarrierWithGroupSync();
    }
}

Hope this will be useful to someone…

The issue persists with the 610.57.04 driver in Beast of Reincarnation.

nvidia-bug-report.log.gz (584.1 KB)

Yesterday i upgraded to driver verion 610.57.04 and my issue is resolved.

Adding another data point since I saw the mixed reports above on 610.

RTX 5070 Ti (Blackwell) on CachyOS, kernel 7.2.0. Space Marine 2 would crash to black the instant real gameplay started, dmesg full of NVRM: Xid (PCI:0000:02:00): 109 ... CTX SWITCH TIMEOUT with 0% GPU util right before the reset. Ruled out Proton, EAC and the iGPU.

595.71.05 crashed every time. Rolling back to the 580 branch (currently 580.178.04) fixed it completely. Out of curiosity we also tried 610.57.04 after seeing marcelmaxi92’s post above to no luck, same crash came right back on Space Marine 2, so it’s not a universal fix. Back on 580.178.04 now and stable.

Seems consistent with the wave-intrinsic livelock theory earlier in the thread – whether 610 “fixes” it probably just depends on whether a given game’s shaders happen to hit that code path.

The same problem with Resonance: A Plague Tale. This time, I can’t even get into the game

nvidia-bug-report.log.gz (575.1 KB)

Adding a data point to this — hitting the exact same Xid 109 CTX SWITCH TIMEOUT, but in World of Warcraft (Classic Beta), not one of the titles already listed in this thread.

SYSTEM

  • GPU: RTX 3080 10GB, driver 595.84
  • OS: Pop!_OS 24.04 (COSMIC desktop), kernel 7.0.11-76070011-generic
  • Game runs via Steam (non-Steam shortcut for Battle.net) on Proton Experimental (wine 11.0)

SYMPTOM

  • 100% reproducible: create a new character, log in, loading screen freezes solid ~20 seconds after entering the world. Requires force-kill, client never recovers.
  • WoW’s own crash reporter logs it as “ERROR #109 (0x8510006d) A thread has become unresponsive… Freeze Detected: thread frozen for 20 seconds”, stack trace hanging inside dxgi.dll / d3d11.dll.
  • Kernel log shows the matching Xid every single time, e.g.:
    NVRM: Xid (PCI:0000:01:00): 109, pid=204836, name=WowB.exe, channel 0x0000007a, errorString CTX SWITCH TIMEOUT, Info 0x15c072

RULED OUT (all still crash identically)

  • Switching GxApi from D3D12 to D3D11 (rules out vkd3d-proton specifically — happens under DXVK too)
  • Lowering Texture Resolution / Particle Density (rules out VRAM pressure)
  • PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1
  • PROTON_HIDE_NVIDIA_GPU=1 PROTON_ENABLE_NVAPI=1

Full nvidia-bug-report.log.gz attached, captures multiple occurrences across one session (timestamps 00:11–00:57 local, 2026-09-18).

Any known workaround for this one, or is 550.142 still the only version people are having luck with? Wary of downgrading a driver on a normal desktop machine without a stronger signal it’ll actually help.

nvidia-bug-report-wow-xid109-2026-09-18.log.gz~.gz (388.7 KB)

There is report on ProtonDB that for Witcher 3, PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=extra_rtas_sync using Proton GE fixed the issue of RT crashing in 610.43.03. I was able to reproduce the success once, but am not able to anymore. I do not know if the problem reappeared with the new drivers or new Proton GE version. Has anyone else been able to explore that solution?

Recently ran into this issue playing Cyberpunk on Fedora. I tried Proton Experimental (the build that was available on 09/19/2026), GE-Proton11-7 and GE-Proton 11-5. None of those worked. Additionally, I did not pass any extra env vars or program args.

When I switched to proton-cachyos-11.0, both 20260703-slr-x86_64 and 20260520-slr-86_64 versions, I no longer had any crashing issues. Again, no extra env vars or program args were passed to make it work.

I’m not sure how to digest this or what the reason could be for the improvement, but it is another data point and has been stable for me so far on either the Fedora kernel or the cachyos-kernel with the proprietary driver and BOTH closed and open kernel module.

System details:

Operating System: Ultramarine Linux 44
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.6-cachyos1.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900HX
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 3080 Ti Laptop GPU
Graphics Processor 2: Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 82TD
System Version: Legion 7 16IAX7

Still seeing CTX crashes playing Deadlock on the following machine, high preset:

Driver 615.71.09
OS: CachyOS x86_64
Kernel: Linux 7.2.6-1-cachyos
Uptime: 4 days, 14 hours, 55 mins
Display (AW2725DF): 2560x1440 in 27", 360 Hz [External] *
Desktop Environment: KDE Plasma 6.7.5
Window Manager: KWin (Wayland)
CPU: AMD Ryzen 9 9950X3D (32) @ 5.76 GHz
GPU 1: AMD Radeon Graphics [Integrated]
GPU 2: NVIDIA GeForce RTX 5090 [Discrete]
Memory: 27.31 GiB / 91.96 GiB (30%)
Disk (/): 26.16 GiB / 1.69 TiB (2%) - zfs