this post was submitted on 20 May 2024
18 points (78.1% liked)

Selfhosted

39967 readers
377 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I can't get it to work. I wonder if it's the operating system. What system do you use it on? I'm on fedora.

all 25 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 5 months ago (2 children)

You’ll need to be far more descriptive than “I can’t get it to work.” I can almost guarantee you that Fedora is not the problem.

[–] [email protected] 1 points 5 months ago

I just used a live ubuntu image and it works out of the box with the same setup. No idea what's the problem with fedora. Unfortunately I'll move to ubuntu now.

[–] [email protected] 6 points 5 months ago (1 children)

The OS is not a problem I can guarantee you that. Fedora is a fine operating system

[–] [email protected] 7 points 5 months ago (1 children)

Fedora does not have proper h264/h265 encoding/decoding by default, since they are non-free codecs. That could be the issue.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

I guess you can install it if that's an issue then.

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago) (1 children)

Maybe you can find a guide/tutorial on how to set it up?

Usually you need the correct packages installed on your system to enable something like VAAPI or QSV. Then you need a version of ffmpeg with that enabled. And then configure it in Jellyfin correctly.

I don't have any specific insights on how to do it with Fedora. I suppose it's very similar to how it's done on other Linux distros.

[–] [email protected] 2 points 5 months ago

I move to ubuntu now :( it works out of the box.

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (2 children)

Have you tried using the linuxserver.io Docker image? It has the latest drivers for hardware encoding included. I couldn't get HW encoding with the official image to work but this one worked without any manual setup. You still have to forward devices to the Docker container though.

[–] [email protected] 4 points 5 months ago (1 children)

Funny, i couldn't get HW encoding to work with the linuxserver.io docker image, but the exact same compose file, except it's using the official image, works just fine without any issues.

[–] [email protected] 2 points 5 months ago
[–] [email protected] 2 points 5 months ago

Yes, I tried that. Doesn't work. It works with the official image on ubuntu. thanks for the suggestion

[–] [email protected] 4 points 5 months ago (1 children)

You probably need to get codecs/drivers from RPMfusion to get it to work. Fedora doesn't include much by default. https://rpmfusion.org/Howto/Multimedia

[–] [email protected] 1 points 5 months ago (1 children)

I couldn't get it to work even with installing several additional codecs and other packages

[–] [email protected] 1 points 5 months ago (1 children)

Did you install the intel-media-driver package?

[–] [email protected] 1 points 5 months ago
[–] [email protected] 3 points 5 months ago (1 children)

you will need to make sure that jellyfin uses a version of ffmpeg that actually uses your graphics card - you might need to compile ffmpeg with the corresponding flags

[–] [email protected] 1 points 5 months ago

Within docker, it's jellyfin-ffmpeg

[–] [email protected] 3 points 5 months ago (1 children)

I would not use Jellyfin on Fedora. I would install Debian and then Jellyfin. You also could install it in podman or docker.

[–] [email protected] 1 points 5 months ago (1 children)

I had it in podman compose first. That didn't even return the proper error messages and just skipped them if there was any. I can't recommend it. It works on ubuntu.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

Podman compose is flaking at best and isn't well maintained. You can use Podman in Daemon mode with docker-compose if you need a compose file.

I mentioned podman as it has very good performance. However, it is broken on Ubuntu.

[–] [email protected] 2 points 5 months ago

I am running Plex with an Intel A40 in Ubuntu server. Worked well for me as Ubuntu had the drivers baked in before they made there way into a Debian release.

[–] [email protected] 1 points 5 months ago (1 children)

May be related to this: https://github.com/jellyfin/jellyfin/issues/11380

I know my setup with intel integrated gpu worked prior to the release pf 10.9. Now I can't get transcoding to work. In the comments they suggest the kernel version has something to do with it but for me it didn't fix it. I'll have to troubleshoot further today

Meanwhile transcoding works fine in Plex, so I feel it may be something specific to jellyfin

[–] [email protected] 1 points 5 months ago

Using 10.8.13 didn't work for me but thanks for the suggestion