arch/pkg/de-p1st-gpu-amdgpu
2022-04-15 15:36:53 +02:00
..
.install amdgpu: add to MODULES and (re)generate initramfs 2021-05-24 16:11:06 +02:00
mkinitcpio.conf.holoscript fix holoscript of mkinitcpio 2021-12-17 22:22:43 +01:00
PKGBUILD refactor 2022-04-15 15:36:53 +02:00
README.md update README (amdgpu-pro-installer) 2022-01-10 14:03:35 +01:00
TESTED amdgpu: update README 2021-05-24 16:46:15 +02:00

AMD Graphics Card

Good overview (table):

AMDGPU

From gentoo wiki one should use AMDGPU e.g. for:

AMD Zen 2 "4000" series 7nm laptop APUs

AMDGPU (mandatory packages)

  • archwiki -> AMDGPU -> Installation

  • archwiki -> Xorg -> AMD

  • archwiki -> Lenovo-IdeaPad-S540-13ARE (Ryzen 7 4800U CPU)

  • archwiki -> Hardware_video_acceleration -> ATI/AMD

  • HW-video-accel verification:

    • run vainfo and vdpauinfo as non-root
  • amdgpu module

# "DRI driver for 3D acceleration"
depends=(mesa)
# "DDX driver for 2D acceleration"       
depends+=(xf86-video-amdgpu)
# "Vulkan support"
depends+=(vulkan-radeon)
# "HW-vide-acceleration: VA-API"
depends+=(libva-mesa-driver)
# "HW-vide-acceleration: VDPAU"
depends+=(mesa-vdpau)

Verification:

lspci -k | grep -EA3 'VGA|3D|Display'

Example output:

	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

AMDGPU PRO (optional packages)

  • archwiki -> AMDGPU#AMDGPU_PRO
  • archwiki -> AMDGPU_PRO

The amdgpu-pro-installer contains proprietary components for AMDGPU (it works on top of AMDGPU). (AUR: Search by Package Base, Keywords amdgpu-pro-installer)

Quote about the opengl part (from archwiki -> AMDGPU):

From Radeon Software 18.50 vs Mesa 19 benchmarks article: When it comes to OpenGL games, the RadeonSI Gallium3D driver simply dominates the proprietary AMD OpenGL driver.

# proprietary OpenGL implementation
depends+=(amdgpu-pro-libgl)
# proprietary OpenCL implementation
depends+=(opencl-amd)
# proprietary Vulkan implementation
depends+=(vulkan-amdgpu-pro)
# Advanced Media Framework implementation
depends+=(amf-amdgpu-pro)