Jump to content

Amd GPU Drivers in OMV


thomsi

Recommended Posts

Hi, I am looking at using my AMD GPU to transcode video files, especially 4K movies. I have Emby installed on my Open Media Vault server. Does anyone have any idea how I install the AMD graphics drivers please.

 

Many Thanks

 

Thomsi

Link to comment
Share on other sites

4 minutes ago, Luke said:

Hi, I don't know if this might help, it's just what I could find from googling:

https://forum.openmediavault.org/index.php?thread/23101-special-instructions-for-omv-4-on-debian-9-ryzen-radeon/

Hi mate, did see this one myself. Doesn't give any info at all, but thanks for the reply. Will keep searching, I'm sure I will find somewthing.

Link to comment
Share on other sites

Not sure if this may help or i may be way off course but haver you enabled the non free AMD drivers as i believe Emby only works with official AMD Drivers.

Quote

Obvious disclaimer, use these instructions as pointers check the sources at the bottom of each set of instructions) undertake extra research first as you do not want to loose your data!! You proceed at your own risk!

As such you would need to go into Terminal

nano /etc/apt/sources.list

And Add the following to the bottom

deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

Then 

  • Ctrl o
  • Ctrl x

to save and close the file

Then execute the 2 lines below (press enter after each one)

apt update
apt install firmware-linux firmware-linux-nonfree libdrm-amdgpu1 xserver-xorg-video-amdgpu

For more details and extra functions see source here Original Source and info

Then i presume you are running in docker so you would need to passthrough the VAAPI driver by adding this to your docker file:

Docker Compose

devices:
      - /dev/dri:/dev/dri

OR Docker CLI

--device /dev/dri:/dev/dri

Definition from Linuxserver's Emby image (my preferred version)

--device /dev/dri	Only needed if you want to use your Intel or AMD GPU for hardware accelerated video encoding (vaapi).

More info on the above Flags Here Dockerhub Emby

Edited by CassTG
Disclaimer
Link to comment
Share on other sites

Many thanks for the info. What I might do is install OMV, Emby and Docker in a VM environment and try the above first to see if it works. Will give it ago in next few weeks when I have more time and will post here if it works or not.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...