Repository navigation
Startup tests: start the backends the app would, no OpenGL driver on Windows (#1156) - #7217
Merged
bherbruck merged 3 commits intoOct 27, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Windows (tangency-labs#1156) The software-adapter test enumerated every wgpu backend and the probe test asked OpenGL on its own even where the app stops at D3D12, so both loaded the GPU vendor's OpenGL driver (atio6axx.dll on AMD) into the test process, where it once aborted the process at exit with c0000409. The adapter test now starts what the software renderer starts (D3D12 alone on Windows) and the probe test probes in the app's order, stopping at the first backend with a GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review: the adapter test now takes the backends from the app's own wgpu_options(true, None) instead of a copy of its choice, and the probe test no longer re-checks the order choose_backends' own test covers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yhamil04
marked this pull request as ready for review
October 27, 2026 08:02
Contributor
Author
|
Note 🤖 Claude Opus 5.5 responding on behalf of yhamil04 Ready for review: a test-only fix for #1156. The two startup tests no longer load the OpenGL driver on Windows. Could a maintainer add |
bherbruck
added this pull request to the merge queue
Oct 27, 2026
Merged
via the queue into
tangency-labs:main
with commit Oct 27, 2026
6b7f193
84 of 87 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Fixes #1156.
Two startup tests in the desktop app loaded the GPU vendor's OpenGL driver into the test process. On AMD that driver is
atio6axx.dll, which once aborted the process at exit withc0000409after every test had passed (#1156):the_software_adapter_is_preferred_and_its_absence_is_an_error_not_a_panicenumeratedBackends::all().probing_a_backend_alone_never_panicsprobed OpenGL on its own, even on machines where the app stops at D3D12.Both tests now start only what the app would start, the same approach #1342 took for the offscreen GPU tests:
wgpu_options(true, None): D3D12 alone on Windows (WARP). It asserts that choice whenWGPU_BACKENDis unset.choose_backendsin the app's order and stops at the first backend with a GPU. Elsewhere it probes as before.Nothing outside the tests changes, so nothing is visible in the app.
Changes a default: no
Validation
Tested on Windows 11 with an AMD Radeon RX 6950 XT (driver 32.0.21045.5002).
The abort itself did not reproduce here: 60 of 60 full runs of the app's test binary exited 0 before the change, and 60 of 60 after it.
The driver load did reproduce. I watched which graphics DLLs the test process loads:
atio6axx.dll,atig6pxx.dll,amdvlk64.dll,vulkan-1.dll, D3D12solidcraftbin suiteLocally: one full
cargo xtask cion fa7992e. 81 suites pass, includingsolidcraft bin solidcraft(73 of 73), fmt, clippy and wasm. Three suites fail for reasons outside this change:gpu lib solidcraft_gpuandui-egui lib solidcraft_ui_eguiran out of memory (8 GB per process here) compiling the GPU path shader on AMD's Vulkan driver, so the UI library stopped early. That's GPU path tracer: NVIDIA's Vulkan compiler crashes (nvgpucomp64.dll) or floods memory on the path shader; minimal trigger found #6705/solidcraft-gpu tests: every path test compiles the path shader itself; on NVIDIA/Windows the suite runs for hours and commits ~80 GB #6706; PR GPU path tracer: the path shader compiles on NVIDIA's Vulkan driver (#6705) #6850 fixes it on AMD too (measured there).gpu test depth: two pixel tests failed under load and pass when run alone.documents::tests::tab_tooltip_says_where_the_design_is_savedfails wheneverHOMEis set on Windows (Git Bash sets it): it compares a\path with/.Screenshots of the behavior (when observable)
Not applicable: test-only change, nothing changes in the app.
Integration status
Branch on main 0d32821. No conflicts.
🤖 Generated with Claude Code