amdgpu: update README

This commit is contained in:
Daniel Langbein 2021-05-24 16:46:15 +02:00
parent eebc63de0b
commit 6971c20990
2 changed files with 22 additions and 8 deletions

View File

@ -21,15 +21,15 @@ From gentoo wiki one should use AMDGPU e.g. for:
* HW-video-accel verification: * HW-video-accel verification:
* run `vainfo` and `vdpauinfo` as non-root * run `vainfo` and `vdpauinfo` as non-root
* `amdgpu` module * `amdgpu` module
* see also: https://wiki.archlinux.org/title/AMDGPU#Loading * https://wiki.archlinux.org/title/AMDGPU#Loading
* The amdgpu kernel module is supposed to load automatically * The amdgpu kernel module is supposed to load automatically
on system boot. on system boot.
* It is possible it loads, but late, after the X server requires it. * It is possible it loads, but late, after the X server requires it.
In this case: In this case:
* Include "amdgpu" in MODULES=(...) of `/etc/mkinitcpio.conf` * Include "amdgpu" in MODULES=(...) of `/etc/mkinitcpio.conf`
* https://wiki.archlinux.org/title/AMDGPU#Specify_the_correct_module_order
* `amdgpu` before `radeon`
```shell ```shell
# "DRI driver for 3D acceleration" # "DRI driver for 3D acceleration"
@ -44,6 +44,19 @@ depends+=(libva-mesa-driver)
depends+=(mesa-vdpau) depends+=(mesa-vdpau)
``` ```
**Verification**:
```shell
lspci -k | grep -EA3 'VGA|3D|Display'
```
Example output:
```
Kernel driver in use: amdgpu
Kernel modules: amdgpu
```
### AMDGPU PRO (optional packages) ### AMDGPU PRO (optional packages)
* archwiki -> AMDGPU#AMDGPU_PRO * archwiki -> AMDGPU#AMDGPU_PRO

View File

@ -0,0 +1 @@
amdgpu module is after crc32c-intel module in /etc/mkinitcpio.conf