this post was submitted on 23 Nov 2023
5 points (100.0% liked)

Self-Hosted Main

502 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Okay, so I have an old gaming rig (4th gen i7, GTX 1070ti) that I want to turn into a home server. I'd like to use the GPU only for specific tasks, like encoding when watching stuff via Jellyfin. What would be easier?

  • Install Fedora or Rocky Linux with the normal GUI, install and configure the Nvidia drivers with akmod-nvidia, then just remove X/Wayland from the startup process?
  • Install either distro sans GUI, and install the nvidia drivers? Also, does akmod-nvidia work for systems with no display server?

So yeah. Any Linux people out there with nvidia cards and purely CLI servers out there? I've got a fair bit of experience with Linux, but I've just never done this before. And Google keeps giving me results about troubleshooting black screens after installing the drivers.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago

Pretty easy on Debian, Ubuntu, rhel and it's derivatives.

[–] [email protected] 1 points 10 months ago

Nothing against fedora but I did not have a good experiente with it, specially akmod-nvidia drivers

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

PolloLoco vgpu guide will help you

[–] [email protected] 1 points 10 months ago
[–] [email protected] 1 points 10 months ago

Last I tried this, the Nvidia cli I stalker was easy peasy for my 1050ti.

However, I haven't took a look at jellyfin, but the Intel quicksync encoder on the Intel chip on my home server did the same encoding tasks and was far less temperamental with plex than Nvidia was. Do you really need the GPU? If it's just for video encoding I feel like you could skip it. If it's for more esoteric stuff like running LLM then of course it's a requirement.

[–] [email protected] 0 points 10 months ago

I think you may be interested in ProxMox. You can pass through the GPU to a VM or CT.

That way if you get tired of troubleshooting, you can just create a new VM.

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

Why not use proxmox? Then passthrough the gpu to distro of your choice? I have 2x headless ubuntu set ups with gpu's passed through no problem. One for plex/jellyfin, one for cameras

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

This rig isn't really built for virtualization. In fact, I don't think I can even enable KVM in the BIOS. A regular OS and maybe some containers will have to do.

My only real question is how to get the Nvidia drivers installed sans display server.

[–] [email protected] 0 points 10 months ago

Pretty sure they're installed by default. At least in ubuntu.

https://ubuntu.com/server/docs/nvidia-drivers-installation