this post was submitted on 07 May 2024
68 points (91.5% liked)

Selfhosted

40137 readers
593 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
 

Hey everyone, I'm building a new server to run Jellyfin (with a few other services like Pi-hole) and I'm stuck on GPU or CPU transcoding.

My main concern is smooth 4K HDR transcoding for 1 stream. I've been reading mixed advice online – some people say a strong CPU with good single-core performance can handle it, while others recommend a dedicated GPU.

Should I focus my budget (~$1000AUD/$658USD) on a good CPU, or spend some of it on a dedicated GPU?

you are viewing a single comment's thread
view the rest of the comments
[–] Diplomjodler3@lemmy.world 7 points 6 months ago (7 children)

I've been trying to get this to work for weeks now. No dice, so far. Anybody know any useful guide on setting it up for a docker installation? Or does it only work if you install the.deb? I use Mint, BTW. Server is a Dell with a 9th gen i5.

[–] SmallBorg@lemm.ee 4 points 6 months ago* (last edited 6 months ago) (1 children)

I also struggled to get it to work with an Intel Celeron N5100. To get it to work I followed the instructions in the Jellyfin documentation. It seems like there are some additional steps for some versions of Intel CPUs, could it be that yours is affected? After enabling "Low-Power Encoding" it worked as expected.

[–] Diplomjodler3@lemmy.world 2 points 6 months ago (1 children)

Do you have it installed with docker?

[–] SmallBorg@lemm.ee 4 points 6 months ago

Yes, I have it installed as a Docker container in a Debian 12 machine. My Docker compose file is something like this:

  jellyfin:
    container_name: jellyfin
    image: jellyfin/jellyfin
    group_add:
      - "105" 
      - "44"
      - "102"
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card0:/dev/dri/card0

The group numbers were obtained following Jellyfin's documentation.

You also need to configure Jellyfin from Menu > Playback. In "Hardware acceleration" I selected "Intel QuickSync (QSV)". I have selected all but AV1 (not supported by my CPU) from "Enable hardware decoding from:" and from "Hardware encoding options:" I have enable all 3 of them.

load more comments (5 replies)