this post was submitted on 06 May 2024
75 points (93.1% liked)

Selfhosted

40382 readers
463 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 2 years ago
MODERATORS
 

I assume it's not nvidia. Yet I have no idea how to differentiate between them and neither do I know what a good price is.

Let's say I don't want to think about what the video type is. I just want a smooth experience.

Edit: thank you guys!

all 40 comments
sorted by: hot top controversial new old
[–] Vinny_93@lemmy.world 39 points 6 months ago (2 children)

I hear good things about the Intel Arc A380. You basically only need it to convert video and the Intel is not too bad at that for not too steep a price

[–] swooosh@lemmy.world 9 points 6 months ago (2 children)

Thx. 130€? That's surprisingly cheap.

[–] JustEnoughDucks@feddit.nl 4 points 6 months ago

I have one, it is fantastic.

Someone said that it is "not terribly performent" but it doesn't matter for transcoding. It can do multiple 4k streams of AV1 & HEVC. That is perfect.

According to benchmarks, it beat the 3080 and 6800XT when it was released for transcoding performance. That is what you have to look at in this case, you aren't gaming on it.

Just remember to enable all of the correct kernel modules to get it working. You often have to manually download the firmware git repo and move it to the firmware folder in Debian to get it working.

[–] swooosh@lemmy.world 1 points 6 months ago* (last edited 6 months ago)

How do I need to configure jellyfin in order to work properly?

I added

device:
  - /dev/dri

And I tried /dev/dri/renderD128 but both don't work. Moreover, I enabled encoding in HEVC format, hardware encoding and selected hardware accelleration with intel quicksync (QSV) and enabled hardware decoding for H264, HEVC, ...

But if that's enabled, transcoding doesn't work at all on the player.

I guess I fail at. any advice?

podman exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo
Trying display: drm
error: failed to initialize display

I managed to enable it by giving itnprivileged access.

[–] jaypg@lemmy.jaypg.pw 33 points 6 months ago (1 children)

Intel Arc A310. They’re $100, support AV1 and powered completely by the PCIe bus. Combine it with Tdarr and you can compress your media library down to half the size easily while still being able to easily stream to any device you have.

[–] SmoothLiquidation@lemmy.world 22 points 6 months ago

Side note. Don’t use hardware acceleration with TDARR. You will get much better encodes with software encoding, which is great for archival and saving storage.

Use hardware acceleration with Jellyfin for transcoding code on the fly for a client that needs it.

If you know what your client specs are, you can use TDARR to reencode everything to what they need and then you won’t have to transcode anything with Jellyfin.

[–] AtariDump@lemmy.world 25 points 6 months ago* (last edited 6 months ago) (2 children)
[–] swooosh@lemmy.world 5 points 6 months ago* (last edited 6 months ago) (1 children)

I try to solve the problem that the cpu isn't powerful enough wheras my gpu isn't supported and I need a new one and I want to have a seemless experience.

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

What CPU do you have?

I’ve run Jellyfin without transcoding from a raspberry pi for 2-3 streams without stuttering.

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

Without transcoding that works but if there's something off with the video file it stutters

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

That will happen, yes, but the bigger question then is what’s wrong with the video file.

[–] swooosh@lemmy.world 1 points 6 months ago

No idea :) it works on my phone...

[–] deadbeef@lemmy.nz 10 points 6 months ago (3 children)

The most impressed I've been with hardware encoding and decoding is with the built in graphics on my little NUC.

I'm using a NUC10i5FNH which was only barely able to transcode one vaguely decent bitrate stream in software. It looked like passing the hardware transcoding through to a VM was too messy for me so I decided to reinstall linux straight on the hardware.

The hardware encoding and decoding performance was absolutely amazing. I must have opened up about 20 jellyfin windows that were transcoding before I gave up trying and called it good enough. I only really need about 4 maximum.

The graphics on the 10th generation NUC's is the same sort of thing that is on the 9th gen and 10th gen desktop cpu's, so if you have and intel cpu with onboard graphics give it a try.

It's way less trouble than the last time I built a similar setup with NVidia. I haven't tried a Radeon card yet, but the jellyfin docs are a bit more negative about AMD.

[–] evidences@lemmy.world 5 points 6 months ago

I didn't even know jellyfin had hw transcode till this post but I'm with this guy, Intel's qsv is great. I have my plex server running bare metal on an gen 2 HP chromebox. It's dual core but hw transcode with Intel QSV will do like 20+ 1080p streams.

[–] gazoinksboe@lemmy.world 1 points 6 months ago* (last edited 6 months ago)

This. I used a P1000 for transcoding and eventually switched to a 12th gen Intel chip with integrated UHD 770 graphics. It completely blew me away. Insanely low power draw and barely breaks a sweat transcoding multiple streams. Consider this route over a GPU if you can.

[–] Bitswap@lemmy.world 1 points 6 months ago

