Plex HW Transcoding in TOS 5.1

Discussion about Plex and Emby Media Server
User avatar
fantastiicck
Posts: 11
Joined: 12 Mar 2023, 20:15

Re: Plex HW Transcoding in TOS 5.1

Post by fantastiicck »

{L_BUTTON_AT}TMSupport

Any update for your community ?
User avatar
TMzethar
TerraMaster Team
Posts: 1128
Joined: 27 Oct 2020, 16:43

Re: Plex HW Transcoding in TOS 5.1

Post by TMzethar »

{L_BUTTON_AT}fantastiicck

Sorry not yet, please keep waiting.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
jhalfhide
Posts: 37
Joined: 31 Dec 2020, 01:19

Re: Plex HW Transcoding in TOS 5.1

Post by jhalfhide »

Just no point even trying to sync content to my phone until this is resolved.

Image
F2-422 running TOS 5.1
Plex/Sonarr/Radarr/Lidarr/SabNZBD
User avatar
jhalfhide
Posts: 37
Joined: 31 Dec 2020, 01:19

Re: Plex HW Transcoding in TOS 5.1

Post by jhalfhide »

Version 1.32.0.6865

Still no HW transcoding
F2-422 running TOS 5.1
Plex/Sonarr/Radarr/Lidarr/SabNZBD
User avatar
fantastiicck
Posts: 11
Joined: 12 Mar 2023, 20:15

Re: Plex HW Transcoding in TOS 5.1

Post by fantastiicck »

jhalfhide wrote: 04 Apr 2023, 13:33 Version 1.32.0.6865

Still no HW transcoding
I guess, no I'm pretty sure the problem is with TOS5 and not Plex.
User avatar
iacutone
Posts: 4
Joined: 09 Apr 2023, 20:02

Re: Plex HW Transcoding in TOS 5.1

Post by iacutone »

djonesuk wrote: 12 Mar 2023, 05:12 I haven't been able to get hw transcoding working on Plex since upgrading to TOS 5.1. I was on TOS 4.x before and it worked just fine. As a workaround, I have installed the official Plex docker image and hw transcoding is working just fine after passing through /dev/dri - so it doesn't look like a kernel issue but something is wrong the userland/libraries in TOS.

Model: F5-221
TOS: 5.1.24
Plex Media Server: 1.3.1
I have plex installed via DOCKER, I can't activate hw transcoding. I have added /dev/dri and it doesn't work, does not show hw in transcoding. Attached a view from transcoding in PLEX pannel control and container details.

What could I do to enable hw transcoding? It consumes a lot of resources from my TNAS currently.

Model: F2-243
TOS: 5.1.29
Plex Media Server: 1.32.0.6918 with Plex Pass Lifetime
Attachments
Container details.png
Plex Pannel Control
Plex Pannel Control
User avatar
djonesuk
Posts: 23
Joined: 28 Jun 2021, 22:01

Re: Plex HW Transcoding in TOS 5.1

Post by djonesuk »

{L_BUTTON_AT}iacutone

From memory I passed through /dev/dri via a bind mount, set envs PLEX_UID=1009 PLEX_GID=6 and enabled privilege mode for the container. Hope that helps
User avatar
joventura
Posts: 2
Joined: 11 Apr 2023, 22:18

Re: Plex HW Transcoding in TOS 5.1

Post by joventura »

I bought this device (F5-221) because of hardware transcoding but it doesn't work. Is there a solution or do I have to return it?
User avatar
iacutone
Posts: 4
Joined: 09 Apr 2023, 20:02

Re: Plex HW Transcoding in TOS 5.1

Post by iacutone »

{L_BUTTON_AT}iacutone
djonesuk wrote: 10 Apr 2023, 09:36 From memory I passed through /dev/dri via a bind mount, set envs PLEX_UID=1009 PLEX_GID=6 and enabled privilege mode for the container. Hope that helps
I have set these values and doesn't work. I have tried many setup, I'm not a specialist (hehehe) but I'm persistent. At first I couldn't even claim the server. Researching and reading I was able to configure Plex via ssh with the following code:

Code: Select all

#!/bin/bash
sudo chmod 777 /dev/dri /dev/dri/card0 /dev/dri/renderD128

docker create \
--name=plex \
--net=host \
-e VERSION=latest \
-e PUID=0 \
-e PGID=0 \
-e TZ=Europe/Madrid  \
-e PLEX_CLAIM=XXXXXXXXXXX \
-v /home/user/Multimedia/config/plex:/config \
-v /home/user/Multimedia:/media \
-v /home/user/Transcode:/transcode \
--device /dev/dri:/dev/dri \
--device /dev/dri/card0:/dev/dri/card0 \
--device /dev/dri/renderD128:/dev/dri/renderD128 \
--restart unless-stopped \
lscr.io/linuxserver/plex:latest

docker start plex
docker exec plex apt-get -y update
docker exec plex apt-get -y install i965-va-driver vainfo
docker restart plex
This is the last one I used I don't Know if it is well.
User avatar
fantastiicck
Posts: 11
Joined: 12 Mar 2023, 20:15

Re: Plex HW Transcoding in TOS 5.1

Post by fantastiicck »

{L_BUTTON_AT}joventura
joventura wrote: 11 Apr 2023, 22:23 I bought this device (F5-221) because of hardware transcoding but it doesn't work. Is there a solution or do I have to return it?
you can return it whether it's TM or Plex no one moves for the problem. (I still assume that the problem comes from TM and not Plex because in the TOS 4 version and the same version of Plex the transcoding works). I am used to this situation because even with a rollback from TOS 5 to 4 I have a problem launching the Plex application. So I'm sticking with TOS 5 and a Plex that runs my CPU at 100% every time I watch. no possibility of playing 2 videos at the same time whereas before the transition to TOS5 I could read 4-5 simultaneously!
Locked