selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

thelittleblackbird, in Planning build: Power efficient headless steam machine, and later upgrade for AI tasks

Some tips here:

  • get a platinum rated power supply, if you can afford it go for a titanium. The efficiency in the power supply is half of the efficiency of the rig
  • reduce the number of the modules to the minimum
  • get a platinum rated power supply ;)
  • get big passive coolers, you want to idle the fans
  • reduce the number of usb and connectors to the minimum. Their converters are not the most efficient. Try not to connect enything on them.
  • NO mechanical parts (including fans or water coolers)
  • set schedulers to conservative or power efficient. You don’t want to spike the power just because a task is 2ms longer than expected.
  • pick a power efficient CPU/gpu (I think we can discard this one based in your choices)
  • use the latest amd adaptative undervoltage technology to ensure to reduce the wattage of the cores
  • try to reduce to the bareminimum the number of background tasks /services running.

And that’s all. Sometimes there is a component of trial and error because sometimes the curve performance / power is not entirely linear and you don’t want to hit exponential-non-linear zone.

Good luck and if you can post you build with numbers and some lessons learnt would be great

Good luck

rambos,

Just to add my experience about PSU efficiency: for low power consumption (20-50W) you need PSU rated for minimum power your system needs. So if you are idling at 30W on 700W PSU your efficiency will be super bad because that PSU was made for higher loads and you are using <10%. No matter what PSU class you choose, efficiency will be better if your usage is at 40-70% of PSU max power. This is based on testing multiple desktop ATX PSUs for my small homelab

thelittleblackbird,

Definitely.

I forgot to add that it would be necessary not to overdimension the set up. Any extra power is something that needs to be powered.

But with the chosen cpu and GPU there is not a lot of room here.

rambos, in Am I in over my head? Need some encouragement!

Leave Servarr as last thing to setup because it requires many services to work together and even small mistake in config will make it not work. Its not hard, but it will be easier after you learn how to setup jellyfin or audiobookshelf.

I have no experience with your hardware, but after you install docker and docker-compose get Portainer and get familiar with docker compose. Portainer is simple gui that lets you manage all containers.

So for example, you get docker-compose example for jellyfin, eddit PUID, GUID, path to your library folder, copy that in Portainer Stacks, hit deploy and BAM! Your jellyfin is available on localhost:8096

You might face many issues in the begining, but dont give up, its getting more and more easy over time. I still think Im a noob, but have no problems with my 40ish containers running on poor home server 😉. Dont forget this community is awesome and helpfull

outcide, in pooling media libraries - like distributed storage
@outcide@lemmy.world avatar

Ceph, GlusterFS, and I suspect SeaweedFS (but I haven’t used it) expect high speed, low latency connections to their peers. So they won’t work well over the internet.

There’s some info floating around about using IPFS as the backend for Jellyfin, which in theory should allow you to share media between friends, but I haven’t tried it.

www.youtube.com/watch?v=PHujBhq4J9A

ChojinDSL, in Jellyfin on a vps
@ChojinDSL@discuss.tchncs.de avatar

Do you have a NAS at home with enough storage? You could use wireguard to setup a vpn tunnel, then mount your NAS’s storage on your vps via nfs and using cachefilesd. If your upload speed is sufficient, this can work pretty well without too much waiting for a stream to start.

loboaureo, in Am I in over my head? Need some encouragement!

I recommend you to check casaos. It’s a frontend for docker containers with his own “app store” with all you want and more easily configurable.

Maybe is not for you, as is so easy that maybe you don’t learn anything, but maybe it’s a way to start and investigate without frustrating blocks.

I feel myself at the same level than you, and currently investigating how to setup a DNS + VPN server, only for fun/learn

randombullet, (edited ) in Planning build: Power efficient headless steam machine, and later upgrade for AI tasks

Just so you know

R5 5700G

128GB ram

2 x 20TB disks

2 x 4tb NVMe

Idles at about 60w.

You should look into the RTX 6000 or higher to utilize vGPUs.

Here’s the full list.

Not fully supported but it’s possible.

And also get into proxmox. You can pass through part of your GPU into a “desktop” environment and also have another VM(s) running in the background. That way you can use your computer as normal with a type 1 hypervisor in the background.

Also get a mobo with 2 NICs. The fewer pcie cards you have the lower power draw.

My NVMe idle at 7w and my HDDs idle at about 15w I think. 45w is just for storage.

elfio, in Tempo – An open source music client for Subsonic built natively for Android, now with Android Auto support

I saw you did some steps in order to bring this to f-droid. Is it still on your roadmapm?

antoniocappiello,

Yes, it’s been on my roadmap for a while. I also created a pull request several months ago to enter the repo but it was never accepted (it’s also my fault because I didn’t follow the verification process properly).

elfio,

Thanks for the info!

randombullet, in Jellyfin on a vps

You got a friend to host with?

I have an off site backup with a friend, but I’ve never tried streaming from them.

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

I’m most likelly the only one among my friends who even own’s a smartphone/pc ( I live in Croatia in countryside where tech is seen as evil )

tuff_wizard,

I mean… they’re not totally wrong.

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

Agreed