Intel integrated graphics is pretty phenomenal for ~5 user HTPC setups and NUC's are basically the best Intel products ever. Nothing better than it just working out of the box.

[–] possiblylinux127@lemmy.zip 8 points 6 months ago (1 children)

Intel integrated graphics or if you want to go overkill go with an Arc GPU.

Avoid AMD

[–] sunstoned@lemmus.org 6 points 6 months ago (2 children)

Avoid AMD? Why do you say that?

[–] possiblylinux127@lemmy.zip 15 points 6 months ago (1 children)

It is terrible for media hardware acceleration. I'm saying that out of both personal experience and the Jellyfin wiki

[–] n3m37h@sh.itjust.works 1 points 6 months ago

I've been using my 6700XT for about 4 years with Emby and have had 0 issues

For all of my streaming devices it re encodes to h264 which AMD can easily do. Have yet to have any files fail to decode/encode

[–] MangoPenguin@lemmy.blahaj.zone 3 points 6 months ago (1 children)

No good hardware acceleration for video.

[–] n3m37h@sh.itjust.works 5 points 6 months ago* (last edited 6 months ago) (1 children)

Do you have first hand experience?

My 6700XT is calling bullshit

[–] macaroni1556@lemmy.ca 2 points 6 months ago (1 children)

5700 in my server works just fine too, no difficulty setting it up. Running in Docker. Even does HDR tone mapping!

[–] n3m37h@sh.itjust.works 1 points 6 months ago

But nVidia had better quality!! - some jackass who doesn't know their ass from their elbow

[–] eager_eagle@lemmy.world 7 points 6 months ago* (last edited 6 months ago) (1 children)

I'd look into AV1 decoding benchmarks, regardless of NVIDIA vs AMD, as I've been using NVIDIA on Jellyfin for a while with no issues.

HEVC is not as relevant IMO, as it's not available through browsers due to license restrictions (ffmpeg / mpv works fine), so I'd focus on AV1 capabilities, which is not available in many cards.

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

I can't get my nvidia to work with it :(

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

What model of graphics card are you having problems with?

[–] swooosh@lemmy.world 1 points 6 months ago* (last edited 6 months ago) (2 children)

NVIDIA Corporation TU116 GeForce GTX 1650

[–] vikingtons@lemmy.world 13 points 6 months ago* (last edited 6 months ago)

AV1 decode is supported on the RTX 3000 series, encode + decode in the RTX 4000 series

For Intel Arc, AV1 encode + decode support is present on all Arc Alchemist GPUs,

For AMD, AV1 decode is on RX 6000 series, encode + decode on all RX 7000 series GPUs

As someone else has recommended, a low end Intel Arc alchemist GPU is pretty great for stuff like Jellyfin, very low price to entry for gfx accelerated AV1 transcoding.

[–] gravitywell@sh.itjust.works 4 points 6 months ago

The nvidia 1650 can't do AV1 but it can handle hevc just fine, I'm currently using a 1660 on mine and before that it was a 950. Unless you need more than 3 steams at a time you should be able to get it working.

[–] Decronym@lemmy.decronym.xyz 5 points 6 months ago* (last edited 6 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
Git Popular version control system, primarily for code
NUC Next Unit of Computing brand of Intel small computers
PCIe Peripheral Component Interconnect Express

3 acronyms in this thread; the most compressed thread commented on today has 5 acronyms.

[Thread #742 for this sub, first seen 8th May 2024, 06:15] [FAQ] [Full list] [Contact] [Source code]

[–] The_Shwa@midwest.social 4 points 6 months ago (1 children)

I'm using nvidia right now with a 3060. It doesnt use much power, I got it for pretty cheap on ebay, and it encodes/decodes everything except for av1 encoding which I dont have use for. Looking at the charts in the link below, if you need to encode av1 you'ld need a 4000 series.

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

I've found nvidia to work pretty well for jellyfin, I use docker with the nvidia container toolkit and it just worked with hardware encoding out of the gate. I also have some other docker containers running gen ai and the 3060 handles them well as long as the modle will fit in vram.

[–] possiblylinux127@lemmy.zip 2 points 6 months ago (1 children)

That's not power efficient

[–] princessnorah@lemmy.blahaj.zone 1 points 6 months ago

I think it entirely depends on your use case and hardware. I have a rack server, I need the extra power relatively frequently, as well as the 16x 2.5" bays and the 4 NICs. A rack server is a fairly power efficient package to get all those features in. However, it means that I am limited to discrete graphics, as Xeons don't have Intel QSV. There's also no monitor connected, and no 3D rendering happening, so the card is gonna idle at >5W and probably only use 20-30W while transcoding. Compared to a system that's idling at ~250W that's nothing.

[–] HarriPotero@lemmy.world 2 points 6 months ago

My RX580 does the job just fine. Does 1080p at 3x realtime for HEVC, and 10x for h.264.

They're dirt cheap second hand.