this post was submitted on 27 Nov 2024
29 points (96.8% liked)

Selfhosted

40474 readers
378 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
 

You may have seen my post trying to troubleshoot my server. It seems either the motherboard or CPU is dead, so hey, why not do an upgrade?

I use this server for a lot. It's used for a Jellyfin server, sometimes multiple streams at once. I think I'd like hardware transcoding, I want it to be really good at streaming Jellyfin, and preferably multiple streams at once without issue.

It's also going to be used for hosting Zusam, a kind of private forum for friends/family - a key thing is that this will also be transcoding videos and photos to downscale them (uses FFmpeg).

I also host Photoprism, which will be generating thumbnails and indexing photos.

In addition to this, I also host a bunch of other stuff, I think the key ones are Nextcloud AIO and PaperlessNGX (which does OCR) as these would be more demanding. Then another 10 or so services that aren't too demanding and have low usage so are unlikely to be an issue outside of making sure I have enough RAM.

I use it as a backup server as well. It receives borg backups from other devices and backs up itself to a backup HDD, and does cloud backups, but has a fast LAN connection and decent internet speed (300Mbps) and this is scheduled overnight so probably doesn't affect anything.

I also use it for playing games with the kids! Normally Stardew Valley but sometimes more demanding games.

Many of the hosted services have family members also using them. I want to make sure I can do things like the Photoprism indexing and Zusam video downscaling while not affecting the experience using Jellyfin or other services. It's all good if this happens by limiting cores for transcoding. It would be nice to be able to use it for more demanding gaming as well, but I understand if it's a bit hard to keep everything going nicely with a demanding game running that doesn't limit its multithreading.

Possibly related for compatibility purposes:

  • all my hard drives are 3.5" HDD or 2.5" SSD SATA connections. I have 2 SSDs and 2 HDDs.
  • I also have a Radeon rx5700xt graphics card. Would be nice to be able to keep using this.
  • I'm currently running a full desktop environment (Linux Mint - Cinnamon) on it, for the purposes of playing the games. So needs to work well with Linux and also play nicely with wireless Xbone controllers.
  • Case is Mid sized. Specifically this one.

And the current CPU is an AMD Ryzen 7 3700X, in case you want to tell me what I have is fine and I don't need an upgrade πŸ₯²

What are some good options for an upgrade?

Edit: Thanks for the suggestions. Lots of people showing me how I wasn't taking full advantage of the hardware I had, so I ended up going back to trouble shooting and in the end it was the motherboard that was the issue. I replaced that and it's now up and running again! Now to go back to all the info about hardware transcoding in Jellyfin that people have linked for me. Thanks for everything!

top 23 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 6 days ago (1 children)

in case you want to tell me what I have is fine and I don't need an upgrade

What you have is fine and you don't need an upgrade 😁

But we're not looking for fine, are we? :)

I would keep the gpu and get as many cpu cores and ram as my budget allows. Once you cross into "stupid amount of RAM" territory you can start utilising tmpfs for transient things such as jellyfin transcode directory to:

  • preserve those precious ssd writes (not really relevant anymore)
  • make it more efficient (feels-good kind of relevant)
  • running a filesystem in ram is really cool (most relevant, naturally :D)
[–] [email protected] 4 points 6 days ago* (last edited 6 days ago) (2 children)

Does intel/AMD matter? I have heard intel has special hardware for transcoding (Quick sync) - does this mean I should go for an intel CPU or is there an AMD equivalent? And am I prioritising number of cores over core speed?

How much RAM is enough (at what point do I prioritise spending on CPU over the RAM). I currently have 16GB but was thinking maybe 64GB? You say SSD writes aren't that relevant anymore but I have killed a few SSDs in my time so I think it's still relevant!

Edit: Maybe a CPU like this? https://nz.pcpartpicker.com/product/xNXV3C/intel-core-ultra-5-245k-42-ghz-14-core-processor-bx80768245k

That is a recent CPU that has 14 cores and the most recent version of quick sync. It's been a long time since I had intel, or even since I last did a build, so a bit out of the loop on what I should be looking for.

