Live data from Hacker News

ARM64 Linux Workstation

jasoneckert.github.io

71–80 of 493 posts

Re: ARM64 Linux Workstation

#71

> Is there anything that doesn’t work? > To quote Hamlet, Act 3, Scene 3, Line 87: “No.” > Everything works… and works perfectly. That is impressive and really hard to believe! I guess I'll have to find an M1 mac Mini to try myself!

It's not obvious if you skim the post, but they mention getting the Mini in the first paragraph, but later mention they got a tricked out mac studio. so just be aware the fawning notes are about the Studio, not the Mini (although the mini does rock I love it)

Re: ARM64 Linux Workstation

#72
post #50

Earlier quoted context omitted.

That's the cost for 10x the memory bandwidth of the Ryzen 7950x.

That's... comically untrue. The Playstation 5 has faster memory than the M1 (448gb/s vs 200), and it was manufactured by AMD before Zen 3 or Apple Silicon even shipped. Dual-channel DDR5 should smoke the LPDDR4X in Apple Silicon in terms of memory bandwidth.

How so?

Memory bandwidth (peak, not stream)

  Ryzen 7950x =  84GB/sec #  128 bit wide ddr5-5200
  M1 =           66GB/sec #  128 bit wide ddr5-4800
  M2 =          100GB/sec #  128 bit wide ddr5-6400
  M1/M2 Pro =   200GB/sec #  256 bit wide
  M1/M2 Max =   400GB/sec #  512 bit wide
  M1 Ultra  =   800GB/sec # 1024 bit wide, m2 ultra not out
800GB/sec / 84 = 9.5. Although the ARM64 has a more relaxed memory ordering and generally you see a greater fraction of peak in the real world. Also Mac's default to a 16kb page, which helps the TLB with random workloads. Memory bandwidth is part of why the Apple iGPU does so well when compared to Intel and AMDs best iGPUs. Similarly the improved memory system is why the PS5 and XboxX does so well on games.

Sadly AMD is reserved the improved memory system for the XboxX and PS5. Both AMD and Intel limit laptops and normal desktops (except for the expensive HEDT segment like the Threadripper) to 128 wide memory.

Re: ARM64 Linux Workstation

#73
post #49

Forgive a bit of ignorance on my end; does Asahi have x86_64 emulation? It would be cool to play Linux Steam games on Arm.

you can copy over rosetta2 but it's not there by default (i.e. you need to dual boot mac into a linux vm with rosetta2 mounted than you can copy the rosetta2 binary)

Re: ARM64 Linux Workstation

#74

Imho the only relevant parts left are: Sleep (which is being tackled right now), USB-C Extra displays (Also WIP) and Hardware Decode for video.

and audio and screen brightness at least...those don't work on my M2 setup.

> and audio...

Overall tip for anyone using Linux and having issues with audio... USB Audio is magical and works wonder. I never bother with the computer's in-board sound: it's USB Audio immediately through a DAC. Works fine. Apple sells $10 USB-C-to-3.5mmjack DAC which are basically a tiny cable (for anyone lamenting it's "too bulky" to have a full-on DAC next to their laptop).

For desktops: problem doesn't even register. Just bypass the audio components on your motherboard and use a proper DAC.

As an added bonus computers are particularly electrically noisy and a DAC is a great way to do away with all that the noise.

So my advice: just use a DAC with Linux. Plug it in. Marvel at "dmesg" showing "USB Audio" and enjoy quality sound.

Re: ARM64 Linux Workstation

#75

Are these ARM64 Mac using ECC? P.S: the 3440x1440 screenshot in TFA looks gorgeous on my system. Everything is using subpixel AA (terminals, code editor, browser, except for the URL, for whatever reason) but not the file manager. I wonder why that is.

Agreed, a 1080p or 1440p screen with good pixel-sharp graphics (which Mac OS does not provide, leaving you with blurry anti-aliasing) is all you need. 4K resolution is overkill.

Re: ARM64 Linux Workstation

#77

is the super fast speed mainly due to Linux the OS? is there benchmark done to compare to MacOS? with most recent hardware and 128GB memory I would expect things will run naturally faster no matter what and Linux might not be the key deciding factor. I'm a Linux user, considering to get a M2 Mac Mini these days, and probably load Linux, even better and if possible, dual-boot as I do need MacOS to run some ios apps on…

I think OP is just saying it’s a very fast/snappy experience, independently (as in the hardware). Not that Linux is necessarily more performant than macOS.

Re: ARM64 Linux Workstation

#78
post #16

Asahi Linux is amazing and pretty usable at this point. However, last I tried I couldn't get stuff like Slack and Spotify to work on it because there are no Arm packages for those. Has anyone found a way around that?

Use the web versions?

The web version of spotify doesn't work on my m2 air in either chromium or firefox. The Spotify website errors with: "Playback of protected content is not enabled."

Slack works just fine from the browser on Asahi though.

Re: ARM64 Linux Workstation

#79

That's really impressive! That said, I really wish someone other than Apple would release something like an ARM64 NUC, with good Linux compat. Even something on par with the SD Gen 2 should be plenty to run a desktop day to day.

I'm not trying to invalidate your specific use case, but in general, there's not really any practical difference between ARM64 and x86 for desktop use. ARM is generally perceived as being more power efficient, but the latest x86 mobile processors from AMD (and probably also Intel) are very efficient. The Apple M series does have very tightly coupled RAM and onboard ML & video encode accelerators, but when it comes to…

btw. my m1 mac barely goes over 40 w TOTAL power (whole machine) heck watching prime video my total power is at ~10w total power. trust me no matter which ryzen/intel processer you will never be as low as 10w total power.

I'm pretty sure the biggest intel/amd desktopn cpu is faster than a m1 pro/ultra, m2 pro/ultra but there is no amd64 processer with the same efficiency than the m1/m2 macs.

Re: ARM64 Linux Workstation

#80
> Everything works… and works perfectly. All the hardware (Bluetooth, audio, HDMI, USB, 10G Ethernet, WiFi, and GPU) performs flawlessly with the drivers created by the Asahi team this past year, and there isn’t a single piece of software I want or need that doesn’t run beautifully in Asahi on this system.

So I am expecting everything from proper GPU acceleration, power management and sleep to the Touch ID keyboard to be 100% working perfectly fine, all guaranteed then?

Post reply on HN