Closed whiteowl3 closed 2 years ago
Not recommended for 64-bit raspberry pi OS, as per https://github.com/jellyfin/jellyfin/discussions/6215#discussioncomment-903848
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.
Closing as OMX is an old method for HWA on raspberry pi's.
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:
Note:
if you really need the 64 bit libraspberrypi0 on your host for some reason, simply move arm-linux-gnueabihf to safe keeping, and do the process in reverse, removing libraspberrypi0, dropping armhf support, updating apt, and reinstalling libraspberrypi0:aarch64 just make sure your bind mount points to wherever arm-linux-gnueabihf wound up.