Don't mind the $NZD, looks worse than it is (though the exchange rate is a killer at the moment)

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

I wouldn't really trust Intel CPUs after the degradation issues they were having. It will take a while to prove that it's been fixed.

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

Aw man. So I want quick sync for better hardware transcoding but of course that doesn't matter if the chip is melting so probably go for a recent AMD CPU instead even though it doesn't have quick sync it should have hardware transcoding capabilities almost as good. OK, I'll start looking at AMD again.

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

Oh I didn't realise I could do that! You first link seems to say there is quite limited codec support though?

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

I've not read all of it, but if you're referring to the stuff at the beginning - none of those limitations apply to 5700xt.

If you mean something else - then, naturally, I would ask if it actually affects your media in the first place. It might, but I wouldn't expect that.

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

Ah I got the wrong impression. Good to know it won't affect me, cheers.

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

New (7000 and 9000) ryzen CPUs have an iGPU that can transcode via AMF, so the 'equivalent' would just be buy a modern AMD CPU.

AMF isn't quite as good as Quicksync, but it's probably fine for most use cases for most people, though I can notice the image quality losses when you're doing something like transcoding to 1080p low(ish) bitrate for remote streaming, and so have a very big bias in favor of nvenc or quicksync.

Also, I'm in the more-ram-is-better camp, so buy as much as you want and/or the platform supports.

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

Looking at the intel CPU I linked above, that whole series doesn't come with a cooler. I've never done a build that didn't come with a CPU/cooler bundle. How do I know which cooler will provide enough cooling for that chip? Not what is compatible, but what will actually be enough to stop it thermal throttling?

[–] [email protected] 5 points 6 days ago

NH-D15 is default for me. Incredible performance, whisper-quiet. And if you need new brackets for an upgrade, the company will supply them free of charge!

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

The thermalright peerless assassin would be my first choice. Cheap, good, and works on either amd or intel chips. I’ve got two with no complaints.

[–] [email protected] 1 points 6 days ago

Ah that does look like good bang for buck! Thanks!

[–] [email protected] 3 points 6 days ago

Thermalright or Noctua. Can't really go wrong.

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

If you’re planning on upgrading the CPU, GPU and RAM, have you considered keeping the old stuff and running 2 systems, splitting the load so to say? Could do those random services and Nextcloud, photoprism (unsolicited suggestion - try Immich too!), the OCR thing, etc on the old one and keep the new one for gaming, your forum that needs transcoding, and Jellyfin?

Edit - Afterthought: your old system could then be headless too

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

The problem is either my mobo or CPU is dead, so I can't run the old system haha.

It sounds like my old system could handle transcoding better if I had enabled the right options, so now I have to decide whether to buy a new motherboard and risk it being the CPU, or just upgrade everything.

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

Ive heard the intel gpus are very good at transcoding and are reletivly cheap compared to other manufacturers.

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

Is that onboard graphics or does intel do dedicated graphics cards?

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

They do dedicated graphics cards (arc) but depending on ur workload u might not need sonthing that powerfull. Btw dont take my word for it do ur own research and consult with dr gpt.

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

Yeah seems a bit overkill, I would think the integrated quick sync would be more along the lines of what I need.

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

I just received a Beelink brand mini PC with an N100 intel CPU with QuickSync.

After setting up PleX and updating the drivers, I was able to hardware transcode the same 4K HDR movie to two separate devices simultaneously (with subtitles and HDR -> SDR tone mapping). Based on headroom it seemed like I might be able to do another. Others say it can do like up to 8 transcodes of varying source quality.

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

Oh wow that's awesome. Shame that someone told me about all the issues with recent intel CPUs. I'll probably go AMD again.

[–] [email protected] 0 points 5 days ago

Just wanna shout out that Intel are supposed to have fixed their troubles with 13th and 14th gen cpus, I know Dell went out with a customer advisory in October to update the BIOS to fix said trouble.
https://www.theverge.com/2024/10/4/24262287/intel-13th-14th-gen-crash-raptor-lake-root-cause-fix

And Intel CPUs are great when it comes to transcoding just like the AMD X3D CPUs are king when it comes to gaming.