this post was submitted on 21 May 2024
47 points (96.1% liked)

Selfhosted

40487 readers
460 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
47
submitted 6 months ago* (last edited 6 months ago) by peregus to c/selfhosted
 

I have only a PCIe 2.0 x4 and a PCIe 3.0 x16 free and I need to install a 10Gbps SFP+ card and a graphic card for transcoding with Jellyfin (the CPU is an old E5-2620 v2). Since I can't find any SFP+ card that is x4, do you know a graphic card with decent transcoding capabilities (I'd day 2 4K simultaneously) that is only PCIe 2.0 x4?

Edit: the x4 slot is full length.

all 28 comments
sorted by: hot top controversial new old
[–] [email protected] 27 points 6 months ago (4 children)

The absolute best bang for your buck new GPU's for decode/encode are Intel ARC GPU's. They use Intel's Quick Sync Video system which is some of the best supported encode/decode libraries out there, and they're cheap.

An ARC A380 is easily had for $110, runs entirely off 75w PCIe slot power requiring no additional PSU wires, and supports H264/H265/AV1 encode. It's a no brainer.

As long as it physically fits the slot, it should not have an issue with the lower PCIe bandwidth. The lower end GPU's really need very little even for video encode.

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

It can also accelerate machine learning through OpenVino if I'm not mistaken. Useful for face recognition in photo apps etc.

[–] peregus 2 points 6 months ago (1 children)

Thanks a lot for the suggestion, I'll keep that in mind!

[–] HarriPotero 4 points 6 months ago

Resizable BAR was previously cited as a requirement for Intel ARC cards, but I think the drivers today can do without. Sounds like your system might be too old to have that. Might be a soft requirement, as in you'll see a performance drop if you don't have it.

[–] skittlebrau 2 points 6 months ago

My Arc A380 has been great. Intel Quick Sync is so well supported across all platforms.

Arc A310 is also a great option since you can find them in single slot low profile varieties too.

[–] bitwaba 2 points 6 months ago (1 children)

Do you need to run the Intel cards with an Intel CPU to get the quick sync benefits? I upgraded my desktop last year and am going to convert my old Ryzen 5600x system to ... something. Not sure what yet though. Just working on my options.

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

No need for an Intel CPU. It is basically platform agnostic like any other.

About its only "requirement" is that your system is new enough to support Resizable BAR on thr PCIe bus, which your zen3 machine absolutely is.

[–] bitwaba 2 points 6 months ago

Great stuff. Thanks!

[–] roofuskit 10 points 6 months ago* (last edited 6 months ago) (2 children)

Is the x4 slot full length? Because the graphics card will likely work fine in an x4 slot. Especially if you are just using it for transcoding. PCI Express is backwards compatible, is just going to limit performance.

PCIe 2.0 with 4 lanes gets you 2GB/s. Which should be more than enough for video transcoding.

If it's not a full length slot you can buy a riser that converts it. Some x4 slots have a cutout at the end though to allow them to accept full length cards.

[–] peregus 2 points 6 months ago (1 children)

Yes, it's full lenngth. Thanks!

[–] roofuskit 3 points 6 months ago (1 children)

Re-reading your post, I just realized you're probably trying to put a video card in the second PCI-E slot and you need to make sure your board will support that. Some boards will not boot if the only video device is not in the primary slot. If you have onboard video from the CPU this won't be an issue. But definitely double check the manual for your motherboard.

[–] peregus 1 points 6 months ago (1 children)

Yes, I would install the video cars in the second PCI slot, but the motherboard has an integrated video card, does that count? By the way, I don't have alternatives, if it will not boot, I will not use the graphic card. Thanks!

[–] roofuskit 2 points 6 months ago (1 children)

It should work as long has you have integrated graphics. Make sure you have the integrated graphics set as default in your bios.

[–] peregus 1 points 6 months ago
[–] theit8514 2 points 6 months ago (1 children)

I was thinking this too, if you have an open-ended 4x slot it can fit a 16x card but only runs at 4x.

TBH if you're running 10Gb you may want to look for a board with on-board 10Gb rather than a PCIE which will save you the slot. My HP server has a swapable daughter board for the nic so you can chose 4x1Gb or 4x10Gb.

[–] peregus 2 points 6 months ago

I already have the server, it doesn't make any sense to change it. Above all, as someone else has pointed, the 4 lanes are enough for transcoding.

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

PCIe is back- and forwards-compatible, so even an RTX 4090 would in theory work in a PCIe 2.0 x4 slot.

Now, PCIe 2.0 x4 is obviously really slow compared to what most current cards support (PCIe 4.0 x16), but I doubt transcoding is bandwidth sensitive on the PCIe link.

So pick pretty much any card, be wary though that some consumer-focused cards artificially limit the amount of concurrent transcoding sessions they support. Seems like Nvidia is limiting consumer cards to now 8 sessions, which is probably plenty.

[–] peregus 1 points 6 months ago (1 children)
[–] roofuskit 2 points 6 months ago

There are things you can do in Linux to unlock the max number of transcoding sessions as well. You can Google it if you ever hit that wall.

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

can’t find any SFP+ card that is x4

Pretty sure mine is x4. I’ll check.

Edit: confirmed.

[–] peregus 2 points 6 months ago (1 children)

Damn, I ordered mine yesterday! 🙈 Let me know. Thanks!

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

Ah! Been there. Allocating lanes on small systems always seems to have more trial and error than I expect.

And here’s that x4 SFP+ card: https://www.trendnet.com/products/10g-sfp-pcie-adapter/10-gigabit-pcie-sfp-network-adapter-TEG-10GECSFP-v2

[–] peregus 2 points 6 months ago

Thanks a lot!

[–] AtariDump 1 points 6 months ago (1 children)

Why not disable transcoding?

[–] peregus 0 points 6 months ago (1 children)
[–] AtariDump 1 points 6 months ago (1 children)

For what?

I don’t let my users transcode and provide instructions how to set playback to the original Quality.

[–] peregus 1 points 6 months ago* (last edited 6 months ago)

Because some player can't play the original file, because the bandwidth sometimes ~~it~~ it's not enough, etc.