Skip to content

GPU (Windows): fixes vendor shown for Microsoft Basic Display Adapter - #2756

Open
nw4m wants to merge 1 commit into
fastfetch-cli:devfrom
nw4m:fix/gpu-microsoft-basic-display-adapter
Open

nw4m wants to merge 1 commit into
fastfetch-cli:devfrom
nw4m:fix/gpu-microsoft-basic-display-adapter

Conversation

@nw4m

@nw4m nw4m commented Nov 26, 2026

Copy link
Copy Markdown

Fixes #2339

When a GPU is installed without drivers on Windows, the system exposes it as "Microsoft Basic Display Adapter" regardless of the actual hardware vendor. fastfetch was reading the PCI VendorID (e.g. `0x10de` for NVIDIA) and prepending that vendor name to the device name, producing output like "NVIDIA Microsoft Basic Display Adapter".

The fix adds a post-detection normalization step in `ffDetectGPU` that overwrites the vendor field with `"Microsoft"` whenever the GPU name contains "Microsoft Basic Display Adapter", which is the correct attribution for a device running under the generic Microsoft driver.

The check runs after every detection backend (PCI/native, Vulkan, OpenCL, EGL_EXT, OpenGL) to cover all code paths.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Microsoft Basic Display Adapter not appearing properly when GPU is installed without drivers.

1 participant