← All projects
Project record1 mention
Originally shared on Hacker News

npu-render

An experimental hack that makes Windows composite its desktop GUI using the NPU as if it were a GPU, offloading rendering work from the GPU. Tested on an Intel NPU on a Panther Lake machine, it reduced 3D GPU usage from 3.4% to 0.6% at the cost of ~1.6 FPS, with the long-term goal of freeing the GPU for AI inference.

Last shared
01 / The problem

What it addresses

GPU capacity is tied up by desktop GUI compositing; offloading that work to the NPU aims to free up the GPU for AI inference.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. npu-render

    An experimental hack that makes Windows composite its desktop GUI using the NPU as if it were a GPU, offloading rendering work from the GPU. Tested on an Intel NPU on a Panther Lake machine, it reduced 3D GPU usage from 3.4% to 0.6% at the cost of ~1.6 FPS, with the long-term goal of freeing the GPU for AI inference.

    Problem: GPU capacity is tied up by desktop GUI compositing; offloading that work to the NPU aims to free up the GPU for AI inference.

    Posted by @jackwsmth · Original source ↗

    Story title · @jackwsmth · · Source ↗

    Show HN: Render your Windows desktop GUI on the NPU

    Submitted URL · @jackwsmth · · Source ↗

    https://github.com/labscommunity/npu-render

    Source text · @jackwsmth · · Source ↗

    We wanted to see if it was possible to get Windows into using the NPU like a GPU, and compositing the desktop GUI.

    Source text · @jackwsmth · · Source ↗

    Well the longer-term idea is to free up the GPU as much as possible so eventually, you could have more GPU free for AI inference.

    Source text · @jackwsmth · · Source ↗

    By offloading the work to the NPU we did manage to bring 3D GPU usage down from 3.4% to 0.6%... but at a large expense to performance (you will get 1.6 FPS doing this).

    Source text · @jackwsmth · · Source ↗

    All of this was tested on an Intel NPU on a Panther Lake machine.