You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cap crashes on launch with AMD Radeon 780M iGPU (atio6axx.dll, 0xc0000005) #1954
The crash also occurred with webcam "heavy" background blur disabled, and with --disable-gpu flag (no effect, likely because Cap uses Tauri/native rendering, not Electron/Chromium).
Workaround: forcing the app to run on the NVIDIA dGPU instead of the AMD iGPU avoids the crash.
This crash in atio6axx.dll (AMD's OpenGL/DirectX driver) at the same offset across multiple driver versions points to a driver-level bug triggered by Cap's GPU initialization path. The fact that forcing the app to the NVIDIA dGPU works confirms the AMD driver is the culprit.
Related context:
Issue #1756 reports a similar hybrid GPU problem on macOS (MacBook Pro with AMD dGPU + Intel iGPU), where Cap was selecting the wrong GPU. The code already requests PowerPreference::HighPerformance when initializing wgpu adapters (see gpu_context.rs:56-58 and crates/rendering/src/lib.rs:155-158), but on Windows hybrid systems the OS may still route through the iGPU driver.
Potential workarounds to try:
Force software rendering - Set environment variable CAP_RENDER_FORCE_SOFTWARE_ADAPTER=1 before launching Cap. This bypasses the AMD driver entirely by using CPU rendering (slower but stable).
Force DX12 backend - Cap on Windows prefers DX12 when available (lib.rs:147-166). You could try setting WGPU_BACKEND=dx12 to ensure it doesn't fall back to Vulkan, which uses different AMD driver code paths.
Windows GPU preference settings - In Windows Settings > System > Display > Graphics, add Cap.exe and explicitly set it to use the NVIDIA GPU (which you've already found works).
For the maintainers:
The crash happens during wgpu adapter initialization or first GPU operation, likely in prewarm_gpu() or the shared GPU context setup. Similar AMD Radeon 700M series driver crashes have been reported in other wgpu-based apps. A defensive approach would be to wrap the initial adapter probe in a catch for access violations and fall back to software rendering, similar to how init_gpu_inner() in gpu_context.rs:132-148 already handles panics.
The camera module already uses LowPower preference (camera.rs), which may avoid the problematic AMD iGPU on hybrid systems - a similar approach for the main rendering path on Windows could help.
Cross-referencing the same failure from an unrelated application on the same GPU combination, in case it helps.
Warp terminal (warp.exe, v0.2026.09.16.08.27.stable_02) on a Windows 11 laptop with the same MSHybrid setup (Radeon 780M iGPU + RTX 4060 Laptop dGPU) crashes with the identical signature:
Faulting module: atio6axx.dll
Exception code: 0xC0000005
Fault offset: 0x99df74 on driver 32.0.22029.1019, 0xb1c74a on 32.0.31041.1004 — stable per driver build (different from Cap's 0xb4a7fa, but the module, the exception code and the "stable offset across driver builds" pattern all match)
One Warp-specific detail that may be useful for narrowing this down: the crash happens while the application brings up its graphics backends, before any rendering on the selected adapter. Warp actually selects the NVIDIA dGPU for rendering (confirmed in its own log: Using Dx12 DiscreteGpu (NVIDIA GeForce RTX 4060 Laptop GPU) for rendering new window.) and still crashes inside atio6axx.dll.
Warp's crash-recovery path works around it by relaunching itself with WGPU_BACKEND=vulkan,dx12 (OpenGL backend explicitly excluded), and that second attempt never crashes. Setting WGPU_BACKEND=vulkan,dx12 for the primary process also stops the crash entirely, which is consistent with your finding that forcing the dGPU avoids it.
Activity
linear commentedon Jun 30, 2026
CAP-742
tembo commentedon Jun 30, 2026
This crash in
atio6axx.dll(AMD's OpenGL/DirectX driver) at the same offset across multiple driver versions points to a driver-level bug triggered by Cap's GPU initialization path. The fact that forcing the app to the NVIDIA dGPU works confirms the AMD driver is the culprit.Related context:
Issue #1756 reports a similar hybrid GPU problem on macOS (MacBook Pro with AMD dGPU + Intel iGPU), where Cap was selecting the wrong GPU. The code already requests
PowerPreference::HighPerformancewhen initializing wgpu adapters (seegpu_context.rs:56-58andcrates/rendering/src/lib.rs:155-158), but on Windows hybrid systems the OS may still route through the iGPU driver.Potential workarounds to try:
Force software rendering - Set environment variable
CAP_RENDER_FORCE_SOFTWARE_ADAPTER=1before launching Cap. This bypasses the AMD driver entirely by using CPU rendering (slower but stable).Force DX12 backend - Cap on Windows prefers DX12 when available (
lib.rs:147-166). You could try settingWGPU_BACKEND=dx12to ensure it doesn't fall back to Vulkan, which uses different AMD driver code paths.Windows GPU preference settings - In Windows Settings > System > Display > Graphics, add Cap.exe and explicitly set it to use the NVIDIA GPU (which you've already found works).
For the maintainers:
The crash happens during wgpu adapter initialization or first GPU operation, likely in
prewarm_gpu()or the shared GPU context setup. Similar AMD Radeon 700M series driver crashes have been reported in other wgpu-based apps. A defensive approach would be to wrap the initial adapter probe in a catch for access violations and fall back to software rendering, similar to howinit_gpu_inner()ingpu_context.rs:132-148already handles panics.The camera module already uses
LowPowerpreference (camera.rs), which may avoid the problematic AMD iGPU on hybrid systems - a similar approach for the main rendering path on Windows could help.Secremate86 commentedon Sep 23, 2026
Cross-referencing the same failure from an unrelated application on the same GPU combination, in case it helps.
Warp terminal (
warp.exe, v0.2026.09.16.08.27.stable_02) on a Windows 11 laptop with the same MSHybrid setup (Radeon 780M iGPU + RTX 4060 Laptop dGPU) crashes with the identical signature:atio6axx.dll0xC00000050x99df74on driver32.0.22029.1019,0xb1c74aon32.0.31041.1004— stable per driver build (different from Cap's0xb4a7fa, but the module, the exception code and the "stable offset across driver builds" pattern all match)One Warp-specific detail that may be useful for narrowing this down: the crash happens while the application brings up its graphics backends, before any rendering on the selected adapter. Warp actually selects the NVIDIA dGPU for rendering (confirmed in its own log:
Using Dx12 DiscreteGpu (NVIDIA GeForce RTX 4060 Laptop GPU) for rendering new window.) and still crashes insideatio6axx.dll.Warp's crash-recovery path works around it by relaunching itself with
WGPU_BACKEND=vulkan,dx12(OpenGL backend explicitly excluded), and that second attempt never crashes. SettingWGPU_BACKEND=vulkan,dx12for the primary process also stops the crash entirely, which is consistent with your finding that forcing the dGPU avoids it.Reported to AMD: GPUOpen-Drivers/AMD-Gfx-Drivers#112
Warp issue: warpdotdev/warp#16132
richiemcilroy commentedon Nov 4, 2026
Could you try 0.6.2? The new app has no webview and only renders through DX12 on Windows, so it shouldn't touch the AMD OpenGL driver anymore.