You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is what I've found to install the full AMD Driver package including EOCm for AI Deep Learning/Machine Learning. (Still trying to figure out how to use EOCm as Tensorflow for for dockers like Frigate NVR and Shinobi NVR)
If you have a docker that can use a GPU, add the following under device
Host: Container:
/dev/dri /dev/dri
(This also works for Jellyfin. Once Jellyfin is installed, open and go to the "playback" menu and select VA-API. There is a AMD AMF option, but I haven't gotten that one to work)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The following is what I've found to install the full AMD Driver package including EOCm for AI Deep Learning/Machine Learning. (Still trying to figure out how to use EOCm as Tensorflow for for dockers like Frigate NVR and Shinobi NVR)
sudo apt-get update
wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/jammy/amdgpu-install_5.4.50401-1_all.deb
sudo apt-get install ./amdgpu-install_5.4.50401-1_all.deb -y
sudo amdgpu-install -y --accept-eula --usecase=rocm,workstation --vulkan=pro --no-32 && sudo apt install vainfo radeontop && sudo apt-get install rocm-dkms rocm-utils rocm-libs rocm-dev && sudo apt install libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-video-amdgpu -y && sudo usermod -a -G video $LOGNAME && sudo usermod -a -G render $LOGNAME
If you have a docker that can use a GPU, add the following under device
Host: Container:
/dev/dri /dev/dri
(This also works for Jellyfin. Once Jellyfin is installed, open and go to the "playback" menu and select VA-API. There is a AMD AMF option, but I haven't gotten that one to work)
The install include tools such as
rocm-smi
https://www.mankier.com/1/rocm-smi#
To run, I put the following
/opt/rocm/bin/rocm-smi
vainfo
sudo vainfo
Example
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 22.3.0-devel for Radeon RX 5500 XT (navi14, LLVM 15.0.3, DRM 3.49, 5.15.0-58-generic)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
radeontop
sudo radeontop
https://www.mankier.com/1/radeontop
Hope this helps anyone else who has or wants to use a AMD GPU
Beta Was this translation helpful? Give feedback.
All reactions