From 39ab773edd6a42d04e00549e7fe698cff0f41fb2 Mon Sep 17 00:00:00 2001 From: izmyname <135810812+izmyname@users.noreply.github.com> Date: Sat, 16 Nov 2024 23:58:14 +0500 Subject: [PATCH] Multi-GPU: add information on how to export AQ_DRM_DEVICES for uwsm users (#872) --- pages/Configuring/Multi-GPU.md | 11 +++++++++++ pages/Useful Utilities/Systemd-start.md | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pages/Configuring/Multi-GPU.md b/pages/Configuring/Multi-GPU.md index bb11198..1c52d24 100644 --- a/pages/Configuring/Multi-GPU.md +++ b/pages/Configuring/Multi-GPU.md @@ -73,3 +73,14 @@ whatever reason, use `card1`. You should now be able to use an integrated GPU for lighter GPU loads, including Hyprland, or default to your dGPU if you prefer. + +{{< callout type=info >}} + +[uwsm](../../Useful-Utilities/Systemd-start) users are advised to export the `AQ_DRM_DEVICES` variable inside `~/.config/uwsm/env-hyprland`, instead. +This method ensures that the variable is properly exported to the systemd environment without conflicting with other compositors or desktop environments. + +```plain +export AQ_DRM_DEVICES="/dev/dri/card0;/dev/dri/card1" +``` + +{{< /callout >}} diff --git a/pages/Useful Utilities/Systemd-start.md b/pages/Useful Utilities/Systemd-start.md index 0ad6298..2ac360b 100644 --- a/pages/Useful Utilities/Systemd-start.md +++ b/pages/Useful Utilities/Systemd-start.md @@ -58,7 +58,7 @@ For instructions for other distros and manual building, see [building and instal {{< callout type=info >}} -Pay attention to the warnings in [Environment variables](../../Configuring/Environment-variables/#xdg-specifications) and [Dispatchers](../../Configuring/Dispatchers) sections. +Pay attention to the warnings in [Environment variables](../../Configuring/Environment-variables/#xdg-specifications), [Multi-GPU](../../Configuring/Multi-GPU) and [Dispatchers](../../Configuring/Dispatchers) sections. {{< /callout >}}