Ditch Virtualbox, Get QEMU/Virt Manager

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 1 тыс.

  • @kademan13
    @kademan13 2 года назад +1212

    Props to Fabrice Bellard. He's responsible for QEMU, FFmpeg, TCC and he's working on a new compression algo called nncp.

    • @groos3449
      @groos3449 2 года назад +203

      This guy is insane, I couldn't believe when I heard that QEMU and FFmpeg had the same creator

    • @swarajya.55
      @swarajya.55 2 года назад +19

      @@groos3449 yeah man. Big props

    • @egoworks5611
      @egoworks5611 2 года назад +9

      @@groos3449 agreed

    • @SoLDMG
      @SoLDMG 2 года назад +29

      I used TCC when I first learned to program. The only computer I had was a 3 year old netbook with a horrible 2 core Atom and 1GB of RAM. This was in the summer of 2012 probably. Visual Studio didn’t run on it, Cygwin didn’t run on it. TCC helped me overcome the performance issues.

    • @echoptic775
      @echoptic775 2 года назад +7

      Yeah hes awesome. I think he also made quick js

  • @joshuafountain
    @joshuafountain 2 года назад +871

    I setup a KVM with GPU passthrough for Windows gaming a couple weeks ago, and the performance is absolutely wild. Everything works perfectly, native performance, and games are incredibly smooth.

    • @emberavenge7162
      @emberavenge7162 2 года назад +51

      Do you have a single GPU? What resource did you use to set it up? I was interested in this GPU passthrough, but am running a gtx 950, so probably not strong enough..

    • @completelyretarded
      @completelyretarded 2 года назад +29

      yea im interested on your response too, i have a rx480 so id like to know if its possible to do that with only 1 gpu

    • @bestledisthe
      @bestledisthe 2 года назад +2

      @@completelyretarded yes

    • @MrHombreLaser
      @MrHombreLaser 2 года назад +42

      For what I know, you can do it with a single GPU if your CPU has an APU. If dont then you'd be leaving your host machine without a GPU.

    • @valethemajor
      @valethemajor 2 года назад +6

      Any good guide buddy? I'd like the same.

  • @yoyoyogames9527
    @yoyoyogames9527 2 года назад +171

    literally tried it out today for the first time, never using virtualbox again :D

  • @mukyumukyun
    @mukyumukyun 2 года назад +533

    also for anyone curious, the reason why the performance is so much better on qemu kvm than virtualbox, it's because virtualbox run virtualization on software level, while qemu kvm on kernel level, so it's like the reason why in programming language C is much faster than python, kinda like that

    • @drishalballaney
      @drishalballaney 2 года назад +55

      ironically the virt-manager client is written in python (correct me if I am wrong)

    • @JayXdbX
      @JayXdbX 2 года назад +83

      Jokes on you! I call compiled C code from my python code!

    • @adrian7856
      @adrian7856 2 года назад +2

      Is it? I always thought it was because of junk code from pre-defined methods

    • @WizardNumberNext
      @WizardNumberNext 2 года назад +27

      VMM does almost no work, same to libvirt. They do only calls and creation and modification of vms, nothing more. Everything else is in qemu (calls to run vms on kvm and drivers) and KVM

    • @eideticex
      @eideticex 2 года назад +20

      That's not entirely accurate. There are two pieces of software you think of when you hear virtual box. There's Oracle Virtual Box and there's an open source Virtual Box. Both are generally at parity with each other but the open source variant can be used directly with a hypervisor, zen or kvm configuration for full hardware instancing. A couple years ago I abused that to no end to create sandboxed VMs for video games instead of using wine/proton, as in no desktop or taskbar, just explorer.exe and supporting infrastructure (like drivers) allowed to run in the vm. Worked extremely well, only stopped because proton and wine have got really freaking good over the last couple years.

  • @Martin_Then
    @Martin_Then 2 года назад +437

    I don't own a desktop. I've never run Linux or anything other than Windows. Basically 99.9% of your content goes over my head, but I can't stop watching your videos. Keep it up, man!

    • @Sunnywastakentoo
      @Sunnywastakentoo 2 года назад +147

      That’s how it starts. I hope your interest grows into a skill set or hobby that gives your life meaning.

    • @justahumanwithamask4089
      @justahumanwithamask4089 2 года назад +40

      I was running windows when i started watching his videos and about 1 year later I eventually switched.

    • @Saka_Mulia
      @Saka_Mulia 2 года назад +16

      Ha ha, that's how we getcha! If you ever find an old pc, you can bring it back to life without worrying too much about bricking it. That way, you can safely tinker with linux and learn how it's put together.

    • @1yaz
      @1yaz 2 года назад +6

      @@Saka_Mulia commenting on a video about machine virtualization. Could use hyper-v (unless home edition) or install virtualbox to tinker with Linux 💡

    • @SergeantExtreme
      @SergeantExtreme 2 года назад +10

      @@Sunnywastakentoo And it ends when you try to use Linux for the first time, and the toxic wasteland that Linux calls a "community" tries to force the terminal down your throat at every turn: even when there are GUI solutions available.

  • @mjbezuidenhout1112
    @mjbezuidenhout1112 2 года назад +93

    A very underrated featue of virt-manager is to access remote VM's. Setting up a headless hypervisor in your homelab is quite comfy, and was my reason for switching from VirtualBox.

    • @spliftube
      @spliftube 2 года назад +6

      You should be able to do it with any VMM, just set port forwarding on ssh

    • @rjhornsby
      @rjhornsby 2 года назад

      oh. nice, been pondering this for a while. Can I run a desktop with low-moderate memory (ie 16GB) and run test VMs a box elsewhere with more memory. Appears possible with vbox, but clunky.

    • @mjbezuidenhout1112
      @mjbezuidenhout1112 2 года назад

      @@rjhornsby yeah, it's quite seamless on virt-manager. Open the right ports and set up SSH with public key Auth. Just werks

    • @All3me1
      @All3me1 2 года назад

      So I can build a virtualization server
      Access it with vnc and manage the vms with the setup from the video

    • @kermitdafrog8
      @kermitdafrog8 11 месяцев назад

      Is there a tutorial on this somewhere?

  • @CandyCaneChris
    @CandyCaneChris 2 года назад +370

    Protip: if your computer came pre-installed with windows, you can pull in that registration key and use a registered version of Windows in your VM.

    • @AcidiFy574
      @AcidiFy574 2 года назад +12

      Any tutorials on that ??

    • @justsomenamelesssoul8097
      @justsomenamelesssoul8097 2 года назад +192

      I encourage you to pirate windows anyway

    • @frapooch
      @frapooch 2 года назад +21

      @@justsomenamelesssoul8097 GitHub is owned by Microsoft, and they don't take down the cracking script. 🤔
      Maybe they prefer you to use pirated Windows than alternatives?

    • @galindomenafrancisco3187
      @galindomenafrancisco3187 2 года назад +62

      @@frapooch They get your data, pirated or not. Paying for being tracked is just a plus for them

    • @0xfeedcafe
      @0xfeedcafe 2 года назад +3

      @@user-ic5nv8lj9d No malware in there, you can see the source code and they even explain how it works

  • @usuallyclueless4477
    @usuallyclueless4477 2 года назад +14

    For most others (using systemd), the commands are:
    sudo systemctl restart libvirtd
    sudo systemctl enable libvirtd

  • @jimmyjazz3489
    @jimmyjazz3489 2 года назад +56

    Keep in mind the instructions for starting the service and editing that config file don't apply if you use systemd (which is the default on basically every popular Linux OS). You need to do "systemctl enable --now libvirtd" (this both starts and enables the service). You don't need to edit the config file at all. Also you may need to change some bios settings to enable virtualization, on an AMD board all of these should be enabled:
    SVM - Enabled
    Iommu - Enabled
    AES - Enabled
    AER Cap - Enabled
    That's required for GPU passthrough. Also note GPU passthrough is a huge pain-in-the-ass if you only have one GPU.

  • @rightwingsafetysquad9872
    @rightwingsafetysquad9872 2 года назад +56

    Heads up to people trying to do performance comparisons: just having KVM or HyperV installed will tank the performance of VirtualBox or VMware Workstation, even if you're not actively using them.

    • @miigon9117
      @miigon9117 2 года назад +4

      Interesting🤔. Does the existence of kvm and hyperv prevent virtualbox from utilizing VT-x or?

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 2 года назад +16

      KVM isn’t something you “install”, it’s just another standard capability of the Linux kernel.

    • @rightwingsafetysquad9872
      @rightwingsafetysquad9872 2 года назад +4

      @@lawrencedoliveiro9104 Sort of, and sort of not. There are both KVM enabled and non-enabled versions of the kernel in nearly every distribution.
      @Miigon Yes, HyperV and KVM monopolize VT-x. Microsoft supposedly has a workaround with HyperV and VMware, but it only recovers about half of the penalty.

    • @buckeyefan9746
      @buckeyefan9746 2 года назад

      There is no penalty to having them installed, VirtualBox only bogs down when running both at the same time

    • @rightwingsafetysquad9872
      @rightwingsafetysquad9872 2 года назад

      @@buckeyefan9746 If you have Hyper-V or KVM installed, they're running by default all the time. They're not programs you run like VirtualBox or VMWare, they're different versions of the kernel. I'm not exactly sure of the architecture of these 2, but with Xen your "host" OS was also virtualized, but with special admin permissions.

  • @calva8951
    @calva8951 2 года назад +53

    I've been learning more about virtualization lately. Interesting topic; looking forward to hearing more about it from you in this video.

    • @aninnymoose720
      @aninnymoose720 2 года назад +1

      it's revolutionary!!....15 years ago

    • @gdst17
      @gdst17 2 года назад +7

      @@aninnymoose720 Still a pretty cool concept, though, even if it's been along for a pretty long time.

    • @1yaz
      @1yaz 2 года назад +3

      @@aninnymoose720 IBM released VM/370 in 1972.

    • @Ethorbit
      @Ethorbit 2 года назад +3

      @@aninnymoose720 Yeah, but to be fair it has improved sooo much since then.

  • @fairlyfactual451
    @fairlyfactual451 2 года назад +22

    I have been using virtual machines for years now and never once did it occur to me that the awful performance in virtual box was NOT normal... I just assumed that virtualization was just rather intensive. Very excited to try out QEMU and transition some of my environments over!

    • @sahar1213
      @sahar1213 4 месяца назад

      Same, with a KVM GPU passthrough Windows 10 VM, I was suprised that it runs with near bare-metal performance

  • @algoreshouldhavewon8995
    @algoreshouldhavewon8995 2 года назад +157

    5 days no post. The feds got him ☹️.

  • @CMDRSweeper
    @CMDRSweeper 2 года назад +44

    This was what I swapped to when I went with my home server a while ago and got tired of dealing with VMWare.
    Me and Oracle have never been best friends, so Virtualbox was never an option, and virt manager became a game changer when I tried it.
    It has built in QEMU management over SSH, meaning you can easily get at it from anywhere and not worry about any other security than your basic SSH.
    Only drawback to it is.... No Windows version of Virt manager exists, so this is one where I keep a Linux VM on my Windows machine just to do remote management.

    • @bloxyfenifawx6224
      @bloxyfenifawx6224 2 года назад +5

      Have you tried the recent updates to Windows Subsystem for Linux? it lets you natively use GUI apps without the old hacky solutions. I don't use Windows unless I absolutely have to, but I did use the WSL2 GUI for awhile and its half decent.

    • @swarajya.55
      @swarajya.55 2 года назад +5

      Why do you use windows? ew

    • @rawhide_kobayashi
      @rawhide_kobayashi 2 года назад

      you can forward remote x applications to windows natively with putty and vcxsrv... other applications are available.

    • @CMDRSweeper
      @CMDRSweeper 2 года назад +3

      @@swarajya.55 It is the last gaming rig / desktop in the house... The rest have already left and gone to Linux or BSD, but some games aren't there yet and I do not have a spare AMD GPU to go and shove it into a VM (Trust me I really want to)
      As for the WSL2, I ran into a massive problem getting networking working with that, so I sort of abandoned it and is awaiting for some patches from Microsoft.
      As for X fowarding a window, I haven't looked into that for Windows, but it is tempting.
      Still though, that Windows box is very Linuxified, Cygwin is installed so I can SSH into it to fetch files when I am not home for an example. (Not exposed to the internet, I run my own VPN server on a BSD box for access.)

    • @rawhide_kobayashi
      @rawhide_kobayashi 2 года назад

      @@CMDRSweeper I haven't personally done it, but supposedly it's possible to do with cygwin/x as well.

  • @heinrichagrippa5681
    @heinrichagrippa5681 8 месяцев назад +7

    "A _little bit_ of RAM."
    *[Casually drops in more RAM than most people have on their entire computer]*
    Actually... 16 threads + 32GB RAM _is_ my entire current computer. And even that is leagues ahead of every previous computer I've ever owned.
    I've been screwing around with PCem recently, which has reminded me of what things were like when I was a kid, such as having to use every trick in the book to push running applications into the upper and extended memory (where most of your truly enormous 4MB or possibly even 8MB of RAM resides), to free up every single kilobyte you possibly can of DOS's precious 640KB of conventional memory so that your games could run. After fighting tooth and nail to liberate those precious 60-or-so KB to stay above the 600KB threshold (using a mere 40KB to run the core of the OS), it really puts into perspective just how insanely far things have come. Imagine telling someone in 1993 - when RAM was $30+ per _MB_ - that a person's single, average-tower-sized PC would have literally 5.5 _MILLION_ dollars worth of RAM in it.

    • @KuleGuy27
      @KuleGuy27 7 месяцев назад +1

      Dude has 128GB of ram, he's just like Mutahar .

  • @ubermind-tim
    @ubermind-tim Год назад +1

    Thanks. This is the best set of instructions that I've seen to date. I finally got my Debian 12 with QEMU virtualizing Win10. As of 11/2023 there were a few holes which I was able to solve. My next step is to learn the setup needed so I can copy btwn Bookworm and Win10. I also need to test printing.

  • @tonnentonie2767
    @tonnentonie2767 2 года назад +78

    Oh boy if GPU manufacturers would allow us to virtualize GPUs , we could have one desktop that serves more than one person at a time.

    • @arian6565
      @arian6565 2 года назад +12

      You can do that tho

    • @gkukull
      @gkukull 2 года назад +16

      There is several different ways to do multiseat on linux, the arch wiki has a guide on xorg multiseat.

    • @bloodaid
      @bloodaid 2 года назад +9

      You can. You can even split a single GPU into multiple smaller virtual GPU's.

    • @nuclearbomb9483
      @nuclearbomb9483 2 года назад +12

      @@gkukull of course it's the arch wiki

    • @tonnentonie2767
      @tonnentonie2767 2 года назад +2

      @@gkukull you can? I thought Nvidia forbid it.

  • @boogiehasfun
    @boogiehasfun 8 месяцев назад +2

    having a threadripper and using arch. this man is in the top 10 of the computer nerds leaderboard

    • @degenincel
      @degenincel 4 месяца назад

      What's the other 9?

  • @arieloq
    @arieloq 2 года назад +3

    Those who want to use qemu for virtual machines with greater flexibility should try Proxmox... I use it as a workstation (KDE installed) with virtual machines running in the background, which allows me to deploy multiple servers or other Windows or Linux virtual machines that I can turn it on or off without having to reboot the system and getting the maximum performance from the hardware I have.
    Dell Precision T7600 2x Xeon E-2620, 64Gb RAM, 1ssd 480gb + 3hdd 512Gb + 1hdd 2Tb, Quadro k4000 3Gb VRAM.

  • @hopelessdecoy
    @hopelessdecoy Год назад +1

    Hey Appreciate you showing how to install and use the GUI, so many Linux people out there that are in the mindset of "Use terminal and learn it or stop using Linux" out there. Some people want to use terminal and learn, others never want to and want GUI's and Linux is an amazing place for both. Especially if it steals market share from Microsoft/Apple!

  • @evanjrowley
    @evanjrowley 2 года назад +2

    Last week I made the switch from VirtualBox to KVM-based Proxmox and so far the experience has been great. 1st class support for ZFS is a huge advantage.

    • @darianalexander5503
      @darianalexander5503 2 года назад

      As someone who built an entire separate x86 system to serve as a ZFS based NAS, I that is kind of impressive to me.

  • @josephkelly4893
    @josephkelly4893 2 года назад +1

    I love the flex when your Sysinfo pops up in the terminal. Rip those threads my bro. So much memory. Peace

  • @Neko-san
    @Neko-san 2 года назад +17

    You didn't post any video in a week already... is everything okay?

  • @Rexen1995
    @Rexen1995 2 года назад +1

    My subscription to this channel pays itself 1.000 times over with every upload. Thanks.

  • @caleb7160
    @caleb7160 2 года назад +2

    I recently swapped to arch from windows, it rough for a bit but I’m learning more everyday got my qemu for some usb audio pass through to a windows vm. It’s been pretty great.

  • @dream1x0
    @dream1x0 2 года назад +1

    you are not like the others who puts link filled with adds, so u deserve to be subscribed..... thanks for the plugin and all the best for future

  • @MrGamelover23
    @MrGamelover23 Год назад +6

    It would be nice if there was a distro that just had this specifically already set up out of the box. Like, imagine a distro meet specifically for virtual machines to give you the absolute best possible performance by having the bare minimum operating system required to create a virtual machine. That could be really useful for something like twith streamers so that if something goes wrong, they can reboot the computer without stopping the stream.

  • @kmmmsyr9883
    @kmmmsyr9883 2 года назад +24

    SYSTEMD EQUIVALENTS OF SOME COMMANDS:
    sudo rc-service libvirtd start > sudo systemctl start libvirtd
    sudo rc-update add libvirtd > sudo systemctl enable libvirtd
    sudo rc-service libvirtd restart > sudo systemctl restart libvirtd

    • @theflaminglionhotlionfox2140
      @theflaminglionhotlionfox2140 2 года назад +3

      Thank you very much, I was looking for this comment.

    • @sumduck5580
      @sumduck5580 2 года назад +2

      thank you so much

    • @jimmyneutron129
      @jimmyneutron129 Год назад +1

      thanks great tutorial but lol the guy runs arch with not systemd but rc, has 128Go of RAM, not really like my Fedora Workstation on my potato laptop

  • @snowcloudshinobi
    @snowcloudshinobi 2 года назад +8

    when the world needed him most... he vanished.

  • @youtube.user.1234
    @youtube.user.1234 2 года назад +6

    Today I got my first nvidia gpu and I was so excited... until I woke up and realized it’s a dream 💀

    • @notafbihoneypot8487
      @notafbihoneypot8487 2 года назад +2

      I have one 4 u
      Just send me your CC and your mom's phone number

    • @entelin
      @entelin 2 года назад +4

      AMD on linux is a better choice. NVidia's linux drivers suck.

  • @aldebaran0_
    @aldebaran0_ 2 года назад +64

    hyper-v is pretty nice aswell but obv linux is the better option if you want to reduce the glow

    • @_e621
      @_e621 2 года назад +5

      yep hyper-V is good same with VMware

    • @rightwingsafetysquad9872
      @rightwingsafetysquad9872 2 года назад +7

      The primary maintainer of KVM is Red Hat, which is owned by IBM. If IBM doesn't glow, no one does.

    • @aldebaran0_
      @aldebaran0_ 2 года назад +3

      @@rightwingsafetysquad9872 well yea but you actually have the option to audit it unlike hyper-v lmao

    • @genkiferal7178
      @genkiferal7178 2 года назад

      @@rightwingsafetysquad9872 yeah, I was sad to read that. They bought KVM from another company, too, so that makes it even more suspicious.

  • @Xtrems
    @Xtrems 2 года назад

    Finally, a comprehensive up to date visual guide for this

  • @pokemastercool
    @pokemastercool 2 года назад +8

    Just a heads up for those using Artix Linux with s6. You also have to manually add and start another service called "virtlogd" in order for this to work.

  • @jacopocomparin
    @jacopocomparin 2 года назад

    I'm starting working from home, and since i need Visual Studio for some big projects (also legacy net framework shite) and the work pc only has 8Gb of ram, I've successfully used your tutorial to setup a win10 vm in my ram-wise more dotated pc. so i don't have to subject myself anymore to the painful pagefaulted experience that is developing with only 8Gb of ram on windows.
    Thanks🔥

  • @spliftube
    @spliftube 2 года назад +3

    I've been using QEMU+libvirt for some months now, using virsh to create and manage headless machines. There's also quite good support for libvirt+Vagrant.
    Would be really nice to see a follow-up video on how to manage VMs with QEMU+libvirt from the terminal (i.e. w/o virt-manager). AFAIK you can create VMs from an XML with virsh or use virt-install, then you can manage them with virsh.

  • @fgregerfeaxcwfeffece
    @fgregerfeaxcwfeffece 2 года назад +2

    Starting with Ubuntu 20.04 this became absurdly easy. So I recommend something based on Ubuntu if you want to do pass through.
    You just have to blacklist the devices you want to pass through in your bootloader.

  • @miigon9117
    @miigon9117 2 года назад +3

    Currently using kvm and passing through a GTX1070ti just for gaming. Performance is great, you almost can't tell it's virtual machine.

    • @trasker6744
      @trasker6744 2 года назад +1

      May I know which games you've been playing on? I'd like to move once to Linux but I've seen that many anticheat systems don't work on Linux and don't like emulators at all

    • @miigon9117
      @miigon9117 2 года назад +1

      @@trasker6744 primarily single player like RDR2. though I have played 10+ hours of CSGO and collective 20+ hours of GTA Online with no problem *so far*. I did configure the VM to hide the virtualization but I'm not sure if that matters or not. TF2(which uses VAC just like CSGO) works as well, though I have only played it for 4 hours on the vm.

    • @miigon9117
      @miigon9117 2 года назад +1

      @@trasker6744 I think the biggest trouble has been the usb passthrough. bought 3 pcie usb cards, only 1 worked, other two didn't get recognized and will crash the vm randomly. you should have better luck with NEC/Renasas cards than say VIA cards. if you need some help setting it up I am more than happy to help.

  • @234ne14
    @234ne14 2 года назад +1

    Thanks M.O.! I was out of doing any Virtual Machine for years, its a good news update!

  • @josetobias8084
    @josetobias8084 2 года назад +6

    I've been using it since I first heard of it because I totally despise Oracle.
    I have to say: it's simple, it's fast, it works and you're probably not losing much by using it.
    On the security level, choose an SELinux/AppArmor decently configured system and you're reasonably safe.
    If you're not really focusing on security, which usually is my case, GODDAMN JUST SWITCH TO IT.

    • @jaapaap123
      @jaapaap123 2 года назад

      Well, it was first SUN Virtualbox, before obstacle bought them.

    • @genkiferal7178
      @genkiferal7178 2 года назад

      for some reason, AppArour doens't work on any Debian installation I've had. Since Debian is considered a base distro, I find this odd. Never figured out how to fix it or reinstall it...or, just didn't try.

  • @CharlieBoy360
    @CharlieBoy360 2 года назад +1

    I figured that anyone running virtual machines on Linux would pretty much use QEMU by default. After installing virt manager QEMU runs smoothly and is super easy to manage your VM's, not to mention everything can be managed or configured from a simple XML file, which is really nice.
    I tried passing through my RTX 2060m on a Lenovo Legion 5 AMD laptop running Manjaro but I was getting a driver error under device manager in my Win10 VM at the very end. It wasn't the typical Nvidia "error code 43" but instead "error code 28" which is similar though. Basically the driver won't install. I added all the proper strings in my GRUB boot loader to hide the VM but no go. Very frustrating since gamng is the only thing keeping me on Windows at all. It'd be a dream to ditch it once and for all and be able to game and get near bare metal CPU, GPU and SSD performance on a Windows VM.
    Someone mentioned needing to emulate the battery in QEMU when passing through the GPU on a laptop setup or you'll still get the driver/hardware error code.

    • @battokizu
      @battokizu 2 года назад

      I wish the setup had one of those pseudo guis on a command line so I can go entirely headless, have the ability to easily see what virtmanager sees for available hardware instead of me having to guess if I can't access my host. And especially for configuring the XML file, what a nightmare.

  • @Rustytoaster18
    @Rustytoaster18 2 года назад +11

    I have used QEMU on fedora 35 for the past few months for my school work in Visual Studio. So much better than VMware and Vbox

    • @woland.
      @woland. 2 года назад

      why not use vs directly in linux? is there any particular reason? just asking out of curiosity btw.

    • @cheeseisgud7311
      @cheeseisgud7311 2 года назад

      Visual studio currently doesn't work well on wine

    • @groos3449
      @groos3449 2 года назад +1

      ​@@woland. visual studio doesn't have a linux version

    • @TorutheRedFox
      @TorutheRedFox 2 года назад

      @@groos3449 there's also the annoyance that's targeting a different platform

    • @Rustytoaster18
      @Rustytoaster18 2 года назад

      @@groos3449 I am in a database programming course and am making windows forms apps with MSsql Server

  • @iCQ_www.SPCL.tk_
    @iCQ_www.SPCL.tk_ 2 года назад +1

    Qemu... Using it for years... Super smooth and neat 😎

  • @4444kik
    @4444kik 2 года назад +67

    As much as I would love to use Qemu, I'm afraid to say from experience that it is only worth using if you
    a) don't care about graphics performance or
    b) have a second GPU to passthrough
    The reality is that Qemu occupies both places of best and worst virtualization stacks for graphics performance. If you pass through a real GPU to Qemu, it can blow its competition out of the water and get you graphics performance that can rival bare metal. However, if you, like me, do not have a second GPU, one of your only options is to use QXL which is like a virtual GPU. Unfortunately, QXL's graphics performance is absolutely pathetic as it lags even when you drag program windows around the desktop, to say nothing of its nonexistent 3D acceleration. It is literally eons worse than even virtualbox, which itself is eons worse than vmware's 3D acceleration.
    I am aware that there is one other option besides QXL and that is single GPU passthrough. However I do not even consider that an option because you won't be able to use the host OS while the VM is running.
    There is also another caveat which is that setting up shared folders is much more manual with Qemu than either virtualbox or vmware. Personally I wouldn't mind this if it meant I could get better graphics performance, but as it stands now it is only the icing on the turd cake of my experience.
    I WANT to use Qemu, but only virtualbox or vmware can provide me with bearable desktop performance at the moment.

    • @HyperMario64
      @HyperMario64 2 года назад +4

      It is surprising that one GPU cannot be used by more than one system at the time. Like, really really bad design. Usually you need to have your main GPU available on the host as well, it would be silly otherwise.

    • @milankovacevic3287
      @milankovacevic3287 2 года назад +3

      You can try single gpu passthrough, it is working for me, i used risingprism guide. If you're interested check it out 😉

    • @4444kik
      @4444kik 2 года назад +9

      ​@@HyperMario64 Right, thanks for reminding me. I forgot to mention that there is a 3rd option available only to Nvidia users - VGPU unlocker. It enables splitting the GPU cores on consumer-grade GPUs like Geforce like you would split CPU cores and share only part of them to the VM. This is normally only allowed on datacenter-grade Nvidia GPUs because Nvidia (sincerely **** them) want you to buy their more expensive GPUs which do not have this software limitation. VGPU unlocker allows you to use this feature on normal GPUs as well.
      This works only on a subset of consumer-grade Nvidia GPUs and mine is not one of them unfortunately.

    • @danny5035
      @danny5035 2 года назад +1

      also no drag and drop files :(

    • @Lilly24244
      @Lilly24244 2 года назад +1

      I haven't had that many issues with qxl, but I've mostly used windows or Linux with the guest tools / drivers so that probably helped a little.

  • @marc-andreservant201
    @marc-andreservant201 2 года назад +1

    I like Proxmox. Supports VFIO, uses KVM under the hood (it's Debian-based), has a nice web interface. It's like having a cloud inside your home.

  • @thaddeuscleo5920
    @thaddeuscleo5920 2 года назад +11

    I wish in future video you guide how to passthrough hardware to the VM. I'm still have hard time to understand the procedure for passing through the hardware. Thanks for the great video

    • @larsolav
      @larsolav 2 года назад +1

      Then the video would be 2 hours long.

  • @bsatyam
    @bsatyam 2 года назад

    I never used Virtualbox to begin with, always found virt-manager to be much more user friendly and straightforward.

  • @navaneeth6157
    @navaneeth6157 2 года назад +15

    For shared folders and bridge networking its a bit hard to achieve with virt manager. So when i need those features i use virtualbox

    • @nepjr_
      @nepjr_ 2 года назад +7

      You can use Samba to create a network based fileshare, and even access files from your phone or tablet (granted they have apps that support SMB/CIFS protocol) that virt-manager can access pretty easily

    • @TheFrantic5
      @TheFrantic5 2 года назад +9

      The option to share host folders is in the +Add Hardware menu.
      I just discovered it today, and I don't remember seeing it before, so it might be new, and I haven't checked to see if it's sharable between multiple VMs at the same time.

    • @navaneeth6157
      @navaneeth6157 2 года назад +1

      @@TheFrantic5 What is that option called? Filesystem?

    • @TheFrantic5
      @TheFrantic5 2 года назад +3

      @@navaneeth6157 yes.
      I haven't tested this yet as I have a new system and I'm lazy, but you'll need to have your shared folder on the host as the source path, a made-up label as the target path, and you'll need to load these modules {loop,virtio,9p,9pnet,9pnet_virtio} onto the guest with modprobe. Afterwards, you use
      # mount [targetlabel] /path/to/place/shared/folder - t 9p -o trans=virtio
      to be able to place the folder where you want on the guest.
      Plan 9 is an old remote file system protocol from what I've read, but it should do the job.
      Unfortunately it's not one-click like virtualbox (and originally it thought it was, which was why I posted it) so if you need that functionality (as well as connecting to Windows guests) you'd be better off finding a libvirt samba tutorial. Or just use what works.

    • @anthonyobryan3485
      @anthonyobryan3485 2 года назад +3

      Dead simple bridge networking is why I have always chosen VirtualBox over KVM. With VirtualBox, bridge networking is a couple mouse clicks. With KVM, unless things have changed, it was a massive gauntlet of system configuration changes and networking tweaks that were all but guaranteed to make a system stop working.
      I really, Really, REALLY want to ditch VirtualBox, but its incredibly easy bridge networking is why I stay with it.

  • @wesselvanleeuwen7300
    @wesselvanleeuwen7300 2 года назад

    Honestly, these settings is exactly what I was looking for yesterday lmao.

  • @3evv_wastaken
    @3evv_wastaken 2 года назад +7

    One word of caution, having high framerates didn't equal to the responsivenes of the game. Had to either choose normal fps or not feeling the input lag. It was slight, but noticible, even though I tinkered with the cpu settings a lot. Might be a problem of having 7770k tho, since it has 4 cores 8 threads.
    Also tried limiting the processes on host to only one core, this might be a good trick for somebody looking to optimize performance, and it can easily be done with a simple bash script run by qemu on startup of the machine, and reversing its thing after shutdown.
    Had a blast setting it up, but the performance wasn't really there.

    • @D00000T
      @D00000T 2 года назад +3

      Yeah a gaming VM for multiplayer games at the moment isn’t super reliable due to the input lag and also anti cheat from time to time. Singleplayer games still work very well and the input lag isn’t a problem on most of them

    • @akeem2983
      @akeem2983 2 года назад +2

      @@D00000T Geometry Dash, Osu, Just shapes and Beats, Danmaku Unlimited and Touhou Project: ...

    • @D00000T
      @D00000T 2 года назад +2

      @@akeem2983 most of them aren’t that punishing 95% of the time. The benefits of virtualization and not running windows natively outweighs getting fucked over by input lag in that one osu map that only players with carpal tunnel will play (only one I can see being a problem is if you play a bullet hell game and have to deal with the occasional pixel perfect bs)

    • @battokizu
      @battokizu 2 года назад

      @@D00000T I haven't played osu in forever what map is that? And can you run it or does peppy's magical anticheat detection ban you?

    • @akeem2983
      @akeem2983 2 года назад +1

      @@battokizu I don't know exactly how it works, but osu works perfectly even through Wine, I think that full emulation also should'nt do anything with a game. There's also an Osu!lazer project, which is unfinished but already have most of the features for comfortable gameplay.

  • @thookie118
    @thookie118 2 года назад

    Perfect Timing, I just installed Virtualbox and wanted to start making VMs today. Now I can ditch it without having done a lot of useless work.

  • @tsugek123
    @tsugek123 2 года назад +4

    Welp you posted this while I was trying to make vbox work so I guess I'm switching over now

  • @seanpaul7069
    @seanpaul7069 2 года назад +1

    One of your best tutorials and very well explained. Thank you Sir.

  • @eramorn
    @eramorn 2 года назад +3

    Thank you for evrything Mental Outlaw. You inspired me to follow an undergrad degree in system and network admnistration as an 28 year old. I really find it fun to use everything through the command line in linux. The fact that linux offer so much freedom and that with virtualisation, steamos and lutris linux gaming is today possible . This is an dream for a lot of poeple becoming reality. Ps. Do you plan to own an steamdeck in the future? i really want to hear your opinion about it or an video with ? :)

    • @azhagurajaallinall126
      @azhagurajaallinall126 Год назад

      Great to see such hope & passion life reality making here 😃
      Could you update your current scenario now?
      I am 25,BE CSE,Jobless (Tamilnadu,India),got some ideas & passion for life too
      Glad to see such people 😊
      Wish all be well 😃🌟✨🙌
      07.07.2023 09:43 pm ist
      3rd like,1+ year ago comment

  • @TheStengo
    @TheStengo 2 года назад

    Best Channel on YT, and even if you aren't following him already you are NGMI.

  • @thomrl
    @thomrl 2 года назад +4

    Perfect timing! I'm really tempted to switch to Linux but I might need windows for a few things like games with friends, photo and video software I use. Not sure if it's gonna work like I want it to, but I guess I just have to give it a try

    • @Fighter_Builder
      @Fighter_Builder 2 года назад +1

      @Watcher Agreed. I really love the work Valve is putting into making Linux a viable option for gaming, though I wish the actual Steam client was more stable on linux... Most of my time was spent attempting to figure out why either Steam or Proton randomly stopped working.

    • @doigt6590
      @doigt6590 2 года назад +5

      Dual Booting is still the best option my friend.

    • @Fighter_Builder
      @Fighter_Builder 2 года назад

      @@doigt6590 Agreed.

    • @genkiferal7178
      @genkiferal7178 2 года назад +1

      @@doigt6590 agreed. With almost no tech experience at all, I easily installed my own dual-boot. To be fair, though, I takes a crap-load of notes compared to most people and tend to read a lot more than them, too - especially if the subject intimidates me (I don't handle defeat well).

  • @b747xx
    @b747xx 2 года назад

    Using Qemu+KVM with libvirt since many years.
    Including for Windows gaming with VFIO.
    Storage on an LVM LV is a must for performance
    Nice config btw

  • @fallahacker122
    @fallahacker122 2 года назад +10

    Yo MO you all good G? Been a while

  • @fosres
    @fosres 2 года назад

    Thanks Mental Outlaw. Personally I have tried QEMU/virt-manager and found it too slow back then. But now that you mentioned this video, I guess I can try one more time.

  • @BackwardSabotage
    @BackwardSabotage 6 месяцев назад +3

    for anyone following this tutorial as of 2024 on arch: the qemu package doesn't exist anymore. it will ask you to pick between qemu-base, qemu-desktop or qemu-full. pick qemu-desktop or qemu-full as they include spice. if you pick qemu-base, vga virtio will not work.

  • @Xenotypic
    @Xenotypic 2 года назад +2

    I followed some ordinary gamers gpu passthrough guide for qemu with a 3090 and i9-9900k setup and I'm never going back to even a dual boot setup. dual boot would always eventually break on me. this has been so much more stable and I'm loving it. can finally trash windows for good.

    • @mkerimi
      @mkerimi 2 года назад

      Agreed

    • @hehe42069-k
      @hehe42069-k 2 года назад

      +1 intending to use this to completely replace my win 10 dualboot, i only need this for game modding tools and games in general i guess, i dont really wanna set up wine lol

  • @0xERM
    @0xERM 2 года назад +3

    Cool and useful video. Nothing more, just felt that a single like didn’t do it justice.

  • @samismydog
    @samismydog 2 года назад

    I set up a gpu passthrough for gaming, and it's perfect. Took forever to set up, but it was worth it.

  • @Biggestsonicfan
    @Biggestsonicfan 2 года назад +27

    I had one and performance was pretty great, but man, getting files to and from the virtual machine was a PITA. VirtualBox's folder sharing is just too rich of a feature to get me to switch.

    • @entelin
      @entelin 2 года назад +6

      The normal way you would share files is via smb/nfs/ftp/ssh etc, VM's are no different.

    • @FireWyvern870
      @FireWyvern870 2 года назад +8

      Agreed, I need that folder sharing feature, makes it easier to share directory

    • @1yaz
      @1yaz 2 года назад +28

      @@entelin Obviously OP finds the "normal" way to be a PITA. Vbox let's you drag and drop files and share folders 🤷
      What's your point?

    • @entelin
      @entelin 2 года назад +5

      @@1yaz Because I don't really believe that anyone would sacrifice crap tons of performance.. Then claim they are doing that because a normal mapped drive, which is essentially the exact same thing from a user perspective as having files locally in your C:, is somehow a PITA. Drag/drop also creates copies of files, which is almost always less desirable than keeping your files in a central location and working on them from there. It's a user training / setup issue, not an actual real issue.

    • @smeqwack7337
      @smeqwack7337 2 года назад

      do it like i do. basically virtually connect a usb stick between the main pc and the vm

  • @Flika-ul9tl
    @Flika-ul9tl 2 года назад +1

    Very good tutorial. I would love to see a side-by-side benchmark comparing QEMU to Virtualbox to get an idea just how much better it preforms.

    • @genkiferal7178
      @genkiferal7178 2 года назад

      I can say this, there must be slightly different ways of installing VirtualBox _or_ Oracle changed VirtualBox to make it slower so that you'd be more likely to _buy_ the paid version.
      The first time I installed VIrtualBox (a year and a half ago) on a weaker PC and used Windows 10 in a VM, it felt like one PC - not the least bit slow.
      The newer install, this time on 2 PCs, it is soooo much slower and I have no idea why.

  • @georgewbush152
    @georgewbush152 Год назад +7

    >we'll give our virtual machine a little bit of ram
    >32 gigabytes

  •  2 года назад

    KVM is great. My 'desktop' is a Linux virtual machine on KVM running on my hypervisor with gpu passthrough. Getting the most out of my hardware this way.

  • @terminalvelocity4858
    @terminalvelocity4858 2 года назад +3

    I like QEMU, but it definitely needs a more streamlined install/configuration like VirtualBox to sway your average user into moving over. I also don't like how it has to modify your iptables in order to access the internet in VM's and bridged configurations (instead of NAT) are even more of a pain. Want to use UEFI BIOS for Win11...another layer of configuration/installs. VirtualBox is much more clean when it comes to installation/configuration, and unless you want a gaming VM or need to have the most secure VM, it's not really worth moving over. FOSS is the strongest selling point for QEMU imho.

  • @macaronivirus5913
    @macaronivirus5913 2 года назад +2

    I didn't know about "sudo !!" thing, thanks

  • @JEAPI_DEV
    @JEAPI_DEV 2 года назад +5

    Good video and great tip but I just wanna let u know that there are 1000 other methods to install it without confusing beginners

    • @Chuck8541
      @Chuck8541 2 года назад +2

      Yeah, I’m a noob, and have been considering switching, and five minutes into this I was like, NO THANK YOU! lol

  • @AlaniNavaz
    @AlaniNavaz 2 года назад

    this is perfect timing!
    I was just about to start reading up on qemu

  • @nemonada3501
    @nemonada3501 2 года назад +3

    Curious why you like openrc over runit? I've tried to do a bit of checking but there is not a whole lot about to use for comparison between the two.

    • @aninnymoose720
      @aninnymoose720 2 года назад +1

      init is reference to the maximum process id you'll ever have access to. There's a hint. Another hint might be how that's different from user 0 versus Init 1 😉

    • @aninnymoose720
      @aninnymoose720 2 года назад +1

      i worded that oddly. Technically it's the lowest number not the maximum, but nvm...

    • @entelin
      @entelin 2 года назад +3

      @@aninnymoose720 I think you are confused as to the OP's question.

  • @officiallyjk420
    @officiallyjk420 2 года назад +1

    QEMU is amazing. Been using it to boot Kali and Windows on Pop!OS

  • @CarlosRamirez-gv9sk
    @CarlosRamirez-gv9sk 2 года назад +3

    at this point, we need to archive his videos for posterity

    • @DigitalLiquid
      @DigitalLiquid 2 года назад

      Good idea! Although Odysee is your friend too!

  • @skrubz9282
    @skrubz9282 2 года назад

    Perfect timing! I was about to search for a qemu Tutorial

  • @JamesWilson01
    @JamesWilson01 2 года назад +5

    Nearly the same gaming performance as native Windows? I can't believe it. Sounds virtually impossible 🤔

    • @perseo10000
      @perseo10000 2 года назад +4

      Well, to do that you need to do something call gpu passthrough, to pass your gpu to the vm.
      Is very interesting, but seems to require some virt manager knowledge.

    • @JamesWilson01
      @JamesWilson01 2 года назад +1

      @@perseo10000 It was meant as a bad joke ("virtually"😬) but your reply was actually interesting, thanks!

  • @brianhayes1105
    @brianhayes1105 2 года назад

    Awesome, on Artix myself. Gonna do this. Keep making great content! 👍🏽

  • @RusherDevelopment
    @RusherDevelopment 2 года назад +3

    notification squad

  • @muhdzafri7551
    @muhdzafri7551 2 года назад +1

    Lmao I thought why hasn’t Kenny move to QEMU yet? He even gave us a tutorial, thank you!

  • @laggisch
    @laggisch 2 года назад +6

    pls a video on the war.

  • @maxtheo
    @maxtheo 2 года назад

    Just the video I wanted you to make right now. Thanks!

  • @kilgoreT010
    @kilgoreT010 2 года назад +3

    Newest versions of linux kernel disable the KVM virtualization for security reasons. If you see the following line in the result of l"scpu" :
    Vulnerabilities:
    Itlb multihit: KVM: Mitigation: VMX disabled
    then chances are KVM will not work on your PC.
    Edit: link to kernel doc: www.kernel.org/doc/html/latest/admin-guide/hw-vuln/multihit.html

  • @gingerbeargames
    @gingerbeargames 2 года назад

    thanks for finally giving me the motivation to get this set up, been meaning to do it for months.

  • @sebastianarrieta9678
    @sebastianarrieta9678 2 года назад +6

    The 4chan party van got him

  • @kartibok001
    @kartibok001 2 года назад

    Been on it for three weeks now. Never looked back after almost 17 years on VMWare and VirtualBox variants.

  • @matthewriley7051
    @matthewriley7051 2 года назад +5

    Hey Kenny, everything ok? Have the alphabet Bois got you yet?

  • @TheDigitizedSignPainter
    @TheDigitizedSignPainter 2 года назад

    Fascinating! Thank you for sharing this knowledge with us!

  • @Linklay
    @Linklay 2 года назад +5

    I love QEMU/Virt Manager, but the only issue is that there is no way(as far as I know) to share files with my guest. And since I use VMs mainly to edit this kinda kills it for me.

    • @Biggestsonicfan
      @Biggestsonicfan 2 года назад +5

      Something something samba share, but I agree 100%. My Win VM guest is to do Win exclusive processing my Linux can't do (or do as well) and getting the data back and forth was difficult to say the least. VirtualBox's file sharings are just too nice of a feature for me to give it up just yet.

    • @Linklay
      @Linklay 2 года назад +1

      @@Biggestsonicfan The issue is even with somthing like samba. you have to upload the videos. which for me could range from 4-10gb videos. and then download them to the VM. hopfully one day a more easy way to file share on Virtmanager becomes a thing cuz I would love to switch over.

  • @CRUXNET
    @CRUXNET 2 года назад +1

    Based QEMU. My gaming rig for a long while was a sort of copy of Mutahars Billy build, Manjaro host using KVM/QEMU to virtualize windows, then pass through all my hardware and flub the virtualization so it thinks its bare metal. Even invasive DRMs/Anti-cheats like Battle-Eye and that trash Riot root kit believe that it's real and let you play.

  • @tomashlavinka7415
    @tomashlavinka7415 2 года назад +3

    I'll be the first one to say it: This is sadly way too complicated for me.

    • @maxz69
      @maxz69 3 месяца назад

      Same

  • @therealgiant
    @therealgiant 10 месяцев назад

    Thanks for this to the point guide. I struggled to get it working before, but not anymore.

  • @user-pb1xd8pv2l
    @user-pb1xd8pv2l 2 года назад +8

    Mental Outlaw, I gotta say. You really exhibit this "use X until I use Y" pattern. I specifically recall a video where you talked about QEMU/KVM being too complicated/whatever and that everyone should just use virtual box. Meanwhile... The landscape hasn't changed since that video was made. The only thing that changed was you've tooled around with it more and decided that Virtualbox belongs in the bin now that you aren't using it. Thank God you found virt-manager, otherwise you'd still be telling everybody to use Virtualbox. I guess we all really do learn in the end. This constantly ADHD aspect of open source users is the most annoying thing in the world of computing. Why don't you tell all your followers to install Ubuntu? They'd have KVM/QEMU working out of the box with ZFS and full disk encryption! Can't you make a video tutorial on how to do that with Gentoo? I'm joking of course. That's way too much for ANYONE besides full time basement dwellers. I recently switched from Linux and Windows to chromeOS and macOS. I'm back to living life and no longer pretending to fight a lost war

    • @spaghettiking653
      @spaghettiking653 2 года назад +1

      I agreed with all your points, but... switching to chromeOS and macOS? How is that an improvement? You go out of your way to chain yourself down to a proprietary platform that happily pilfers your data via telemetry, imposes barriers to accessing and modifying your own machine, and is effectively a dumbed-down, layman-proof version of Linux in the first place. I understand switching to Windows if that's what you prefer, or you need software to run, but willingly switching to a less permissive os, because using Linux Mint/Ubuntu is a "lost war"? Precisely that kind of indifference threatens freedom! Using a foss operating system is not about measuring each other's techno penises in a frenzied elitism contest, it's about placing the power over the system in the hands of the consumer, not the power over the consumer in those of the system.

    • @user-pb1xd8pv2l
      @user-pb1xd8pv2l 2 года назад +2

      @@spaghettiking653 so you want to talk about telemetry and security? Do you run an AMD64 CPU? Apple's M1 chip doesn't have remote access capabilities as confirmed by Marcan, the guy who ported Linux to Apple Silicon. As far as chrome and apple spying, what does that mean when you're preemptively pwned by Intel and others at the negative ring level? I don't need Tor because I'm not a political dissident nor a human trafficker etc, and none of you last war fighters are going to stop internet regulation and control crackdowns. Governments do as governments will, and you think that your tiny puny opinion that most people don't even have the technological prerequisite understandings to even OPINE is going to matter to a large enough populace to actually reach public outcry levels? No way, man. macOS is way less likely to be hacked than a poorly implemented custom encryption deployment blindly following some Arch wiki guide with zero understanding. And also way less likely to be hacked than Windows as well. And chromeOS also has way better default security parameters than most Linux distributions. That's also a fact. Linux sucks for desktop use in my experience. chromeOS is way better on an old laptop than ubuntu is. But that's just my opinion. macOS is more enjoyable to me than Windows because it doesn't have 3 different control panel generations existing simultaneously. I'm not cucked enough to use iOS, however. So I'm sure we agree on a lot. Also the Mac doesn't pilfer my data because it's a workstation not connected to the web and the Chromebook is used for regular research... Not sure what's wrong with that approach. You're not modifying your machine. You're probably not even recompiling your kernel or using a custom init. You're running stock firmware and a regular bios. Who the hell are you to talk about modifying your own machine? OKAY, Terry davis 2.0. Let's hear about your custom shit. Built with other people's Legos. Unless you really are Terry 2.0. You open source fanatics are constantly talking about hypotheticals and conspiracy theories and almost all of it is only an issue if you want to always leave your machine connected to the internet. You all really just sound like CSAM consumers tbh, lmao. Like, having your computer online all the time so you can constantly be browsing -- that's another optional addiction but you people gaslight productive individuals who don't worry about security with nonsense about your NON-EXISTENT cyber security. Some of us visit libraries and use our computers for computations. And Chromebooks are for web browsing and that's it. Again, What's wrong with that approach? Don't you dare talk about your power as a consumer. You're running a proprietary CPU with multiple remote access backdoors ffs. And you're telling me I'm using the wrong browser/OS.

    • @user-pb1xd8pv2l
      @user-pb1xd8pv2l 2 года назад

      Not to mention Linux is a wholly corporate venture and that's exactly why you have "Nvidia, FUCK YOU" attitude. You beg the corporations you openly hate for better support. Lol. And you want them to do it all open source. It's the reason Linux remains only useful for large corporations that can hire dozens of developers to make the code actually good and also for soothing autism flare-ups in people that think a computer dick size comparison means something. Do you purposely disable Plymouth so you can see the kernel boot??? WOW you're so much more FREE than me .... I'm jealous

    • @spaghettiking653
      @spaghettiking653 2 года назад +2

      @@user-pb1xd8pv2l Not much I can do about my proprietary CPU, and as far as I'm aware, there's very little alternative in the way of open hardware to begin with. Sure, I could go out of my way to get an M1, but then wrangle with the process of removing macOS - nothing inherently wrong with it, of course, no one's gonna tell you you can't use your own hardware and software however you like. There is nothing wrong with your approach. But macOS sure as shit ain't to my liking, and for the same reason I wasn't able to purchase an AMD chip in distaste of Intel's pride and anticonsumerism, I feel that using any other chipset, on top of running Linux, will make an unbearable amount of software simply unrunnable, as far too much of it is architecture- and chipset-dependent. And for the record, I have built my own kernel, though not for the purposes of watching CSAM, but just to patch out the shitload of bloatware that ships with a generalised kernel. Even still, that kernel is dramatically less bloated than Windows, for chromeOS and macOS I cannot say; at any rate, the point is not that you need Julian Assange level system knowledge to modify your own system, I'm just saying it allows you more leverage over its appearance, function, etc. because it isn't maintained by a corporation that wants to impose its one-size-fits-all approach onto all users. More power to you if you want to use those operating systems, but I don't consider my use of Linux to be a "losing war", to be honest. The difference so far has been basically negligible; I'm just using my computer without blessing several multi-billion dollar corporations with the benefaction of my precious, precious data. Specifically, Google and Microsoft. What goes on on the hardware level is beyond my control and financial capabilities; I ain't gonna shell out another several hundred just to "free" myself from one proprietary hurdle into another. It's not like governments will listen, but I still think it's possible to at least show corporations their place: you can already see the effect on Facebook stock when Apple implements a "do not track" button, and consciousness about privacy is growing tremendously as it is anyway.
      With regard to security, I don't see how there's particularly much difference between a default Linux installation and a Mac one, considering neither is especially prone to mainstream malware, which primarily targets Windows a priori to capitalise on its colossal userbase. If any system is more likely to be hacked, it's the one which is closed-source, shut off for inspection by the audit of the public, allowing absolutely no one to augment its security with a simple open-source patch. Only hackers can benefit from closed-source, as they only have to contend with the proprietor's security team, not the entire FOSS public. For desktop use, I'd imagine Mac, Linux, ChromeOS, etc. to be all the same, no? Why should one be dramatically more secure than another?
      On the whole though, I do agree we probably think the same on many points. Pleasure to talk to someone with an actually meaningful and critical opinion.

  • @arcadiosincero
    @arcadiosincero 2 года назад

    I've set up KVM with GPU passthrough before. It was a challenge (mainly due to my motherboard), but once I got it working, it was really impressive. For VM server farms, I recommend going with Proxmox rather than using virt-manager to manage the VMs.

    • @genkiferal7178
      @genkiferal7178 2 года назад

      I hae two PCs - my better one has an Nvidia GPU, but the weaker PC has a OEM GPU, but possible not enough space on my SSD (only 120GB) to run more than one or two small VMs (already have Virtual Box on both, so tried).
      Which PC will be easiest to first try out KVM on? Installing the GPU has the worst tech experience I've ever had, so ruining that set up might kill me.

    • @arcadiosincero
      @arcadiosincero 2 года назад +2

      @@genkiferal7178Are the GPUs on each PC integrated on the motherboard or are they discrete video cards? Generally speaking, discrete video cards would be easier to get working with PCI passthrough than integrated GPUs. This has to do with the fact that you don't actually pass individual devices through to the VM, but in groups called IOMMU groups. Any device in the IOMMU group that is being passed through to the VM will no longer be visible to the host. This becomes a problem if a device essential to the operation of the PC is in the IOMMU group being passed in (for example, the memory controller). Discrete video cards will most likely be placed in an IOMMU group that isn't in the same group as an essential device.
      Note that any PC you try this on will need to have at least two video cards. Because, like I already mentioned, any device you passthrough to the VM will become invisible to the host. So you need one video card that will be the one that is passed through to the VM, and another for operation of the host PC.

  • @jammyjellyfish5112
    @jammyjellyfish5112 2 года назад

    Easy to follow along and detailed instructions! Liked and subscribed :D

  • @Lilly24244
    @Lilly24244 2 года назад

    Much more based indeed. GPU passthrough and virtualization support for different CPU architectures.

  • @Cristina-dv5ij
    @Cristina-dv5ij 2 года назад

    Just read the title, but will obey. Keep the good content, man 👊

  • @pyramidplunder8650
    @pyramidplunder8650 2 года назад

    good timing i was about to install virtual box to play around with a few linux distros before switching to it from windows

  • @ВасилБонев-р1ю
    @ВасилБонев-р1ю 2 года назад +1

    Last year I did a Single GPU passthrough so I can play Apex Legends. It was't as easy but I finally managed to do it within a week or so (there was no way of me not playing that game). I will list some of the weird things I went through if there is a chance of helping someone with the same problems. 1) I was stuck with maximum of 2 CPU threads for my VM or it would crash .If you are using a B550 mobo you may need to update the BIOS. This should unlock virtualization options which you should then enable(This was the most frustrating part since I had to figure it out myself and there is no info ot the web for that) 2) The only way I could get audio was from the GPU through the DisplayPort/HDMI and my monitor 3) If you are using a NVIDIA GPU you may need to download your GPU's ROM and modify it with a hex editor to remove the NVIDIA headers from the rom and then flash your GPU with it. Great resources: Pavol Elsig youtube channel and VFIO discord channel.

  • @PublyoRaymundo
    @PublyoRaymundo 2 года назад +1

    Right, I agree QEMU/KVM is much much faster than VirtualBox, as expected!
    One is a Type 1 Hypervisor, the other is a Type 2 Hypervisor...
    Now, make a video about how easy / hard is to forward a port from the host to the VM (using NAT network) in each one.

  • @sunnyleung7118
    @sunnyleung7118 2 года назад +1

    Took a while to remove anti-virus from the ISO with NTLite and setting up Samba for file sharing, works fine after all.

  • @astralchan
    @astralchan 2 года назад +1

    For those not getting the virt-manager tool after emerging it on Gentoo (virt-manager: command not found) - make sure you enable to gtk USE flag at least for virt-manager. ^^