Also worth mentioning is that if you set up your VM in the easy-to-use Boxes, you can easily edit its advanced configuration later on using Virtual Manager (but still use Boxes to use it)
I can’t see any Boxes vm’s with virt-manager on Ubuntu LTS 22.04. I installed Boxes as a flatpak and virt-manager with apt…. Maybe it’s a sandbox issue with my Boxes flatpak?
@@wadewhitman I searched "connect virt manager to boxes" and found: "click File > Add New Connection · Click the drop-down for Hypervisor and choose QEMU/KVM user session and click Connect · You should now see your Boxes appear in the list under the new connection"
I SUFFERED while playing around with VirtualBox and VMWare on Windows- they are slow, buggy, and bad- especially with video and scaling. Then I installed QEMU and Virt-Manager on my Fedora computer and I was in LOVE- VMs ran 95% as fast and reliably as on bare metal. Sooooooooo much better.
Same experience! I hated VMs on windows. HyperV SUUUCKS for Linux distributions if you are lucky enough to have Windows 10 pro to even try it. Linux is infinitely better than windows at virtual machines.
@@engchoontan8483 VirtualBox's VM wouldn't run i don't think they have access to the kernel, and i couldn't find a fix. Using this method of "bypassing" the kernel is useful
Interesting. In the past, I've used both KVM and VMM. Once I'm retired, in about 10 weeks, I plan to repurpose my PC with Linux and run Windows 11 Pro under KVM.
That is the best video about how to setup and use a VM on linux. Furthermore i am stoked that you also mentioned GPU passthrough. I never imagined it to be so easy. Thanks !
Great video. I am using Gnome Boxes on Ubuntu 24 at the moment, just installed SuSe this morning and Windows 10 Pro this afternoon. The Windows 10 Pro is running better as a VM than when I had it running directly on the machine!
Virtualization is perfect for scenarios where you have to configure a piece of hardware with very dubious software running only on Windows. I luckily haven't run into this scenario for some time now but if I were using Windows I still would use a throwaway VM like this to configure the devices avoid permanent junk shitted all over your system.
QEMU is an emulator and as an emulator it can emulate different hardware architectures (instruction-sets) including x86, MIPS64 (up to Release 6), SPARC (sun4m and sun4u), ARM (Integrator/CP and Versatile/PB), SuperH, PowerPC (PReP and Power Macintosh), ETRAX CRIS, MicroBlaze, and RISC-V. Virtualbox is NO EMULATOR, because unlike QEMU it can't emulate ARM instruction on your x86-PC! The hypervisors of KVM and Virtualbox both consists of 3 modules that run inside the Linux kernel.
For most people that won't matter and/or they won't care. If safety and security are a concern, obviously an emulator would be the best option because it mitigates attack vectors. If speed, not safety or security, is your main concern, then a hypervisor based VM would be your best bet. If you're a competitive gamer, obviously you'll want to go with a hypervisor based solution.
@@anon_y_mousse If you're a competitive gamer, ideally you get a separate Windows machine just for gaming. Try to run them on Linux first though, you may be able to get lower display latency and better performance.
@@anon_y_mousse There are much better ways to protect your VM, while improving security and performance. Like suggested in the video, split up your work over more VMs, so only one VM gets infected. I have the next 6 main VMs and all VMs are closed for inbound traffic, except one: - Communication (Email; WhatsApp; etc), with a few open ports; - Banking, Ubuntu 16.04 ESM is encrypted by Virtualbox and used exclusively for banking, while Firefox uses the latest stable snap container; - Multimedia; - Try-outs and experiments; to concentrate the risks during experiments here and to avoid cluttering up the disks of other VMs with left-overs; - Windows 11 Pro, just in case I need it; - Windows XP to play the wma copies of my CDs and LPs with WoW and TrueBass effects. Note that I installed and activated the VM in March 2010 and it survived 3 desktops with 4 CPUs and 2 laptops :) Security: I run the VMs on the OpenZFS file system, so in case of any problem I rollback that VM. I had to use it once for an infection by Email. Performance: The VM runs from L1ARC, the ZFS memory cache, it is like running the VM from a RAM disk :) I used the Virtualbox encryption, because it was easy and convenient for one VM, you only have to remember one passphrase. However nowadays OpenZFS supports encryption for datasets (super folders) too.
I have a Ryzen 3 2200G (4C4T) and I always give all VMs all 4 Cores. I see no reason to slow down a VM artificially, also because the Linux kernel of the Host is perfectly capable of scheduling the processes of the Host and the visible processes running on the cores of each VM. I only limit the number of CPUs for e.g Windows XP Home, because that OS only supports 1 core.
"Windows XP Home, because that OS only supports 1 core." This is incorrect, XP Home supports one CPU but that CPU may have more than one core. I had a AMD X2 CPU way back in the day, and I upgraded to Vista so FML.
@@keesmills2019 Yes, you are right, I was confused by CPU vs Cores and I never knew my XP Home would support more cores. I installed the VM with one core on a 32-bits Pentium 4 desktop in 2010. I could change the number of cores by re-installation or by replacing some modules and settings in the windows directory. I don't need more cores playing music and I like to keep that installation date of March 2010.
Oh my goodness Michael I loved this video! I am doing a series on my channel now, and I am working towards learning Docker. I am looking for a way to run a Linux Distro and do a type 2 hypervisor this video is going to help me do that, thanks so much for the video!
Linux also offers other alternatives short of full virtualization: for example, containers, in the form of LXC and Docker and systemd-nspawn. For example, I want to run up two versions of an application I built for a customer on their server -- one for production use, the other for testing. I put the testing version in a separate container, isolated from the production code. This way they can share some aspects of their configuration, while being isolated in other ways.
I wouldn’t attempt to use OpenGL on an Nvidia card if you have one. I believe it doesn’t work on purpose. Just thought I would mention it, so I hopefully save someone some headache. Also, I use a RDP software for my windows VMs like Remmia to just RDP directly into it. For me, it fixes a ton of stuttering in my windows vms. As a final note, on your windows machines, install Virtio drivers if you use virtio. Makes a handful of things either work, or work better!
I really like learning about Linux even though I am a Windows person instead! It's too bad this video only has 42K views instead of way more views because Linux is pretty interesting for sure!
Bro, your videos are perfect! With it, I was able to instal Wind 11 on my Fedora, it runs well and everything seems to be working perfectly. Thanks so much and keep it always up.
9:51 Actually... That's EXACTLY what I'm doing. Nowadays don't even need scripts to unload drivers and stuff. But you probably don't want to be using rebar as it causes AMD Windows driver to freak out
If you have a guide on this, I would be very interested. I run only a single GPU (Radeon RX 6700XT) but if I can pass the GPU pretty easily then I can gain some graphical smoothness. I know those scripts basically unloads your GPU from the host and then passes it to the VM and then when you shut off the VM the GPU is passed back to the host. The problem for me is that I usually need to interact with my host while running VMs
@@pialdas6835 Yea ssh is probably best you can hope for with a single GPU. It's closer to dual booting in that respect but obviously you still have the ability to emulate devices, drives and quickly dispose of OS installations. Another step would be two GPUs and utilizing application called looking glass. If you have an iGPU it still counts. It kinda is a rabbit hole
@FakeMichau Yeah that's what I've been doing when spinning up VMs for any dev related stuff. I just ssh, use sshfs to access any projects on my host from the VM and compile on the VM. Not the most efficient method but definitely straight forward for me. I don't have any integrated graphics since I run a Ryzen 3900X so a second graphics card is a must for me
ohhh a virtualization video? boy i miss gpu passthrough, but on my laptop is just so hard setting a seamless configuration for gpupassthrough since i am even on 4rth gen intel.. btw what cpu and mobo do you have? is windows 11 also working well with hypervisor option set to -disable?
8:40 Not true. If you create a virtual disk in virt-manager it preoallocates the entire size of the disk. If you want to create a disk without preoallocation you have to do it manually using command: qemu-img create -f qcow2 -o preallocation=off,compression_type=zstd /var/lib/libvirt/images/mylinux.qcow2 30g This will create a 30G disk with preallocation disabled and compression type zstd (it normally uses zlib which is slower).
The one thing I can't replicate from VirtualBox is bridged networking, so that a VM can get its own IP via DHCP from the router and be accessible to other machines on the network, on a machine which connects to the router via Wifi and DHCP. The tutorials I've tried so far assume e.g. ethernet with a fixed IP, and so far I've only succeeded in totally messing up my Wifi config to the point that I needed to reinstall. VirtualBox fails to load VMs on some of my Linux boxes. So my main VM host is my Windows box for now.
I have Linux on all of my machines as the primary OS, but keep a VM of Windows 10 on each system for the very rare occasion when I need to demonstrate something about Windows or some bizarre little Windows only program.
Virtualisation in Linux is genuinely levels above Windows (even had way better experience on a lower spec hackintosh with Parrallels compared to a workstation grade computer running Windows). One thing I just can't seem to figure out how to do is to set up a virtual machine in Linux to boot a physical install of Windows (as it has so much stuff installed and configured on it that it would take weeks if not even an entire month to re-do from scratch on a brand new config), and I'd really be up to give up booting Windows on bare-metal fully.
Nice video . My mouse's sofware was not available in Linux, but I can use it from vm. I a question. My laptop's has sofware. This includes changing the power modes and changing the keyboard lights. Is there a way to use it from vm?
There are ways how you can get most of this stuff to work. Changing the keyboard configuration can be done via a program called openRGB. The power modes are a bit depending on the Desktop Environment, but both Gnome and KDE Plasma should have options in the quick settings (On Taskbar / Panel). If not, then there is always TLP, which is a hassle to configure, but works. As for the mouse, the usual brands like Logitech, Razer, and some others like Glorious are mostly supported by Piper or openRazer. Some newer ones might need their profile imported from their Github though
I don't think the KVM+QEMU relationship is too complicated: In a type 2 setup, the guest OS can NOT directly interact with the hardware, but must go through the host OS. But, with a KVM+QEMU setup, the guest OSs CAN (more or less) directly interact with the hardware, meaning they don't have to go through the host OS. Or did I misunderstand it?
It is considered a bare metal or Type-1 Hypervisor yes. KVM, is a bit special since it can run a complete Operating System that is not virtualized besides it. This makes it a bit different from Hyper-V and VMware, since they like to virtualize the main OS as well, though the has now also moved more to the KVM approach
Hi Mr Michael, I extend my gratitude for the enlightening video presentation you provided; it was elucidated with commendable clarity. I seek your expertise following a recent endeavor where I have successfully orchestrated the deployment of Windows 10 within a virtualized environment, utilizing Gnome Boxes on the Zorin OS 17.1 platform. The Windows operating system exhibits near-flawless functionality thus far. However, I am encountering a conundrum with the bidirectional synchronization of directories between the virtualized Windows 10 system and the Zorin OS 17.1 host. Despite exhaustive research and the application of various recommended solutions sourced from the digital expanse, the issue persists unabated. I am at an impasse, uncertain of the missteps that may be contributing to this quandary. If you could make a video about that 🥶
You can virtualize in a container your gaming setup with the project steamheadless. You then stream from container. I ve lost no performance on my rx5700xt between native linux and via a docker container. I will do a pull request soon because i improved the dockerfile for amd gpu.
Once I tried VirtualBox but since I use Wi-Fi the internet didn't recognize, it looks like I needed to be connected by cable or something like that and I gave up. I hope this video solves me some doubts from that time.
unless you wanted to do something fancy, like virtual switch, that's not how that works. There was probably just something wrong with your config, or virtualbox was broken.
that shouldn't matter. i've been using virtualbox for over a decade, and dozens if not hundreds of OSs installed and evaluated, and internet was never really a problem. if i ever did encounter any issues, i don't recall, so try again.
The little gear animation at the top @1:50 is misleading. First, all gears are of the same size, so all gears will run at the same speed, but you tell meanwhile, that the more programs are in between the machine and the finally running program, the slower the program will be. Then all the gears are combined in a loop, so that the last one is again driving the first one. This is without sense for the explanation of a VM environment, too. But I don't have a better picture to offer.
@Michael: I just found your channel a few days ago. I'm pretty new to linux and I love your videos, really helpful, thank you! I have a question for the VM, because I have very little experience. Maybe you or someone else can help out: I have installed a Win11 VM like you recommended and it worked fine. I also have the openGL checkbox turned on and everything works. But the animations and mouse performance is not so great. It is not bad, but also not good. Also the screen is not that sharp. It is ok and readable, but not really sharp. I changed the resolution in the bios to 1080p. I myself using a 1440p monitor and 150% fractional scaling in KDE Plasma. Any advice? Is it just because of the remote connection? Should I use another tool there and when yes, which one? Is there something like RDP under windows, where performance feels like native? Thanks a lot for every help!
You should probably install the Virtio-Drivers in Windows, since it doesn't come with those. Windows VM's are always a bit funky whenever you use something outside of hyper-v without installing some tools. Link: github.com/virtio-win/kvm-guest-drivers-windows
Will USB peripherals attached to the host Windows machine, work on the Linux VM? I'm interested in running linux SocketCAN in a VM , but have it talk with CAN hardware (Ixxat USB-to-CAN V2, Peak PCAN-USB, etc).
Windows doesn't have the a KVM hypervisor, so you'll need a different hypervisor like Hyper-V. Passthrough can work, however you cannot share devices for use on both devices simultaneosly. E.g. you can't load a driver in a VM and use the device on the host
Yeah, it's possible. But I would recommend you to set the default graphics card to your iGPU in the UEFI first, since hotswapping drivers is not always without it's flaws.
No, both can use KVM, which can make your system a Type-1 Hypervisor. There are some programs that only use QEMU, which simulates the virtual devices, but can also run as a Type-2 Hypervisor without KVM. Both the virt-manager and Boxes, can and try to use KVM if it's available. Edit: The virt-manager is more customizable, which is why it's easier for advanced setups
9:52 I'm curious, what happens if you pass it through? Wouldn't it be sick if you could like launch an "app" that is really a shorcut from a Windows VM that runs the app and kinda "freezes" the guest OS? It would be a brute solution to run apps that won't work in Linux like Photoshop or some AntiCheat games. What about gaming latops with two GPUs? (One from the CPU integrated and the dedicated NVIDIA GPU) If I'm not mistaken, Mac does something similar integrating VM with the desktop itself. When the VM is powered off, it could restore the Guest OS to the previous state before passing the only GPU, something like an snapshot. Of course, even if this existed, it wouldn't be a real fix to programs not running on Linux, but it could make more people making the switch. Hence, the desktop scene would grow bigger. I am also pretty surprised that you didn't talk about VirtualBox.
Passing through your active GPU can result in crashing the host operating system, it's Desktop Environment, or even the Guest OS, so it's best to do it before booting the Guest. If you have several GPUs then yeah, you could pass one through without many consequences though it should be noted that Windows VMs are still not tolerated by most Anti-Cheats. If detected, you will face a legitimate ban sadly.
If Proxmox uses around 1GB of RAM and is a Type 1 Hypervisor and Lubuntu with QUEMU/KVM uses around 0.5 GB RAM and also allows the kernal / bare metal virtualization. What are the performance bottle necks and performance differences between these two options?
RAM usage on Proxmox is handled differently than on regular distros because it's mean for pure virtualization. Many default settings have been tuned to optimize speeds for virtualization (e.g. ZFS ram cache is set to 50% by default). If you set all these settings on Lubuntu as well, then the story will be the same. It's all about finding a sweet spot between speed and compatibility. --- Most performance bottlenecks come from RAM and storage. The last on in particular shows if you run several VMs off an HDD or an HDD pool.
I have a problem with HP Pavilion desktop and every limit contribution that I try to reboot it doesn't boot even if I try legacy it does food but then it just doesn't work I always get a black screen and I already tried different kinds of ways to make a bootable USB even I tried different kinds of USB and it does come with an AMD graphics card
Could you do a step by step tutorial using linux mint os with cinnamon on how to and make a virtual machine where you install windows 11 and then use it? I dont underatand what the single steps are -- thanks, beginner
I'm looking for build a PC with Intel CPU and a Radeon RX GPU, for experience this are a golden combination for Linux... nVidia F*** You Would be nice see you testing that setup
Nice Video! I have one question. Can I use my GTX 980 for GPU Passthrough on Pop!OS for Games? I am currently on Windows 11, but I want really to switch to Pop!OS. The only reason why I am on Windows are my Games. Some of my Games in my Steam/Epic Games Library are only playable on Windows. Epic Games is only for Windows. So can I play with virt-Manager and GPU Passthrough my games? Will I have some issues? Will I be able to use the Linux and to run the VM in the Background if I have to do quickly something on the Linux? PS: Sorry for my English.
The issue with Gaming VM's is, that you can get banned in Online Games. Some don't even work at all without some workarounds, so yeah. If you mainly play singleplayer or local multiplayer, then you are fine. Competitive stuff like Valorant or others like Destiny 2 will ban you if they detect odd behaviour of the "PC"
@@MichaelNROH So the only Way to play Destiny 2 or Valorant is to have installed Windows and Linux at the same time? Can I get banned with "Bottles" or similar?
When i try to load any iso in Boxes it says 'No KVM' and when i try to install VMM it says i am not allowed. i already forgot how many tutorials i watched and tried to do it. How hard can it be to have windows in a vm so i don't have to dual boot every day to windows to have usb devices work on my pc (the software works in Bottles but the usb device is not installed)
This honestly sounds very much like you use a more advanced distro which doesn't enable KVM out of the box. Not being allowed to do something also sounds a bit like missing permissions. Which distro are you using?
You could only do that if it isn't being used by the host, aka. without a GUI. RTX 3070 don't support splitting their resources up like the Quadro cards, so that's the only (easy) way to do it.
Technically you have 2 gpus (one for dedicated graphics and the other is thertx 3070). You can pass the rtx gpu to the guest, but leave the dedicated gpu for the host.
Virtual Machine manager gives you more control of what you want to exactly passthrough and has a lot more options available. You just need to find your USB device in the USB Host submenu. If it has no driver and doesn't show up with a name, then it becomes more difficult to identify, but it's still there somewhere.
Can you elaborate on GPU passthrough? I heard this allows near native performance in games within Windows VM. Setups with iGPU+dGPU like laptops might benefit from it.
tldr you pass the whole gpu as a pci device to the VM and your host os cant use it anymore but the VM has direct access to it so drivers in windows will work like natively for example Only caveat is if you use this you need to use a video output on the gpu, there is a workaround but there is a noticable latency Hope this answers your question
Although, if you want to play games on Linux, you may get better performance using Lutris or Bottles instead of passing the GPU through to a Windows VM
@@Scranny Only in best case scenario when you've got a recent enough AMD gpu, otherwise it will be much much easier to get games running in VM (not counting setting up the passthrough as that can be a pain on some motherboards too)
@@alexstone691 So I'm pretty new to this, therefore sorry for the question. But isn't it a problem, when the host can't use the gpu anymore? Because I'm running the VM on my linux desktop, so I need a gpu there? Or am I thinking wrong here?
@@MichaelNROH say, if i'm using the license that i use right now could that work..?. does this question makes sense haha. i want to jump ship to linux, but the only problem for me is the lack of powerful CAD software which i use regularly so i'm thinking about installing windows (using my own key which i'm using now) inside mint or debian
@@NKG416 It could happen that one of Windows instance (if both are in use with the same license), complains about it, but if you link it to your account then you can delete one.
@@NKG416 You can also try verifying it a different way, however that most likely already includes their forums or hotlines. However it might also just work or you can trick it. Windows remembers the systems hardware and as long as you don't change too much, it refreshes those settings. If you passthrough a lot of your hardware you might be able to refresh it once, and afterwards once activated you start removing the passthrough devices again
For Virtual Machine Manager, I go a step forward and edit the CPU topology in the CPU settings for the VM. For some reason, after specifying the number of CPU cores, my VMs are configured to have the same number of CPU sockets as the number of cores I specified. I've noticed worse performance. So I always manually set the CPU topology: 1 socket, number of cores specified and 2 threads per core. I get better performance this way. Idk why this happens and I wonder if I'm even passing my CPU cores to the VM (which I'm guessing is the best yielding for performance). If someone can confirm if those cores are being passed through when setting up the topology manually would be greatly appreciated because I also see host-passthrough as an option but that option defaults to having multiple CPU sockets. Maybe I'm missing something here
Your settings are bad. Now that I have your attention, "RFE: default VM topology to use cores instead of sockets #155" has the answers you seek. The short: Use 1 socket, X cores, 1 thread (never more than 1).
@@MyAmazingUsername What if I wanted the VM to think it has hyperthreading? Btw I tested it out between 1 thread and 2 and there is far less CPU usage for 2 threads, probably because of the 2 extra vcpus. I'm running a Windows VM. Performance seems to be the same so I'm guessing it is more of a limitation on graphics rather than processing power since I don't have 3D acceleration enabled
@@pialdas6835 Read the reference I mentioned. :) But the short summary of the info you seek is: It will not use hyperthreading unless you manually pin every vCPU to real CPU cores. By default, hyperthreading is broken unless pinned to the correct physical cores, and you should therefore only use 1 thread per vCPU.
@Hello World Ah I see what you mean. Btw idk if I was supposed to click that #155 link but it basically points to me a bunch of youtube shorts. I tried to search up that phrase you had in quotes (although not extensively) and didn't get much useful information. I'll search up CPU core pinning and read up on it when I get the time to tinker with my VMs again Thanks for the help!
@@pialdas6835 Try it without the quotes, it's a Bugzilla discussion. But yes if you manage to pin the vCPUs you can enable multiple threads. I haven't bothered doing it though.
Because QEMU utilizes KVM and Virtual Box does not. It's therefore more performant. Some downsides would be scalability by default, but that's not a issue for 90% of use cases
I showed PCI device passthrough in my Proxmox tutorial: ua-cam.com/video/TWX3iWcka_0/v-deo.htmlsi=KaY_gp0zuzqB0kA6 It's basically identical with the Virt-Manager in the hardware screen.
Yea I also recently got into Windows VMs with gpu passthrough. Cool that I don't need to dual boot for my VR games. Maybe will also look into installing photoshop on it as gimp is an utter trash
no matter what I did, my vm was slow for me, like with synthetic benchmarks and actually playing games, it was fine, but windows was generally quite slow, not to mention I didn't particularly enjoy handicapping my linux and to not be able to play games with kernel anticheat wasn't great either...
make sure to avoid getting vm banned. Suspicious hardware activity has started receiving bans as of late, so if you can make your virtualized machines look normal try to do that.
There is no real difference anymore between modern type 1 and type 2 hypervisors. Nowadays the type-1 hypervisor has inherited a lot of standard OS functionality to be able to offer the functionality required in "state of the art" VM Host systems. Type 2 hypervisors are integrated in the kernel of the Host OS. So both type 1 and type 2 offer sophisticated OS functions integrated with the hypervisor. There is no difference in performance other than the difference in the quality of the implementation just like between different internet browsers.
@@MichaelNROH if you ever have any issues or just want to try something new, I reccomend endeavorOS. Great community, relatively stable, and up to date packages
Also worth mentioning is that if you set up your VM in the easy-to-use Boxes, you can easily edit its advanced configuration later on using Virtual Manager (but still use Boxes to use it)
I can’t see any Boxes vm’s with virt-manager on Ubuntu LTS 22.04. I installed Boxes as a flatpak and virt-manager with apt…. Maybe it’s a sandbox issue with my Boxes flatpak?
@@wadewhitman I searched "connect virt manager to boxes" and found: "click File > Add New Connection · Click the drop-down for Hypervisor and choose QEMU/KVM user session and click Connect · You should now see your Boxes appear in the list under the new connection"
I SUFFERED while playing around with VirtualBox and VMWare on Windows- they are slow, buggy, and bad- especially with video and scaling. Then I installed QEMU and Virt-Manager on my Fedora computer and I was in LOVE- VMs ran 95% as fast and reliably as on bare metal. Sooooooooo much better.
Same experience! I hated VMs on windows. HyperV SUUUCKS for Linux distributions if you are lucky enough to have Windows 10 pro to even try it.
Linux is infinitely better than windows at virtual machines.
@@walter_lesaulnier so i guess... wine and virtual-box needs KVM layer for less headaches.?
@@engchoontan8483 That could be a good Idea- I wish I knew more about programming.
@@engchoontan8483 VirtualBox's VM wouldn't run i don't think they have access to the kernel, and i couldn't find a fix. Using this method of "bypassing" the kernel is useful
Interesting. In the past, I've used both KVM and VMM. Once I'm retired, in about 10 weeks, I plan to repurpose my PC with Linux and run Windows 11 Pro under KVM.
That is the best video about how to setup and use a VM on linux. Furthermore i am stoked that you also mentioned GPU passthrough. I never imagined it to be so easy.
Thanks !
Super Videos Michael, deine Videos helfen mir sehr komplett auf Linux umzusteigen, und ich denke auch vielen anderen.
Danke dir
Great video. I am using Gnome Boxes on Ubuntu 24 at the moment, just installed SuSe this morning and Windows 10 Pro this afternoon. The Windows 10 Pro is running better as a VM than when I had it running directly on the machine!
Virtualization is perfect for scenarios where you have to configure a piece of hardware with very dubious software running only on Windows. I luckily haven't run into this scenario for some time now but if I were using Windows I still would use a throwaway VM like this to configure the devices avoid permanent junk shitted all over your system.
Another nice thing about GNOME Boxes is that it also comes as a Flatpak from Flathub
QEMU is an emulator and as an emulator it can emulate different hardware architectures (instruction-sets) including x86, MIPS64 (up to Release 6), SPARC (sun4m and sun4u), ARM (Integrator/CP and Versatile/PB), SuperH, PowerPC (PReP and Power Macintosh), ETRAX CRIS, MicroBlaze, and RISC-V. Virtualbox is NO EMULATOR, because unlike QEMU it can't emulate ARM instruction on your x86-PC!
The hypervisors of KVM and Virtualbox both consists of 3 modules that run inside the Linux kernel.
For most people that won't matter and/or they won't care. If safety and security are a concern, obviously an emulator would be the best option because it mitigates attack vectors. If speed, not safety or security, is your main concern, then a hypervisor based VM would be your best bet. If you're a competitive gamer, obviously you'll want to go with a hypervisor based solution.
@@anon_y_mousse If you're a competitive gamer, ideally you get a separate Windows machine just for gaming. Try to run them on Linux first though, you may be able to get lower display latency and better performance.
@@anon_y_mousse There are much better ways to protect your VM, while improving security and performance. Like suggested in the video, split up your work over more VMs, so only one VM gets infected. I have the next 6 main VMs and all VMs are closed for inbound traffic, except one:
- Communication (Email; WhatsApp; etc), with a few open ports;
- Banking, Ubuntu 16.04 ESM is encrypted by Virtualbox and used exclusively for banking, while Firefox uses the latest stable snap container;
- Multimedia;
- Try-outs and experiments; to concentrate the risks during experiments here and to avoid cluttering up the disks of other VMs with left-overs;
- Windows 11 Pro, just in case I need it;
- Windows XP to play the wma copies of my CDs and LPs with WoW and TrueBass effects. Note that I installed and activated the VM in March 2010 and it survived 3 desktops with 4 CPUs and 2 laptops :)
Security: I run the VMs on the OpenZFS file system, so in case of any problem I rollback that VM. I had to use it once for an infection by Email.
Performance: The VM runs from L1ARC, the ZFS memory cache, it is like running the VM from a RAM disk :)
I used the Virtualbox encryption, because it was easy and convenient for one VM, you only have to remember one passphrase. However nowadays OpenZFS supports encryption for datasets (super folders) too.
I have a Ryzen 3 2200G (4C4T) and I always give all VMs all 4 Cores. I see no reason to slow down a VM artificially, also because the Linux kernel of the Host is perfectly capable of scheduling the processes of the Host and the visible processes running on the cores of each VM. I only limit the number of CPUs for e.g Windows XP Home, because that OS only supports 1 core.
"Windows XP Home, because that OS only supports 1 core."
This is incorrect, XP Home supports one CPU but that CPU may have more than one core. I had a AMD X2 CPU way back in the day, and I upgraded to Vista so FML.
@@keesmills2019 Yes, you are right, I was confused by CPU vs Cores and I never knew my XP Home would support more cores. I installed the VM with one core on a 32-bits Pentium 4 desktop in 2010.
I could change the number of cores by re-installation or by replacing some modules and settings in the windows directory. I don't need more cores playing music and I like to keep that installation date of March 2010.
Good Afternoon Michael! Very good stuff thanks for the introduction to some VM subjects I didn’t know about!
Hi
Oh my goodness Michael I loved this video! I am doing a series on my channel now, and I am working towards learning Docker. I am looking for a way to run a Linux Distro and do a type 2 hypervisor this video is going to help me do that, thanks so much for the video!
Wow, this was so helpful! Thank you! In 11 minutes you saved me hours and answered so many questions.
Glad it was helpful
Linux also offers other alternatives short of full virtualization: for example, containers, in the form of LXC and Docker and systemd-nspawn.
For example, I want to run up two versions of an application I built for a customer on their server -- one for production use, the other for testing. I put the testing version in a separate container, isolated from the production code. This way they can share some aspects of their configuration, while being isolated in other ways.
It’s a pity that guest tools were not mentioned. They allow drag-and-drop between host and guest, and copy/paste.
I wouldn’t attempt to use OpenGL on an Nvidia card if you have one.
I believe it doesn’t work on purpose. Just thought I would mention it, so I hopefully save someone some headache.
Also, I use a RDP software for my windows VMs like Remmia to just RDP directly into it. For me, it fixes a ton of stuttering in my windows vms.
As a final note, on your windows machines, install Virtio drivers if you use virtio. Makes a handful of things either work, or work better!
I really like learning about Linux even though I am a Windows person instead! It's too bad this video only has 42K views instead of way more views because Linux is pretty interesting for sure!
Bro, your videos are perfect! With it, I was able to instal Wind 11 on my Fedora, it runs well and everything seems to be working perfectly. Thanks so much and keep it always up.
9:51 Actually... That's EXACTLY what I'm doing. Nowadays don't even need scripts to unload drivers and stuff. But you probably don't want to be using rebar as it causes AMD Windows driver to freak out
If you have a guide on this, I would be very interested. I run only a single GPU (Radeon RX 6700XT) but if I can pass the GPU pretty easily then I can gain some graphical smoothness. I know those scripts basically unloads your GPU from the host and then passes it to the VM and then when you shut off the VM the GPU is passed back to the host. The problem for me is that I usually need to interact with my host while running VMs
@@pialdas6835 You can still ssh to your host but you'll have no graphics
@@pialdas6835 Yea ssh is probably best you can hope for with a single GPU. It's closer to dual booting in that respect but obviously you still have the ability to emulate devices, drives and quickly dispose of OS installations.
Another step would be two GPUs and utilizing application called looking glass. If you have an iGPU it still counts.
It kinda is a rabbit hole
@FakeMichau Yeah that's what I've been doing when spinning up VMs for any dev related stuff. I just ssh, use sshfs to access any projects on my host from the VM and compile on the VM. Not the most efficient method but definitely straight forward for me. I don't have any integrated graphics since I run a Ryzen 3900X so a second graphics card is a must for me
Thanks! How vms work is really cool!
Super useful, thank you!
Awesome vid good work keep it up :)
ohhh a virtualization video? boy i miss gpu passthrough, but on my laptop is just so hard setting a seamless configuration for gpupassthrough since i am even on 4rth gen intel..
btw what cpu and mobo do you have? is windows 11 also working well with hypervisor option set to -disable?
8:40 Not true. If you create a virtual disk in virt-manager it preoallocates the entire size of the disk. If you want to create a disk without preoallocation you have to do it manually using command: qemu-img create -f qcow2 -o preallocation=off,compression_type=zstd /var/lib/libvirt/images/mylinux.qcow2 30g
This will create a 30G disk with preallocation disabled and compression type zstd (it normally uses zlib which is slower).
The one thing I can't replicate from VirtualBox is bridged networking, so that a VM can get its own IP via DHCP from the router and be accessible to other machines on the network, on a machine which connects to the router via Wifi and DHCP. The tutorials I've tried so far assume e.g. ethernet with a fixed IP, and so far I've only succeeded in totally messing up my Wifi config to the point that I needed to reinstall. VirtualBox fails to load VMs on some of my Linux boxes. So my main VM host is my Windows box for now.
Let us know here if you figure it out
That's because you can't really bridge WiFi. There are hacks to do it. But it's not natively supported. Have a look into the debian Wiki
I have Linux on all of my machines as the primary OS, but keep a VM of Windows 10 on each system for the very rare occasion when I need to demonstrate something about Windows or some bizarre little Windows only program.
As far as i can judge the extended xml is not needed anymore and an installation without setting tpm and secboot was just fine
Great video.
Saw your recent tweet about distrobox , will you be making a video about it. Including noob friendly how to would be appreciated.
I had a lot of difficulties with Boxes due to the interfaces, because only the keyboard and mouse worked properly and not the others.
Virtualisation in Linux is genuinely levels above Windows (even had way better experience on a lower spec hackintosh with Parrallels compared to a workstation grade computer running Windows). One thing I just can't seem to figure out how to do is to set up a virtual machine in Linux to boot a physical install of Windows (as it has so much stuff installed and configured on it that it would take weeks if not even an entire month to re-do from scratch on a brand new config), and I'd really be up to give up booting Windows on bare-metal fully.
Wouldn't that just require an unmountrd drive passthrough?
I haven't tried it yet myself, but KVM does support it
you had me at "boxes works great for anything not windows 11" :D
Nice video . My mouse's sofware was not available in Linux, but I can use it from vm. I a question. My laptop's has sofware. This includes changing the power modes and changing the keyboard lights. Is there a way to use it from vm?
There are ways how you can get most of this stuff to work.
Changing the keyboard configuration can be done via a program called openRGB.
The power modes are a bit depending on the Desktop Environment, but both Gnome and KDE Plasma should have options in the quick settings (On Taskbar / Panel). If not, then there is always TLP, which is a hassle to configure, but works.
As for the mouse, the usual brands like Logitech, Razer, and some others like Glorious are mostly supported by Piper or openRazer. Some newer ones might need their profile imported from their Github though
I don't think the KVM+QEMU relationship is too complicated:
In a type 2 setup, the guest OS can NOT directly interact with the hardware, but must go through the host OS.
But, with a KVM+QEMU setup, the guest OSs CAN (more or less) directly interact with the hardware, meaning they don't have to go through the host OS.
Or did I misunderstand it?
It is considered a bare metal or Type-1 Hypervisor yes. KVM, is a bit special since it can run a complete Operating System that is not virtualized besides it.
This makes it a bit different from Hyper-V and VMware, since they like to virtualize the main OS as well, though the has now also moved more to the KVM approach
@@MichaelNROH
Thank you. So I got it right? A KVM+QEMU setup means that all of the VMs can use the hardware as if they were Type-1?
So far so good, thanks a lot for this. Any idea how to make the devices on the local network available to the VM?
9:51 laughs in single gpu passthrough vm
Hi Mr Michael,
I extend my gratitude for the enlightening video presentation you provided; it was elucidated with commendable clarity. I seek your expertise following a recent endeavor where I have successfully orchestrated the deployment of Windows 10 within a virtualized environment, utilizing Gnome Boxes on the Zorin OS 17.1 platform. The Windows operating system exhibits near-flawless functionality thus far. However, I am encountering a conundrum with the bidirectional synchronization of directories between the virtualized Windows 10 system and the Zorin OS 17.1 host. Despite exhaustive research and the application of various recommended solutions sourced from the digital expanse, the issue persists unabated. I am at an impasse, uncertain of the missteps that may be contributing to this quandary. If you could make a video about that 🥶
i use QEMU on Linux and Hyper-V on Windows
You can virtualize in a container your gaming setup with the project steamheadless. You then stream from container. I ve lost no performance on my rx5700xt between native linux and via a docker container. I will do a pull request soon because i improved the dockerfile for amd gpu.
Once I tried VirtualBox but since I use Wi-Fi the internet didn't recognize, it looks like I needed to be connected by cable or something like that and I gave up.
I hope this video solves me some doubts from that time.
unless you wanted to do something fancy, like virtual switch, that's not how that works. There was probably just something wrong with your config, or virtualbox was broken.
that shouldn't matter. i've been using virtualbox for over a decade, and dozens if not hundreds of OSs installed and evaluated, and internet was never really a problem. if i ever did encounter any issues, i don't recall, so try again.
I can probably handle Boxes, since I don't plan to go any higher than Windows 10. In-fact, I may consider going only as high as Windows 7.
thanks
The little gear animation at the top @1:50 is misleading. First, all gears are of the same size, so all gears will run at the same speed, but you tell meanwhile, that the more programs are in between the machine and the finally running program, the slower the program will be. Then all the gears are combined in a loop, so that the last one is again driving the first one. This is without sense for the explanation of a VM environment, too.
But I don't have a better picture to offer.
@Michael: I just found your channel a few days ago. I'm pretty new to linux and I love your videos, really helpful, thank you!
I have a question for the VM, because I have very little experience. Maybe you or someone else can help out: I have installed a Win11 VM like you recommended and it worked fine. I also have the openGL checkbox turned on and everything works. But the animations and mouse performance is not so great. It is not bad, but also not good. Also the screen is not that sharp. It is ok and readable, but not really sharp. I changed the resolution in the bios to 1080p. I myself using a 1440p monitor and 150% fractional scaling in KDE Plasma.
Any advice? Is it just because of the remote connection? Should I use another tool there and when yes, which one? Is there something like RDP under windows, where performance feels like native?
Thanks a lot for every help!
You should probably install the Virtio-Drivers in Windows, since it doesn't come with those. Windows VM's are always a bit funky whenever you use something outside of hyper-v without installing some tools.
Link: github.com/virtio-win/kvm-guest-drivers-windows
@@MichaelNROH Thank you, great advice! Got it working and at least I can now change my resolution, performance is still not perfect, but also not bad.
Will USB peripherals attached to the host Windows machine, work on the Linux VM?
I'm interested in running linux SocketCAN in a VM , but have it talk with CAN hardware (Ixxat USB-to-CAN V2, Peak PCAN-USB, etc).
Windows doesn't have the a KVM hypervisor, so you'll need a different hypervisor like Hyper-V.
Passthrough can work, however you cannot share devices for use on both devices simultaneosly.
E.g. you can't load a driver in a VM and use the device on the host
Is it possible to pass through your igpu to virtual machine manager?
Yes you can. You might need to enable it it the UEFI though, since some mainboards deactivate it if they detect a second one.
Is it possible to use the integrated gpu on host and passthrough the dedicated gpu to the guest? (I only have 1 dedicated gpu )
Yeah, it's possible.
But I would recommend you to set the default graphics card to your iGPU in the UEFI first, since hotswapping drivers is not always without it's flaws.
Hi Virt Manager is better that Gnome Boxes? I mean, Virt Manager is Hyper type 1 right? And Boxes is Hyper type 2? I'm confused.
No, both can use KVM, which can make your system a Type-1 Hypervisor.
There are some programs that only use QEMU, which simulates the virtual devices, but can also run as a Type-2 Hypervisor without KVM.
Both the virt-manager and Boxes, can and try to use KVM if it's available.
Edit: The virt-manager is more customizable, which is why it's easier for advanced setups
Gnome Boxes and OpenSUSE is all t hat i need....
9:52 I'm curious, what happens if you pass it through? Wouldn't it be sick if you could like launch an "app" that is really a shorcut from a Windows VM that runs the app and kinda "freezes" the guest OS? It would be a brute solution to run apps that won't work in Linux like Photoshop or some AntiCheat games.
What about gaming latops with two GPUs? (One from the CPU integrated and the dedicated NVIDIA GPU)
If I'm not mistaken, Mac does something similar integrating VM with the desktop itself.
When the VM is powered off, it could restore the Guest OS to the previous state before passing the only GPU, something like an snapshot.
Of course, even if this existed, it wouldn't be a real fix to programs not running on Linux, but it could make more people making the switch. Hence, the desktop scene would grow bigger.
I am also pretty surprised that you didn't talk about VirtualBox.
Passing through your active GPU can result in crashing the host operating system, it's Desktop Environment, or even the Guest OS, so it's best to do it before booting the Guest.
If you have several GPUs then yeah, you could pass one through without many consequences though it should be noted that Windows VMs are still not tolerated by most Anti-Cheats. If detected, you will face a legitimate ban sadly.
If Proxmox uses around 1GB of RAM and is a Type 1 Hypervisor and Lubuntu with QUEMU/KVM uses around 0.5 GB RAM and also allows the kernal / bare metal virtualization. What are the performance bottle necks and performance differences between these two options?
RAM usage on Proxmox is handled differently than on regular distros because it's mean for pure virtualization.
Many default settings have been tuned to optimize speeds for virtualization (e.g. ZFS ram cache is set to 50% by default).
If you set all these settings on Lubuntu as well, then the story will be the same. It's all about finding a sweet spot between speed and compatibility.
---
Most performance bottlenecks come from RAM and storage. The last on in particular shows if you run several VMs off an HDD or an HDD pool.
@@MichaelNROH thanks for the quick reply. I think Lubuntu more accessible to beginners like me.
9:55 AYO
I have a problem with HP Pavilion desktop and every limit contribution that I try to reboot it doesn't boot even if I try legacy it does food but then it just doesn't work I always get a black screen and I already tried different kinds of ways to make a bootable USB even I tried different kinds of USB and it does come with an AMD graphics card
GPU passthrough guide when?
Will something like EAC games work on this? Can you play Rust for example on a Windows virtual machine?
Virtual machines are usually generally banned by most Anti-Cheats. In fact, you can't even play some of them if you just have Hyper-V enabled.
can you make an tutorial of how to setup and multihead linux system in 2023?
I with virt-manager was as easy in Arch as its in Fedore :(
Could you do a step by step tutorial using linux mint os with cinnamon on how to and make a virtual machine where you install windows 11 and then use it? I dont underatand what the single steps are -- thanks, beginner
thanks
Got it to work but no way to transfer files from VM to Host which is annoying.
You don’t understand networking 101. Just create a shared folder in the host and share it to the guest under the guest os settings. Problem solved.
I'm looking for build a PC with Intel CPU and a Radeon RX GPU, for experience this are a golden combination for Linux... nVidia F*** You
Would be nice see you testing that setup
Nice Video! I have one question. Can I use my GTX 980 for GPU Passthrough on Pop!OS for Games? I am currently on Windows 11, but I want really to switch to Pop!OS. The only reason why I am on Windows are my Games. Some of my Games in my Steam/Epic Games Library are only playable on Windows. Epic Games is only for Windows.
So can I play with virt-Manager and GPU Passthrough my games? Will I have some issues? Will I be able to use the Linux and to run the VM in the Background if I have to do quickly something on the Linux?
PS: Sorry for my English.
The issue with Gaming VM's is, that you can get banned in Online Games. Some don't even work at all without some workarounds, so yeah.
If you mainly play singleplayer or local multiplayer, then you are fine. Competitive stuff like Valorant or others like Destiny 2 will ban you if they detect odd behaviour of the "PC"
@@MichaelNROH So the only Way to play Destiny 2 or Valorant is to have installed Windows and Linux at the same time? Can I get banned with "Bottles" or similar?
@@spacesion do these games not work on steamdeck or on steam with proton?
When i try to load any iso in Boxes it says 'No KVM' and when i try to install VMM it says i am not allowed.
i already forgot how many tutorials i watched and tried to do it. How hard can it be to have windows in a vm so i don't have to dual boot every day to windows to have usb devices work on my pc (the software works in Bottles but the usb device is not installed)
This honestly sounds very much like you use a more advanced distro which doesn't enable KVM out of the box. Not being allowed to do something also sounds a bit like missing permissions.
Which distro are you using?
I tried to activate 3d acceleration like shown but I always get an error saying "failed to initialize EGL render node for SPICE GL".
me too, are you using an Nvidia GPU?
@@mateusraitz1803 yes
Can i do it with only 1 gpu? I have an i7 11700F and a RTX 3070. Can i passthrough my gpu to the vm?
You could only do that if it isn't being used by the host, aka. without a GUI. RTX 3070 don't support splitting their resources up like the Quadro cards, so that's the only (easy) way to do it.
Technically you have 2 gpus (one for dedicated graphics and the other is thertx 3070). You can pass the rtx gpu to the guest, but leave the dedicated gpu for the host.
@@Xmarquise intel F processors come without iGPU
@@LoorHenz Really? The how do uou get display to show without a gpu?
@@Xmarquise i managed to get it to work with single gpu passthrough, i’ll send te link to the video i followed
3d acceleration nevers works for me so I use VMware
mr michael
how to install driver from boxes instead vmware
but complex install drivers
How difficult is it to plug in a usb and use it on the vm in boxes and vmm? It's not immediately obvious in virtualbox, like a lot of things.
Virtual Machine manager gives you more control of what you want to exactly passthrough and has a lot more options available. You just need to find your USB device in the USB Host submenu. If it has no driver and doesn't show up with a name, then it becomes more difficult to identify, but it's still there somewhere.
@@MichaelNROH cool, thanks for the fast response 👍🏻
Hi Michael, if i have integrated gpu and dedicated gpu, can i passthrough the dedicated GPU and still keep the host session?
Yes, but both GPUs need to be running. Some UEFI configurations disable the integrated one if a dedicated GPU is detected
@@MichaelNROH I see, its encouraging to know that its possible. I'll do some reading to find out how to do it. Thank you!
Can you elaborate on GPU passthrough? I heard this allows near native performance in games within Windows VM. Setups with iGPU+dGPU like laptops might benefit from it.
tldr you pass the whole gpu as a pci device to the VM and your host os cant use it anymore but the VM has direct access to it so drivers in windows will work like natively for example
Only caveat is if you use this you need to use a video output on the gpu, there is a workaround but there is a noticable latency
Hope this answers your question
Be aware, though, that some game's anticheats block VMs and force you to play on bare metal
Although, if you want to play games on Linux, you may get better performance using Lutris or Bottles instead of passing the GPU through to a Windows VM
@@Scranny Only in best case scenario when you've got a recent enough AMD gpu, otherwise it will be much much easier to get games running in VM (not counting setting up the passthrough as that can be a pain on some motherboards too)
@@alexstone691 So I'm pretty new to this, therefore sorry for the question. But isn't it a problem, when the host can't use the gpu anymore? Because I'm running the VM on my linux desktop, so I need a gpu there? Or am I thinking wrong here?
Doesnt work for windows 10. has some Startup.nsh screen and doesnt do anything
hey but how about the license for windows?
Either you have one connected to your Microsoft account or you need to buy one otherwise. Virtualization is not a way around that
@@MichaelNROH say, if i'm using the license that i use right now could that work..?. does this question makes sense haha. i want to jump ship to linux, but the only problem for me is the lack of powerful CAD software which i use regularly so i'm thinking about installing windows (using my own key which i'm using now) inside mint or debian
@@NKG416 It could happen that one of Windows instance (if both are in use with the same license), complains about it, but if you link it to your account then you can delete one.
@@MichaelNROH ah..that's the problem, i don't make any windows account
@@NKG416 You can also try verifying it a different way, however that most likely already includes their forums or hotlines. However it might also just work or you can trick it.
Windows remembers the systems hardware and as long as you don't change too much, it refreshes those settings. If you passthrough a lot of your hardware you might be able to refresh it once, and afterwards once activated you start removing the passthrough devices again
For Virtual Machine Manager, I go a step forward and edit the CPU topology in the CPU settings for the VM. For some reason, after specifying the number of CPU cores, my VMs are configured to have the same number of CPU sockets as the number of cores I specified. I've noticed worse performance. So I always manually set the CPU topology: 1 socket, number of cores specified and 2 threads per core. I get better performance this way. Idk why this happens and I wonder if I'm even passing my CPU cores to the VM (which I'm guessing is the best yielding for performance). If someone can confirm if those cores are being passed through when setting up the topology manually would be greatly appreciated because I also see host-passthrough as an option but that option defaults to having multiple CPU sockets. Maybe I'm missing something here
Your settings are bad. Now that I have your attention, "RFE: default VM topology to use cores instead of sockets #155" has the answers you seek. The short: Use 1 socket, X cores, 1 thread (never more than 1).
@@MyAmazingUsername What if I wanted the VM to think it has hyperthreading? Btw I tested it out between 1 thread and 2 and there is far less CPU usage for 2 threads, probably because of the 2 extra vcpus. I'm running a Windows VM. Performance seems to be the same so I'm guessing it is more of a limitation on graphics rather than processing power since I don't have 3D acceleration enabled
@@pialdas6835 Read the reference I mentioned. :) But the short summary of the info you seek is: It will not use hyperthreading unless you manually pin every vCPU to real CPU cores. By default, hyperthreading is broken unless pinned to the correct physical cores, and you should therefore only use 1 thread per vCPU.
@Hello World Ah I see what you mean. Btw idk if I was supposed to click that #155 link but it basically points to me a bunch of youtube shorts. I tried to search up that phrase you had in quotes (although not extensively) and didn't get much useful information. I'll search up CPU core pinning and read up on it when I get the time to tinker with my VMs again Thanks for the help!
@@pialdas6835 Try it without the quotes, it's a Bugzilla discussion. But yes if you manage to pin the vCPUs you can enable multiple threads. I haven't bothered doing it though.
Wow you forgot a whole lot of hypervisors Proxmox, XCP-NG, Centos, Citrix or level 2 VirtualPC, Parallels and way more
🤫
VirtualBox supports Linux right , why isn't it used ?
Because QEMU utilizes KVM and Virtual Box does not. It's therefore more performant.
Some downsides would be scalability by default, but that's not a issue for 90% of use cases
What linux distro are you using?
Fedora
@@MichaelNROH Thank you
Are you Dutch. You really sound Dutch.
GPU passthrough plz in linux
I showed PCI device passthrough in my Proxmox tutorial: ua-cam.com/video/TWX3iWcka_0/v-deo.htmlsi=KaY_gp0zuzqB0kA6
It's basically identical with the Virt-Manager in the hardware screen.
i use Virtual Machines to play windows only games and use windows only software i have it with gpu passthrow
Which windows-only games are you talking about?
@@SolidSt8Dj fall guys, it broke on linux i cant seem to fix it, roblox broke too, fortinte dont work even on kvm becouse the aint cheat so ignore it
Yea I also recently got into Windows VMs with gpu passthrough. Cool that I don't need to dual boot for my VR games. Maybe will also look into installing photoshop on it as gimp is an utter trash
no matter what I did, my vm was slow for me, like with synthetic benchmarks and actually playing games, it was fine, but windows was generally quite slow, not to mention I didn't particularly enjoy handicapping my linux and to not be able to play games with kernel anticheat wasn't great either...
make sure to avoid getting vm banned. Suspicious hardware activity has started receiving bans as of late, so if you can make your virtualized machines look normal try to do that.
can we play RDR2 using this vm ?
I would not recommend it because of the performance hit in comparison to just running it just on Linux
and then there's Qubes OS
Ok….but how do you use and download virtual machine manager? 😂
There is no real difference anymore between modern type 1 and type 2 hypervisors. Nowadays the type-1 hypervisor has inherited a lot of standard OS functionality to be able to offer the functionality required in "state of the art" VM Host systems. Type 2 hypervisors are integrated in the kernel of the Host OS. So both type 1 and type 2 offer sophisticated OS functions integrated with the hypervisor. There is no difference in performance other than the difference in the quality of the implementation just like between different internet browsers.
Hello
Still using Fedora?
Probably! What do you recommend?
Yes
@@MichaelNROH if you ever have any issues or just want to try something new, I reccomend endeavorOS. Great community, relatively stable, and up to date packages
waste of time