vga-passthrough
Simple-Ubuntu-Setup-For-Gaming
vga-passthrough | Simple-Ubuntu-Setup-For-Gaming | |
---|---|---|
2 | 2 | |
178 | 2 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Creative Commons Attribution Share Alike 4.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vga-passthrough
-
In Praise of QEMU
I've been using VFIO and maintaining a guide for a few years, then I've realized that VFIO kinda works, but it's not a reliable technolog, and I switched to dual boot.
There are very significant pain points, specifically:
1. if one reserves the video card for VFIO, it won't have any power management; this means that it will run hot while doing nothing; in order to work this around:
1a. first one has to battle with X, which has an option not-to-take-over-a-card-but-it-takes-it-over-nonetheless
1b. then one can give exclusive access to the graphic card driver, which then can be switched out/in when starting/stopping the VM; this unfortunately works, but not reliably
2. the points before apply to nvidia; AMD is worse, as it hasn't supported soft GPU reset until very recently (I think it was added on 5.19 or so)
2a. this means that one starts the VM, then stops it, and most of the times the card will hang
2b. there resize BAR functionality is not supported by VFIO (at least, last year it wasn't), which meant, one had to lose performance by virtualizing it
The problem is that all the points below are not in control of the user; the problems happen at driver level (if there is no reset support, one can't add it out of thin air).
Point 1 has been what lead me to abandon VFIO. It's fantastic, but finding that my card was running hot while doing nothing was really a showstopper; and the alternative of the card having a most-of-the-time-malfunctiong driver was not appealing, either.
Big shame! I loved VFIO :)
* https://github.com/64kramsystem/vga-passthrough
-
Looking Glass: Run a Windows VM on Linux in a Window with Native
I mantain a guide for setting up VFIO (https://github.com/saveriomiroddi/vga-passthrough), which I frequently use.
My conclusion is: for machines that are compatible with it, VFIO works very well. The technology itself is stable, so working on photoshop/game development etc. (from a technological perspective, there's no distinction between the two tasks) is not distinguishable from working on native.
I had VFIO on 4 machines I think, and one had problems which I couldn't solve, while the others worked well.
When used with QEMU, it requires some system settings and QEMU flags etc., but it's straightforward.
To put it in another way: if one wants to use VFIO seriously, it's best using hardware known to work well, rather trying to cram VFIO on a not very compatible ones.
And also: one needs to be pratical. An USB soundcard solves countless hours of attempts to use the host's Pulseaudio system (meh).
Simple-Ubuntu-Setup-For-Gaming
What are some alternatives?
vgpu_unlock - Unlock vGPU functionality for consumer grade GPUs.
Simple-Fedora-Setup - Simple Fedora Setup for Gaming and multimedia stuff
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
Simple-ArchLinux-Install-Guide - Archlinux manual and automated simple installation UEFI with GRUB,GUI,NVIDIA,AMD,User Space with all popular Desktop Environments.
SkyScan - Automatically photograph planes that fly by!
Linux-Mint-Simple-Setup-For-Gaming - Linux Mint Setup for Gaming
skyscan - Location and velocity information system for the game Starbase
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
Resources - We are the educational powerhouse for all things Aim, FPS, and Esports.
AmogOS - ඞ Among-us themed OS. As seen on Reddit and Youtube.
Victoria-2-Cursed - A Victoria II graphics mod that makes the game deep fried and overall more cursed.
PC-Optimization-Hub - collection of various resources devoted to performance and input lag optimization