Single-GPU-Passthrough
By joeknock90
forcefully-remove-bootfb
releases memory areas used for BOOTFB for linux/kvm/vfio/pci-passthrough (by furkanmustafa)
Our great sponsors
Single-GPU-Passthrough | forcefully-remove-bootfb | |
---|---|---|
207 | 4 | |
1,396 | 22 | |
- | - | |
3.4 | 0.0 | |
3 months ago | almost 2 years ago | |
Shell | C | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Single-GPU-Passthrough
Posts with mentions or reviews of Single-GPU-Passthrough.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-17.
- Single-GPU-Passthrough
-
Help. Hooks ./vfio-startup.sh and ./vfio-teardown.sh
Link to hook scripts: https://github.com/joeknock90/Single-GPU-Passthrough
- Running Adobe Substance 3D (Painter + Designer) on Ubuntu
- Beginner questions re: running Windows in a virtual machine (linux host)
-
Cheap gpu for system?
Yes but that's a different kettle of fish. You then don't need two gpus, although if you do it can be useful. Start here and see how deep the rabbit hole goes https://github.com/joeknock90/Single-GPU-Passthrough
-
How to disable nvidia drivers?
Im assuming you're on a single gpu setup and, as such are trying to do single gpu passthrough with a single nvidia card. so you'll likely have to run some libvirt hooks or smth to run scripts to unbind your gpu once you start your vm. In which case id suggest going through these two guides 1 2 which go over completely passing through your single gpu when you start your vm
-
Windows on Btrfs
Single GPU passthrough: https://github.com/joeknock90/Single-GPU-Passthrough
- GPU virtualization, RTX 3000, Nvidia, and KVM?
-
How to install hooks (for GPU passthrough)
Out of curiosity, who is Muta, the video dude, or the guide writer, or someone else? From the GitHub it sounded like running the commands from the guide would create a qemu.d/[VM Name]/prepare/begin/start.sh . If I were to simply create those directories myself, and then script as described in the video, I should be good?
-
Trouble passing through AMD card to windows vm
Thanks for the info. Some of these I recognize from a single gpu passthrough project on github that i used on my main rig... https://github.com/joeknock90/Single-GPU-Passthrough
forcefully-remove-bootfb
Posts with mentions or reviews of forcefully-remove-bootfb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-12.
-
VM works on 5.17.5-200.fc35 but not 5.17.5-200.fc36
Nice find, https://github.com/furkanmustafa/forcefully-remove-bootfb fixed it for me.
- Dealing with VFIO-related issues on Fedora 36 (beta)
-
Single GPU Passthrough: EFI-Framebuffer "No such device"
If you are bound to the simplefb, you might still run into the same issue due to BOOTFB occupying the same memory space as your GPU. You can see if this is the case by doing cat /proc/iomem and looking for the pcie address of your GPU. I personally reverted to an older kernel and bypassed this because I was having other issues at the time, but if my guess is correct, you should be able to forcefully unmap BOOTFB with this repo
-
6600XT passthrough
My next step was to try a later kernel that supports my card so I could replicate the environment (at least somewhat) I had with my 580. Unfortunately, with the edge kernel from alpine I get the (paraphrased) error Failed to mmap 0000:0b:00.0. Performance may be slow. I found that alpine's edge kernel version uses simplefb instead of efifb. I did the following on the above bind script: sed 's/efi-framebuffer/simple-framebuffer/g' -i bind_devices.sh to no avail. The gpu was clearly unbound from the framebuffer with this modification, but BOOTFB (AFAICT, the simple-framebuffer) was still in the same address range as my GPU in /proc/iomem, which of course means the 'Failed to mmap' error remained. I found a repository that forcefully unmaps BOOTFB's address range and ran that script (after compiling the kernel module of course) after unbinding the simple framebuffer with still no luck. After work, the plan is to
What are some alternatives?
When comparing Single-GPU-Passthrough and forcefully-remove-bootfb you can also consider the following projects:
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
Complete-Single-GPU-Passthrough - Single GPU VFIO Passthrough Guide
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.
gvt-linux
GPU-Passthrough-Arch-Linux-to-Windows10 - GPU Passthrough and virt-manager walkthrough
WSL - Issues found on WSL
rom-parser
gpu-passthrough-tutorial
single-gpu-passthrough
wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt
Single-GPU-Passthrough vs macOS-Simple-KVM
Single-GPU-Passthrough vs Complete-Single-GPU-Passthrough
Single-GPU-Passthrough vs OSX-KVM
Single-GPU-Passthrough vs gvt-linux
Single-GPU-Passthrough vs GPU-Passthrough-Arch-Linux-to-Windows10
Single-GPU-Passthrough vs WSL
Single-GPU-Passthrough vs rom-parser
Single-GPU-Passthrough vs gpu-passthrough-tutorial
Single-GPU-Passthrough vs single-gpu-passthrough
Single-GPU-Passthrough vs wslg
Single-GPU-Passthrough vs macOS-KVM