mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 20:55:59 +01:00
update mgpu for aq
This commit is contained in:
parent
2e89405bf2
commit
0162577cf1
1 changed files with 6 additions and 27 deletions
|
@ -59,38 +59,17 @@ with lower and higher power rating GPUs respectively.
|
||||||
{{< /callout >}}
|
{{< /callout >}}
|
||||||
|
|
||||||
If you wish to use the integrated GPU to run Hyprland, no further action is
|
If you wish to use the integrated GPU to run Hyprland, no further action is
|
||||||
required. Aquamarine will set `AQ_DRM_DEVICES` to the integrated GPU by default.
|
required.
|
||||||
|
|
||||||
If instead you would like to use another GPU, you must first create a symlink to
|
If instead you would like to use another GPU, or the wrong GPU is picked by default,
|
||||||
the card from the previous section.
|
set `AQ_DRM_DEVICES` to a `:`-separated list of card paths, e.g.
|
||||||
|
|
||||||
It is not possible to use `~/.config/hypr/card` as aquamarine will not expand it correctly.
|
|
||||||
You must include full path e.g `$HOME/.config/hypr/card`
|
|
||||||
```
|
```
|
||||||
ln -sf /dev/dri/by-path/pci-0000:06:00.0-card $HOME/.config/hypr/card
|
env = AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1
|
||||||
```
|
```
|
||||||
|
|
||||||
It is not possible to directly use the `/dev/dri/by-path/pci-0000:06:00.0-card` path,
|
Here, we tell Hyprland to set priorities. If `card0` isn't available for
|
||||||
as aquamarine interprets the colon symbols in the path as separators. Escaping
|
whatever reason, use `card1`.
|
||||||
characters will not rectify this.
|
|
||||||
|
|
||||||
Afterwards, you must set the `AQ_DRM_DEVICES` environment variable in
|
|
||||||
hyprland.conf to this linked card.
|
|
||||||
|
|
||||||
|
|
||||||
```ini
|
|
||||||
env = AQ_DRM_DEVICES,$HOME/.config/hypr/card
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to set a sequence of fallback cards, symlink another card and set
|
|
||||||
the var as a colon separated list in order of priority.
|
|
||||||
|
|
||||||
```ini
|
|
||||||
env = AQ_DRM_DEVICES,$HOME/.config/hypr/card:$HOME/.config/hypr/otherCard
|
|
||||||
```
|
|
||||||
|
|
||||||
Here, we tell Hyprland to set priorities. If `card` isn't available for
|
|
||||||
whatever reason, use `otherCard`. So if the AMD GPU isn't available, use NVIDIA.
|
|
||||||
|
|
||||||
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.
|
||||||
|
|
Loading…
Reference in a new issue