News for hackers. Stuff that matters.
Re:Ask HN: What's on your home server? by ohthehugemanate on Friday January 06, 2023 @11:17AM (#34276534)
Your hypothetical new plex box does not need a discrete GPU. Plex makes really good use of Intel Quick Sync, and transcode quality has been indistinguishable or better than NVIDIA since about 5th gen. A Celeron G4900 (8th-gen dual core, 3300 passmark) has been benched as capable of 21 simultaneous 1080p transcodes.[0]

TL;DR: pick up a NUC knockoff with an >8th gen celeron or i3; it'll handle anything a casual household can throw at it.

[0] https://forums.serverbuilds.net/t/guide-hardware-transcoding... this is far and away the most comprehensive hardware guide for plex servers.

Re:Ask HN: What's on your home server? by grogenaut on Friday January 06, 2023 @12:55PM (#34278315)
The place you specification is a thread posted in 2019 talking about a Dell prebuolg. Do you mind posting the link for the nucs? Or is it in that thread somewhere? Or is that dell actually a nuc.
Re:Ask HN: What's on your home server? by ohthehugemanate on Friday January 06, 2023 @06:31PM (#34282898)
The thread has the benchmarks, links to ebay searches, and lists of prebuilt machines (like the dells) that meet the requirements, since they're often the cheapest way to meet the spec (according to TFA). you may have to scroll up.

I just searched ebay for used celeron NUCs, and got lots of options like this one, with a 9th gen Celeron, for a hundred bucks. NB that the generation matters much more than the CPU, but some operations are still done by the CPU so if you can get an i3 or i5 it will make a marginal difference.

https://www.ebay.com/itm/115640978606?hash=item1aecbd4cae%3A...

Re:Ask HN: What's on your home server? by dehugger on Friday January 06, 2023 @01:20PM (#34278687)
The second you want multiple streams of higher quality then 1080p 10mbs you will want a dedicated card. I got a <200$ old Quattro card (can't remember which) and it can handle pretty much everything I've thrown at it now.

4k TVs are common, planning for 1080p use is a mistake at this point imo.

Re:Ask HN: What's on your home server? by karlshea on Friday January 06, 2023 @01:47PM (#34279059)
This is very true, QuickSync falls over very easily when trying to transcode even a single 4k stream.
Re:Ask HN: What's on your home server? by ohthehugemanate on Friday January 06, 2023 @06:03PM (#34282636)
Depends on the details of your transcode:

- what's the source/destination quality?

- what's the container format? Quicksync doesn't support them all; even the newest gen is missing av1 and VP9 IIRC. But then, the same can be said for discrete GPUs.

- what filters are you applying. Many (most?) filters are CPU bound, which will kill you really quick.

But for supported formats without filtering, 12g Intel quicksync is regularly benchmarked at 4-6 streams.

One should always measure internet advice against one's actual use case. Personally I would argue that if you have a library of 8K video and more than 4 4K devices, you don't qualify as a "regular" home user. But of that's the case, hardware up my friend!

Re:Ask HN: What's on your home server? by karlshea on Friday January 06, 2023 @07:45PM (#34283611)
10th-gen i5 could not handle a single stream with most of the 4k content I tried, even though it was benchmarked as working. So if you're trying to transcode from varying sources I would imagine most people will end up wanting a discrete GPU.

If you're ripping your own content and can ensure that everything is set up right so that the integrated GPU can handle it, sure, it will probably work.

That being said they could have made giant strides in this area on 11th-12th gen, I have no idea.

Re:Ask HN: What's on your home server? by ohthehugemanate on Saturday January 07, 2023 @03:54AM (#34286377)
As I mentioned elsewhere, check the details of that transcode you tried. Are you doing tone mapping? That happens on the CPU (even with many discrete GPUs). Is it in a supported container format? Did you validate that the GPU was being used for the transcode?

Other 10th gen I5 users get multiple simultaneous 4k streams going at > 1x speed. Even with tone mapping it should only use like 45% CPU for a single stream.

Unfortunately the difference between software and hardware development cycles means that when you're on data formats that came to prominence in the last 2 years, even the newest hardware may not support it yet.

Re:Ask HN: What's on your home server? by karlshea on Saturday January 07, 2023 @11:31AM (#34289595)
Or I could just solve the problem by putting an old 1070 in the box and not have to babysit something I have literally zero interest in.
Re:Ask HN: What's on your home server? by ohthehugemanate on Saturday January 07, 2023 @02:50PM (#34291911)
Sure, it's always cheaper to use the hardware you've got than to buy something new! And you don't lose much: AV1 and VP9 compatibility the same, and probably your home doesn't use more than NVIDIA's maximum of 3 simultaneous transcodes anyway. And IIRC that's about the maximum 4k transcode throughput of a 1070 regardless.

Personally I moved from NVIDIA to quicksync exactly because I felt NVIDIA required too much babysitting. Driver compatibility, interactive mode updates, patches and patch compatibility... In comparison the intel driver felt like a cake walk. But you should definitely go with your own comfort level, especially for the price point!

Re:Ask HN: What's on your home server? by karlshea on Saturday January 07, 2023 @03:12PM (#34292176)
> NVIDIA required too much babysitting

This is on a headless box so thankfully I've never run into any of those issues, I just install their driver and pass the GPU through to my Docker container.

Re:Ask HN: What's on your home server? by ohthehugemanate on Friday January 06, 2023 @05:59PM (#34282597)
1) if your device plays 4k, then what are you transcoding from? That's going to be the determining factor, not the 4k output stream. Certainly in a home situation, that's likely to be direct stream. If your source files are 8K or higher, I wouldn't consider you a normal home user.

2) quicksync on a 10g or newer cpu is benchmarked at 4-6 4k simultaneous streams, but a lot depends on the details: container format in particular matters a lot, and so do your transcode options. Color matching for example, is only ever done on CPU. And IIRC AV1 and VP9 are not supported by quicksync (or older discrete GPUs).

That said, it's completely correct that you should measure all advice against your actual output device capabilities and source quality.