A GPU Manager for linux that uses eBPF LSM hooks to block GPUs
See the codeA GPU manager for Linux for laptops and multi-GPU desktops, using eBPF LSM hooks.

Creator and main maintainer: @luytan
[!IMPORTANT] This project is in early development. Expect bugs and breakage.
Wayland only, X11 is not supported.
I prefer being transparent with it. Cardwire had LLM usages in the early code to have some POC. It has been since rewritten, if i happen to use AI, i try to mention it. For contributors, as said in the llm policy, PRs that contain llm code can be refused
cardwire launch <APP>Head to the docs to see how to install and use Cardwire on your system
Modes are available depending on your system type: Laptop:
Desktop
Cardwire uses eBPF with LSM hooks to intercept file operations on GPU device nodes, such as /dev/dri/renderDX, /dev/dri/cardX, sysfs config, nvidiaX and other GPU-related files.
When a GPU is "blocked," the eBPF program returns -ENOENT for any syscall targeting that device, effectively hiding it from apps.
for issues related to these projects, please report to their respective repo
GNOME extension (by Moxuz): https://extensions.gnome.org/extension/9919/cardwire-gpu-toggle/
KDE Plasmoid: https://github.com/Neo-AzTeK/cardwire-plasmoid
Need help or have a question about Cardwire? Join us on the OGC Discord: https://discord.gg/4K2pZ6abQm
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Rust
99.0%
A GPU Manager for linux that uses eBPF LSM hooks to block GPUs
See the codeA GPU manager for Linux for laptops and multi-GPU desktops, using eBPF LSM hooks.

Creator and main maintainer: @luytan
[!IMPORTANT] This project is in early development. Expect bugs and breakage.
Wayland only, X11 is not supported.
I prefer being transparent with it. Cardwire had LLM usages in the early code to have some POC. It has been since rewritten, if i happen to use AI, i try to mention it. For contributors, as said in the llm policy, PRs that contain llm code can be refused
cardwire launch <APP>Head to the docs to see how to install and use Cardwire on your system
Modes are available depending on your system type: Laptop:
Desktop
Cardwire uses eBPF with LSM hooks to intercept file operations on GPU device nodes, such as /dev/dri/renderDX, /dev/dri/cardX, sysfs config, nvidiaX and other GPU-related files.
When a GPU is "blocked," the eBPF program returns -ENOENT for any syscall targeting that device, effectively hiding it from apps.
for issues related to these projects, please report to their respective repo
GNOME extension (by Moxuz): https://extensions.gnome.org/extension/9919/cardwire-gpu-toggle/
KDE Plasmoid: https://github.com/Neo-AzTeK/cardwire-plasmoid
Need help or have a question about Cardwire? Join us on the OGC Discord: https://discord.gg/4K2pZ6abQm
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Rust
99.0%