Hi everyone,
After long search of forums, reddit, discord and github finally have a working method to get AMD iGPU to work with Plex Container for HW Transcoding.
Thanks to multiple unraid members in different channels as this is a consolidated working solution from different sources.
Requirements
Plex Pass (Important)
AMD Processor with iGPU
Radeon-TOP plugin by ich777 (Enables AMD GPU for unraid)
GPU Statistics plugin by b3rs3rk (Helps monitoring GPU usage)
Unraid version 6.9.x and above
Steps
Go to Apps > Search for Plex > Select binhex-plexpass app > Click Install
Add the following variables by clicking + Add another Path, Port, Variable, Label or Device option
Variable 1
Config Type : Device
Name : /dev/dri
Value : /dev/dri
Variable 2
Config Type : Path
Name : /usr/share/libdrm
Container Path : /data/jenkins/conan_build/1113263720/conan/.conan/data/libdrm/2.4.115-3/plex/stable/build/73ee780ba6ea3ef381da6e7f229c475bfaf477ca/meson-install/share/libdrm/
Host Path: /usr/share/libdrm
Access Mode: Read Only
3. Click Apply and wait for the docker container to be created
4. Open plex server page by slecting webui option
5. Go to Settings > Transcoder
6. Enable Use hardware acceleration when available & Use hardware-accelerated video encoding options
7. Select Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] option in Hardware transcoding device drop-down menu
8. Click Save Changes (Maybe a restart of Container can also be done after applying changes)
9. Tada.! HW Encoding works
Was able to run 4 4k HDR/DoVi -> 1080p SDR @ 20Mbps streams or 8 1080p -> 720p streams with 5700G before Memory was full
System Spec of the test server which is used for the guide
Processor : AMD Ryzen 7 5700G
Motherboard : MSI B550M PRO-VDH WIFI
RAM : Team Group 16 GB @ 3200 MHZ x 4 (64 GB)
Storage : 2 x 1 TB Samsung 980
4 x 4 TB WD Blue 5400 RPM
Power Supply : Cooler Master G800 GOLD