Hi there! I have an old pc that I use as a server (I use Ubuntu Server) and I would like to add a NVIDIA 1050 to it (for jellyfin and guacamole).

In the past I tried to do it and somehow I corrupted the system when installing the video drivers, I have always had complications when installing NVIDIA drivers on Linux.

Could any of you help me know what is the right way to install the video drivers on a headless system and use it correctly with docker compose?

Thanks in advance 😄

@netwren@lemmy.world
link
fedilink
English
21Y

Not docker but you could do k3s and use the Nvidia GPU operator to manage installing video drivers for you on your single node cluster.

@Trincapinones@lemmy.world
creator
link
fedilink
English
21Y

I didn’t know about it, thanks! I’ll give it a try 😄

@netwren@lemmy.world
link
fedilink
English
11Y

It actually was pretty straightforward. Saying this from experience as I used a tensortt container image with a 1060 for image clarification

@vynlwombat@lemmy.world
link
fedilink
English
21Y

What went wrong last time you tried installing the drivers?

Ubuntu has Nvidia drivers in the official repos: https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/

Nvidia also has a docker image for GPUs: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.14.2/install-guide.html

@Trincapinones@lemmy.world
creator
link
fedilink
English
1
edit-2
1Y

Thanks for the help! I’m trying to install the driver from the official repo but I don’t know what version shoud I use for a headless docker setup with a 1050.

I think that’s what went wrong last time, I tried to install the driver from the NVIDIA documentation thinking that “I’ll just work” just like in windows 😓

Edit: I’ve solved it, now it works perfectly, Thanks again

Create a post

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!

  • 1 user online
  • 61 users / day
  • 98 users / week
  • 231 users / month
  • 844 users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 8.7K Comments
  • Modlog