Multi-GPU: add information on how to export AQ_DRM_DEVICES for uwsm users (#872)

This commit is contained in:
izmyname 2024-11-16 23:58:14 +05:00 committed by GitHub
parent 23caaeea4a
commit 39ab773edd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -73,3 +73,14 @@ whatever reason, use `card1`.
You should now be able to use an integrated GPU for lighter GPU loads, You should now be able to use an integrated GPU for lighter GPU loads,
including Hyprland, or default to your dGPU if you prefer. 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 >}}

View file

@ -58,7 +58,7 @@ For instructions for other distros and manual building, see [building and instal
{{< callout type=info >}} {{< 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 >}} {{< /callout >}}