this post was submitted on 07 Feb 2024
54 points (86.5% liked)
Linux
46775 readers
1360 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wouldn’t recommend editing videos using a virtual machine, the performance will probably be quite miserable.
How noob am I, huh? Ty for the advice mate
Edit: zero irony here
The issue is that programs can't directly use your gpu when using a virtual machine
I guess you never heard of GPU Passthrough... https://github.com/bryansteiner/gpu-passthrough-tutorial/
GPU passthrough requires two GPUs, a system with compatible components, a lot of caffeine and a lot of patience. Not something for someone who wants something that just works.
It only requires it if you want the host to have a gpu, too. Otherwise, single-gpu passthrough is very much possible
The chasm between "possible" and "click this option to enable" is vast.
That's the case with proper hardware passthrough either way. Just wanted to make it clear that running a VM doesn't automatically bring the need for two GPUs
My experience with single GPU passthrough on Proxmox to a media VM was pretty positive, especially for it being an old Nvidia card. Even as someone doing it for the first time, it just took about 10 minutes to figure out the passthrough itself and another ~15 to figure out some driver issues. And it's worked perfectly since then. All in all much better than what I'd expected.
And your hardware supports it. It's still a recent-enough thing that not all hardware does. My old laptop with a 1070 nVidia does not, for example. Sure it's not a new machine, but it's also not that old and is the sort of thing a self-hoster would typically be using as a makeshift server. My other systems are even older...
The GPU I used is actually a 1080, with a (rapidly declining in usefulness) Intel 4690k. But I suppose laptop vs desktop can certainly make all the difference. What I really want is GPU virtualization, which I've heard AMD supports, but I'm not about to buy a new GPU when what I've got works fine.
My understanding is that it's a combination of GPU and motherboard. It'll be great once this has been done long enough that 10yr old hardware supports it though.
GPU virtualization I haven't heard of - thanks! I'll look into that.
What I said especially applies for single GPU passthrough, minus the two GPU part, I say that because I've done that on Desktop.
Single GPU passthrough (for me) was a journey of misery where a series of bash scripts with crude busyloop synchronization kept me from having no display output and needing to restart my system to test my changes again.
It's probably the last thing I'd recommend for someone who wants something that works, unless you know something I don't.
And integrated GPU counts, so you could use the integrated one for the host and a discrete card for the guest.
That's a really nice option, yeah. No need for the extra expense when the CPU you use or are going to buy has an iGPU anyway
Either he never heard of it or he decided he did not want to bother following the 200 page tutorial filled with fiddly bits.
OP probably doesn't have two GPUs in their computer.
I'm probably wrong, but isn't supposed to work if my CPU have a iGPU and I have a GPU? I genuinely ask, I'm not sure.
An iGPU counts as a GPU.
You don't need two.
His CPU has integrated graphics. He can do full passthrough.
Now, if he's doing that with a Type 2 hypervisor, I suspect the performance will still be lackluster for video editing, if it's even supported.
Which means he's also going to have to learn to use KVM.
Did OP mention a dedicated GPU? I'd assume a rather low end 2100GE wouldn't likely be paired with a dGPU.
I know this exists but from what I understand, OP is using VirtualBox, which doesn't support it and instead of going through the effort to set it up, you might as well just dual boot
Very useful tip for a linux newbie with a laptop which has only igpu.
He's also very clearly going to be running the vm with a Windows host... More likely than not that means virtualbox, not spending money on software / hardware that does it well and easily on windows just to test out... Truly the best option here for OP is dual boot.
Try to double your ram and if you don't have ssd, get one. Your cpu and gpu is powerful enough for light video editing. Also amd drivers are shipped in the Linux Kernel so you don't need to do anything for them.