Skip to content

Share AMDGPU-Pro drivers with distrobox? #1620

Closed Answered by VortexAcherontic
VortexAcherontic asked this question in Q&A
Discussion options

You must be logged in to vote

To answer my own question. Some can install ROCm inside the box without DKMS and things will work.
An init_hook could look like this for a Rocky Linux 8 box:

init_hooks="sudo dnf install https://repo.radeon.com/amdgpu-install/6.3.1/rhel/8.10/amdgpu-install-6.3.60301-1.el8.noarch.rpm -y && sudo amdgpu-install --usecase=rocm --no-dkms -y"

Tested this with DaVinci Resolve on a Rocky Linux 8 distrobox container. AMD GPU acceleration is then available.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VortexAcherontic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant