Skip to content

Commit 517d20b

Browse files
committed
config/graphical-session/graphics-drivers/*: update video acceleration
mesa has changed this recently
1 parent af7cd5b commit 517d20b

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

src/config/graphical-session/graphics-drivers/amd.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ circa 2012.
2727

2828
## Video acceleration
2929

30-
Install the `mesa-vaapi` and `mesa-vdpau` packages.
30+
For VA-API, install the `mesa-vaapi` package. To ensure the AMD VA-API driver is
31+
used, set the environment variable `LIBVA_DRIVER_NAME` to `radeonsi`.
32+
33+
For VDPAU, install `libvdpau-va-gl`. Set the environment variable `VDPAU_DRIVER`
34+
to `va_gl`.

src/config/graphical-session/graphics-drivers/intel.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,19 @@ respectively `vulkan-loader` and `mesa-vulkan-intel`.
1818

1919
## Video acceleration
2020

21-
Install the `intel-video-accel` meta-package:
22-
23-
This will install all the Intel VA-API drivers. `intel-media-driver` will be
24-
used by default, but this choice can be overridden at runtime via the
25-
environment variable `LIBVA_DRIVER_NAME`:
21+
For VA-API, install the `intel-video-accel` meta-package, which will install all
22+
the Intel VA-API drivers. `intel-media-driver` will be used by default, but this
23+
choice can be overridden at runtime via the environment variable
24+
`LIBVA_DRIVER_NAME`:
2625

2726
| Driver Package | Supported GPU Gen | Explicit selection |
2827
|----------------------|-------------------|--------------------------|
2928
| `libva-intel-driver` | up to Coffee Lake | `LIBVA_DRIVER_NAME=i965` |
3029
| `intel-media-driver` | from Broadwell | `LIBVA_DRIVER_NAME=iHD` |
3130

31+
For VDPAU, install `libvdpau-va-gl`. Set the environment variable `VDPAU_DRIVER`
32+
to `va_gl`.
33+
3234
## Troubleshooting
3335

3436
The kernels packaged by Void are configured with

src/config/graphical-session/graphics-drivers/nvidia.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ also use the universal `modesetting` driver bundled with Xorg (this is the only
2727
option on Tegra-based ARM boards). When in doubt, it's a good idea to try
2828
`xf86-video-nouveau` first. This driver will likely perform better.
2929

30+
### Video Acceleration
31+
32+
For VA-API, install `mesa-vaapi`. To ensure the nouveau VA-API driver is used,
33+
set the environment variable `LIBVA_DRIVER_NAME` to `nouveau`.
34+
35+
For VDPAU, install `libvdpau-va-gl`. Set the environment variable `VDPAU_DRIVER`
36+
to `va_gl`.
37+
3038
### Reclocking
3139

3240
Only first generation Maxwell, Kepler, and some Tesla cards support manual

0 commit comments

Comments
 (0)