Repository navigation
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
44.0.0, 43.6.0, 41.0.3 (three separate apps, all affected)
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 Home (Chinese), 10.0.26200 (build 26200)
What arch are you using?
x64
Last Known Working Electron version
Unknown — the machine has had two Indirect Display Driver (IDD) adapters installed for a long time.
Does the issue also appear in Chromium / Google Chrome?
Yes
Expected Behavior
Electron apps should launch on a Windows machine whose display topology contains Indirect Display Driver (IDD) adapters — the virtual monitors used by remote-desktop, screen-streaming, and Android-emulator software. These adapters are a normal, permanent part of many Windows setups (remote work, VDI, streaming, emulators) and are usually the only way a remote user can see the screen at all.
Electron should either pick the real hardware adapter, or fall back to software rendering. It should not terminate the whole browser process.
Actual Behavior
Three unrelated Electron apps crash on launch, with no window and no error dialog. All three produce the identical fatal sequence:
ERROR:content\browser\gpu\gpu_process_host.cc:1108] GPU process exited unexpectedly: exit_code=-2147483645
WARNING:content\browser\gpu\gpu_process_host.cc:1558] The GPU process has crashed 1 time(s)
... (repeats)
WARNING:content\browser\gpu\gpu_process_host.cc:1558] The GPU process has crashed 6 time(s)
FATAL:content\browser\gpu\gpu_data_manager_impl_private.cc:416] GPU process isn't usable. Goodbye.
exit_code=-2147483645 is 0x80000003 (STATUS_BREAKPOINT). After 6 attempts the app exits immediately.
Affected apps on this machine (all reproducible, all with a clean profile):
| App | Electron | Chrome | Result |
|---|---|---|---|
| Kimi Desktop | 43.6.0 | 150.0.7871.250 | 0 processes, exits after 6 GPU crashes |
| ZCode | 41.0.3 | 146.0.7680.80 | exits after 6 GPU crashes |
| DeepSeek Harness | 44.0.0 | 152.0.7977.54 | exits after 6 GPU crashes |
Because three different Electron majors (41 / 43 / 44) fail identically, this is not a version regression — it is a persistent condition of this machine's display topology.
The only way to launch any of them is --no-sandbox, which works 3/3 times on all three apps. Every other GPU-related flag fails:
| Flag | ZCode | DeepSeek Harness |
|---|---|---|
--no-sandbox |
3/3 works | 3/3 works |
--disable-gpu-sandbox |
0/3 | 0/3 |
--disable-gpu |
0/3 | 0/3 |
--disable-gpu-compositing |
0/3 | 0/3 |
--use-angle=d3d11 / d3d11on12 / gl / swiftshader |
0/3 | 0/3 |
--in-process-gpu |
0/3 | 0/3 |
--no-sandbox is not an acceptable fix for end users: it disables the renderer sandbox and is not something an end user can set on a packaged app anyway.
Testcase Gist URL
No response
Additional Information
This is not the DACL / zombie-SID bug
I am aware of #51761, #52098, #52255 and #51770. Those are caused by orphaned S-1-15-2-* ACEs in the app directory's DACL, and are fixed by icacls /reset on the install folder. That fix does nothing here. I verified:
- The install directories (
D:\software\Kimi,D:\software\ZCode,D:\software\DeepSeek Harness) contain no orphaned or unresolvable SIDs. icaclsreports no "Unknown Account" entries in any of the three install trees.- The crash is 100% reproducible and 100% deterministic; it is not intermittent.
- The identical failure occurs on apps installed under
D:\software\(not%LOCALAPPDATA%\Programs), so the MSIX/AppX ACE-leak scenario does not apply. - The failing process is the GPU process, and it fails after successfully creating at least one adapter — meaning the sandbox launched, but the GPU init inside it did not survive.
Machine hardware
- CPU: Intel(R) Core(TM) Ultra 5 125H (14 cores / 18 threads, Meteor Lake)
- iGPU: Intel(R) Arc(TM) Graphics —
PCI\VEN_8086&DEV_7D55&SUBSYS_3E7219E5&REV_08, driver31.0.101.5382 - Display adapters present (
Get-CimInstance Win32_VideoController):
| # | Name | PNP Device ID | Driver |
|---|---|---|---|
| 0 | wjIddDriver Device |
ROOT\DISPLAY\0000 |
9.22.56.244 |
| 1 | Intel(R) Arc(TM) Graphics |
PCI\VEN_8086&DEV_7D55... |
31.0.101.5382 |
| 2 | GameViewer Virtual Display Adapter |
ROOT\DISPLAY\0001 |
15.6.5.199 |
Note that both IDD adapters enumerate before the real Intel adapter in the Display device class, and they are enumerated on ROOT\DISPLAY\* rather than on the PCI bus.
Why the display topology matters
Both non-hardware adapters are genuine Microsoft Indirect Display Drivers (IDD) built on the UMDF / IddCx framework. From GameViewerIddDriver.inf (shipped by the streaming app):
Class = Display
ClassGUID = {4D36E968-E325-11CE-BFC1-08002BE10318}
[Standard.NTamd64.10.0...22000]
%DeviceName%=MyDevice_Install_WIN11, Root\GameViewerIddDriver ; ROOT bus, not PCI
[MyDevice_HardwareDeviceSettings]
HKR,, "UpperFilters", %REG_MULTI_SZ%, "IndirectKmd" ; <- Microsoft IDD upper filter
HKR, "WUDF", "DeviceGroupId", %REG_SZ%, "IddDriverGroup"
[MyDevice_Install.NT.Wdf]
UmdfService=GameViewerIddDriver,IddDriver_Install
UmdfExtensions = IddCx0102 ; <- IddCx indirect display frameworkThese adapters are dynamic and hot-pluggable: the kernel PnP log shows the ROOT\DISPLAY\0000 node being created, torn down and re-created by user-mode software:
System log, Microsoft-Windows-Kernel-PnP:
[09/28/2026 22:31:08] ID=225 Application \Device\HarddiskVolume4\software\leidian\wujie\bin\wujie.exe (PID 25212)
"stopped to remove or eject device" ROOT\DISPLAY\0000
[09/28/2026 18:34:34] ID=219 Driver \Driver\WUDFRd failed to load. Device: ROOT\DISPLAY\0000
status: 0xC0000365
So these display devices appear, disappear and fail to re-initialize while the session is live. An Electron app launching during or after such a transition sees an unstable adapter list.
Why I believe the GPU process dies rather than falling back
The LOG(FATAL) in gpu_data_manager_impl_private.cc is only reached once FallBackToNextGpuMode() reports that the fallback stack is exhausted. On Windows GpuProcessHost::GetFallbackCrashLimit() is a hard-coded 3, and the stack is HARDWARE → DISPLAY_COMPOSITOR → SOFTWARE_GL. Here the GPU process dies 6 times before the fatal, i.e. it crashes again after every single fallback, including the software path. That points at something that is not "the hardware adapter is bad", but "the GPU-side sandbox/init cannot complete in this display environment at all".
--no-sandbox working while --disable-gpu-sandbox does not is also informative: --disable-gpu-sandbox leaves the GPU process running with the renderer sandbox settings (kNoSandbox vs kDisableGpuSandbox are distinct switches in sandbox/policy/switches.cc). The fact that the app comes up only when the whole sandbox is off suggests the failure happens during GPU-process startup, before or outside the GPU sandbox is even the deciding factor.
In-depth investigation
Adapter enumeration has no IDD / software filter. CollectDriverInfoD3D() in gpu/config/gpu_info_collector_win.cc walks DXGI adapters with a plain loop and assigns the first one as the primary GPU:
for (i = 0; SUCCEEDED(dxgi_factory->EnumAdapters(i, &dxgi_adapter)); i++) {
DXGI_ADAPTER_DESC desc;
CHECK_EQ(S_OK, dxgi_adapter->GetDesc(&desc));
GPUInfo::GPUDevice device;
device.vendor_id = desc.VendorId;
device.device_id = desc.DeviceId;
// ...
if (i == 0) {
gpu_info->gpu = device;
} else {
gpu_info->secondary_gpus.push_back(device);
}
}There is no check of DXGI_ADAPTER_FLAG_SOFTWARE, no check of D3DKMT_ADAPTERTYPE.IndirectDisplayDevice, and no preference for PCI-attached adapters. Whatever DXGI returns at index 0 becomes gpu_info->gpu. On this machine index 0 (by Display-class enumeration order) is an IDD on the ROOT bus.
Chromium is aware that non-PCI display devices exist — bug 973695 ("InitializeAndStartSandbox uses the wrong information to lookup devices in fallback databases") was specifically about "Scenarios such as Windows Virtual Desktop, Remote Desktop and VM connection are not PCI displays" being mis-parsed. That issue fixed the parsing of the device id string, but the enumeration still has no IDD/software classification step.
On the ANGLE side the same gap exists: third_party/angle/src/gpu_info_util/SystemInfo_win.cpp also enumerates DXGI adapters without filtering IDD devices.
Environment note (why this is a real-world blocker, not an exotic config). This machine is being controlled remotely. The IDD adapters are the remote-session display: disabling them costs the user control of the machine entirely. Asking the user to uninstall the IDD drivers to make Electron launch is not a workaround — it is a data-loss / lock-out risk. This is the reason such setups are common and will become more common, and it is the reason the fallback chain needs to survive an unexpected adapter rather than kill the browser.
Steps to reproduce the crash on this machine (no special tooling required):
- Install any of the three apps above on a machine that has at least one IDD adapter on the ROOT bus.
- Launch the app with no command-line flags.
- Observe: no window appears; the process exits within ~1 second; running from a shell with
--enable-logging=stderrprints the sixexit_code=-2147483645lines followed byGPU process isn't usable. Goodbye. - Relaunch with
--no-sandbox→ the app starts normally.
What a fix could look like (for discussion, not a demand):
- When selecting the primary GPU in
CollectDriverInfoD3D(), skip adapters flaggedDXGI_ADAPTER_FLAG_SOFTWAREand adapters whose PnP device is on the ROOT bus / whoseD3DKMT_ADAPTERTYPE.IndirectDisplayDevicebit is set, unless no other adapter exists. - Make the GPU fallback chain resilient: if every mode including software rendering is exhausted, prefer to start with GPU disabled (and log loudly) over terminating the browser process. Users strongly prefer a degraded window over no window.
- At minimum, surface the real reason.
GPU process isn't usable. Goodbye.gives users nothing actionable; the actual GPU-init failure is swallowed before theLOG(FATAL).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields👍 Does Not Block Stable
Activity
tiancaixiaoxi commentedon Sep 29, 2026
I've since found two more pieces of evidence that strengthen this report, and one important correction to my own flag matrix.
1. Independent corroboration: the same signature, the same virtual adapter
While searching, I found an unrelated app reporting the identical failure with the same virtual display adapter present:
GameViewer Virtual Display Adapterexit_code=-2147483645, same0x80000003(STATUS_BREAKPOINT), sameFATAL ... GPU process isn't usable. Goodbye.That report is still open with zero maintainer response and no labels after ~4 months. It is the same
GameViewer Virtual Display Adapter(driver 15.6.5.199) that is on my machine, and Todesk is the same class of IDD as mywjIddDriver. Two unrelated apps, two different machines, same adapter vendor, same crash — this is a reproducible class, not a one-off.2. Important correction: the sandbox is a second, independent factor
The hermes-desktop report states that
--disable-gpu --disable-software-rasterizer --no-sandboxstill crashed for them. That contradicts a simple reading of my own matrix, so I want to be precise about what I actually observed:--no-sandboxalone--no-sandboxcombined with--disable-gpu--disable-gpu-sandboxaloneSo
--no-sandboxalone recovers the apps, but--no-sandboxplus a GPU-disabling flag does not. That is consistent with hermes-desktop#592 seeing failures, since every combination they tried included a GPU-disabling flag.This tells us there are two independent failures layered on top of each other:
Fixing only one of these will not be enough, which is probably why this has stayed unfixed. I've adjusted my original repro steps accordingly: to reproduce cleanly, launch with no flags at all, not with a GPU-disabling flag.
3. Chromium has known about the IDD case since 2019 — and it was only half-fixed
Two historical Chromium bugs describe exactly this class of device, and neither resulted in the enumeration being fixed:
crbug.com/973695 — "InitializeAndStartSandbox uses the wrong information to lookup devices in fallback databases", reported by a Microsoft engineer (2019-06-13). Key quotes:
The proposed solution was to enumerate via DXGI, then resolve the adapter's device path through
DisplayConfigGetDeviceInfo/SetupDiOpenDeviceInterfaceWinstead of string-parsing a device id. The DXGI half was adopted; the adapter classification (is this an IDD? is it on the PCI bus?) was not.crbug.com/671539 — patch "Fix a bug that GPU process may fail to launch in RDP sessions", which found that
EnumDisplayDevices()can return only the mirror driverRDPUDD Chained DDwith an emptyDeviceIDand no physical display device, "which will cause the failure of launching the GPU process."So the pattern — an indirect/virtual display device causes GPU-process startup to fail — has been observed and papered over twice, but never structurally addressed. My machine has two such adapters (
wjIddDriver,GameViewer) enumerated ahead of the real PCI adapter, which is the same situation with more of the trigger present.4. Why the IDD adapters cannot simply be removed
Both of my IDD adapters are load-bearing for how the machine is used:
wjIddDriveris created and torn down dynamically by an Android-emulator component (wujie.exe), per the kernel PnP log in the original report.GameViewer Virtual Display Adapteris the display used by the remote-control session. This machine is being controlled remotely; disabling the virtual display ends the remote session. Telling users to uninstall the IDD driver to make an app launch is not a workaround, it's removing their ability to use the machine.That is the core argument for handling this inside Chromium/Electron rather than in user config.