Props to Fabrice Bellard. He's responsible for QEMU, FFmpeg, TCC and he's working on a new compression algo called nncp.
@groos34492 жыл бұрын
This guy is insane, I couldn't believe when I heard that QEMU and FFmpeg had the same creator
@swarajya.552 жыл бұрын
@@groos3449 yeah man. Big props
@egoworks56112 жыл бұрын
@@groos3449 agreed
@SoLDMG2 жыл бұрын
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.
@echoptic7752 жыл бұрын
Yeah hes awesome. I think he also made quick js
@joshuafountain2 жыл бұрын
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.
@emberavenge71622 жыл бұрын
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..
@completelyretarded2 жыл бұрын
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
@bestledisthe2 жыл бұрын
@@completelyretarded yes
@MrHombreLaser2 жыл бұрын
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.
@valethemajor2 жыл бұрын
Any good guide buddy? I'd like the same.
@yoyoyogames95272 жыл бұрын
literally tried it out today for the first time, never using virtualbox again :D
@Martin_Then2 жыл бұрын
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!
@Sunnywastakentoo2 жыл бұрын
That’s how it starts. I hope your interest grows into a skill set or hobby that gives your life meaning.
@justahumanwithamask40892 жыл бұрын
I was running windows when i started watching his videos and about 1 year later I eventually switched.
@Saka_Mulia2 жыл бұрын
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.
@1yaz2 жыл бұрын
@@Saka_Mulia commenting on a video about machine virtualization. Could use hyper-v (unless home edition) or install virtualbox to tinker with Linux 💡
@SergeantExtreme2 жыл бұрын
@@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.
@mukyumukyun2 жыл бұрын
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
@drishalballaney65902 жыл бұрын
ironically the virt-manager client is written in python (correct me if I am wrong)
@JayXdbX2 жыл бұрын
Jokes on you! I call compiled C code from my python code!
@adrian78562 жыл бұрын
Is it? I always thought it was because of junk code from pre-defined methods
@WizardNumberNext2 жыл бұрын
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
@eideticex2 жыл бұрын
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.
@mjbezuidenhout11122 жыл бұрын
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.
@spliftube2 жыл бұрын
You should be able to do it with any VMM, just set port forwarding on ssh
@rjhornsby2 жыл бұрын
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.
@mjbezuidenhout11122 жыл бұрын
@@rjhornsby yeah, it's quite seamless on virt-manager. Open the right ports and set up SSH with public key Auth. Just werks
@All3me12 жыл бұрын
So I can build a virtualization server Access it with vnc and manage the vms with the setup from the video
@kermitdafrog89 ай бұрын
Is there a tutorial on this somewhere?
@calva89512 жыл бұрын
I've been learning more about virtualization lately. Interesting topic; looking forward to hearing more about it from you in this video.
@aninnymoose7202 жыл бұрын
it's revolutionary!!....15 years ago
@gdst172 жыл бұрын
@@aninnymoose720 Still a pretty cool concept, though, even if it's been along for a pretty long time.
@1yaz2 жыл бұрын
@@aninnymoose720 IBM released VM/370 in 1972.
@Ethorbit2 жыл бұрын
@@aninnymoose720 Yeah, but to be fair it has improved sooo much since then.
@fairlyfactual4512 жыл бұрын
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!
@sahar12132 ай бұрын
Same, with a KVM GPU passthrough Windows 10 VM, I was suprised that it runs with near bare-metal performance
@CandyCaneChris2 жыл бұрын
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.
@AcidiFy5742 жыл бұрын
Any tutorials on that ??
@justsomenamelesssoul80972 жыл бұрын
I encourage you to pirate windows anyway
@frapooch2 жыл бұрын
@@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?
@galindomenafrancisco31872 жыл бұрын
@@frapooch They get your data, pirated or not. Paying for being tracked is just a plus for them
@0xfeedcafe2 жыл бұрын
@@user-ic5nv8lj9d No malware in there, you can see the source code and they even explain how it works
@rightwingsafetysquad98722 жыл бұрын
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.
@miigon91172 жыл бұрын
Interesting🤔. Does the existence of kvm and hyperv prevent virtualbox from utilizing VT-x or?
@lawrencedoliveiro91042 жыл бұрын
KVM isn’t something you “install”, it’s just another standard capability of the Linux kernel.
@rightwingsafetysquad98722 жыл бұрын
@@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.
@buckeyefan97462 жыл бұрын
There is no penalty to having them installed, VirtualBox only bogs down when running both at the same time
@rightwingsafetysquad98722 жыл бұрын
@@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.
@algoreshouldhavewon89952 жыл бұрын
5 days no post. The feds got him ☹️.
@everypizza10 ай бұрын
rip
@xrafter6 ай бұрын
@@everypizza Glowies got him :(
@anirbanbose69966 ай бұрын
Lol@@xrafter
@BorisPushkin-rq2hm5 ай бұрын
@@anirbanbose6996 kek
@prinnydood79202 ай бұрын
@@xrafter LMAO 🤣 hooo
@usuallyclueless44772 жыл бұрын
For most others (using systemd), the commands are: sudo systemctl restart libvirtd sudo systemctl enable libvirtd
@user-sf9gs2pg1b Жыл бұрын
Thanks ;-;
@jimmyjazz34892 жыл бұрын
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.
@katrinabukava5288 Жыл бұрын
Great note to add! Thx for commenting
@streeterville773 Жыл бұрын
PITA....but possible?
@ubermind-tim10 ай бұрын
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.
@tonnentonie27672 жыл бұрын
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.
@arian65652 жыл бұрын
You can do that tho
@gkukull2 жыл бұрын
There is several different ways to do multiseat on linux, the arch wiki has a guide on xorg multiseat.
@bloodaid2 жыл бұрын
You can. You can even split a single GPU into multiple smaller virtual GPU's.
@nuclearbomb94832 жыл бұрын
@@gkukull of course it's the arch wiki
@tonnentonie27672 жыл бұрын
@@gkukull you can? I thought Nvidia forbid it.
@hopelessdecoy Жыл бұрын
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!
@CMDRSweeper2 жыл бұрын
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.
@bloxyfenifawx62242 жыл бұрын
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.552 жыл бұрын
Why do you use windows? ew
@rawhide_kobayashi2 жыл бұрын
you can forward remote x applications to windows natively with putty and vcxsrv... other applications are available.
@CMDRSweeper2 жыл бұрын
@@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_kobayashi2 жыл бұрын
@@CMDRSweeper I haven't personally done it, but supposedly it's possible to do with cygwin/x as well.
@boogiehasfun7 ай бұрын
having a threadripper and using arch. this man is in the top 10 of the computer nerds leaderboard
@degenincel3 ай бұрын
What's the other 9?
@FunkyDeleriousPriest2 жыл бұрын
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.
@darianalexander55032 жыл бұрын
As someone who built an entire separate x86 system to serve as a ZFS based NAS, I that is kind of impressive to me.
@josephkelly48932 жыл бұрын
I love the flex when your Sysinfo pops up in the terminal. Rip those threads my bro. So much memory. Peace
@heinrichagrippa56816 ай бұрын
"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.
@KuleGuy275 ай бұрын
Dude has 128GB of ram, he's just like Mutahar .
@MrGamelover23 Жыл бұрын
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.
@alexaltaccount78124 ай бұрын
proxmox
@caleb71602 жыл бұрын
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.
@snowcloudshinobi2 жыл бұрын
when the world needed him most... he vanished.
@aldebaran0_2 жыл бұрын
hyper-v is pretty nice aswell but obv linux is the better option if you want to reduce the glow
@_e6212 жыл бұрын
yep hyper-V is good same with VMware
@rightwingsafetysquad98722 жыл бұрын
The primary maintainer of KVM is Red Hat, which is owned by IBM. If IBM doesn't glow, no one does.
@aldebaran0_2 жыл бұрын
@@rightwingsafetysquad9872 well yea but you actually have the option to audit it unlike hyper-v lmao
@genkiferal71782 жыл бұрын
@@rightwingsafetysquad9872 yeah, I was sad to read that. They bought KVM from another company, too, so that makes it even more suspicious.
Thank you very much, I was looking for this comment.
@sumduck55802 жыл бұрын
thank you so much
@jimmyneutron129 Жыл бұрын
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
@youtube.user.12342 жыл бұрын
Today I got my first nvidia gpu and I was so excited... until I woke up and realized it’s a dream 💀
@notafbihoneypot84872 жыл бұрын
I have one 4 u Just send me your CC and your mom's phone number
@entelin2 жыл бұрын
AMD on linux is a better choice. NVidia's linux drivers suck.
@georgewbush152 Жыл бұрын
>we'll give our virtual machine a little bit of ram >32 gigabytes
@Rexen19952 жыл бұрын
My subscription to this channel pays itself 1.000 times over with every upload. Thanks.
@spliftube2 жыл бұрын
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.
@Xenotypic2 жыл бұрын
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.
@mkerimi2 жыл бұрын
Agreed
@hehe42069-k2 жыл бұрын
+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
@pokemastercool2 жыл бұрын
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.
@dream1x8552 жыл бұрын
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
@fallahacker1222 жыл бұрын
Yo MO you all good G? Been a while
@thaddeuscleo59202 жыл бұрын
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
@larsolav2 жыл бұрын
Then the video would be 2 hours long.
@Neko-san2 жыл бұрын
You didn't post any video in a week already... is everything okay?
@Xtrems2 жыл бұрын
Finally, a comprehensive up to date visual guide for this
@tsugek1232 жыл бұрын
Welp you posted this while I was trying to make vbox work so I guess I'm switching over now
@sexkiro2 жыл бұрын
Nice
@234ne142 жыл бұрын
Thanks M.O.! I was out of doing any Virtual Machine for years, its a good news update!
@thomrl2 жыл бұрын
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_Builder2 жыл бұрын
@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.
@doigt65902 жыл бұрын
Dual Booting is still the best option my friend.
@Fighter_Builder2 жыл бұрын
@@doigt6590 Agreed.
@genkiferal71782 жыл бұрын
@@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).
@macaronivirus59132 жыл бұрын
I didn't know about "sudo !!" thing, thanks
@sebastianarrieta96782 жыл бұрын
The 4chan party van got him
@sebastianarrieta96782 жыл бұрын
@Aristotelis Sifakis i do
@seanpaul70692 жыл бұрын
One of your best tutorials and very well explained. Thank you Sir.
@BackwardSabotage4 ай бұрын
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.
@jacopocomparin2 жыл бұрын
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🔥
@miigon91172 жыл бұрын
Currently using kvm and passing through a GTX1070ti just for gaming. Performance is great, you almost can't tell it's virtual machine.
@trasker67442 жыл бұрын
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
@miigon91172 жыл бұрын
@@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.
@miigon91172 жыл бұрын
@@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.
@Flika-ul9tl2 жыл бұрын
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.
@genkiferal71782 жыл бұрын
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.
@eramorn2 жыл бұрын
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 Жыл бұрын
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
@iCQ_www.SPCL.tk_2 жыл бұрын
Qemu... Using it for years... Super smooth and neat 😎
@laggisch2 жыл бұрын
pls a video on the war.
@marc-andreservant2012 жыл бұрын
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.
@4444kik2 жыл бұрын
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.
@HyperMario642 жыл бұрын
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.
@milankovacevic32872 жыл бұрын
You can try single gpu passthrough, it is working for me, i used risingprism guide. If you're interested check it out 😉
@4444kik2 жыл бұрын
@@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.
@danny50352 жыл бұрын
also no drag and drop files :(
@Lilly242442 жыл бұрын
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.
@kartibok0012 жыл бұрын
Been on it for three weeks now. Never looked back after almost 17 years on VMWare and VirtualBox variants.
@JEAPI_DEV2 жыл бұрын
Good video and great tip but I just wanna let u know that there are 1000 other methods to install it without confusing beginners
@Chuck85412 жыл бұрын
Yeah, I’m a noob, and have been considering switching, and five minutes into this I was like, NO THANK YOU! lol
@gingerbeargames2 жыл бұрын
thanks for finally giving me the motivation to get this set up, been meaning to do it for months.
@arieloq2 жыл бұрын
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.
@wesselvanleeuwen73002 жыл бұрын
Honestly, these settings is exactly what I was looking for yesterday lmao.
@navaneeth61572 жыл бұрын
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_2 жыл бұрын
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
@TheFrantic52 жыл бұрын
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.
@navaneeth61572 жыл бұрын
@@TheFrantic5 What is that option called? Filesystem?
@TheFrantic52 жыл бұрын
@@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.
@anthonyobryan34852 жыл бұрын
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.
@therealgiant8 ай бұрын
Thanks for this to the point guide. I struggled to get it working before, but not anymore.
@terminalvelocity48582 жыл бұрын
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.
@officiallyjk4202 жыл бұрын
QEMU is amazing. Been using it to boot Kali and Windows on Pop!OS
@3evv_wastaken2 жыл бұрын
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.
@D00000T2 жыл бұрын
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
@akeem29832 жыл бұрын
@@D00000T Geometry Dash, Osu, Just shapes and Beats, Danmaku Unlimited and Touhou Project: ...
@D00000T2 жыл бұрын
@@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)
@battokizu2 жыл бұрын
@@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?
@akeem29832 жыл бұрын
@@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.
@fosres2 жыл бұрын
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.
@Biggestsonicfan2 жыл бұрын
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.
@entelin2 жыл бұрын
The normal way you would share files is via smb/nfs/ftp/ssh etc, VM's are no different.
@FireWyvern8702 жыл бұрын
Agreed, I need that folder sharing feature, makes it easier to share directory
@1yaz2 жыл бұрын
@@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?
@entelin2 жыл бұрын
@@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.
@smeqwack73372 жыл бұрын
do it like i do. basically virtually connect a usb stick between the main pc and the vm
@fgregerfeaxcwfeffece2 жыл бұрын
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.
@matthewriley70512 жыл бұрын
Hey Kenny, everything ok? Have the alphabet Bois got you yet?
@maxtheo2 жыл бұрын
Just the video I wanted you to make right now. Thanks!
@josetobias80842 жыл бұрын
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.
@jaapaap1232 жыл бұрын
Well, it was first SUN Virtualbox, before obstacle bought them.
@genkiferal71782 жыл бұрын
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.
@AlaniNavaz2 жыл бұрын
this is perfect timing! I was just about to start reading up on qemu
@0xERM2 жыл бұрын
Cool and useful video. Nothing more, just felt that a single like didn’t do it justice.
@skrubz92822 жыл бұрын
Perfect timing! I was about to search for a qemu Tutorial
@Rustytoaster182 жыл бұрын
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.2 жыл бұрын
why not use vs directly in linux? is there any particular reason? just asking out of curiosity btw.
@cheeseisgud73112 жыл бұрын
Visual studio currently doesn't work well on wine
@groos34492 жыл бұрын
@@woland. visual studio doesn't have a linux version
@TorutheRedFox2 жыл бұрын
@@groos3449 there's also the annoyance that's targeting a different platform
@Rustytoaster182 жыл бұрын
@@groos3449 I am in a database programming course and am making windows forms apps with MSsql Server
@bsatyam2 жыл бұрын
I never used Virtualbox to begin with, always found virt-manager to be much more user friendly and straightforward.
@CarlosRamirez-gv9sk2 жыл бұрын
at this point, we need to archive his videos for posterity
@DigitalLiquid2 жыл бұрын
Good idea! Although Odysee is your friend too!
@nacswapzz2 жыл бұрын
this video comes right in time for the windows login mandate
@JamesWilson012 жыл бұрын
Nearly the same gaming performance as native Windows? I can't believe it. Sounds virtually impossible 🤔
@perseo100002 жыл бұрын
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.
@JamesWilson012 жыл бұрын
@@perseo10000 It was meant as a bad joke ("virtually"😬) but your reply was actually interesting, thanks!
@tux_the_astronaut2 жыл бұрын
Also for some distros to install kvm u just open your software repo store and download the virt manager and the store will do all the installation work for you
@kilgoreT0102 жыл бұрын
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
@CharlieBoy3602 жыл бұрын
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.
@battokizu2 жыл бұрын
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.
@sexkiro2 жыл бұрын
Finally, an alternative. I never got virtualbox to work properly with my nvidia gpu
@detriminer2 жыл бұрын
VMware workstation is good
@HarrySManback2 жыл бұрын
GPU passthrough can be difficult but once you get it, you got it. Seriously, QEMU KVM is SO much better.
@Linklay2 жыл бұрын
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.
@Biggestsonicfan2 жыл бұрын
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.
@Linklay2 жыл бұрын
@@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.
@importprogram2 жыл бұрын
Yeah KVM is fantastic, and Cockpit tbh is also fantastic for a web interface too, but GPU pass-through can be rough. Recently picked up a 6600xt for doing a Windows vm but after much setup code 43 will ruin your day. I will get it to work one day, soon hopefully!
@RusherDevelopment2 жыл бұрын
notification squad
@CodeTitan2 жыл бұрын
😎
@svenbjorn9700 Жыл бұрын
wtf I just watch your regular videos, didn't realize my win10 KVM tutorial was also by you :o
@nemonada35012 жыл бұрын
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.
@aninnymoose7202 жыл бұрын
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 😉
@aninnymoose7202 жыл бұрын
i worded that oddly. Technically it's the lowest number not the maximum, but nvm...
@entelin2 жыл бұрын
@@aninnymoose720 I think you are confused as to the OP's question.
@jammyjellyfish51122 жыл бұрын
Easy to follow along and detailed instructions! Liked and subscribed :D
@tomashlavinka74152 жыл бұрын
I'll be the first one to say it: This is sadly way too complicated for me.
@maxz69Ай бұрын
Same
@Cristina-dv5ij2 жыл бұрын
Just read the title, but will obey. Keep the good content, man 👊
@user-pb1xd8pv2l2 жыл бұрын
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
@spaghettiking6532 жыл бұрын
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-pb1xd8pv2l2 жыл бұрын
@@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-pb1xd8pv2l2 жыл бұрын
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
@spaghettiking6532 жыл бұрын
@@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.
@muhdzafri75512 жыл бұрын
Lmao I thought why hasn’t Kenny move to QEMU yet? He even gave us a tutorial, thank you!
@brianhayes11052 жыл бұрын
Awesome, on Artix myself. Gonna do this. Keep making great content! 👍🏽
@TheDigitizedSignPainter2 жыл бұрын
Fascinating! Thank you for sharing this knowledge with us!
@bobsock87189 ай бұрын
watched other videos and understood nothing. thank you so much. i thought it's much harder to do it
@thookie1182 жыл бұрын
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.
@MasterHigure Жыл бұрын
I have just bought a used game from 2001 for nostalgia reasons. It's coming in the mail the next few days. Preliminary research leads me to believe the DRM makes it un-Wineable (although the Wine-wiki entry is from Wine version 3.13), so VM is the next option. This one looks promising, although considering it's a 2 decades old win98 game, VirtualBox is probably gonna be good enough if I can't make this work.
@shinnou12 жыл бұрын
Oh man... so many ideas to try out in this thread. Thanks!
@dictatorship74132 жыл бұрын
Dude. I have literally watched your old video about this about a month ago and started virtualizing like this. Thank you.
@nabarunr32 жыл бұрын
What is this uncanny coincidence? I've just started using QEMU/KVM on my Garuda Linux, for the first time, YESTERDAY and then this comes up. (And KZbin algorithm did nothing here, I follow Kenny for a long time)
@pyramidplunder86502 жыл бұрын
good timing i was about to install virtual box to play around with a few linux distros before switching to it from windows
@ducky16812 жыл бұрын
8:11 "And then we'll give our VM a LITTLE BIT of RAM" *Proceeds to give the VM 32GB of RAM*