Hacker News new | ask | show | jobs
by progmetaldev 324 days ago
I think the fact that you are able to even setup a VM with GPU-passthrough probably means your knowledge of using Linux is far greater than most coming from Windows and Mac. I'm someone that uses Visual Studio for work often, but the fact that you can do GPU-passthrough gives me some hope that I could switch to Linux full-time, and make it work. Even though your comment was about games, I appreciate that you posted and gave me some hope. Most of the software I write now in .NET is able to run on Linux, but the specific CMS I use is still tied to MS SQL Server for production. I can use SQLite for development, but moving from SQLite to MS SQL Server is quite a big extra step. If I can use Visual Studio and MS SQL Server (Express) in a VM, I can do most of my daily tasks directly in Linux.
1 comments

If you don't plan to do anything graphically-intensive, you don't even need to pass a GPU through. But GPU passthrough is the smoothest experience by far. The downside is that you have to switch display inputs back and forth between passed-through GPU's output, and host output, if you're using the same monitor. And then the easiest way to share a keyboard and mouse between the two is a cheap KVM.

The biggest things are that you probably want a newer kernel, and your motherboard needs proper IOMMU layout to isolate the GPU. This is "the" tutorial if you're interested:

https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Wi...