Title: Bonsai Viewer startup crash on Windows 10 / NVIDIA Quadro 2000 — WebGPU surface validation error · Issue #10214 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai Viewer startup crash on Windows 10 / NVIDIA Quadro 2000 — WebGPU surface validation error · Issue #10214 · IfcOpenShell/IfcOpenShell
X Title: Bonsai Viewer startup crash on Windows 10 / NVIDIA Quadro 2000 — WebGPU surface validation error · Issue #10214 · IfcOpenShell/IfcOpenShell
Description: Bug Description Bonsai Viewer] Startup crash on Windows 10 / NVIDIA Quadro 2000: unsupported surface COPY_SRC usage and WGSL-to-GLSL shader errors Summary Bonsai Viewer 0.9post1+b5e509b launches and exits almost immediately on a Windows ...
Open Graph Description: Bug Description Bonsai Viewer] Startup crash on Windows 10 / NVIDIA Quadro 2000: unsupported surface COPY_SRC usage and WGSL-to-GLSL shader errors Summary Bonsai Viewer 0.9post1+b5e509b launches an...
X Description: Bug Description Bonsai Viewer] Startup crash on Windows 10 / NVIDIA Quadro 2000: unsupported surface COPY_SRC usage and WGSL-to-GLSL shader errors Summary Bonsai Viewer 0.9post1+b5e509b launches an...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/10214
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai Viewer startup crash on Windows 10 / NVIDIA Quadro 2000 — WebGPU surface validation error","articleBody":"### Bug Description\n\nBonsai Viewer] Startup crash on Windows 10 / NVIDIA Quadro 2000: unsupported surface COPY_SRC usage and WGSL-to-GLSL shader errors\nSummary\nBonsai Viewer 0.9post1+b5e509b launches and exits almost immediately on a Windows 10 x64 workstation with an NVIDIA Quadro 2000 (driver 377.83, 1 GB VRAM). The failure also occurs when launching without an IFC model. --help and --version work.\n\nThe captured stderr indicates that WebGPU creates an adapter and device, but reports WGSL-to-GLSL shader translation errors for ifcviewer-wgpu.hiz_pipeline and ifcviewer-wgpu.edge_pipeline, followed by a Rust panic in wgpuSurfaceConfigure. The surface only supports COLOR_TARGET, while the application requests COPY_SRC | COLOR_TARGET.\nEnvironment\n- OS: Windows 10 Pro x64, build 19045\n- GPU: NVIDIA Quadro 2000, 1 GB dedicated VRAM\n- NVIDIA driver: 377.83\n- Bonsai Viewer: 0.9post1+b5e509b (reported by BonsaiViewer.exe --version)\n- Binary: Windows packaged ZIP distribution (not compiled locally)\n- Application folder: C:\\bomsaiviewer (folder was renamed during testing; same installation)\n- Windows Event Viewer: Application Error, Event ID 1000, BonsaiViewer.exe, ucrtbase.dll 10.0.19041.7802, exception 0xc0000409 (the latter is the Windows-level symptom, not evidence that ucrtbase.dll is defective)\nSteps to reproduce\n1. Extract the packaged Bonsai Viewer Windows build.\n2. Run BonsaiViewer.exe normally. The GUI flashes briefly and the process terminates. No IFC is required to reproduce.\n3. From the installation directory in PowerShell run:\n cmd /c \"BonsaiViewer.exe > bonsai_debug.txt 2>&1\"\n4. Additional trials were run in PowerShell using WGPU_BACKEND=dx12 and WGPU_BACKEND=vulkan, each launching with a local IFC path and redirecting stdout/stderr. Both produced the same crash signatures. We have not established that this application honors WGPU_BACKEND or that either backend was actually selected.\nActual result / diagnostic excerpts\n[info] [initWgpu] 3/7 adapter ready\n[info] [initWgpu] 4/7d device + queue ready\n[info] wgpu init OK; surface format = 23 view format = 23\n[warn] [wgpu err] Shader translation error for stage ShaderStages(FRAGMENT): WGSL `textureLoad` from depth textures is not supported in GLSL\n[warn] [wgpu device error 2] Validation Error\nCaused by:\n In wgpuDeviceCreateRenderPipeline, label = 'ifcviewer-wgpu.hiz_pipeline'\n Internal error in ShaderStages(FRAGMENT) shader: WGSL `textureLoad` from depth textures is not supported in GLSL\n...\n In wgpuDeviceCreateRenderPipeline, label = 'ifcviewer-wgpu.edge_pipeline'\n Internal error in ShaderStages(FRAGMENT) shader: WGSL `textureLoad` from depth textures is not supported in GLSL\n...\nthread '\u003cunnamed>' (...) panicked at src\\lib.rs:605:5:\nError in wgpuSurfaceConfigure: Validation Error\nCaused by:\n Requested usage TextureUses(COPY_SRC | COLOR_TARGET) is not in the list of supported usages: TextureUses(COLOR_TARGET)\nA preceding warning also reads DxcCreateInstance failed: Interfaz no compatible (0x80004002). The logs do not identify the selected backend unambiguously.\nExpected result\nBonsai Viewer should launch on supported hardware, or gracefully report that the device/backend lacks the required features rather than aborting. Ideally, surface configuration would respect wgpuSurfaceGetCapabilities and optional rendering paths would be disabled when unsupported.\nQuestions for maintainers\n1. Is this NVIDIA Quadro 2000 / driver configuration explicitly unsupported by Bonsai Viewer 0.9post1?\n2. Is there an officially supported way to select a compatible rendering backend, or to disable the unsupported HiZ/edge pipelines for diagnostic purposes?\n3. Could the COPY_SRC usage be gated by the surface capability flags, or the application show a meaningful incompatibility message instead of panicking?\n4. Is there a newer build known to address either the GLSL translation errors or surface usage validation?\nAttachments\n- bonsai_debug.txt: original captured output (GUI startup, no IFC required)\n- salida_dx12.txt: attempt with WGPU_BACKEND=dx12\n- salida_vulkan.txt: attempt with WGPU_BACKEND=vulkan\nNo model attachment is needed to reproduce, since the application crashes before loading an IFC model. No WinDbg stack trace or .dmp has been captured. Please advise if one would be useful.\n\n### Attachments\n\n[BonsaiViewer_Incidencia_Quadro2000_2026-11-13.zip](https://github.com/user-attachments/files/34824988/BonsaiViewer_Incidencia_Quadro2000_2026-11-13.zip)\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/Urkoh00","@type":"Person","name":"Urkoh00"},"datePublished":"2026-11-13T21:47:34Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/10214"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:44613325-f491-67b8-0092-f38502e93298 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5BC:2D0B15:1C2921:26DE84:6B0466C3 |
| html-safe-nonce | 3b8af06dc5aca1d38b3c16f07497fe0b304105e63f48f4fac359bb7df8ddefdf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUJDOjJEMEIxNToxQzI5MjE6MjZERTg0OjZCMDQ2NkMzIiwidmlzaXRvcl9pZCI6IjI5MTYwOTkxNjg3NDc2NzczNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 68846f500af3fc33fc79e4e7777d6f7c17cdec02ff0b838a7bee0b78d2538bb1 |
| hovercard-subject-tag | issue:6380557466 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/10214/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1987da724ddee0d213d03512d9169eab0297b3e841637766b3b80c2b6e9e4a9/IfcOpenShell/IfcOpenShell/issues/10214 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1987da724ddee0d213d03512d9169eab0297b3e841637766b3b80c2b6e9e4a9/IfcOpenShell/IfcOpenShell/issues/10214 |
| og:image:alt | Bug Description Bonsai Viewer] Startup crash on Windows 10 / NVIDIA Quadro 2000: unsupported surface COPY_SRC usage and WGSL-to-GLSL shader errors Summary Bonsai Viewer 0.9post1+b5e509b launches an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Urkoh00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width