SiblingNoah, in PSA: The Docker Snap package on Ubuntu sucks.

“PSA: Snap sucks”

FTFY

oranki, in Jellyfin on a vps

Most likely, a Hetzner storage box is going to be so slow you will regret it. I would just bite the bullet and upgrade the storage on Contabo.

Storage in the cloud is expensive, there’s just no way around it.

crony,
@crony@lemmy.cronyakatsuki.xyz avatar

I will most likelly just do that in the end.

Relly hope god will have mercy on me and allow me to move out soon to a bigger place.

electric_nan,

Why do you say that? I use it for my 12+ TB library and it works fine. I’m on the west coast USA, and my vps and storage box are on the east coast.

GlitzyArmrest, in PSA: The Docker Snap package on Ubuntu sucks.
@GlitzyArmrest@lemmy.world avatar

Friends don’t let friends use Snap.

henfredemars,

Proprietary when flatpak exists, and it doesn’t properly address how apps should dynamically request access to things they need. Every time I’ve used either solution I’ve run into some permissions problem.

KDE,

flatpak just makes sense imo

atzanteol,

For desktop apps maybe. How do you run a flatpak from the cli? “flatpak run org.something.Command”. Awesome.

Both suffer from not making it obvious what directories your application can access and not providing a clear message when you try to access files it can’t. The user experience sucks.

lemmyng,

The one thing snap does that flatpak doesn’t is provide CLI applications. But then nix also does that, so snap can go pound salt.

redcalcium, (edited ) in 13 Feet Ladder

It amazes me that all it takes is just changing user agent to Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) and it can bypass paywalls on many sites? I thought those sites would try harder (e.g. checking if the ip address is truly belong to google), but apparently not.

aniki,

Same. I thought there would be more stuff happening in the background but when I saw it’s just hijacking the google bot headers to display the html i was a bit disappointed it’s so stupidly easy.

andrew,
@andrew@radiation.party avatar

Checking ip ownership is a moving target more likely to result in outcomes these sites don’t want (accidentally blocking google bots and preventing results from appearing on google).

Checking useragent is cheap, easier, unlikely to break (for this purpose, anyway) and the percentage of folks who know how to bypass this check is relatively slim, with a pretty small financial impact.

douglasg14b,
@douglasg14b@lemmy.world avatar

It’s not necessarily a moving target when entire blocks can be associated with Google.

andrew,
@andrew@radiation.party avatar

Unless they are permanently only using specific addresses or blocks and will never change that up, I’d consider it a moving target.

efstajas,

Google literally has an official list of IP ranges for their crawlers, complete with an API that returns the current IP ranges that you can use to automate a check. Hardly a moving target, and even if it is, it doesn’t matter if you know exactly where the target is at all times.

redcalcium, (edited ) in Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose?

If you have a Home Assistant instance, adding a webcam and accessing it from outside of your home network is quite easy: home-assistant.io/…/usb-webcams-and-home-assistan…

Home Assistant is a very useful platform to have around if you have a handful of IoT devices at home.

shadowintheday2,

Thanks, I will look into setting up Home Assist

redcalcium, in PSA: The Docker Snap package on Ubuntu sucks.

I also like to run my container platform as a containerized application in another container platform.

Contend6248,

Double-NAT anyone? 3 times the fun, 2 times the work

thanksforallthefish,

Lol. Yeah that was my reaction to the headline as well. “You did what ?”

Turbo,

:)

redcalcium, (edited )

Why does Docker has a snap version in the first place anyway? Did Canonical pester them to do it?

Edit:

Nope, it’s just Canonical went ahead and publish it there by themselves.

This snap is built by Canonical based on source code published by Docker, Inc. It is not endorsed or published by Docker, Inc.

thesmokingman,

It’s also offered as part of the installation process at least for Ubuntu server. If you don’t know better it bites you real quick.

hperrin,

Now I know better. No more Ubuntu Server.

GenderNeutralBro,

It’s insane how many things they push as Snaps when they are entirely incompatible with the Snap model.

I think everyone first learns what Snaps are by googling “why doesn’t ____ work on Ubuntu?” For me, it was Filebot. Spent an hour or two trying to figure out how the hell to get it to actually, you know, access my files. (This was a few years ago, so maybe things are better now. Not sure. I don’t live that Snap life anymore, and I’m not going back.)

ikidd, (edited ) in PSA: The Docker Snap package on Ubuntu sucks.
@ikidd@lemmy.world avatar

Yah, it’s been trash from the start. I tried it 2 years ago and the unpredictable weird shit it did was useless to try to troubleshoot. It was worse than trying to run Docker on Windows, if that can be believed.

Debian with the Docker convenience script is the way to run Docker.

lemmyvore, (edited )

Docker has an apt repo. You can add it to your Debian/Ubuntu and install and update packages normally. No need to use a script install.

docs.docker.com/engine/install/ubuntu/

NotATurtle,

Is there a difference between the apt and the install script version?

aniki,

all depends on what your aptitude is configured to look for.

ikidd,
@ikidd@lemmy.world avatar

That’s essentially what the script does, then installs all the deps and docker, sets up the service.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #