linuxserver.io Posted June 11, 2019 Share Posted June 11, 2019 (edited) Application Name: Jellyfin Application Site: https://github.com/jellyfin/jellyfin Docker Hub: https://hub.docker.com/r/linuxserver/jellyfin/ Github: https://github.com/linuxserver/docker-jellyfin Please post any questions/issues relating to this docker you have in this thread. If you are not using Unraid (and you should be!) then please do not post here, instead head to linuxserver.io to see how to get support. Edited June 11, 2019 by linuxserver.io 1 Quote Link to comment
linuxserver.io Posted June 11, 2019 Author Share Posted June 11, 2019 (edited) We've made it easier to get Nvidia & iGPU hardware trancoding working with this container. This post will detail what you need to do to use either of these in your container. Nvidia 1. Install the Unraid Nvidia Plugin, download the version of Unraid required containing the Nvidia drivers and reboot 2. Add the Jellyfin container and add --runtime=nvidia to extra parameters (switch on advanced template view) and copy your GPU UUID to the pre-existing NVIDIA_VISIBLE_DEVICES parameter. There is no need to utilise the NVIDIA_DRIVER_CAPABILITIES parameter any more. This is handled by our container. Intel GPU 1. Edit your go file and add modprobe i915 to it, save and reboot. 2. Add the Jellyfin container and add --device=/dev/dri to extra parameters (switch on advanced template view) There is no need to chmod/chown the /dev/dri, this is handled by the container. Edited June 11, 2019 by linuxserver.io 2 Quote Link to comment
li60240 Posted June 12, 2019 Share Posted June 12, 2019 i got am error when i used vaapi; [AVHWDeviceContext @ 0x55dd430f2480] Failed to initialise VAAPI connection: -1 (unknown libva error). Device creation failed: -5. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error Error parsing global options: Input/output error Quote Link to comment
CHBMB Posted June 12, 2019 Share Posted June 12, 2019 1 hour ago, li60240 said: i got am error when i used vaapi; [AVHWDeviceContext @ 0x55dd430f2480] Failed to initialise VAAPI connection: -1 (unknown libva error). Device creation failed: -5. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Input/output error Error parsing global options: Input/output error Docker run command please Quote Link to comment
li60240 Posted June 12, 2019 Share Posted June 12, 2019 4 minutes ago, CHBMB said: Docker run command please root@localhost:# /usr/local/emhttp/pluginsnamix.docker.manager/scripts/docker run -d --name='jellyfin' --net='bridge' --privileged=true -e TZ="Asia/Shanghai" -e HOST_OS="Unraid" -e 'NVIDIA_VISIBLE_DEVICES'='' -e 'PUID'='99' -e 'PGID'='100' -p '8096:8096/tcp' -p '8920:8920/tcp' -p '1900:1900/udp' -v '/mnt/user/Video/Movies/':'/movies':'rw' -v '/mnt/user/Video/tv/':'/tv':'rw' -v '':'/music':'rw' -v '/mnt/user/appdata/jellyfin':'/config':'rw' --device='/dev/dri' 'linuxserver/jellyfin' Quote Link to comment
CHBMB Posted June 12, 2019 Share Posted June 12, 2019 Have you edited the go file, with the modprobe line and rebooted your machine? Quote Link to comment
li60240 Posted June 13, 2019 Share Posted June 13, 2019 11 hours ago, CHBMB said: Have you edited the go file, with the modprobe line and rebooted your machine? Yes,I have edited the go file and rebooted machine.I have uploaded the jeffylin log and ffmpeg transcode log in the attachment. Log.txt ffmpeg-transcode.txt Quote Link to comment
CHBMB Posted June 13, 2019 Share Posted June 13, 2019 What CPU are you using? Had it working with any other containers? @saarg You have an Intel CPU right? I'm in the dark here..... Quote Link to comment
saarg Posted June 13, 2019 Share Posted June 13, 2019 2 hours ago, CHBMB said: What CPU are you using? Had it working with any other containers? @saarg You have an Intel CPU right? I'm in the dark here..... I didn't test the jellyfin container with the Intel cpu. Only emby. No access to the computer as it's running win 10 now and my girlfriend use it. I would try to chown -R nobody:users /dev/dri Quote Link to comment
CHBMB Posted June 13, 2019 Share Posted June 13, 2019 @li60240 Sorry, this one is my fault, we had a lot of testing and code reviewing recently, I thought this had been tested with Intel and it hadn't, @TheLamer and @aptalca have isolated the issue and @TheLamer has pushed a fix. Update the container and all should be working. Quote Link to comment
li60240 Posted June 15, 2019 Share Posted June 15, 2019 On 6/14/2019 at 7:20 AM, CHBMB said: @li60240 Sorry, this one is my fault, we had a lot of testing and code reviewing recently, I thought this had been tested with Intel and it hadn't, @TheLamer and @aptalca have isolated the issue and @TheLamer has pushed a fix. Update the container and all should be working. Vaapi works very well after i updated the jellyfin container.Thank you for your hard work. Quote Link to comment
Squid Posted June 19, 2019 Share Posted June 19, 2019 1 hour ago, FireFtw said: I get a server execution error every time I try to launch this. Usually means that you have a port conflict with another app. The docker run command will tell you the exact error / problem Quote Link to comment
1812 Posted June 23, 2019 Share Posted June 23, 2019 Tested this with a little gtx710 tonight in a browser and it worked! Now I just have to figure out how to make Emby apps use the Jellyfin server.... they keep telling me the Jellyfin server needs an update and then won’t do anything. Quote Link to comment
saarg Posted June 23, 2019 Share Posted June 23, 2019 9 hours ago, 1812 said: Tested this with a little gtx710 tonight in a browser and it worked! Now I just have to figure out how to make Emby apps use the Jellyfin server.... they keep telling me the Jellyfin server needs an update and then won’t do anything. As far as I know, the emby clients doesn't connect to jellyfin. They added something to detect if it was an emby or jellyfin server. And the kodi plugin will not be working with jellyfin either. Quote Link to comment
1812 Posted June 23, 2019 Share Posted June 23, 2019 1 hour ago, saarg said: As far as I know, the emby clients doesn't connect to jellyfin. They added something to detect if it was an emby or jellyfin server. And the kodi plugin will not be working with jellyfin either. Then I guess I'm going to have to pay either plex or emby some money then to use hw transcoding with clients around the house... bummer... especially because I'm a super cheap tightwad. Quote Link to comment
saarg Posted June 23, 2019 Share Posted June 23, 2019 55 minutes ago, 1812 said: Then I guess I'm going to have to pay either plex or emby some money then to use hw transcoding with clients around the house... bummer... especially because I'm a super cheap tightwad. https://jellyfin.readthedocs.io/en/latest/clients/ Quote Link to comment
1812 Posted June 23, 2019 Share Posted June 23, 2019 2 minutes ago, saarg said: https://jellyfin.readthedocs.io/en/latest/clients/ I had come across that. Anything I would want is either Deprecated and unreleasable or Deprecated but salvageable, sadly. Quote Link to comment
saarg Posted June 23, 2019 Share Posted June 23, 2019 1 hour ago, 1812 said: I had come across that. Anything I would want is either Deprecated and unreleasable or Deprecated but salvageable, sadly. Start programming then 😉 Quote Link to comment
1812 Posted June 23, 2019 Share Posted June 23, 2019 Just now, saarg said: Start programming then 😉 Quote Link to comment
saarg Posted June 23, 2019 Share Posted June 23, 2019 25 minutes ago, 1812 said: Lol Quote Link to comment
munit85 Posted June 24, 2019 Share Posted June 24, 2019 (edited) On 6/22/2019 at 6:45 PM, 1812 said: Tested this with a little gtx710 tonight in a browser and it worked! Now I just have to figure out how to make Emby apps use the Jellyfin server.... they keep telling me the Jellyfin server needs an update and then won’t do anything. emby blacklisted jell* on their apps so none work with jellyfin. There's an android app and androidtv app. roku is super rough so far. not sure what else is up. reddit.com/r/jellyfin has more info Edited June 24, 2019 by munit85 Quote Link to comment
tursiops Posted June 29, 2019 Share Posted June 29, 2019 I want to add support for intel transcoding but I have two problems: 1- I don't find the go file / don't know where it is 2- I don't have any /dev/dri either on the docker file structure or on my unraid filesystem Inside Jellyfin docker root@unRaid:/dev# ls core fd full mqueue null ptmx pts random shm stderr stdin stdout tty urandom zero Unraid file system: root@unRaid:/dev# ls aer_inject dvdr@ loop2 nvme1n1 sdb1 sg4 tty17 tty36 tty55 ttyp7 block/ dvdr0@ loop3 nvme1n1p1 sdc sg5 tty18 tty37 tty56 urandom bsg/ dvdrw@ loop4 port sdc1 sg6 tty19 tty38 tty57 vcs btrfs-control dvdrw0@ loop5 ppp sdd sg7 tty2 tty39 tty58 vcs1 bus/ dvdwriter@ loop6 ptmx sdd1 sg8 tty20 tty4 tty59 vcs2 cdr@ dvdwriter0@ loop7 ptp0 sde sg9 tty21 tty40 tty6 vcs3 cdr0@ fd@ mapper/ pts/ sde1 shm/ tty22 tty41 tty60 vcs4 cdrom@ full md1 ptyp0 sdf sr0 tty23 tty42 tty61 vcs5 cdrom0@ fuse md2 ptyp1 sdf1 stderr@ tty24 tty43 tty62 vcs6 cdrw@ hidraw0 md3 ptyp2 sdg stdin@ tty25 tty44 tty63 vcsa cdrw0@ hpet mem ptyp3 sdg1 stdout@ tty26 tty45 tty7 vcsa1 cdwriter@ hwrng memory_bandwidth ptyp4 sdh tty tty27 tty46 tty8 vcsa2 cdwriter0@ initctl| mouse@ ptyp5 sdh1 tty0 tty28 tty47 tty9 vcsa3 char/ input/ net/ ptyp6 sdh2 tty1 tty29 tty48 ttyS0 vcsa4 console kmem network_latency ptyp7 sdh3 tty10 tty3 tty49 ttyp0 vcsa5 core@ kmsg network_throughput random sdh4 tty11 tty30 tty5 ttyp1 vcsa6 cpu/ kvm null rtc@ sg0 tty12 tty31 tty50 ttyp2 vfio/ cpu_dma_latency log= nvme0 rtc0 sg1 tty13 tty32 tty51 ttyp3 vga_arbiter disk/ loop-control nvme0n1 sda sg10 tty14 tty33 tty52 ttyp4 vhost-net dvd@ loop0 nvme0n1p1 sda1 sg2 tty15 tty34 tty53 ttyp5 xconsole| dvd0@ loop1 nvme1 sdb sg3 tty16 tty35 tty54 ttyp6 zero Any help is appreciated. Quote Link to comment
saarg Posted June 29, 2019 Share Posted June 29, 2019 1 hour ago, tursiops said: I want to add support for intel transcoding but I have two problems: 1- I don't find the go file / don't know where it is 2- I don't have any /dev/dri either on the docker file structure or on my unraid filesystem Inside Jellyfin docker root@unRaid:/dev# ls core fd full mqueue null ptmx pts random shm stderr stdin stdout tty urandom zero Unraid file system: root@unRaid:/dev# ls aer_inject dvdr@ loop2 nvme1n1 sdb1 sg4 tty17 tty36 tty55 ttyp7 block/ dvdr0@ loop3 nvme1n1p1 sdc sg5 tty18 tty37 tty56 urandom bsg/ dvdrw@ loop4 port sdc1 sg6 tty19 tty38 tty57 vcs btrfs-control dvdrw0@ loop5 ppp sdd sg7 tty2 tty39 tty58 vcs1 bus/ dvdwriter@ loop6 ptmx sdd1 sg8 tty20 tty4 tty59 vcs2 cdr@ dvdwriter0@ loop7 ptp0 sde sg9 tty21 tty40 tty6 vcs3 cdr0@ fd@ mapper/ pts/ sde1 shm/ tty22 tty41 tty60 vcs4 cdrom@ full md1 ptyp0 sdf sr0 tty23 tty42 tty61 vcs5 cdrom0@ fuse md2 ptyp1 sdf1 stderr@ tty24 tty43 tty62 vcs6 cdrw@ hidraw0 md3 ptyp2 sdg stdin@ tty25 tty44 tty63 vcsa cdrw0@ hpet mem ptyp3 sdg1 stdout@ tty26 tty45 tty7 vcsa1 cdwriter@ hwrng memory_bandwidth ptyp4 sdh tty tty27 tty46 tty8 vcsa2 cdwriter0@ initctl| mouse@ ptyp5 sdh1 tty0 tty28 tty47 tty9 vcsa3 char/ input/ net/ ptyp6 sdh2 tty1 tty29 tty48 ttyS0 vcsa4 console kmem network_latency ptyp7 sdh3 tty10 tty3 tty49 ttyp0 vcsa5 core@ kmsg network_throughput random sdh4 tty11 tty30 tty5 ttyp1 vcsa6 cpu/ kvm null rtc@ sg0 tty12 tty31 tty50 ttyp2 vfio/ cpu_dma_latency log= nvme0 rtc0 sg1 tty13 tty32 tty51 ttyp3 vga_arbiter disk/ loop-control nvme0n1 sda sg10 tty14 tty33 tty52 ttyp4 vhost-net dvd@ loop0 nvme0n1p1 sda1 sg2 tty15 tty34 tty53 ttyp5 xconsole| dvd0@ loop1 nvme1 sdb sg3 tty16 tty35 tty54 ttyp6 zero Any help is appreciated. Did you try to search for how to enable the iGPU? It's written multiple times on this forum. The same goes for the go file. It's on your flash drive. Quote Link to comment
scud133b Posted August 25, 2019 Share Posted August 25, 2019 (edited) I'm having trouble with hardware transcoding, too. Trying to use Intel Quick Sync Video for my hw transcodes. Already added modprobe i915 for the @linuxserver.io Plex container (and hw transcode works fine in Plex) Added --device=/dev/dri:/dev/dri to extra parameters In app transcode settings, selected Intel Quick Sync In app transcode settings, selected all options for Enable hardware decoding for: Saved settings Now playing any file that transcodes, it pegs my CPU usage. Unlike Plex, which transcodes the exact same files with barely any impact on CPU usage and displays transcode (hw) in the dashboard. Any ideas of what to check for why the hw transcode doesn't work in Jellyfin? Edited August 25, 2019 by scud133b Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.