Use Xe-capable btop on Intel xe GPU systems#6139
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds Intel xe-driver detection and routes affected systems to a temporary btop-xe package so btop can display Intel Xe GPU utilization/frequency (especially on newer Intel platforms using the xe kernel driver). It also adjusts the default btop config to show GPU info inside the CPU panel while keeping the dedicated GPU box hidden.
Changes:
- Add
omarchy-hw-intel-xehardware detector for Intel GPUs running thexedriver (and requiring anxe_*PMU source). - Add an Intel hardware install hook to install
btop-xe, and wire it into the install flow; add a migration for existing installs. - Update the default btop config to enable
show_gpu_info = "On"; addbtop-xeto the “other packages” list for availability.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| migrations/1782416832.sh | Adds a migration to install btop-xe on Intel xe systems and adjust existing btop config. |
| install/omarchy-other.packages | Adds btop-xe to the additional package set for availability. |
| install/config/hardware/intel/btop-xe.sh | Adds an Intel-specific install hook to install btop-xe when applicable. |
| install/config/all.sh | Wires the new Intel btop-xe hook into the install sequence. |
| config/btop/btop.conf | Enables GPU info in the CPU panel by default (show_gpu_info = "On"). |
| bin/omarchy-hw-intel-xe | Introduces a detector for Intel GPUs using the xe driver + available xe_* PMU. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if omarchy-hw-intel-xe && pacman -Si btop-xe &>/dev/null; then | ||
| yes | sudo pacman -S --needed btop-xe | ||
| fi |
|
Updated the companion package PR to reduce the Xe polling overhead: Local Panther Lake/Xe test at Package PR update: omacom-io/omarchy-pkgs#114 (comment) |
Summary
Detect Intel GPUs using the Linux
xedriver and install the temporarybtop-xepackage from OPR so btop can show GPU usage/frequency on Lunar Lake, Panther Lake, Battlemage, and future Xe-driver systems.Also turns on btop GPU info inside the CPU panel by default, while keeping the separate GPU box disabled.
Depends on: omacom-io/omarchy-pkgs#114
Why
Omarchy already installs
btop, but current Archextra/btopdoes not detect Intel GPUs using thexekernel driver. On Panther Lake, btop shows CPU/memory/process stats but no Intel GPU usage/frequency even though the kernel exposes Xe telemetry.This is not Panther Lake-only. The detector checks for Intel PCI GPU devices using
DRIVER=xeand an exposedxe_*PMU source.Upstream context:
What changes
omarchy-hw-intel-xeinstall/config/hardware/intel/btop-xe.shinstall/config/all.shbtop-xeininstall/omarchy-other.packagesfor ISO/package availabilityshow_gpu_info = "On"shown_boxes = "cpu mem net proc"shown_gpus = "nvidia amd intel"Compatibility
This does not disable or hide other GPU vendors.
shown_gpusremains:The package still builds btop with normal GPU support. NVIDIA and AMD users are not routed through this hook because it only runs when an Intel GPU is using the
xedriver.Screenshot
Intended layout: no separate GPU box, with Intel Xe GPU usage shown inside the CPU panel.
Tested
On Intel Panther Lake / Arc B390:
The new detector exits successfully on that hardware:
After the package/config change:
btop -dreports:GPU usage and frequency appear inside the CPU panel.
Additional checks:
Notes
Temporary until upstream btop and Arch
extra/btopship Intelxesupport.AI disclosure: this PR was prepared with AI assistance and manually tested on real Panther Lake hardware.