Jump to content


Photo

Hardware Transcoding in Docker on Debian 9

Transcoding Hardware Transcoding Docker Linux Debian

  • Please log in to reply
5 replies to this topic

#1 y2kdread OFFLINE  

y2kdread

    Newbie

  • Members
  • 3 posts
  • Local time: 02:38 PM

Posted 04 May 2019 - 10:51 PM

Hi,

 

I am having some issues doing hardware transcoding through docker. I have everything setup correctly (I think) but it looks like it's still using software. I've setup my emby user as a member of the video group, set permissions to /dev/dri/renderD128 to 777, and have the hardware decoder mapped through docker. See below for my docker-compose config:

# Emby Media Server
  emby:
    image: emby/embyserver
    container_name: emby
    restart: unless-stopped
    network_mode: bridge
    ports:
      - "8096:8096/tcp"
      - "8920:8920/tcp"
    environment:
      - TZ=${TZ}
      - UID=${PUID_EMBY}
      - GID=${PGID_KODI}
      - GIDLIST=44
    volumes:
      - ${PICKYDIR}/emby:/config
      - ${DOCKERDIR}/media:/mnt/share1
      - ${DOCKERDIR}/backups:/mnt/share2
      - ${SSD}/transcode_emby:/transcode
    devices:
      - "/dev/dri/renderD128:/dev/dri/renderD128"

Any other ideas?

 

Attached File  embyserver.txt   153.36KB   0 downloadsAttached File  ffmpeg-transcode-50eb18ad-ccac-460a-aa92-d25b2f210ad6_1.txt   41.79KB   0 downloadsAttached File  hardware_detection-63692603061.txt   114.7KB   1 downloads



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 05 May 2019 - 12:15 AM

Hi, did you install graphics drivers into the container?



#3 y2kdread OFFLINE  

y2kdread

    Newbie

  • Members
  • 3 posts
  • Local time: 02:38 PM

Posted 05 May 2019 - 08:21 AM

Nope, are there any instructions on how to do this?



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 05 May 2019 - 01:57 PM

What hardware do you have? Currently gpu support in Docker is only experimental, therefore at this stage we may not yet have all the answers.



#5 y2kdread OFFLINE  

y2kdread

    Newbie

  • Members
  • 3 posts
  • Local time: 02:38 PM

Posted 05 May 2019 - 08:09 PM

I am using a Nvidia GeForce GT710 on an AMD based motherboard



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 05 May 2019 - 08:13 PM

This is a very helpful article regarding nvidia and docker:

https://www.funkypen...-docker-nvidia/

 

Can you try the steps listed there? Thanks !







Also tagged with one or more of these keywords: Transcoding, Hardware Transcoding, Docker, Linux, Debian

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users