Plex hardware transcoding docker

Hallo zusammen, ich habe endlich meine DVDs und Blu-Rays digitalisiert und einen Plex-Docker aufgesetzt. 89. I'm also using hardware transcoding. I found some general guidelines online, but none that covered all aspects (especially dual layer Hardware transcoding option is selected in Plex, i'm a Plex Pass member. Recently added a Quadro P1000 and installed Nvidia drivers from the Qnap App Store, so now I have both QuickSync and GPU available. Click the Settings - the wrench - link in the upper-right corner of the Plex server page. Go to [Settings], and switch to [Server] settings. On the right, check the Use hardware acceleration when available checkbox. In addition, hardware transcoding must be enabled in Plex transcoder settings as shown below. Host Path: /dev/shm. Plex Media Server NAS & Devices. The setup involved running Plex inside a Docker container, inside of an LXC container, running on top of Proxmox. From the Background transcoding dropdown menu, choose Super fast, then click Save Changes. Click the Save Changes button. This image uses Linuxserver/Plex as its base image to ensure that Plex stays up-to-date Yep. 10. Login to Proxox, Check/Test your DNS from proxmox, change repositories, update. 2. The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple. Unraid Dashboard confirms my CPU is being used not my GPU. I recently had to get GPU transcoding in Plex to work. Simply check [Use hardware acceleration when available] and click [Save Changes] I did a quick test on my 3-year old TVS-471 (Intel Core i3-4150 Dual-Core 3. chown -R nobody:users /dev/dri. Sep 12, 2021 · DS920+ not hardware transcoding. Sep 21, 2018 · 1. 04 Server virtual machine running on Hyper-V Server 2019. My script to change /dev/dri permissions is in autorun. Update: this has now been fixed. Running Super Micro X8DTL-iF with 2 x Xeon E5620. TerraMaster has gained popularity as a budget NAS for Plex as well as a general-purpose NAS. May 16, 2023 · Hi there, sharing experience and a guide on how i got this working. Docker is installed and I use Plex with the configuration underneath. Plex docker config: PSA: Linux server, Plex docker, and Nvidia GPU hardware transcoding Select the new task and click Run (in the future it will run at every reboot) 2. My options are Ryzen 5 5600G (Vega 7) vs i5-11600K (UHD 750). Click on the toggle for 'advanced view'. . After almost pulling the trigger on a refurbished p400 I came across some Tesla P4's on ebay and seem to be the best bang for the buck. But seems not working. To get Plex to recognize the Intel drivers that support tone mapping I had to: 1. 65. They all played, and the 4k ones hardware transcoded down to 1080p, as that is my monitor's resolution. I have an Intel Arc A380 (AsRock A380 Challenger ITX) and I can confirm hardware transcoding now works in Plex Media Server using the current (as at 11 May 2023) Plex Pass Docker image in Ubuntu Server 23. Your cpu cant really handle it at all. NEW: • (Music) Add "Deep Cuts" station. r/PleX. 04 LTS, docker image is from linuxserver team. I'm trying to decide what distro of Linux I'm going to run & how I'm going to install plex. Mar 29, 2022 · 5. • (Transcoder) Hardware transcoding is now supported for SDR media on AMD GPUs on Linux (#14332) • (Transcoder) Hardware transcoding is now supported when running Plex Media Server on headless Windows Jan 7, 2015 · My server has 128GB ram and I wanna use it this for transcoding. May 1, 2023 · STEP 24. Save it to docker-compose. From the menu on left, click Transcoder under the Settings section. Works great with hardware transcoding. total 0. 2+. Step 2: This was required for my system to use Quicksync properly as the out-of-box docker container wouldn't work naturally. I would recommend either your only volume or your fastest volume. Install Docker. For hardware encoding to work, you will need the latest 6. Once the RAM disk is created, you just need to configure Plex to use the disk for transcoding. 08. Ultimately, the recommendation will be to add a dedicated transcoding box that uses Intel QuickSync. 8-amd64 I have a new N100 machine on the way for hardware transcoding. Feb 13, 2019 · edit-Just figured it out, uncheck Use hardware accelerated video encoding but leave Use hardware acceleration when available checked. Or would I have to change to a VM, which I don't really want to do. /dev/dri:/dev/dri is set the composer Content of "cat /dev/dri" when attached to the container: card0 renderD128. 7210 is now available to Plex Pass users in the Beta update channel. For many reasons including knowledge and quick recovery I am attempting to move my "arr" app stack over to Docker compose from QNAP Container Station GUI including Plex which is currently running as a QPKG app and transcoding on a GTX1060. Reply. Hi, I'm trying to do some hardware transcoding in Docker Plex - but my server's /dev/dri directory is missing Running Plex in Docker on Ubuntu Server 20. I was about to purchase it when I came across a couple of reddit posts Plex hardware transcoding Just want to share my joy of finally getting hardware transcoding to work again on Plex after months of it being broken, I had been using the official Plex container up untill now since I figured it's the official docker so I figured it would work right? Nov 26, 2023 · After rebooting with the new kernel, within the Plex Settings, under the Transcoding section, enabling hardware acceleration should be available. Additionally, the Arc A380/A310 should show up in the Hardware transcoding device dropdown. docker: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. TerraMaster F5-422 - Best NAS with Plex Server for the Price. bpo. Requirements for using hardware transcoding in Plex: A CPU and/or GPU that supports hardware transcoding. I set folder and set trancoding in plex web: sudo mkdir /mnt/plexdisk. 60GHz) (with HDMI plugged), Ubuntu 20. 13-1 Usul - Kernel Linux 5. i5-12600k 40gb ram and no more GPU! I tried 5-6 4K transcodes no problem : r/PleX. 264, the Software transcode runs at 1. Not to mention Plex doesn't even enable the AMF support in their custom ffmpeg build configs. Hardware transcoding is a Plex Pass feature that can be added to your Docker container by bind mounting the relevant kernel device to the container. Follow the instructions in the image below. I am using the transcoding unlock script. My mistake by not realising I needed to provide docker with access to the igpu ( Plex on Docker on Synology: enabling Hardware Sep 3, 2023 · Start by ensuring that your AMD GPU is compatible with Plex Media Server’s hardware transcoding. Wondering if Ryzen APU's work for hardware transcode yet or if I should go with Intel for Quicksync. Do docker exec -it Plex /bin/bash and check the permissions for /dev/dri. Oct 28, 2021 · Deutsch. To show you what the situation was like Dec 6, 2021 · In this guide I will be taking you through the steps to download and setup Plex with hardware transcoding in Docker on a Synology NAS. First check, what version of However, I have evolved over 15 years from a Mediasmart EX 470 to Plex running in a Docker container in a Ubuntu 22. Jun 28, 2019 · Click OK to create the RAM disk. After this, you should consult the Using Hardware-Accelerated Streaming article to enable hardware acceleration within the Plex app. If you need GPU transcoding, you pretty much need an Intel CPU with an iGPU that can run Quicksync on it. I already had Plex hardware decoding working. Jetzt ist vor allem bei langen Serien/Filmen (größere Dateien) aufgefallen, dass schon 2 Streams Probleme machen. Step 1 – Install Intel Drivers. g. chmod -R 777 /dev/dri. Jan 3, 2023 · After installing an NVIDIA graphics card, follow these steps to allocate the graphics card to the NAS system: Go to Control Panel > Hardware > Hardware Resource. I prefer the plexinc/pms-docker:plexpass image. server-docker. Enabling hardware transcoding in Plex. Go to variable named 'TRANS_DIR' and set the value to /transcode. Check the boxes next to both Use hardware acceleration when available and Use hardware-accelerated video encoding. if you supply PUID 1000 and PGID 100 the permission you have to chmod 1000:100. image: plexinc/pms-docker. Haswell quicksync does not support decoding hevc media. Sucks for plex. A Plex Pass. My previous crappy Plex server running on a Celeron N4100 struggled with anything 4k. These cards tick all the boxes for added to an unraid server, but just curious if a GPU can be passed through to Plex in docker. ports: - 32400:32400/tcp. Restart your machine and enter BIOS. I have Hardware Transcoding enabled in Plex settings. Server Version#: 1. Headless NUC ( Intel(R) Core(TM) i5-10210U CPU @ 1. I eventually found the issue: my Plex configuration folder was migrated from a previous computer where I was running Plex in Docker. 12. 32. You definitely have to make sure the permissions are the same as the user inside Plex. Sep 10, 2018 · So, I'm running LinuxServer Plex, and everything is good in the hood, when I decide to try hardware transcoding (running i7-8700k). Immediately worked after doing this and cpu load is <20% (4 threads being used for VM so not necessarily just from transcoding) while gpu video load is ~8%. I was amazed. It should be noted that hardware transcoding doesn't currently work with the latest public PMS Docker build. Enable intel integrated graphics and disable IOMMU. This is a $220 crap computer. Go to PleX. I've dug through a few threads and have: - Switched to running plex through docker instead of the native app - Added the VaapiDriver=”i965″ code the to preferences Plex won't use hardware transcoding (Ubuntu) I am on Ubuntu 20. Server (hardware): iGPU is enabled in UEFI, set as primary device. If your Docker host has access to a supported CPU with the Intel Quick Sync feature set and you are a current Plex Pass subscriber, you can enable hardware transcoding within your Plex Docker container. 0. Last year I added a GTX 1060 to offload hw transcoding, so now I can sell or use this card for gaming instead. I'm picking up a quadro p2000 gpu to throw into the unraid Jan 7, 2024 · Here’s what I did on Ubuntu. reboot. My configuration is tested for: - Debian 10 Buster (wich is OMV5) - OMV 5. 2 or higher, are suitable for this Your cpu is Haswell. If hardware transcoding works on the host will it automatically be passed to the docker container? Proxmox and VM config from Jeffs (Craft Computing) excellent video tutorial: Plex on ProxMox Tutorial WITH nVidia Hardware Encoding Watch it before trying to do it! Unsupported distribution during nvidia-docker2 install: Install nvidia-docker on Ubuntu 20. I got everything to work but HW transcoding is not working. 04 on an Intel NUC 11PAKi5. Honestly the best option is to buy a micro form factor pc for Plex with the nas as your storage. Plex settings. Published February 23, 2022. I have a Plex Pass. 04, but I have no /dev/dri directory. Save your changes. 6. Dec 8, 2017 · On my Unraid flash drive, I opened up my "go" file with NotePad (it's in the Config folder), and put in the following: #Setup drivers for hardware transcoding in Plex. To confirm your host kernel supports the Intel Quick Sync feature, the following command can be executed on the host: Aug 3, 2020 · Today, I wanted to find out how to enable hardware transcoding in Plex, running in a Docker container, on a Synology DiskStation Manager system. I followed this guide to give permissions Hardware transcoding is really a mess with qnaps weird docker implementation. I have tried HDR content and non HDR Content. For those of you that are thinking of trying it out, here's the long and the short of it IT WORKS! I'm running a W-1270 CPU that has the Intel integrated graphics. Apr 6, 2023 · Would be great to see if someone tries with this guide and system-d, I’m just wiped and not going to try. Select QTS mode. 0-0. 2 (to support 13th gen Intel CPU) apt update. Select [Transcoder] and then click [Show Advanced] 3. Was this article helpful? Dec 7, 2020 · Add a variable to your Docker template with the Key: 'NVIDIA_VISIBLE_DEVICES' and as Value: 'YOURGPUUUID' (like 'GPU-9cfdd18c-2b41-b158-f67b-720279bc77fd') Add a variable to your Docker template with the Key: 'NVIDIA_DRIVER_CAPABILITIES' and as Value: 'all' Make sure to enable hardware transcoding in the application / container itself Oct 5, 2022 · Following all the steps in the guide worked well for regular hardware acceleration, but I was struggling to get tone mapping working. There's a 4K dummy plug in the HDMI port. Update Kernel to 6. I'm not using any I am planning on using this docker compose on my ubuntu docker server. What I want to make sure is hardware transcoding works (quicksync). Any tips on how to get the CPU's hardware transcoding working with Docker Jan 3, 2023 · I had wanted to enable hardware transcoding in Plex for a while, but was under the (incorrect) impression that the CPU in the Docker host didn't support Intel Quick Sync. I then played every single file. 04 with kernel 6. Add the Plex Image. 08) I just wanted to report my experience with using the official Plex docker container and performing hardware transcoding on Beta 21. The hardware portion of this guide assumes: You have an existing NAS with all of your media on it Sep 16, 2020 · Marius described a way of doing it exporting the docker-settingsfile and modifiying it but I miss some details to go through with it (guide refers to elements that' s missing in my configfile, and yes my DS918+ does hardware transcoding). If using NVENC on an Ubuntu or Debian host, make sure to install the NVIDIA container toolkit on the host. Every video is transcoding well in HW mode. I am somewhat new to Docker and Linux, dabbled a bit over the years in IT, so know a few basics but not enought to get past this hurdle. Click on the Show Advanced button, and change the Transcoder temporary directory to the drive letter you entered above. plex: container_name: plex. latest: will update plex to the latest version available that you are entitled to. I have a Core i7-4770, and Ubuntu 17. Oct 12, 2021 · I was able to get Emby working with Intel QuickSync hardware decoding via Docker through Container Station on an Intel QNAP. SSD as drive but the speed is limited by the hardware, the DS918+ is connected to a 10Gb switch, Layer 3 --but limited with the 1Gb NIC , client AppleTV 4K / MacMini. As explained above, passing /dev/dri from the Docker host to the container makes the GPU available for the Plex media server docker container to use. Make sure both “Use hardware acceleration when available” and “Use hardware-accelerated video encoding Feb 17, 2021 · 59. Click the Image button on the left of the screen. 5GHz with an embedded Intel® HD Graphics 4400), comparing the CPU usage while Tdarr containers support NVENC and VAAPI hardware/GPU accelerated transcoding. The occasional times I have Tautulli open while people are streaming remotely, it has shown that each stream is being HW transcoded. The 423+ should be capable based on the CPU (Intel® Celeron® J4125), and I also bought Plex Pass this morning. 24. I use an RX570 and R7 2700X and haven't noticed any issues (not that I've been looking) with HW transcoding. I've seen some talk on r/Plex about hardware transcoding using something like a p400 Quadro card. E. 2+ Kernel. 02). For questions and comments about the Plex Media Server. What needs to be done is to run the literal Docker container creation command: 1. Jun 23, 2020 · To get Intel Quick Sync CPU hardware transcoding working I needed to add the following to the plex docker compose; devices: - /dev/dri:/dev/dri Then I enabled it in Plex > Settings > Transcoder. I have an optiplex 7050 MFF with i7 and 8gb ram and 240GB ssd. Transcode to cache (recommended) Go to unRAID web ui/Docker tab/left click Plex container and select 'edit'. Because of how plex docker works, you vant first try to transcode with your igpu, then your gpu; its relying entirely on your igpu which is failing and falling back to cpu processing only. (The DS918+ use two M2. This is my proposed config. ssh folder and set permissions for files. Unraid version: 6. I'm trying to get hardware transcoding working in Docker myself, but I'm a bit lost. 4930. This is the same as leaving this setting out of your create command. Oct 30, 2021 · Here are the steps I did to enable Intel Quicksync/Hardware Transcoding and install Plex: 1. On the flip side I think Quicksync is fully supported in Linux. Open the Plex Web UI and go to Settings → Transcoder. Save settings and exit BIOS (usually F10 key). No matter what I do not see the (HW) in the Plex dashboard while transcoding. You will be prompted for where to place Docker. Most modern AMD GPUs, especially those supporting OpenCL 1. You can quickly verify that you have your host system set up correctly by running the following Docker run commands. Log into the desktop of the NAS (https://<NAS IP address>:9443) Launch App Center. Set the Transcoder temporary directory to /mnt/plexdisk. 4. Install Development Packages. It only uses software transcoding which makes videos constantly buffer and pushes the CPU Tesla P4 and Plex Docker Transcoding. Jellyfin support AMD zero-copy hardware transcoding on both Windows (AMF) and Linux (VA-API). I'd really appreciate any hints here, I'd be very happy to solve this once and for all. sudo mount -t tmpfs -o rw,size=50G tmpfs /mnt/plexdisk. So I am wondering if anyone else is running Plex, in a Docker container, in WSL 2, on Windows 10 Pro with HW transcoding using Intel QuickSync (/dev/dri I think). In the sidebar under the Settings section, click Transcoder. Share on: This Post describes how to set up Plex in a Docker Container while using the hw transcoding functionality from my Quadro GPU and the nVidia Toolkit. Definitive Guide to Unlimited Plex Hardware Encoding streams on Nvidia GeForce Cards in Windows 10. 5x, the HW transcode on the 1650 Plex Docker with AMD/VAAPI support. The guide will also provide recommendations for adding hardware transcoding to your existing setup. Plex, VM and Docker workload will move to the HP ProDesk, but I’m not too sure what to do about the NAS part of my old server. antkappa September 12, 2021, 12:35pm 1. Player Version#: 4. Reply reply Nov 28, 2023 · To incorporate the ZimaBoard into your Plex Media Server, you’ll use SSH (Secure Shell), a protocol that creates a secure connection over an unsecured network. When using iGPU hardware transcoding, the server's CPU offloads the transcoding process to the iGPU, which results in faster transcoding times and lower CPU usage. Based on the debug log, is this maybe a permission issue with the Feb 23, 2022 · Plex GPU transcoding in Docker on LXC on Proxmox. Aug 11, 2019 · Introduction The purpose of this guide is to give an overview of hardware transcoding with Plex. #Copy SSH files back to /root/. 0-rc5 Hardware: ASROCK X670E PRO RS + AMD Ryzen 9 7900 + DDR5 + Cache NMVE I have been trying to get the plex container to transcode using hw but was not succesful until I found somebody in Reddit referencin Dec 4, 2020 · Launch your Plex app and head to the settings tab. Install Compute, Media, and Display runtimes. Hardware Transcoding in Plex | Grafikkartenempfehlung. conf Add the line below and save the file: options i915 enable_guc=2 then run this command: sudo update-initramfs -u. sudo ubuntu-drivers devices returns just this: == cpu-microcode. py == driver : intel-microcode - distro free. Then you will need to go into the docker container and change transcoding inside plex to /transcode under settings-transcoder-transcoder temporary directory. Based on the Plex NAS compatibilty sheet, we bought a QNAP TS-453D as it ticks all the boxes for hardware acceleration. In order to test this, you’ll need to play some media, and make sure you’re converting it. restart: unless-stopped. iGPU is set to "enabled" in my BIOS, hardware transcoding is enabled in Plex's settings but Plex is refusing to use it. I created a Video Test Files library in Plex and added all of these files to it. version: '3'. 3. May 22, 2023 · Plex Docker Hardware Transcoding. . So I recently got a Synology 423+ and followed the Trash Guides steps to setup Plex and others via Docker, however, I'm running into issues with hardware encoding. The container hosts a fully featured Plex Media Server, with almost all of the useless crap removed, resulting in the smallest container possible whilst maintaining full functionality. Feb 17, 2021. services: plex: image: plexinc/pms-docker. Pass Device Handles. Feb 13, 2021 · It is quite tricky to get Plex hardware transcoding working on OMV in a docker container with nvidia graphics cards. Current server is a 2600k with 24gb ddr3 and no gpu. For those running a Plex in a docker container and have an nVidia graphics card for transcoding in the QNAP, below is docker-compose file to enable Hardware Transcoding. Non Scientific Conversion Test Results - Converting a 3hr HVEC 4k 5,750 MBPS to 8 MBPS 1080p H. By Daniel · 2421 words · 18 min read · Last updated: December 23, 2022. The Intel Quick Sync Video (iGPU) is a hardware component integrated into Intel CPUs, which provides hardware-accelerated video encoding and decoding. Yeah, hardware transcoding definitely works on my h1688x, using the Plex Qnap packages (downloaded from Plex, not the Qnap App Store). #1. A Plex Media Server docker container that enables VAAPI support for AMDGPU hardware accelerated decoding. I have two GPUs in my system, I tryed to pass my GTX 1070 (which is detected on the debian host) to the Plex container but hw transcoding just doesn't work. Click on 'Add another Path, Port, Variable, Label or Device' and select 'Config Type' of 'Path'. A list of current and previous Intel CPU's supporting Quick Sync is available on the Intel website. modprobe i915. apt full-upgrade. In ProxMox open a PVE shell and run "ls -l /dev/dri" at the command prompt. Plex Media Server 1. Client Intel Package Repository Configuration. After a completely new unRAID build I wanted to complete it with a GPU for Plex docker transcoding. 1. I don't get the (hw) for transcodes. 02 and I tried to setup a Plex container with GPU passthrough with the WebUI. My Ask Ubuntu post hasn't gotten much traction - so I'd love some help from this community! Thanks in advance :) Plex HW Transcoding on TrueNAS Scale (21. Hi, I have just updated to 21. Once you’ve established this Jun 8, 2023 · I manage to finally make it work by using 5. Step 2 – Install Linux Kernel 6. I've went into the Plex container, added the extra parameters to do --runtime=nvidia and added in the environment variables to make the specific adapter visible in the docker. 5. I'm trying to transcode 4k content and it just buffers for a while and runs for minute before buffering again. Based on the debug log, is this maybe a permission issue with the I think the only one that might have issue is Plex because I'll need/want HW transcoding using my Intel CPU which supports QuickSync. Passing device handles into Docker cannot be done within the Synology Docker UI. 0-1. Reboot your computer. I have (I believe) everything set up correctly. Enjoy Plex with Hardware Transcoding! Note: If you want to run the Plex container over an HTTPS connection, check my guide on How to Run Docker Containers Over HTTPS. I have the GeForce drivers in, and I see my video card. 16 kernel and doing those steps : Create and then edit the file: /etc/modprobe. d/i915. Notes: I run traefik on a network called proxy-network. I have the latest drivers (525. I'd like to be able to hardware transcode a single 4k stream to the living room TV without a gpu. Windows supports GPU transcoding, but unless you step up to a Quadro P2000 or higher, nVidia drivers cap how many simultaneous transcodes you can have. The smallest* Plex Media Server docker image, built FROM alpine:edge with musl provided by Plex and supporting libraries and binaries built from source. Reply reply. apt install pve-kernel-6. 04 and using a Mini PC with an Intel Celeron N5105. Here is my docker startup script. yaml and start it with docker-compose up -d Of course, add whatever mount points you need and your own PUID/PGID. I need to know what driver packages I will need to load to make it work in ubuntu server. Hdr tone maping in particularly is way Enabled hardware acceleration, valid Plex pass subscription. from SSH (not plex user) :/dev/dri$ ls -la /dev/dri. (NVENC session limit unlock) (Example is on Nvidia Geforce 1060 6gb) So, you want to use your Nvidia GeForce graphics card to transcode more videos on your plex server. Note, this method does away with having to create an overlay. Check the transcode processes finish So I recently got a Synology 423+ and followed the Trash Guides steps to setup Plex and others via Docker, however, I'm running into issues with hardware encoding. Hardware base scaling, deinterlacing, subtitle burn-in as well as HDR/DV tone-mapping are working just fine. Like Synology and QNAP, it is simple to setup, and supports Plex hardware transcoding for 4k videos. The 'Use hardware acceleration when available' setting in Plex. It’s basically the same way, this is from the official docker: Using the Unraid Nvidia Plugin to install a version of Unraid with the Nvidia Drivers installed and add --runtime=nvidia to "extra parameters" (switch on advanced view) and copy your GPU UUID to NVIDIA_VISIBLE_DEVICES. I run Ubuntu on it with Plex docker and NFS shares to the NAS I have Hardware Encoding enabled in Plex. Edited February 28, 2022 by Dural. Dec 23, 2022 · Running Plex in Docker with Hardware Transcoding | digital-creations. It took me some weeks to find out all the little details and I want to share it with you. The iGPU is confirmed to work, I've even used GVT-G to virtualize it (I've sinced removed the GVT-G plugin while Dec 7, 2022 · PS when I do a speedtest with infuse (SMB) I’m around 450Mbps. Found some directions, modified go, syslinux, tossed the correct extra parameter into the docker, and bam, my cpu utilization dropped significantly (like 15% to 5% or something), and tatulli was reporting (HW) in Mar 20, 2021 · I currently have a 9 year old Unraid/Plex server/NAS (i5-3750k) in a 6 drive bay itx case. sh, which I can confirm does work across reboots. Click install next to Docker. 2. kr za qo wp hk dn rr js mo hg