[GH-ISSUE #5031] Crash at "creating the pipelines" on Microsoft Basic Render Driver (DX12) #1530

Closed
opened 2026-11-02 15:47:44 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5031

Version: Nightly 2026-10-31 · 7aa0e28 · OS: Windows 10 Pro 22H2 (19045.6466) · Intel Core i5-4310U (2C/4T) · Intel HD Graphics (Haswell GT2, 8086:0A16, Dell Latitud (copied from the report)

Crash at "creating the pipelines" on Microsoft Basic Render Driver (DX12) — tag: crash

What I did:

  • Launcher updated itself to the newest Nightly (2026-10-31 · 7aa0e28)
  • Clicked play; the client window opened

What happened:
Dies about a second after "creating the pipelines" — no frame, no error dialog. The log shows it picked the software renderer instead of my GPU:
'renderer: Microsoft Basic Render Driver (Dx12, Cpu)'
'renderer: creating the pipelines'

Windows Event ID 1000:
Faulting module: d3d10warp.dll 10.0.19041.5794
Exception 0xc0000005, fault offset 0x574948
No crash-reports folder is written — native access violation, not a panic.

What I expected:
Renders on my Intel GPU through DX12, or a clear "unsupported GPU" message instead of crashing inside Windows' software rasterizer.

Does it happen every time? Yes, 7/7 launches, same offset. Also on Nightly 2026-10-30 · 1da354b, and with HORIZON_HDR_OUTPUT=off / HORIZON_GPU_CULL=0 HORIZON_FLAT_DRAWS=1.

Horizon version: Nightly 2026-10-31 · 7aa0e28

OS, CPU, GPU: Windows 10 Pro 22H2 (19045.6466) · Intel Core i5-4310U (2C/4T) · Intel HD Graphics (Haswell GT2, 8086:0A16, Dell Latitude 14 Rugged 5404), driver 20.19.15.4835 from 2017 · 16 GB RAM · 1366x768

Extra: DXGI lists my GPU as adapter #0, vram 112 MB, NOT software-flagged; "Microsoft Basic Render Driver" is #1 (flags=2, SOFTWARE). D3D12CreateDevice at feature level 11_0 and 12_0 both return S_OK, so hardware DX12 is available. The client asks for features including 2 GiB buffers, silently falls back to #1 without logging why, and WARP crashes compiling pipelines. Log attached.

Reported on Discord by ✦ 𝐁𝐚𝐬𝐢𝐥 ✦ in #horizon-bugs · Discord thread
Tags: crash

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5031 **Version:** Nightly 2026-10-31 · 7aa0e28 · **OS:** Windows 10 Pro 22H2 (19045.6466) · Intel Core i5-4310U (2C/4T) · Intel HD Graphics (Haswell GT2, 8086:0A16, Dell Latitud <sub>(copied from the report)</sub> > **Crash at "creating the pipelines" on Microsoft Basic Render Driver (DX12)** — tag: crash > > What I did: > - Launcher updated itself to the newest Nightly (2026-10-31 · 7aa0e28) > - Clicked play; the client window opened > > What happened: > Dies about a second after "creating the pipelines" — no frame, no error dialog. The log shows it picked the software renderer instead of my GPU: > 'renderer: Microsoft Basic Render Driver (Dx12, Cpu)' > 'renderer: creating the pipelines' > > Windows Event ID 1000: > Faulting module: d3d10warp.dll 10.0.19041.5794 > Exception 0xc0000005, fault offset 0x574948 > No crash-reports folder is written — native access violation, not a panic. > > What I expected: > Renders on my Intel GPU through DX12, or a clear "unsupported GPU" message instead of crashing inside Windows' software rasterizer. > > Does it happen every time? Yes, 7/7 launches, same offset. Also on Nightly 2026-10-30 · 1da354b, and with HORIZON_HDR_OUTPUT=off / HORIZON_GPU_CULL=0 HORIZON_FLAT_DRAWS=1. > > Horizon version: Nightly 2026-10-31 · 7aa0e28 > > OS, CPU, GPU: Windows 10 Pro 22H2 (19045.6466) · Intel Core i5-4310U (2C/4T) · Intel HD Graphics (Haswell GT2, 8086:0A16, Dell Latitude 14 Rugged 5404), driver 20.19.15.4835 from 2017 · 16 GB RAM · 1366x768 > > Extra: DXGI lists my GPU as adapter `#0`, vram 112 MB, NOT software-flagged; "Microsoft Basic Render Driver" is `#1` (flags=2, SOFTWARE). D3D12CreateDevice at feature level 11_0 and 12_0 both return S_OK, so hardware DX12 is available. The client asks for features including 2 GiB buffers, silently falls back to `#1` without logging why, and WARP crashes compiling pipelines. Log attached. Reported on Discord by **✦ 𝐁𝐚𝐬𝐢𝐥 ✦** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566006487233470554) Tags: crash <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:47:44 +07:00
Author
Owner

@k3yh commented on GitHub (Oct 31, 2026):

🤖 Agent: same cause as #3978, which #3985 fixes.

wgpu-hal hides DX12 adapters with Resource Binding Tier 1 and logs nothing about it (third_party/wgpu-hal/src/dx12/adapter.rs:243-252, "We require Tier 2 or higher"). Haswell is Tier 1, as is the Fermi in #3978 (Feature levels in Direct3D: "Tier 1 (Nvidia Fermi, Intel Haswell/Broadwell)"). That leaves WARP (Microsoft Basic Render Driver) as the only DX12 adapter, and Auto takes it before it tries OpenGL.

The 2 GiB limits in the log are not the cause. request_adapter takes no limits, and gfx.rs reads them from the adapter it already picked (gfx.rs:1141, :1154).

#3985 makes Auto skip DeviceType::Cpu adapters and go on to OpenGL. Not tested on Haswell here: a build of #3985 on the reporter's laptop would show whether OpenGL works on that GPU.

<!-- gh-comment-id:6541624200 --> @k3yh commented on GitHub (Oct 31, 2026): 🤖 Agent: same cause as #3978, which #3985 fixes. wgpu-hal hides DX12 adapters with Resource Binding Tier 1 and logs nothing about it (`third_party/wgpu-hal/src/dx12/adapter.rs:243-252`, "We require Tier 2 or higher"). Haswell is Tier 1, as is the Fermi in #3978 ([Feature levels in Direct3D](https://en.wikipedia.org/wiki/Feature_levels_in_Direct3D#Support_matrix): "Tier 1 (Nvidia Fermi, Intel Haswell/Broadwell)"). That leaves WARP (Microsoft Basic Render Driver) as the only DX12 adapter, and Auto takes it before it tries OpenGL. The 2 GiB limits in the log are not the cause. `request_adapter` takes no limits, and `gfx.rs` reads them from the adapter it already picked (`gfx.rs:1141`, `:1154`). #3985 makes Auto skip `DeviceType::Cpu` adapters and go on to OpenGL. Not tested on Haswell here: a build of #3985 on the reporter's laptop would show whether OpenGL works on that GPU.
Author
Owner

@rdbtCVS commented on GitHub (Oct 31, 2026):

🤖 Agent: Fixed on main by #3985 (1b789e5f1, merged 2026-10-31, after this report). This is the same cause as #3978: wgpu hides Tier-1 DX12 adapters, which leaves only the Microsoft Basic Render Driver (WARP). The Auto backend now skips CPU adapters and falls back to OpenGL. If a current Nightly still fails, please reopen with the new log.

<!-- gh-comment-id:6550609791 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: Fixed on main by #3985 (`1b789e5f1`, merged 2026-10-31, after this report). This is the same cause as #3978: wgpu hides Tier-1 DX12 adapters, which leaves only the Microsoft Basic Render Driver (WARP). The Auto backend now skips CPU adapters and falls back to OpenGL. If a current Nightly still fails, please reopen with the new log.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1530
No description provided.