News for hackers. Stuff that matters.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @08:55AM (#26778844)
I use (and love!) Proxmox but as a way to virtualise dedicated servers (eg from OVH / Hetzner) and avoid having to pay hosts like DO everytime I need a new VPS for a project.

I'm completely confused by what this ("Proxmox PCI Switcher") is – and the readme isn't helping very much. Can someone explain?

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by simcop2387 on Monday April 12, 2021 @08:58AM (#26778870)
It looks like it's a tool to help manage hardware passthrough, specifically to pass through a single resource (GPU most often) and have the UI know that all the guests sharing it are mutually exclusive and you can only have one running at a time.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @09:16AM (#26779045)
Thanks, I see (I think).

So some use cases would be for gaming (where you really need dedicated graphics performance), and also for MacOS as a guest OS (as otherwise the user interface is really slow)?

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by zrail on Monday April 12, 2021 @10:26AM (#26779795)
This is also useful if you want to pass dedicated network interfaces through to specific guests. For example, I am planning to run a router on top of proxmox and pass through several dedicated NICs specifically for routing purposes.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by _joel on Monday April 12, 2021 @09:51AM (#26779418)
Passing through for GPU releated ML tasks or perhaps HW accelerated encoding. I've also used PCI passthrough with Blackmagic SDI capture cards so that a given VM could access the device and the SDI input feed.
Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by djrogers on Monday April 12, 2021 @12:21PM (#26781286)
> for MacOS as a guest OS (as otherwise the user interface is really slow)

Is this something specific to proxmox or non-mac hosted virtualization? I ask because I regularly run MacOS without GPU passthrough without any UI slowdowns at all. In fact, at one point I ran macOS in a VM as the primary UI on my MacBook for several years..

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by m463 on Monday April 12, 2021 @03:36PM (#26784089)
I have a main mac desktop, and "uploaded" my macbook into proxmox near the start of the pandemic. I just use mac to mac screen sharing to get to it and it works wonderfully.

If you don't know, screen sharing is done very well - it does very intelligent things, such as drag and drop files from desktop to desktop or rich-text copy/paste between systems. It will also pass keys correctly, so command-q will quit a remote app instead of quitting the screen sharing app itself. same with alt-tab.

I used to use screen sharing with the macbook itself, but it kept going to sleep with the lid closed at inopportune times even with caffeinate, so I just cut to the chase.

I also was able to migrate the macos vm when I upgraded my proxmox machine hardware. "vzdump <vmid>", copy the dumpfile, "qmrestore <dumpfile> <vmid>", voila

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @12:27PM (#26781375)
I tried running MacOS as a guest OS using VMWare Fusion a while back (2 or 3 years), and my recollection is that all the UI stuff (drag/drop, transitions, etc) were super slow.

This was on a late 2013 though, so the experience may be very different now, in fact now that I've replaced it with a 2020 iMac, I'll give it another go and see.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by rosineygp on Monday April 12, 2021 @03:26PM (#26783960)
nice words, thanks!

I have a lot of difficult to explain this. I will improve the docs... maybe record a video.

Re:Proxmox PCI Switcher – Switch among Guest VMs organized b... by monkey_monkey on Monday April 12, 2021 @04:02PM (#26784439)
That would be a great idea, especially for people (like me) who are struggling to understand what this is, and why it could be useful.