microsoft / microsoft/microsoft-ui-xaml

All winui3 app crashes upon launch with No HW rendering device is available for this operation

Open
#10,626 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug team-CompInput
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

Describe the bug

We have a automated ui pressure testing program that's testing our winui3 app. There is certain time that all winui3 app installed on the PC crashes upon launches. Looking the the dump reveals:

Image

Curiously, all UWP app and normal win32 apps still launches and functioning normally.

This is NOT a GPU driver issue and my 3060 VRAM is at <2G in a total of 12G vram

Steps to reproduce the bug

The dumps:

  1. WinUI3 Gallery: https://aka.ms/AAwrztj
  2. WSL settings: https://aka.ms/AAwrztn
Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.7.3: 1.7.250606001

Windows version

Windows 11 (22H2): Build 22621

Additional context

Related: #10487

After I disabled my GPU driver (so everything should be software rendered) without a system restart, everything comes back to normal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the linked WinUI 3 Gallery and WSL Settings dumps for the launch failure, then compare them with related issue #10487. Check the reported difference after disabling the GPU driver without restarting, using Windows 11 build 22621 and Windows App SDK 1.7.3 as the test context; done means identifying a reproducible cause or a documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.