Synology DS918+ Hardware transcoding

---
version: "2.1"
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1036
      - PGID=100
      - VERSION=docker
      - PLEX_CLAIM=claim-###
    devices:
      - /dev/dri:/dev/dri
    volumes:
      - /volume5/docker/plex/config:/config
      - /volume5/data/media/tv:/TV
      - /volume5/data/media/movies:/movies
      - /volume5/data/media/kids/movies:/kidsmovies
      - /volume5/data/media/kids/cartoons:/cartoon
    restart: unless-stopped

I can’t manage to have the transcoding setting on my 918+

I added since a docker volume /volume5/docker/plex/transcode:/transcode
and I edited the docker file to added

{
   "CapAdd" : null,
   "CapDrop" : null,
   "cmd" : "",
   "cpu_priority" : 0,
   "devices" : [
      {
         "CgroupPermissions" : "rwm",
         "PathInContainer" : "/dev/dri",
         "PathOnHost" : "/dev/dri"
      }
   ],

I also created a script a boot

#!/bin/bash
#Startup Script
#Access for HW Decoder Plex
chmod 666 /dev/dri/renderD128
exit

But yet I don’t have any transcoding hardware option on Plex and while it was working fine with the Plex Package, I have a lot of lag new.
– playing the same file with infuse work juste fine (assuming it doesn’t need transcoding with infuse)

anyway to enable hardware acceleration or bypass the transcoding ?

PS when I do a speedtest with infuse (SMB) I’m around 450Mbps
(The DS918+ use two M2.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

from SSH (not plex user)

:/dev/dri$ ls -la /dev/dri
total 0
drwxrwxrwx  2 root root              80 Nov 27 14:56 .
drwxr-xr-x 16 root root           14600 Nov 27 23:05 ..
crwxrwxrwx  1 root root        226,   0 Nov 27 14:56 card0
crwxrwxrwx  1 root videodriver 226, 128 Nov 27 14:56 renderD128

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.