Skip to content

Commit

Permalink
Multi-GPU: add information on how to export AQ_DRM_DEVICES for uwsm …
Browse files Browse the repository at this point in the history
…users (#872)
  • Loading branch information
izmyname authored Nov 16, 2024
1 parent 23caaee commit 39ab773
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions pages/Configuring/Multi-GPU.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
2 changes: 1 addition & 1 deletion pages/Useful Utilities/Systemd-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}

Expand Down

0 comments on commit 39ab773

Please sign in to comment.