this post was submitted on 31 Jul 2023
31 points (89.7% liked)

Selfhosted

40183 readers
128 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.

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!

founded 1 year ago
MODERATORS
 

Hi everyone, I'm planning to experiment with my first home server (jellyfin,nextcloud,bitwarden etc) running on a "old" Thinkcentre i5-7th. I'm thinking using proxmox in order to experiment with different configuration and I was wondering if it's possible to have a single container/vr (with Libreelec) output HDMI to my TV, and keep other VM's headless and controlled from another PC when needed.

Are there some particular setting or nwebie suggestion that could help me achieve that? Also, do you think proxmox is a good choice, or it's better stick to a single debian/ubuntu server OS?

you are viewing a single comment's thread
view the rest of the comments
[–] snekerpimp@lemmy.world 8 points 1 year ago (2 children)

What you are looking for is gpu pass through. You can do it with integrated graphics as well as dedicated. There is a lot of good documentation out there for proxmox to do this.

I would totally start with a hypervisor. The ability to spin up a new VM for an experiment or project far outweighs any downside. I use proxmox, but that’s mainly because it was the thing to do when I was starting out. There are a few options out there, including installing Debian and running kvm/qemu, which is basically what proxmox is. They all have the same functionality, just different UI/features. Lxc containers in proxmox help a lot as well, when you have a small service you want to run but don’t want to take up a VMs worth or resources. These also helped a lot.

Good luck

[–] dragnet@kbin.social 3 points 1 year ago (2 children)

Just gonna add a bit here. I haven't used proxmox, but I do have a GPU I assign to QEMU/KVM virtual machines. The arch wiki has an article that helps a lot, for anyone who wishes to try this. I have also found that the virgl drivers allow for sufficient graphical performance for video decoding at high resolution, so that is another potential option to explore here that doesn't involve allocating the GPU to a VM.

[–] snekerpimp@lemmy.world 1 points 1 year ago

I ran an Ubuntu server with qemu and virtmanager as my first set up, because I wanted to learn how it worked at the core rather than just learning the cut and paste of most proxmox tutorials. Ran it for about a year before I switched over to proxmox, brought all my VMs as well.

[–] stown@sedd.it -3 points 1 year ago (2 children)

It's important to note that you will need 2 GPUs ( 2 PCIE or 1 integrated and 1 PCIE). One GPU is needed for Proxmox and the other can be passed through to the VM.

[–] snekerpimp@lemmy.world 5 points 1 year ago

If you are running a hypervisor, running headless would be perfectly ok with a webui or remote utility like virtmanager. I was making the assumption OP was not doing this on a main rig.

[–] Sethayy@sh.itjust.works 4 points 1 year ago

Surprisingly this isnt actually needed. It makes it easier to setup, but isnt required beyond that (and some bios need one plugged in to boot but that won't be an issue).

My current setup is 2 nvidias both passed through to separate VMS, then I just use another PC to access the web console. My ideal setup would be a VM that launches itself when none else are running, to allow a graphical output even with the host headless