Jump to content

Emby Server unter Proxmox-LXC - Wird die HW genutzt?


paddl82

Recommended Posts

paddl82

Hallo zusammen.

 

Seit einiger Zeit nutze ich den Emby-Server unter einem LXC-Container mit Proxmox. 

Soweit so gut. Mir stellt sich allerdings die Frage, ob Emby (Premium Key vorhanden) für das Transcoding auch meine Hardware nutzt.

 

Dem LXC-Container habe ich die Grafikeinheit des CPU´s durchgereicht mit

lxc.cgroup.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

Der Container ist ein Debian 9 und dort sind entsprechende Shares zu meinen Filmen, Serien und Musik gemountet. Diese wiederum im Emby eingelesen werden. 

Das abspielen der Filme funktioniert tadellos. Wenn Emby - so wie ich mal gelesen habe - nach eigener Entscheidung das Transcoding nutzt klappt auch alles.

 

Mir stellt sich allerdings die Frage, woran sehe ich, ob der Server die Hardware auch unterstützt?

 

Achja, der Proxmox Server an sich ist ein Intel i3-8100 auf einem Supermicro-Board mit 16GB ECC-RAM. 

 

Gruß

Link to comment
Share on other sites

Ein Indiz, das die Hardware gefunden und erkannt wurde ist die Einstellung unter Emby selber. Dort werden dann unter "Transcoding" -> "Erweitert" entsprechende Codecs angezeigt. 

 

Hier mit Unterstützung:

5d6f4537d224a_emby_transcoding_3.png

 

und einmal ohne:

5d6f455a2f111_emby_transcoding.png

 

Link to comment
Share on other sites

Es scheint an den Berechtigungen des durchgereichten Devices zu liegen...

 

Mein Emby LXC - Keine VAAPI unterstützung

root@Emby:~# id emby
uid=999(emby) gid=999(emby) groups=999(emby),44(video)
root@Emby:~# ls -la /dev/dri/
total 0
drwxr-xr-x 2 root root                  60 Sep  6 17:12 .
drwxr-xr-x 7 root root                 480 Sep  6 17:12 ..
crw-rw---- 1 root systemd-journal 226, 128 Sep  2 15:29 renderD128

Emby LXC mit VAAPI unterstützung

id emby
uid=999(emby) gid=997(emby) Gruppen=997(emby),44(video),117(render)
root@emby:~# ls -la /dev/dri
insgesamt 0
drwxr-xr-x 2 root root         60 Aug 28 15:09 .
drwxr-xr-x 7 root root        480 Aug 28 15:09 ..
crw-rw---- 1 root render 226, 128 Aug 28 15:08 renderD128

Wie bekomme ich das Device "rednerD128" in die korrekte Gruppe?

Link to comment
Share on other sites

Hi, just so you're aware, hardware acceleration in containers is only experimental right now. Because of this, we might not know all of the answers to your questions.

 

Were you able to figure this out?

Link to comment
Share on other sites

  • 1 month later...

Nachdem ich die Gruppe unter dem Host kontrollierte 

root@pve:~# ls -la /dev/dri/
total 0
drwxr-xr-x  3 root root       120 Oct  6 20:34 .
drwxr-xr-x 21 root root      5000 Oct 14 15:06 ..
drwxr-xr-x  2 root root       100 Oct  6 20:34 by-path
crw-rw----  1 root video 226, 128 Oct  6 20:34 renderD128

Habe ich die durchgereichte GPU im Container noch entsprechend berechtigt. 

root@Emby:~# chown root:video /dev/dri/renderD128

Mit diesen Settings kann Emby im LXC-Container auch die Hardware zum Transcoding nutzen. 

root@Emby:~# ls -la /dev/dri/
total 0
drwxr-xr-x 2 root root        60 Oct 14 13:02 .
drwxr-xr-x 7 root root       480 Oct 14 13:02 ..
crw-rw---- 1 root video 226, 128 Oct  6 18:34 renderD128
Link to comment
Share on other sites

Ein Indiz, das die Hardware gefunden und erkannt wurde ist die Einstellung unter Emby selber. Dort werden dann unter "Transcoding" -> "Erweitert" entsprechende Codecs angezeigt. 

 

Hier mit Unterstützung:

5d6f4537d224a_emby_transcoding_3.png

 

und einmal ohne:

5d6f455a2f111_emby_transcoding.png

 

 

____________________

 

 

Sieht man die Hardwaretranskodierung auch ohne Emby Premiere Mitgliedschaft?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...