- 7 Posts
- 36 Comments
vividspecter@aussie.zoneto Programming@programming.dev•AccuWeather to discontinue free access to Core Weather API47·3 days agoUS only I suspect, and likely to be gutted by the Trump administration.
vividspecter@aussie.zoneto Programming@programming.dev•Can somebody explain the graphics stack? Vulkan, OpenGL, Magma, DirectX, SDL, Metal, Mesa, ... wat?2·3 days agoI’m not really an expert, but I’ll try and answer your questions one by one.
Don’t VMs have a virtual GPU with a driver for that GPU in the guest that, I imagine, forwards the graphics instructions and routines to the driver on the host?
Yes, this is what VirGL (OGL) and Venus (Vulkan) do. The latter works pretty well because Vulkan is more low level and better represents the underlying hardware so there is less of a performance overhead. However, this does mean you need to translate all APIs one by one, not just OGL and Vulkan, but also hardware decoding and encoding of videos, and compute, so it’s a fair amount of work.
Native contexts, in contrast, are basically the “real” host driver used in the guest, and they essentially pass through everything 1:1 to the host driver where the actual work is carried out. They aren’t really like virtualisation extensions as the hardware doesn’t need to support it AFAICT, just the drivers on both the host and the guest. There’s a presentation and slides on native contexts vs virgl/venus which may be helpful.
Where in that does Magma come in? My guess is that magma sits in the guest as the graphics driver and on the host before Mesa, but I know little about virtualisation outside of containers.
To be honest, I don’t fully understand the details either, but your interpretation seems more or less correct. From looking at the diagram on the MR it seems that it’s a layer between the userspace graphics driver and the native context (virtgpu) layer on the guest side, which in turn communicates with another Magma layer on the host, and finally passes data to the host GPU driver, which may be Mesa but could also be other drivers as long as they implement Magma.
The broader idea is to abstract implementation details, so applications and userspace drivers don’t need to know the native context implementation details (other than interfacing with Magma). And the native context layer doesn’t need to know which host gpu driver is being used, it just needs to interface with Magma.
vividspecter@aussie.zoneto Buildapc@lemmy.world•Rate my Build: Long time since a hardware upgrade, and finally making the jump to Linux7·4 days agoI’d probably get the 9070 XT over the 7080 XT, just for full performance FSR4 (there’s some compatibility with it on Linux, but it’s slower). Maybe even the non-XT model for the same reason.
I feel like you might be able to do better price wise on the RAM, although I’m not up to date on current prices for DDR5.
EDIT: I see you have an itx case, so maybe that limits your GPU options a bit.
vividspecter@aussie.zoneto Linux Gaming@lemmy.world•Linux Distros for Gaming: CachyOS is Taking over (ProtonDB data)English2·4 days agoThe sandboxing sometimes breaks applications or requires additional configuration. And I don’t like that it’s a separate thing I need to maintain, although some package managers pair main package updates etc together.
And as a NixOS user, I prefer to use nix to handle as much of my system as possible, although flatpak at least is useful as a fallback in a pinch. Of course, this is a niche within a niche and mainstream users, particularly those using immutable distros can and do benefit from flatpak.
vividspecter@aussie.zoneto World News@lemmy.world•‘Japanese First’ party emerges as election force with tough immigration talkEnglish23·6 days ago“Globalism” invariably means some sort of conspiracy theory, usually about Jews. Given this party are also anti-vaxxers, that’s the most plausible conclusion.
And a broader coalition among the rest of the Western countries including Europe and Australia/NZ etc makes more sense than duplicating effort in every country.
vividspecter@aussie.zoneto Programming@programming.dev•Can somebody explain the graphics stack? Vulkan, OpenGL, Magma, DirectX, SDL, Metal, Mesa, ... wat?6·8 days agoThe other points have been answered, so I’ll try and give a surface view of Magma. It’s basically an abstraction layer for virtual GPU drivers used in VMs. Currently, you need specific implementations to handle all of the pathways between different types of VM guests and hosts, which gets complicated fast, and duplicates a lot of work. The idea is the Magma abstracts this away, and so host and guest GPU drivers only need to interface with Magma. Which means you can swap out different host OSes/GPU drivers and different guest OSes and GPU drivers, and as long as they interface with Magma, they should “just work”.
Of course, whether it will work out that way in practice remains to be seen. I think Google is using it internally but it’s not in Mesa yet, so it may not even roll out widely. You can follow the MR if you want more detail or to see its progress.
If you’re wondering why Google is implementing this it appears to be for Fuschia and Android, and compatibility between those two and with desktop Linux, with Windows support also supported as an additional value add. Chromebooks in particular should benefit from this, since ChromeOS is being retired I believe.
And as an aside, unlike some of the traditional GPU implementations you’d find in VMs, these are or will be pretty much just the normal graphics driver that you’d use on the host. They are generally called “native contexts” and have been implemented for AMD and Intel at the least, but only on non-Windows systems for now. These implementations alone, once they are widely supported, should result in near native GPU performance in VMs, without having to use GPU passthrough (I.e. passing through a physical GPU to the VM guest). So even without Magma there’s some promising stuff happening, albeit mainly on the Linux host -> Linux guest pathway.
vividspecter@aussie.zoneto Leopards Ate My Face@lemmy.world•Texan Moved Fam to Russia to Flee Woke—Now He’s Headed to Ukraine Front LineEnglish13·8 days agoAnd even if they could, it wouldn’t save them, as being “one of the good ones” does nothing to prevent deportation or worse.
vividspecter@aussie.zoneto Technology@lemmy.world•OpenAI just launched its new ChatGPT Agent that can make as many as 1 complicated cupcake order per hour, but even Sam Altman says you probably shouldn't trust it for 'high-stakes uses'English181·9 days agoI’m guessing it’s the AI agent stuff. Which at the moment is literally just automating browsing through a website.
Apparently there will be APIs to do this in the future. Ironically, AI wouldn’t even be needed for that to be useful.
vividspecter@aussie.zoneOPto Linux Gaming@lemmy.world•More AMD FidelityFX Super Resolution 4 Improvements Land For Open-Source DriverEnglish4·9 days agoValve is one of the main contributors to the RADV Vulkan driver for AMD GPUs, and a bunch of other parts of Mesa and the open driver stack in general.
vividspecter@aussie.zoneOPto Linux Gaming@lemmy.world•More AMD FidelityFX Super Resolution 4 Improvements Land For Open-Source DriverEnglish5·10 days agoI should probably add that some of this work is on RDNA3 FSR4 support, which isn’t even supported on Windows. It’s not amazingly fast, but it’s now faster than native and that might be enough to make it worth it (especially in the cases where it improves image quality due to poor TAA implementations).
vividspecter@aussie.zoneto Selfhosted@lemmy.world•KDE Plasma Bigscreen (Android TV alternative) is back from deadEnglish3·10 days agompv supports Dolby vision (along with the Jellyfin clients that depend on it), but if you mean with streaming services, that’s unlikely to happen due to DRM.
vividspecter@aussie.zoneto Linux Gaming@lemmy.world•Ntsync x Fsync on Wayland - 5 games comparisonEnglish1·10 days agoIt’s main benefit is compatibility. As you said fsync is a hack and can cause issues with some games and applications.
The other benefit is more about packaging and the like, in that you won’t have to deal with third party patches. Not an issue if you’re using Proton but can be if you’re using vanilla Wine.
vividspecter@aussie.zoneto Fuck Cars@lemmy.world•🚨 New York City is holding a public hearing on Mayor Adams's controversial proposal to cap e-bike speed-limits at 15 mph. People can file a written comment until 5 p.m. 📢English133·13 days agoThis seems like a “why not both” situation. Limit e-bike speeds to those that are typical in most parts of the world and reduce city speed limits for cars to 20mph, and enforce it aggressively.
vividspecter@aussie.zoneto Ask Lemmy@lemmy.world•Is it just me, or does crime documentaries have a biased "pro-cop" vibe to it?7·13 days agoYoutube varies from genuinely good content, to generic filler, to complete and utter trash, and there is much of the latter two because it’s not curated by anyone (other than by algorithms).
Try “We Own This City” from David Simon, if you want a documentary on the police that isn’t propaganda.
Your kernel must be patched with ntsync patches. If your system does not have /dev/ntsync then your kernel does not have the patches required to use ntsync.
It might also be compiled as a module, but not loaded by default.
sudo modprobe ntsync
can be used to test this.
vividspecter@aussie.zoneto Linux Gaming@lemmy.world•Installed an Intel Arc B580 GPU todayEnglish1·19 days agoIntel provides solid Linux support, I’d say it’s probably on par with AMD.
I’d say in the long run yes, but they tend to be slower at adding features compared to AMD (which tends to be where all of the experimental stuff happens first). Or rather that AMD cards are often the first target for Mesa developers, which includes the likes of Valve.
vividspecter@aussie.zoneto Ask Lemmy@lemmy.world•What old technology are you surprised is still in use today?6·19 days agoI’m almost at the point where all of my connections are IPv6, but still hampered by my mobile provider (ironically, since IPv6 was generally adopted earlier on mobile in many countries).
vividspecter@aussie.zoneto Linux@programming.dev•Using ZRAM on a laptop with 8 GB RAM. Worth it or waste of CPU?31·19 days agoI go even further and set the proportion to 100%, since ZSTD compresses so well (and the % is based on uncompressed usage).
There are theoretically some cases where zram can be harmful, but in general I find it works reliably.
vividspecter@aussie.zoneto Linux Gaming@lemmy.world•lsfg-vk aims to bring Lossless Scaling's Frame Generation to LinuxEnglish8·19 days agoThis article on the repo is also an interesting read:
He also won re-election running as an independent, well after the rape charges were known and he was kicked out of his party and suspended from parliament. But that wasn’t enough for the people of his electorate to go: “Err maybe this rapist isn’t the best option to represent us.”