5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 5y ago · link · parent
Probably the most critical usage of GPUs is scientific simulations for biology/medicine, climate, space, etc.
comment 5y ago · link · parent
So they quickly repurposed all the iDevice stuff, minimally expanding the boot process to be more open and general-purpose-computer-like.
They could've built the SoC differently (with standard Arm components – GIC, SMMU, PL011… – instead of custom ones), could've used UEFI+ACPI, storing the firmware on a typical SPI flash chip, and so on. But that was not done because that stuff doesn't do much for the business objectives of the company, since what's being marketed is the full experience with macOS, not an interoperable standard platform for your favorite Unix. And so they went the easy, lazy, proprietary way.
comment 5y ago · link · parent
__attribute__((cleanup)) gcc/clang extension already works without extra blocks. GLib has been using it for a while https://blogs.gnome.org/desrt/2015/01/30/g_autoptr/
comment 5y ago · link · parent
> ORC is Nim’s all-new cycle collector based on ARC. It can be considered a full-blown GC since it includes a local tracing phase (contrary to most other tracing GCs which do global tracing). ORC is what you should use when working with Nim’s async because it contains cycles that need to be dealt with.
Sooooo unless you
> disable the GC and do manual memory management, but then you lose access to most of the stdlib
you still have to run a memory-managing runtime
comment 5y ago · link · parent
It's just the embedded junk (which includes Apple) that doesn't care. Apple has vertical integration, they only care about the full experience including their own OS. Embedded SoC vendors only care about having some "BSP" fork of Linux because that is enough to make a crappy device with it. There's just, unfortunately, zero motivation for these vendors to embrace standards.
comment 5y ago · link · parent
Various crap bolted on by AMI and the OEMs… well, YMMV – remember these laptops where someone did rm -rf with mounted efivarfs on Linux and that bricked it because it just refused to boot without the variables :D
comment 5y ago · link · parent
comment 5y ago · link · parent
This says more about the eMAG than the M1, to be honest :D The APM X-Gene derived cores in the eMAG are far behind current cores from everyone else. The new Ampere Altra is using stock Arm Neoverse cores. (Which makes me wonder if all they got out of the APM acquisition was just one dead-end generation of product…)
> Is this fixed in either FreeBSD or Qemu at this point?
Not in FreeBSD for sure, as an obsessive commit watcher I can say I haven't seen any M1 quirks land.
> 2 different instructions on ARM to say "i'm idle, wake me up if something happens" (like x86 mwait), and Apple M1 uses one, while everybody else uses the other
Everybody should use both in different circumstances: https://community.arm.com/developer/ip-products/processors/f...
But according to Corellium's Linux work "the CPU tends to lose state" when using WFI for system idle: https://github.com/corellium/linux-m1/commit/b8ecd5924678f1c...
Not sure why this would have an impact on VM idling… (upd: yeah it's QEMU-side stuff, see other comments)
comment 5y ago · link · parent
> While NVIDIA would be technically possibly the best performance choice, issues arise with general attitude towards FOSS compatibilty. In any case we look and listen into NVIDIA and CUDA options, accelerating totally open documentation from NVIDIA's side. Also the NVIDIA's Jetson IoT and AI platform is researched for a compatibility with RISC-V architecture, ISA and FOSS
Uh, surely they don't mean the retro ISA bus, right? :D
On a more serious note if I could build a big (dGPU oriented) open laptop I would put an MXM slot in there, so that existing Radeon cards could be used.
comment 5y ago · link · parent
comment 5y ago · link · parent
I'm talking more along the lines of ZFS – I can always pull the plug without worrying about FS consistency, because the FS always goes between valid, consistent states atomically.
comment 5y ago · link · parent
comment 5y ago · link · parent
Not anymore, at least for Vega cards: https://github.com/RadeonOpenCompute/ROCm/issues/800#issueco...
> AMD's boards do, though!
No board support is required, this is on the SoC ("CPU") side, unless you're trying to connect the GPU via a chipset-side low-bandwidth slot.
Intel supports it since Haswell on desktop (and earlier in Xeons apparently), Marvell ThunderX2 and Mellanox BlueField support it, I'm pretty sure Ampere does too.
comment 5y ago · link · parent
But also: while it's stable, it's not public. IIRC, Go developers were told about this, but decided to ignore.
And of course: stop breaking LD_PRELOAD hooks :P
comment 5y ago · link · parent
But actually "remote windowing/apps" is even better supported, it's a universal proxy: https://gitlab.freedesktop.org/mstoeckl/waypipe Absolutely does not require any support from the core protocol.
comment 5y ago · link · parent
> usually some versions behind
Currently on 5.4-5.5, only Big Navi is not supported yet. With the state of the GPU market right now, we'll probably catch up before the prices on those become sane :D
Funnily enough, it's Intel that's slowing the updates down more than anything. amdgpu is rarely an early adopter of new Linux kernel API surface. i915 is very much one, all the time.
comment 5y ago · link · parent
Application layer developers are fighting corporate TLS interception with things like certificate pinning, not using the OS certificate store, making it harder to modify the app's certificate store. The goal is to heavily discourage corporations from breaking end-to-end security to spy on their employees.