So I’ve been googling to find out what to buy for a jellyfin/game server and the problem is almost all posts are about buying hardware in the US or EU. I checked the second hand market and it SUCKS around here, like 10 year old+ CPUs being sold as ‘intel i7’ for stupid prices.

I’ve decided to buy new stuff, at least I get warranty. When I searched around for info on that I also got a lot of useless (for me) advice like buying mini pcs that are either not available around here or very expensive. Basically I think I just need to build something myself using non server hardware, is that a bad idea?

What I have in mind right now, please tell me if there is anything that will cause issues later:

  • i5-12400 (mainly for the integrated graphics to use jellyfin’s hardware transcoding. Is the UHD 730 enough for that?)

  • No idea what to get for MB, I usually buy AMD. H610 boards seem cheap enough but very limited on storage options (sometimes only a single pcie slot even), I do want to eventually add lots of storage to it.

  • Server quality storage is extremely expensive, not sure if its worth buying. Was think about getting some WD blue 2tb drives, but really not sure here either.

  • For case I saw some suggestion for cases with a ton of hotswappable drive bays but sadly I couldnt find any to buy in my country, will probably get whatever cheap one I can find.

  • PSU I want to get any gold PSU with low wattage from a reputable brand but its been hard to find 500W or lower here, usually shops only offer brand PSUs that are 650W+.

  • 16gb of any decent ram I suppose?

Btw I live in Brazil, if you feel like searching around even tho the websites are in portuguese:
www.kabum.com.br
www.pichau.com.br
www.terabyteshop.com.br

