this post was submitted on 23 Jul 2023
45 points (100.0% liked)

Technology

59298 readers
6261 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

This seems like the final technology in containing and categorizing different PC uses into different virtual machines, while still having good feel even in contained things. If set up right you can have a seamless experience tabbing between a host system and virtual system, and you can do whatever you can normally do in either one! Wanna use linux, but Discord hardly works and you like to play Halo too much to figure out how to dodge it's anti-~~linux~~cheat system? Now you can switch to linux and just run a single script to pull up a fully gaming capable (near bare metal performance) windows system right inside a linux system. Idk about y'all but as far as cool technology to talk about in here goes... this definitely fits for me. I feel like if more people knew this was something you could do relatively easily (if you enjoy tinkering with your OS) with MOST consumer Nvidia cards (20 series and older), Linux would've already passed 5%. What do y'all think about it? The ability to, off a single consumer CPU and GPU, host several acceptable, mid-performance, cloud accessible (or just virtually separate, locally accessible) PCs?

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

Discord hardly works

Wut? I use Discord in Linux (Nobara) and it works just fine, including activity detection and screen sharing. Sure, Discord on Linux had some limitations in the past, but that's no longer an issue, assuming you're using a decent gaming-optimised distro like Nobara.

Linux would've already passed 5%

Highly unlikely. The low market share is mainly because a) Linux does not come pre-installed on most computers - the vast majority of users just buy prebuilt computers and use whatever OS it came with and don't tinker with their systems and b) most people like to use whatever system they're familiar with and will not change unless they have a very very compelling reason for switching.

In fact the only reason why the marketshare jumped recently is thanks to Steam Deck. If we want Linux numbers to go up, we need more systems like the Steam Deck, and more companies like Valve to work with upstream kernel and other projects to implement much needed features and accelerate development efforts.

[–] [email protected] 2 points 1 year ago

Between the discord devs outright refusing to do any kind of sound capture for linux screen sharing for several years, many updates requiring you to manually download and install a fresh tarball instead of being automatically applied like on windows, and refusal to maintain any kind of package on most repositories, I'd say it doesn't properly support linux. I do like Nobara's version of it, whatever they've done (I haven't looked much into it but it definitely seems custom to Nobara, or at least Red hat) though.

And speaking purely from personal experience with no real way to verify statistically (so take this with a rather large grain of salt), there are a LOT of CS or CE major types that would love to switch to it, but will be faced with random tools that they need like microchip studio, or some particular CAD software, just not working at all. For those that I've talked with at any length, if they could spin up a VM that effectively fully works as if it's bare metal, including proper display out that matches the monitor, whenever they need those few specific things, they would switch. They may not be many compared to 100% of global internet users, but they could certainly make up for 2%.

That said I mostly agree that devices like the steam deck are where linux is gonna grow, I just think that it would be going faster if more devs were able to daily drive it and care more about it, instead of having to be stuck reliant on Windows

[–] [email protected] -1 points 1 year ago

On my Linux machine, I still can only get apps running on xwayland to show up in screen sharing. GUIs on Linux were a mistake, it’s a mess all around.

[–] [email protected] 4 points 1 year ago (1 children)

PCI/GPU Passthrough is amazing.

[–] [email protected] 3 points 1 year ago (1 children)

Close, but that's not what I mean. I mean SEAMLESS sharing, not playing tennis with it. Is it really so poorly known? Should I write up a little introduction to the parts of it that I'm familiar with?

[–] [email protected] 1 points 1 year ago (1 children)

It's relatively recent and support varies a lot from manufacturer to manufacturer. Although admittedly that is also true to an extent with GPU passthrough.

[–] [email protected] 1 points 1 year ago

Well at least for Nvidia, vGPU is a fully Enterprise tech for accomplishing splitting a GPU between a host and VMs. It also just so happens to work on all 20> series cards if you patch the driver :}

[–] [email protected] 2 points 1 year ago (1 children)

Can anyone tell me if GPU pass through is available for any of the mainstream VM tools like VirtualBox, VMware on ubuntu or windows host? Last I checked, it was not possible. Has anything changed?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

You can not just pass through, but share any^1^ gpu you like using HyperV. Yes it's Win10Pro, but there are pleeeeenty of ways to get it enabled/installed/supported on Home as well. Though if you have an Nvidia card 20 series or older, and you're willing to dive into linux as a dual boot, I'd say qemu/virt-manager is a pretty mainstream VM solution, and vGPU is also a good tech for the same purpose.

~1~ I'm not actually sure what the limits on hyperv are but it seems fairly robust. Don't quote me on it lol

[–] [email protected] 3 points 1 year ago (1 children)

Here is an alternative Piped link(s): https://piped.video/watch?v=ZQxEwC6lyco

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] [email protected] 2 points 1 year ago

Based, if I can, I will edit the original link to use piped

[–] [email protected] 2 points 1 year ago (1 children)

That would be awesome if we have seamless passthrough, let alone making a GPU be sharable across two or more VMs accessible to mainstream.

For now though its only available for enterprises, type 1 hypervisor and only for a limited set of hardware iirc.

[–] [email protected] 3 points 1 year ago

That's where you'd be wrong! I'm running it on my 1080ti right now. It can be hacked into working on just about any Nvidia card that's recent enough to want to use it. A bit of a community has ended up growing around a group that makes patches for the official vGPU drivers, along with merge scripts, to give the hypervisor the ability to retain regular function (accelerated display out through the DP/HDMIs), while also fooling the vGPU part of the driver into thinking the random consumer card is supported. Unfortunately locked down on 30 series and newer :(, but it's still a VERY cool use for a card like the 1080ti that has become VERY cheap

[–] [email protected] 1 points 1 year ago (3 children)

Why would anyone running Linux even have an Nvidia card?

[–] [email protected] 10 points 1 year ago

Some people can’t afford to immediately buy an amd card when they switch to Linux

[–] [email protected] 4 points 1 year ago

Because I rely on cuda.

[–] [email protected] 2 points 1 year ago

Specifically to set up a system like the one I've finally got. A hypervisor that retains its own display capabilities, while being able to share the full GPU (though only set portions of VRAM) freely and on demand, with a VM. We can shit on Nvidia all we'd like for a lot of stuff, but vGPU works really well, even on cards it isn't meant to support LOL

load more comments
view more: next ›