Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 5y ago · link · parent

> hybrid memory subsystem comprising four HBM2E memory stacks as well as four or six regular DDR5 memory channels

YES! That's what I wanted to see happen.. I'm surprised AMD wasn't first to do this, considering their history with HBM GPUs.

comment 5y ago · link · parent

CAD doesn't really use GPU power, only a basic viewport that any integrated potato can render. Related simulation stuff (CFD, FEM) can be done with GPU compute but it seems that CPU is usually good enough.

Probably the most critical usage of GPUs is scientific simulations for biology/medicine, climate, space, etc.

comment 5y ago · link · parent

In the "zap pram" days, you could get an Open Firmware prompt :)

comment 5y ago · link · parent

Well, they did everything on purpose… with the purpose of satisfying business constraints – shipping a shiny end product within the deadline, and nothing else.

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

> PCs that store UEFI variables on the SSD

Which PCs do that? Where do they store, on the ESP?

comment 5y ago · link · parent

grrr why are they introducing guard {} blocks? Would not want an extra level of {block} just for this.

__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

Memory safety is not about what a language has. It's about all the things a language doesn't have, doesn't allow.

comment 5y ago · link · parent

From [1]:

> 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

SBSA-compliant systems boot with UEFI+ACPI. Server customers care about standardization, so boot was made "boring" and basically identical to x86.

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

Raw EDK2 doesn't really need variables at all (in fact if you use it as a coreboot payload, persistentce is not implemented whatsoever, at least as of.. some time ago).

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

You are describing specifically "embedded junk" (which includes the M1, sorry Apple) not literally "anything ARM based". SBSA-compliant platforms boot with UEFI+ACPI, using fully generic DSDT descriptions for PCIe (ECAM) and USB (XHCI). Speaking of GPUs, quite common for them to have QEMU in firmware to run the x86-compiled EFI GOP driver straight from the card's ROM and get video output before the OS.

comment 5y ago · link · parent

> can build world in about 130% of the time of a 32-core Ampere EMAG

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

Of course, but the way they use it makes no sense.

comment 5y ago · link · parent

My favorite is the GPU paragraph:

> 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

It definitely does, in my PC right now. Why wouldn't it? Not downgrading would probably be an egregious violation of PCIe specs. PCIe is built to work no matter the restrictions. You can connect an x16 gen4 GPU via an adapter to an x1 gen2 miniPCIe slot and it will work.

comment 5y ago · link · parent

Only if you care deeply about always having the latest data, rather than just consistent data.

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

No, xf86 naming is still there, but you're kinda misunderstanding what a driver is. These xf86 things are tiny pieces for the xorg server. (Irrelevant with Wayland, obviously.) The real "meat" of the driver is in two places: Mesa and the kernel. The kernel module is the hard part. You can install the higher level parts without it, they just won't be useful. You can have the xf86 thing, and libdrm_nouveau, and Mesa dri_nouveau, they don't even require any porting, but they're absolutely useless without the kernel driver, they wouldn't have anything to talk to.

comment 5y ago · link · parent

Plus Intel X520 goes for a similar price, I think older Chelsio cards too

comment 5y ago · link · parent

> if you want to use ROCm on AMD GPUs, your PCIe complex needs to support "PCIe atomics"

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

Personally: because it makes porting to new CPU architectures hell. (The Go assembler is the worst!) I've abandoned the FreeBSD/arm64 port and two other people had to pick it up to finish it.

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

They won't be native but of course they just work via xwayland

comment 5y ago · link · parent

TeamViewer/AnyDesk/VNC is not "remote windowing", it's "remote access" to a whole desktop. And that's easily available for the wlroots ecosystem https://github.com/any1/wayvnc

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

"Syscall interface" is what most people mean by "$SYSTEM's ABI"

comment 5y ago · link · parent

If your software corrupts data when it's killed, it's honestly not very good software.

I kinda wish "proper shutdown" was never invented at all. That would've motivated so many developers to care about reliability much more :P

comment 5y ago · link · parent

I don't think Nouveau ever was ported before. I actually tried it myself (unsuccessfully). Kind of a painful codebase.

> 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

Now do this on FreeBSD too.

comment 5y ago · link · parent

Default configurations – without tampering by corporate admins – are of course immune.

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.

comment 5y ago · link · parent

I'm pretty sure this is the very first one though — WDS250G2X0C, firmware 101110WD.

comment 5y ago · link · parent

How would a model-specific driver for something that speaks NVMe even work? Is it for Linux? Is it open? Is it just modifications to the stock Linux NVMe driver that take some drive specifics into account? Or is it some stupid proprietary NVMe stack?
1
202122
97