linuxserver / docker-jellyfin

GNU General Public License v3.0
647 stars 97 forks source link

Jellyfin OMX HWA in docker on RPI4 Ubuntu Server 64 bit Host #114

Closed whiteowl3 closed 2 years ago

whiteowl3 commented 3 years ago

EDITED: July 1, 2021

Cursory use of the lastest version suggests that this info may be obsolete. I haven't looked at the change history to confirm, this edit is just to say that you should try the settings from the lsio guide before implementing any of this. I will update after I am able to test.

Jellyfin OMX HWA in docker on RPI4 Ubuntu Server 64 bit Host:

references:

https://docs.linuxserver.io/images/docker-jellyfin https://github.com/jellyfin/jellyfin-ffmpeg/issues/310 https://github.com/linuxserver/docker-jellyfin/issues/14

there is no 64 bit support for OMX at the time of writing, make sure you are using linuxserver/jellyfin:arm32v7-latest

on your host, you will need to (with root):

dpkg --add-architecture armhf # Allow apt to index armhf packages, because we need one. apt update apt remove libraspberrypi0 apt install libraspberrypi0:armhf

If /opt/vc/lib exists get it out of the way, just delete if empty.

ln -s /usr/var/lib/arm-linux-gnueabihf /opt/vc/lib

and now your bind mount needs to be:

/opt/vc/lib:/opt/vc/lib

although you should be able to forego the symlink nonsense and simply use this bind mount:

/usr/var/lib/arm-linux-gnueabihf:/opt/vc/lib

Some things i did that may or may not be necessary:

sudo chown root:video /dev/vchiq sudo chmod g+rw /dev/vchiq

The compose snippet that now works:

jellyfin: image: linuxserver/jellyfin:arm32v7-latest container_name: jellyfin environment:

github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

whiteowl3 commented 3 years ago

Not recommended for 64-bit raspberry pi OS, as per https://github.com/jellyfin/jellyfin/discussions/6215#discussioncomment-903848

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

j0nnymoe commented 2 years ago

Closing as OMX is an old method for HWA on raspberry pi's.