Any help is appreciated, its gonna be my first server so I have no idea what I’m doing

  • alphabethunter@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 days ago

    Hi fellow Brazilian!

    Yeah, second-hand here sucks. You can get x-99 mb + cpu combos on alliexpress for 400 reais though, old xeons are good for server/jellyfin, just not very efficient. For Jellyfin, my biggest money sink is in HDDs. 4tb drives are 700 reais each, and there’s no second-hand refurbished stuff in the market, so you have to buy brand-new. For a GPU I have an ancient 750ti, but I’m looking to buy an intel A310 card if they drop lower than 800 reais. At the very least you’re looking at 3000 reais in pc parts for a server though. Mb + cpu + ram is somewhat cheap if you buy from china through alliexpress, but GPUs are a no go there. Keep in mind that when buying from China you have to avoid products above 60 dollars (around 350 reais) because of the super high taxes. If you want to buy domestically, I’d recommend a b450 AM4 board + a 3200g or something around that. You can avoid buying a dedicated GPU with a 3200g or similar, and get a nice modern platform, but the cpu will be quite weak for game servers, with inadequate support for pcie lanes, memory channels and sata ports though.

    Also, for a game server, it’s very likely that you’ll have to work around being behind CGNat. I currently only self host Jellyfin inside my own house because of that, it’s just a huge pain in the ass to deal with it. There are solutions though, I just haven’t bothered. I’m still in the process of buying hard drives, so right now it’s not a huge priority.

    Edit 1: wording Edit 2: forgot to talk about psus… Just don’t buy anything chinese. The MSI Mag 650w is the king of cost x benefit here in Brazil, nothing comes close, it’s usually around 300 and rock solid.

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      Even products bellow 50 USD are getting the 50% tax now, and xeons dont have igpu, I prefer to buy an intel with igpu to do hardware encoding/decoding, more efficient and I heard it gets the job done really well (jellyfin says to absolutely not buy AMD APUs for hardware decoding btw). For hosting I actually have pots 80 and 443 open on my router so Ive been using caddy and duckdns with no issues.

      Which hard drives have you bought btw?

      • alphabethunter@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        Below 50usd the taxes are considerably lower, and just above 50 usd they get a 20 dollars rebate on taxes, so it’s okayish to buy.

        I bought a seagate 4tb drive, cheapest 4tb at the time, on Amazon if I’m not mistaken.

        Oh, you’re lucky then. NET/Claro locks down all their modens for consumers, and I know that most other ISPs around here do the same.

        • Dagnet@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Nah, that was a few years ago, its 50% on every thing now, literally looking at the price on aliexpress as I write this, R$29 earphone with R$14 tax

          • alphabethunter@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            You do know that above 50 USD taxes are 92% right? Check it out, a product for 1000 reais will have 900 reais in taxes. It’s bonkers. But technically, it has always been like this, but it wasn’t truly enforced/audited. Now that they are collecting the taxes at the point of sale, you pretty much pay for two products to buy one.

  • monkeyman512@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    9 days ago

    To make sure there is not a misunderstanding, the wattage of a PSU is not how much power it will draw. The wattage is how much is can supply. So if you have a 1000w PSU, but all your components draw 200w of power it will use about 200w of power.

    Additionally, if you plan to get a lot of HDDs in the future, do some research on power rails. Some PSUs are designed to only be able to supply a small amount of power to things like HDDs because most people only have 1 or 2.

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 days ago

      Its my first server but not my first pc, so I know I can use a 700W PSU with no issue except most of them have the highest efficiency at around 50% so less potent PSU would be ideal in the long run, if not only to save money on electricity bills but also for the enviroment

      • Max@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 days ago

        I believe for the highest efficiency you only want to use about half of the rated power of the PSU. So if your system draws 350W, 700 is a very reasonable power supply

          • Max@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 days ago

            Sorry I completely misread your comment to be saying that the maximum efficiency was 50% not that it occurred at 50%.

  • verstra@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    9 days ago

    Hmmm, I repurposed an old PC of mine, only buying large WD red HDDs. If I were to expand, I’d ask friends/family if anyone has an old box to sell. And maybe buy a server rack. Second option would be “used goods websites” and only after that I would be looking to buy new.

    That’s because jellyfin+immich+planka+a few static websites really don’t need that much compute power. The heaviest work to be done is playing a movie, which could be done by a laptop. Unless you are planning for many users to use the server at the same time.

    I live in slovenia

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 days ago

      Eh, sadly not an option otherwise I wouldve gone for it right away, most of my family would never buy desktop pc hardware for anything

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 days ago

    I think Brazil has very high tariffs so that is probably what is driving up prices.

    10 year old hardware may not be that bad. It depends on what it is and how much electricity costs.

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 days ago

      No need to think, I mention in another comment that we have 50% tariff on all imported stuff. And I’m not buying 10 year old stuff for that price lol

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        9 days ago

        Any libraries, businesses or other places looking to get rid of hardware?

        I would start on the cheaper end as you will waste money with mistakes

        • Dagnet@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 days ago

          I live in a developing country, when libraries/business and other places get rid of hardware its because its literally useless, Im talking single core 32bit cpus useless. I made this thread so I hopefully wont make any mistakes hahaha

  • Dran@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    9 days ago

    Generally power supplies are the most electrically efficient at 20-60% utilization, so there’s no issue with over-provisioning power, other than the (generally minor) upfront extra cost, which might very well pay for itself in the first months/years of usage. I’ll take a look and see what I can find on those sites.

    Edit: okay, trying to shop through google translate / currency calculator is actually aids so I’m gonna teach a man to fish instead. This is what I should have done from the start anyway.

    Power supply: Anything from a decent brand, at basically anything >450W. a 650W or 850W is totally fine if it’s at a decent price. They only draw the power they need, they don’t just constantly pull 850W if the downstream components aren’t calling for it.

    CPU: 12400 is a fine cpu for what you’re doing. You’ll transcode at 720p no problem, 1080p maybe a single stream in real-time. I wouldn’t bank on more than that. Only downsides here are the relatively shallow core counts if you ever expanded into other workloads. Without access to used xeon boards/cpus, it might be a reasonable choice though. What I would say is look for something older but with more cores/threads if you can. For example, a 10900 or even 10700k would probably be a better server cpu than a 12400.

    Memory: DDR4 platforms are a great way to save money, as long as you aren’t planning on expanding to inferencing on cpu. Get as much as you can. 32-64gb of ddr4 should be dirt cheap, especially if you find a cheap motherboard with 4 memory sockets.

    Motherboard: If you want this thing to be versatile, you want 2x pci-e slots. Old gaming full-sized ATX boards are the way to go here. 1 slot for an HBA, 1 slot for a GPU, and that should be all you need. Bonus for as many open sata sockets as possible. 6-8 is pretty typical on 10th-12th gen gaming ATX boards.

    GPU: gpus will be much more efficient at transcoding than an igpu, especially from older intel CPUs. A 1050, 2060, 3050, basically anything from the 10-series onward has a decent nvenc encoder that would work well with plex/jellyfin. My goto is generally old workstation cards, I use a p620 myself and it handles a single 4k encode job no problem. I’m not sure if they’re viably purchasable anywhere in your area, but I’d definitely look out for a P620, P1000, or T400. Great value in those cards.

    Drives/HBA: there are inexpensive LSI HBA cards to expand how many drives you can attach to a system if you need them, all you need is a spare pci-e slot and a place to physically mount the drives. The cheapest way to start here is to look for a motherboard with 4-6 sata slots and use those. Hardware raid is functionally dead these days in the real world, just use zfs or mdadm under linux to create an array with your desired level of resiliency/capacity.

    Once you’ve priced out what it would cost to buy all of this new, look for prebuilt gaming PCs and office PCs that might be able to be expanded to fit these requirements. Prices look kind of steep on those markets you listed, but I’m sure something exists if you look hard enough.

  • ragingHungryPanda@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    You may be overestimating your requirements a bit. For video, all you need is something with a transcoder and it could handle at least one stream. If this is just for you, it’ll be idle most of the time. As long as the hard drives have good reviews, it’ll be fine.

    What you listed sounds good. I have my entire family’s files and photos (with some duplicates that i never removed) and it comes out to less than 1TB.

    I think your idea sounds fine. An old PC will do fine.

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 days ago

      Thanks, I might go with what I listed tho I still ahve no clue about intel motherboards

  • dabe@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 days ago

    I agree with everyone saying you can run what you want on most any hardware. Only thing I’ll throw in is that with older/more used parts, you’re at a slightly higher risk of hardware failure, so if you wanna store data on there that you really don’t wanna lose, consider looking into online backup storage services. I’m not sure of their international availability but some good ones:

    • borgbase
    • backblaze

    if it’s not a lot of files that you actually want backed up you might be able to get away with free/cheap tiers of google drive/one drive using rclone

    Good luck!

  • ᗪᗩᗰᑎ@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 days ago

    I’ve been running my server on an old laptop and a 20TB external hard drive connected via USB. it’s not fast, there’s a multi-second delay when the drive goes to “sleep” if nobody has used jellyfin in a while, which makes it appear to not work, but once it spins up it works like normal. this has let me keep things simple and cheap. I back up to another 20TB hard drive, which I recently bought as I could finally afford it. beefy hardware is great but not necessary, if you’re okay with some limits.

  • ThrowawayPermanente@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 days ago

    Here in Panama a lot of people buy things online in the US and use freight forwarders, I don’t know how they do it but I never pay taxes on that stuff

  • coconut@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 days ago

    Just want to point out you don’t need beefy hardware if you’ll use jellyfin only in your network or if you won’t stream very heavy media over the internet. If your library is mostly 1080p, you’ll be able to stream that without transcoding for the most part.

    • Dagnet@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 days ago

      Will stream over the internet and being in a developing country a lot of devices can’t even handle h265 so los of transcoding. Will also host foundryVTT and maybe some game servers

  • Drunk & Root@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 days ago

    u can prob get by with using old devices an connecting to storage like old laptops may be enough depending what your needs are

  • Luffy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    edit-2
    8 days ago

    mainly for the integrated graphics to use jellyfin’s hardware transcoding. Is the UHD 730 enough for that?)

    My 4th gen Intel i5 can do that

    No idea what to get for MB

    You get the cheapest thing available with your socket that has at least 4 sata slots for migration

    Server quality storage is extremely expensive, not sure if its worth buying.

    Just get 2 WD blues

    For case I saw some suggestion for cases with a ton of hotswappable drive bays

    Or, you know, if you are making a whole post crying about your financial situation, maybe you can just move your ass and manually swap the HDDs.

    PSU I want to get any gold PSU with low wattage from a reputable brand

    If you want something energy efficient, why in gods name do you want to buy a desktop CPU?

    16gb of any decent ram I suppose?

    If you want to be fancy I guess, but my 25€ half dead optiplex that dosent even pass its own self test is currently running on 8 gigs of DDR 3 storage from different brands I got out of dumpsterdiving in a junkyard right before they threataned to call the police on me, and I live in goddamn Germany, so maybe make up your mind if you want to be crying about being poor or actively going out of your way to buy fancy Server Equipment I can only dream about in my setup.