I just pushed the most recent 1.25.5.5492
to Docker Hub
The container doesn’t update itself while running, in-line with Docker best practices the image itself gets updated with the latest update whenever I push to the repository. ie. you might have to pull the new image to your docker (or use a solution like watchtower to do this automatically)
Excellent thread with tons of great information - thank you.
I very quickly had this (apparently) functioning normally on Unraid. Lower CPU utilization, (hw) clearly output on the dashboard.
However, I quickly discovered that it creates the initial ~60 seconds buffer, it won’t continue transcoding. My stream dies and I get the spinning wheel and it doesn’t recover.
Any thoughts on why this might be the case? Looking at the plex console doesn’t reveal any obvious error message. It’s as if the transcode sleeps and just doesn’t wake back up as the buffer expires.
First of thank you for your work, I read through all of this thread would a regular gpu work with this container? I do have a 5600g apu but I have a 5500xt just sitting on my shelf.
yes, in the thread you see a most using "regular gpu"s, it does work with APUs as well though.
unfortunately with the current amdgpupro 20.50.2 i get constant color flickering
Any advice for implementing on UNRAID for a complete noob? I see some people have installed with success, but the install directions seem to point to a different directory than I recognize. Does any one have a blow by blow instructions?
Trying to get an HP t740 with Radeon Raven to work. Would like to modify the existing standard Plex docker install.
For example, first command is:
cp /lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so /usr/lib/plexmediaserver/lib/dri/ && \
I don’t see a directory for:
/usr/lib/plexmediaserver/
In unraid docker webUI, use the default plex docker app then change “Repository” to mauimauer/spritsail-plex
Follow the rest of the instructions in this thread for variables, paths, etc. (/dev/dri, plex claim code, etc)
The latest version should be up on DockerHub. It seems we have a new issue (as reported here in the thread alread), which is green/pink or red frames flashing while transcoding on the HW is underway. I am uncertain wether this is due to Plex’s Transcoder or a problem with the AMDGPU Mesa drivers.
Meybe it’s worth reporting this to the Plex developers (even if AMD isn’t officially supported. VAAPI is)
With inspiration from @mauimauer and the spritsail image- there’s really nothing stopping this from running on top of the native pms or linuxservers ubuntu based image. Here’s the proof:
Build that container up and it should work relatively well. Passing through /dev/dri on an AMD Ryzen 5 3550H APU. That said, the image built from this is much larger than the spritsail/plex-media-server based image. YMMV, but figured I’d share.
For what it’s worth, it also has the occasional transcode artifacting (but it’s not constant). HDR tone mapping transcodes definitely offloads to the CPU though.
# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
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.6.0)
vainfo: Driver version: Mesa Gallium driver 22.2.0-devel for AMD Radeon Vega 8 Graphics (raven, LLVM 14.0.0, DRM 3.40, 5.10.0-13-amd64)
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
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I think we all assumed it would work just fine, but I would be very interested in someone turning this into a plugin for the linuxserver/official images (which I think are based on the linuxserver ones?) using this as a guide Customizing our Containers | LinuxServer.io
I believe that would make it so we can use the normal regularly updated images for this.
Excellent stuff. I am still curious to find the cause of the transcoder artifacts (red, green and purple flashes). It was definitely not present when I first put together a HW enabled container for AMD. Question is if it’s a regression with the AMD Mesa drivers or something caused by the Plex Transcoder
that would indeed be the coolest solution for many
i guess if the artifacts wouldnt be there, a solution like @syst.m suggested to create a linuxserver mod would be worth to try
Hey I tried to switch from the linuxserver/plex image to yours but it simply will not grant me access to my library?
I did enter a new Claim token but it will not work…
I really do not want to redo my whole Library but it would be so great if my new APU would be able to HW transcode.
What do I have to do so I can switch to this image?