I really appreciate the comment! Sometimes it takes a lot of work to make sure these videos are both specific and clear, so I'm really glad to hear it was both accurate and approachable! Happy hacking!
I typically don’t comment on RU-vid videos but I gotta say, this was a banger. Got mine to work pretty seamlessly. Thanks so much been wanting to do this for a while
1 year later it still works like a charm, thanks mate! just a heads up: after you have setup your GPU drivers on windows, shut it down and in virtman delete any reference to "Display" so you dont have problems with nonexistent display being the primary one and "microsoft basic display adapter" showing up in device manager :)
This guy is very clever. I started with Windows and became full time Linux. He is different starts with Linux and boots up Windows to play games. I am pretty old and not active now and hate black terminal all my life. Graphic and RAM wad hard to come by and I resorted to dual booting. I just refurbished my first computer with 1MB video and 4MB RAM. Beauty of Linux is using minimum resources to maxim use. SAMBA and network computing was my interest with 14 computer network at home all having less than 500MB RAM and only one with 1 GB. All disconnected and dismantled and have a tiny Intel NUC. In passing Steam OS and deck has solved the problem of running windows games in Linux. Unfortunately I do not have money to buy Steam Deck. This guys solution is pretty excellent and one need not buy a steam deck. Thank you.
Pretty cool to hear about how far technology has come (and memory sizes have grown) and the cool things your build! Thanks for sharing Glad to hear this is going to help you play games without meeting to spend more money!
Thanks to your guide and some sweat and tears I've managed to get this working near flawlessly. I carefully edited the hook scripts and it unloaded the drivers and disconnected the pci devices as expected, but the VM never grabbed the card. I added the PCI devices in virt-manager and voila, it works! I can also vnc from in the VM to the host which makes it so much easier to jump around. I rate it's 90% solid apart from random freezing for 3 or so seconds, and audio cutting out. This happens about 10% of the time but considering the success it was totally worth it. Might be a good idea to start messing with the xml to do some cpu pinning and such. Great work and cheers!
Great work yourself! Sounds like a sick setup, and I can totally relate to the tears of joy when your system is finally working the way you want! Goodluck with the performance improvements and thanks for posting the success story!
I followed your guide on Arch but instead of making a virtual drive I just added my Windows drive (/dev/sda) as path for the disk image. Now I can dual boot and also virtualize the same system! Thank you so much for the helpful guide
Can u do a explanation video on the scripts involded including the lines included in those scripts & helping us understand what those scripts do in detail, thanks. @@BlandManStudios
I’ve been looking into this, so glad I found this video. The other videos you mentioned are also helping me with understanding exactly what is happening and what will and will not work, thanks a lot!
Oh man, I didn't expect that switching between Linux and Windows would be that seamless. I was really expecting needing to edit configs and then restart my computer just to give Windows my GPU, but this is so much nicer.
I can only recommend using virtIO block or virtIO scsi storage from the get go. To get the driver correctly on install (and thus see the drive) you just add a second CDROM device => Then you have one CDROM with the windows install and one with the virtIO drivers. On the screen where you select the destination disk no disk will be shown - but you have the option to load the drivers from the second CD. After that the disk ist shown and you can install directly witht he correct drivers. This saves the hustle of changing it (editing XML) as well as prevent some possible errors.
This. You can just start with all all VirtIO drives. Windows will ask you for the drivers if it doesn't detect any drive during the tutorial at which point you can just point it to the correct folder on the VirtIO ISO.
Fantastic video, this is great! I’ve been struggling on my own passing through my integrated GPU into the VM while keeping my dedicated for my host. You have clarified some things on point I did not yet consider. I will retry this first thing tonight! And how genius is having the hook scripts binding and unbinding depending on need of use? Brilliant!
Hey man, just want to throw out a complement that you have one of the best linux tutorials b/c of 1 reason: you tell us the command and then tell us what said command is doing. Surprisingly no one really does that well (or as well as you) for an audience such as myself (Linux Novice). Shows that you have a good understanding of how the OS works. Linux for me is like learning a new language, everyone is good at telling me what to say at the correct moment but I don't know what these words mean. May I suggest you make more linux videos - perhaps not even gaming related ones? Simple crap like how do I modify grub without using grub-customizer (which Fedora does not let me use) has already sucked hours out of my life w/ no success. I'm sure you can bang those type of tutorials out quickly - more quickly than the 1K steps involved in GPU passthrough. One feedback I hope you will consider is to better highlight the commands you use. Some of the commands mentioned in this video are displayed on screen than less than a second! Really hard for me to rewind/pause/write down. But even with that, great job again.
Thank you for this video. Yes this totally works (using AMD GPU!). A note about the VNC connection. You can indeed as pointed out just create an additional Display that is configured as VNC.
@@skynetisreal The script shown in the video has nvidia drivers, none for amd unloading etc. I have 5700XT and gave up. The pc would not unload amd_gpu, just said in use and then hangs.
Wow, the timing for this upload was pretty great. Just watched your last video showing the demo of it after thinking I'd give the whole gpu passthrough VM thing another try.
Nice! I'd agree it's worth giving it another try. Hope it goes smoothly I'm glad the timing worked out cuz sometimes RU-vid doesn't like it when you take a month to upload 😂
Thank you *SO* much for this tutorial. It still looks pretty daunting, but your attention to detail gives me the confidence to give it a try with with one of the tamed & trimmed W10 distros like Ghost Spectre/Tiny10/etc. (BTW, probably the best way to sell the hardware is *NOT* to sell the hardware. Instead, have the client pay for the set collection of hardware up front, then pay for your labour to set it all up. That way, you make a decent amount without having to juggle razor-slim, constantly fluctuating profit margins, and the customer gets a *LOT* more agency and doesn't feel overcharged, *ESPECIALLY* since this video shows just how much work will go into setting the whole thing up. Does that sound reasonable to you?)
Thank you so much! I had to do some changes about the NVIDA open-source drivers to prevent the libvirtd service from hanging, and I also added my audio device in virt-manager. If anyone wants to see this setup uncut in action, there's a short demo video on my channel now.
This comment came from a windows VM, thank you! Had to do some of my own troubleshooting but eventually got it working. Struggled the most when it came to getting the Bash scripts working and only having my phone to SSH into my PC lol! I added a line in my script to start an SSH server so when I do get into windows I can still use Putty and SSH into my host.
Brilliant! I'm always excited to hear another person has virtualized their windows! Welcome! And great job making it through the toughest part without a second PC I've heard a lot of people struggling with that step lately so let me know if you have ideas for how my tutorial could have smoothed out some of that pain
@@BlandManStudios I'm on Fedora 39 with Wayland. Ryzen, X570 mobo, and a single 2070S. I used my phone to capture the debug output and took screenshots. I did run small commands but it was easier to reboot and then edit the scripts again. With my current setup only "systemctl stop display-manager.service" would actually kill my GUI correctly before the drivers unload. You also have to start it that way.
There's an issue when trying to "Switch Display type to Spice->VNC": error: chardev `spicevmc` not supported without spice graphics. I lost an hour trying to install some spice viewer. The solution is to keep that unchanged, instead add another Display that then can be set to "VNC". Mind to switch port for VNC to 5900 (Default), otherwise Spice will take it and you'll have to manually type "IP:5901".
@@trendingsearchtoday Didn't try it on laptop, but premise is the same. Only that your laptop could be equipped with 1 itegrated CPU graphics, and 1 dedicated GPU, in which case you'd be better following a "dual gpu passthrough" type guide
Also, If you plan on using Windows, please consider using Windows 10 LTSC IoT 2021. Not only do you get security updates until 2032 (unlike regular 2025), it comes debloated AND it automatically downloads and installs the drivers for your gpu!
I'm going to try your tutorial, i see lots of people that had success and I tried another one which i had to create a .rom of my GPU with NvFlash but that always failed, I hope that doesn't happens with this one. Thank you for taking the time to make this tutorial.
Hey man, I just want to say that I'm one of the fortunate ones who stumbled on your older VFIO videos and have now successfully converted over to Linux! I still rely on Windows for some gaming needs, but almost all of my work has been converted successfully to Linux, and I'm so thankful for your work! Having said that, I'm curious if modifying my setup to accommodate this tutorial's setup would be that convoluted? I'm fortunate enough to have a Ryzen CPU with integrated graphics, so I've never had an issue running my VM and my Linux host at the same time, but I'm slowly losing the amount of things I need to run on Windows, and would like to tap into that NVIDIA power when I'm not running my Windows VM. Will consider hopping into the discord if I run into troubles trying to set this up though, thanks for opening that for us! That said, thanks again. You've quite literally changed the way I do things on my computer now.
Thanks so much for saying so! That's really energizing for me to hear and was definitely one of the goals I've had making these videos It is possible to modify an existing vfio setup to work like this tutorial and that's what I did before filming the tutorial I bet with a little bit of configuration/scripting magic you might even be able to have Nvidia graphics on the host then have it switch to "dual GPU with looking glass" when you start the VM Hmmm I might need to try that... In the mean time, if you want a quick and easy way to start harnessing the power of NVIDIA graphics on your host, you could checkout this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KO7d-wcI41Q.html Thanks again and congrats on making the switch to officially using Linux on most of your hardware and with most of your time! That's a massive accomplishment Looking forward to hearing where you take your build!
@@BlandManStudios That was the same boat I've been in for years, so I had windows on my main pc, with my laptop running linux. When I saw this video, I instantly nuked the windows pc to install linux and do this.
Really excellent tutorial - it worked and I learned a lot! As a relative linux noob, I felt like a pro! Couple of little head scratchers on my end - I tried this on an existing "win10" VM and of course the names of the VM and script did not match. I chose to use virsh to change the name of the VM. nmap is really useful for finding which port the display is on. Needed for the spice remote viewer (the port changed from 5901 to 5900 when the host display was stopped). When win10 booted for the first time with no (real) graphics driver, it blue screened with a graphics error. I had to virsh destroy the VM remotely which seemed to hang the whole virt-manager and had to reboot. I thought all was lost but the next time I tried windows had automagically downloaded some nvidia drivers (Microsoft is good at some things it seems!)
I want to say that I used your scripts to successfully setup Single GPU Passthrough on my MUXED Lenovo Legion 5 Pro. I am getting native performance now. I have also made a pull request with a fix for a problem that I faced during setup.
Okay I may have spoken too soon. I am having issues with audio and internet pass through. I cannot hear anything from the vm. Scream does not work since host isn't active.
@@BlandManStudios I tried but for some reason the vfio driver does not bind to it. The ids go from 5_00_0 to 5_00_6 but 5_00_1 is not present in that list. I need to send all of them because my audio controller is in that group.
Got it working with Linux mint after 2 days ;) Forgot to disable firewall on linux to get the vnc to work and enabled all things in bios that had with virtilization . But nice guide ,
@@BlandManStudios The only game i play on Windows is battlefiled 2042 . It runs in the vm BUT i got a latency 248 . But i havent updated Windows 10 yet.
Followed this guide and got the single gpu passthrough working but had to make a small change to the revert script, added "sudo rmmod nouveau" before modprobing the nvidia driver stuff, without this the gpu would be passed back to the host but the OSS drivers would grab it. I added "sudo rmmod nouveau" to both the start and revert scripts but pretty sure only the revert needed it. this was with a 3080ti on Fedora 38 using signed nvidia drivers since i have secureboot enabled.
Fantastic, informative video. I've been wanting to do something similar with my Fedora, but I would ideally like to still have my Fedora install functioning @ the same time. I'm guessing that's where it gets hella tricky when you've only got 1 GPU to use. Still top work. Respect +1
Very useful video, i made gpu passthrought work like 4 years ago i remmeber it to be traumatic but now i have dual monitors i want to use it as my definitive work station gaming pc im gonna start by your tutorial
Thanks! If you're building a new PC, I'd recommend you get both an iGPU and dGPU so you can follow this tutorial and have a much more flexible setup. It would allow you to use things like LookingGlass so you can use windows and Linux at the same time ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fFz44XivxWI.htmlsi=BJerMLysqrOyZm-G
@@BlandManStudios at first I was going to buy two dedicated gpus but to save money I'm just getting the one I still want to game under Linux regularly so still probably going to do the single GPU but I'll definitely try out using my integrated graphics with the VM using my dedicated
I followed this tutorial ( with Ubuntu) and I wanted to say that I thought you had created the tiny virtio disk as just a visual example for when you installed the guest drivers, but I skipped that step for my own win10 install and strangely it caused windows to fail to boot after switching to virtio. I had to change it back to sata, create the tiny, virtio disk, boot, and re-run the virtio guest tools and then follow the deletion procedure like you did. Only then did it work properly. I don’t know what kind of voodoo that was lol
Lol, glad to hear that voodoo magic worked for you The reason I do it this way is because: to install the drivers the VM needs to be both (1) turned on and running and (2) have at least one virtio drive attached If you skip the tiny drive, you don't have (2) and the install does nothing If you try to boot without installing the drivers, it won't start cuz it can't read the drive, cuz it doesn't have the drivers
works in 2024 in arch linux with windows10 ISO (I installed with pacman these packages --needed base-devel git qemu-full libvirt virt-manager virt-viewer ebtables dnsmasq libguestfs guestfs-tools) then did sudo systemctl enable --now libvirtd and usermod -aG libvirt $(whoami). Followed the guide and it worked. One thing though - I coudln't change the Display spice to VNC, I had to add another display and set to VNC.
fantastic video. i wish to see a battle between your setup (or a dual gpu setup) and looking glass. im very interested to see the fps and input latency. im wondering if looking glass can even beat "your" way, which do not even need a second gpu.
Great video, but if I have to slow down the video just to understand what you're typing, You're going way too fast. Because by the time I start reading what you're typing in that small terminal window, you're already hitting enter and I have no clue what you have put in the terminal
Nice! One option would be to connect your GPU to a monitor with a headphone jack. Then headphones into that jack. Then if you have both the guest and host configured to put audio out the HDMI to the monitor they would both have audio depending on which one is using the GPU Or you could buy a PCI sound card (or plug in an external USB sound card) and configure it to be shared like I did with the other the GPU or the mouse in this video Thought I'd drop those ideas for you, but it'll be about what's best for you
This is cool but not practical. I found Atlas Os and have installed it in dual boot mode, and now -windows is tamed and doesn't messes up my linux installation -offers best possible performance. -no issues so far with anti cheat stuff. -Can use laptop internal screen, which otherwise you cannot (if no mux switch). -Since we need to kill our Gnome session and therefore all gui applications, then there is not much difference between rebooting or switching to vm.
amd_iommu=on is not a valid kernel command line option. If you're using a modern AMD CPU, all the virtualization should be enabled by default and no linux command line parameters are necessary (at least not for this). You will need to list devices which you plan to pass through to the VM.
@@patrickgoetz thanks for the note! I've been thinking about updating this, but dont have an AMD GPU to validate that part of the advice What is the syntax to list the devices you plan to pass into he VM?
I saw your comment on the dual passthrough video, glad you're going to give it a try, cuz yeah setting up single GPU can be tough/frustrating even when you have a guide
I like the way you think! In this other video I demo'ed how I'm using the same trick to keep my windows 7 install alive ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XjDBcFx7b-4.html I haven't tried with windows 96 tho 🤣
You can set the main HDD to vert IO before main power on then all you need to do is have 2 DVD drives one Windows installer second Guest Tools during the install no HDD Detected hit browse go to the tools DVD drop Vertio down then Win10 down hit ok the select redhat SCS driver hit ok if you do use vert io network do the same drop down vertio then win10 then hit ok network and HDD drivers are installed before the OS installs that's the trick to do the install properly all you need to do at startup is run the guest tools installer then
@@BlandManStudios thanks for the answer. The last one, I promise you XD. If I running the graphics in hybrid mode, could the system hold the integrated graphics and the VM catch the dedicated graphics? Because if I'm running nothing special in the most of the cases the igpu is in charge. I'm very noob in this and maybe the question is silly 😜 Sorry
@@martincruz7755 this tutorial is for single GPU passthrough so you wouldn't be able to use hybrid mode with this setup I have a different tutorial for dual GPU and that is when I would recommend looking glass Are you asking because you're using a laptop? I'm still working on learning how to do this for laptops, but I'll post if/when I get it working
@@martincruz7755 there may be some extra steps or hardware considerations I'm working on setting it up on a laptop for the first time. So stay tuned for more videos! Or checkout this write-up that I found here lantian.pub/en/article/modify-computer/laptop-muxed-nvidia-passthrough.lantian/
Hey, I'm about to start this video. I just saw your 2 GPU VFIO and Looking Glass videos and was going to ask you to do a single GPU passthrough video. And here it is, no request needed. BTW, I noticed on another video, we have the same card, GTX 1660 ti. But mine is on its last legs and will hopefully be upgrading to RX 6700 xt in the coming months.
By the way, I'm following along with this right now, but I'm on Ubuntu 22.10. So far, the changes I've had to make are: The location for the grub2 config is /etc/default/grub; instead of dracut, I had to sudo edit /etc/inittramfs-tools/imodules, then put each module on a separate line, then run 'sudo update-initramfs -c -k kernelversion ('uname -r' didn't work for me, so I had to type out the version I was using). Will update with more changes if needed.
OK, sorry for clogging your comments, but one more update. No matter what, I can't get the vfio modules to load, so it keeps grabbing the nvidia driver (and nouveau dreiver at the same time, for some odd reason). I''m also getting some weird i2c kernel messages for my nv card. All of this may be due to me using Ubuntu Studio (low latency). I may try regular Ubuntu and get back to you.
@@wackman2k1 no need to apologize! Thanks for contributing back your lessons learned! It's the open source way I hope you get it figured out soon! I'll show this to other people if they ask me about Ubuntu As for your vfio modules, you might be able to read more here. That's the source for most of my tutorials and where I learned about the dracut and grub parts vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html?m=1
Did all the steps, but when trying to connect to the VNC with the GPU already attached, a message appears saying "connection refused", and couldn't do anything beyond that point, the VNC works with no problems when the gpu isn't attached
@@kucskabolka735 I've found the problem, by starting the VM using SSH, the terminal threw a couple of errors, and I noticed the VM never actually started, only when passing the GPU. After retrying using another guide in GitHub as a secondary source it started working really well and I even could passthrough my entire USB Controller and Internal Audio Card (My MB has both on isolated IOMMU groups), I just had to patch the GPU's VBios ROM, and add a couple of configs to the XML to hide the VM, I know this is mainly to avoid the error 43, but it worked. Another problems that I faced were continuous Windows Update errors and BSODs while using the machine, mainly triggered when trying to use Nested Virtualization (Running BlueStacks cause I had problems installing Genymotion and Waydroid, and couldn't do an Android-x86 VM with 3D acceleration on Fedora), I had to change my CPU from using Passthrough to use Named Model. I know this probably causes a big performance hit (and limits you from using Nested VMs), but my machine works better than expected, and my gaming performance is very stable, so I count it as a complete success. If someone knows how to configure and run cpu passthrough without issues, let me know please.
Hello! This is a great tutorial from what I'm seeing! I do have a few questions though... 1) I have a pretty old GPU by today's standards. It's a GTX 960 with 4GB of VRAM (Yeah I know, it's shit) - I'm wanting to/going to buy new parts relatively soon, probably around Christmas time if everything goes to plan, but I wanted to ask: will I see significant performance hits (worse than on host machine) because of my GPU being bad? 2) Is this process easily reversible? How would I "uninstall" it and go back to how I had things previously? I would like to follow this tutorial on my current setup before I get new parts just to test how it works. (which is probably being held back by my GPU, my CPU is an i7 8700k and my motherboard isn't a gaming one) Thanks, and I hope you're well!
Great questions! 1. I don't know if any reason why an older GPU would be worse in a VM than it would be on a host. So I don't think that should be a dealbreaker for you. You should still be able to get near-native performance if everything is configured right and you avoid a few common bugs 2. Yup, it depends what state your computer was in before. You could either backup your computer beforehand (highly recommend) and revert to that. Or you could undo the steps taken in the video (undo bios settings, remove hook scripts, delete VM, etc). Whatever is easiest for you 3. I don't think a non-gaming motherboard would be a dealbreaker but I don't know enough to say. Maybe you can search around on /r/vfio to see if someone has used the same MOBO or has had a similar question
Bro! Thank you for your guide, everything works in 2024, I used a bundle of Arch Linux and Windows 11, everything works well on my hardware. But there is only one problem with the hard drive, namely with the hard drive, the ssd works fine. When loading games in the steam, the download is due to the performance of the disk, I tried to add it in different ways through different buses and types, but everything was in vain. Do you have any advice?
been difficult to do with Gentoo Linux running on OpenRC, didn't wanna switch to systemD but so many of these tutorials are towards systemD users, i hope to see a gentoo tutorial soon for OpenRC users :(
Hello! I am stuck on the part where you test the hook scripts, the nvidia drivers are used by very many processes but even after hours of googling I can't find any way to find out what processes are active. Is there any way to automatically kill any processes using the drivers? I am using KDE Neon (based on ubuntu) btw EDIT: I fixed it!!! I had to add this before unloading the drivers: sudo kill -9 $( nvidia-smi | awk 'NR==19, NR==99999 { print $5 }' ) sleep 5
-- If you are still getting errors with unloading the GPU modules -- kill_processes() { module=$1 # Get the PIDs of the processes using the module pids=$(lsof | grep $module | awk '{print $2}' | sort -u) # Kill each process for pid in $pids; do sudo kill -9 $pid done } -- Call the Function Examples -- # Kill processes using nvidia kill_processes nvidia -- Then you can Unload the nvidia modules --
Any help? I did everything up until 19:50 but when I boot up my VM my screen turns black as intended for a few secs, but then I get put back on SDDM. I also couldn't figure out how to access the vm via VNC from my android phone, saying connection refused
great video, i've played around with linux on and off for up to a few months at a time to where i'm pretty familiar with a lot of these commands and scripts but i've been trying to figure out how to do something like this and it gets frustrating how a lot of times doing something that normally would be "simple" requires a whole lot of time and reading when u don't know where to start really puts you off. Anyway this seems like a super complicated way of getting this to work but hey you got it up and running - more than I ever did. Isn't there any possible way of doing this without linking 2 different seperate systems together and connecting from a completely seperate client to the original one? ;x
> doing this without linking 2 different systems (...) from separate client. You don't have to link anything, have a secondary device on the same network (WiFi). That could be a smartphone with some VNC client installed, just to install the GPU driver and you're good to go. Have it downloaded before proceeding with libvirt gpu-detach scripts. But then again I wonder, if you install the GPU drivers before passthrough, would you be able to skip that step?
Hello very good tutorial!!, i just had 2 issues. 1.- I cant remove spice so i had to create another monitor selecting vnc and using another port, 2.- I got graphics but i couldnt do anything so i had to reboot again using VNC and disable Microsoft Basic Display Adapter in device manager, what make imposible to use vnc but allow me to use the vm like a normal computer.
Great video! I was able to get my setup working, though now I have no sound from my VM. I was wondering if you could make a tutorial on setting up audio devices after setting up the GPU passthrough?
Audio devices also operate on the PCIe bus. Hopefully your IOMMU groups allow for the audio device to be passed through as well. Otherwise, buy a USB to audio adapter and pass it through.
Thanks so much for the detailed guide, one question though: Does Windows output the signal to the display that is connected to the gpu or is that still done by linux? Im asking because windows has better support for freesync and gsync displays
Hey Man thanks for the great tutorial! I wondering if I could get your advice on what I should do if I've got an intel integrated gpu and an external gpu which I have passed through, however I am now unsure how to switch to using my external gpu on my linux host while my virtual machine is dormant.
Its a great question. I've been working on the options for switching between using the dGPU on the guest (windows) and the host (linux) On my desktop, I use a special reboot command to enable NVIDIA on Linux while the VM is dormant as shown here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KO7d-wcI41Q.html On my laptop, I'm using KDE and custom aliases to enable/disable the GPU without needing to reboot as shown here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LtgEUfpRbZA.html More progress coming in future videos too!
@@BlandManStudios thanks so much for the reply!!! your really enlightened me on how to go about doing this because i was in the dark before this. I really want to thank you to all your work you’ve brought to this space and all the effort you’ve put to further learning for everyone, it really shows that you care about sharing what you know and are passionate about it!!!!!
Yup, for some reason I always found I easier to do it this way, even though it has extra steps/reboots I think it's cuz generally like to do one thing at a time so if you have an issue you'll know if it is the install or the disk drivers
I like fedora, it's a good balance of - easy to install - allows for configuration - "up to date" software - reliable/stable - easy for Linux beginners to use - allows "power users" to do advanced things Plus most things I've wanted to install have been available in public repos Other distros are great too tho!
excellent guide, just one question. I'm wondering how different the configuration would be for me since I use the hyprland window manager and not a desktop environment
I think you'd just need to customize the start up an shutdown scripts You'd need the start script to kill all programs that are using the GPU (which probably included your window manager) You'd need the stop script to successfully restart everything graphical that you want to be running
Thanks for this video, it really works with nvidia. Is there any guide on how to setup this pass through using iGPU such as Intel UHD 630 integrated graphics card? Specially the bind / unbind driver stuff
I have been using Fedora as my main OS and passing through my RTX 3080 and all USB ports to a Windows 11 VM, however I'm still unable to play Valorant 😔 the only game I wanted to play on Windows haha
Question: I have a PC with 2 GPUs (AMD integrated GPU and NVIDIA GPU), can I apply the same process to dynamically unbinding and binding the NVIDIA GPU while the iGPU Is in use from the host as the main GPU? How should I set up the hooks in this case?
Yup that's totally possible. I did a few videos on it like this one ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LtgEUfpRbZA.htmlsi=_qVGPhx67rvEuj5f I even did a full tutorial using a laptop The problem is, if any process is running using the GPU, the script will fail. And if the script fails your VM will launch incorrectly and maybe get suck in a weird state That's why I don't use the hook scripts on my dual GPU build. I like to let the script run, unbind the GPU, then launch the VM as a second step