News for hackers. Stuff that matters.
Re:OpenGL 3.1 on Asahi Linux by viraptor on Tuesday June 06, 2023 @10:26AM (#36213309)
> I'd be seeing fraction of the performance and capability

You'd temporarily lose some hardware support (documented) while it's being worked on. But I'm not sure why you expect losing performance? This is running native code. Same binary will run the same on both systems (+/- the llvm version differences).

Re:OpenGL 3.1 on Asahi Linux by zamadatix on Tuesday June 06, 2023 @10:32AM (#36213406)
E.g. the performance you can get out of the GPU at the moment is a subset of what you can get out of the hardware. Or as another more generic example, until this latest release CPU boost states weren't enabled due to lack of proper cpuidle driver which resulted in regressed single thread performance.

There is nothing inherent about running Linux that will require it be slower, in some cases it will/is even faster, but the lack of everything being fully supported does actually impact performance right now. It has been getting better with time.

Re:OpenGL 3.1 on Asahi Linux by rowanG077 on Tuesday June 06, 2023 @10:54AM (#36213752)
Even with the regressed performance it beat osx in a ton of workloads.
Re:OpenGL 3.1 on Asahi Linux by kytazo on Tuesday June 06, 2023 @10:58AM (#36213839)
CPU wise at least its been on par if not better from its first days. At least this is what the various benchmarks at the time showed.

Makes you wonder about how the rest of the system components will compare when they're finished.

Re:OpenGL 3.1 on Asahi Linux by hedora on Tuesday June 06, 2023 @03:05PM (#36217581)
Has anyone tried Steam under Linux? It's quite bad under MacOS (2016 casual games stutter, and there is no 32 bit support).

I know rosetta doesn't exist under Linux, but I don't see any options to run steam / proton under rosetta either.

Re:OpenGL 3.1 on Asahi Linux by viraptor on Tuesday June 06, 2023 @05:27PM (#36219336)
> Has anyone tried Steam under Linux?

Through FEX, yes https://vt.social/@lina/110068264684987710

> I know rosetta doesn't exist under Linux

It does these days! https://developer.apple.com/documentation/virtualization/run...

Re:OpenGL 3.1 on Asahi Linux by nightski on Tuesday June 06, 2023 @10:31AM (#36213391)
Specifically GPU drivers, which can dramatically impact performance. Especially if I am attempting to run any kind of ML workload from Linux. I'm assuming it's basically a non-starter at this point and one is forced to use Mac OS.
Re:OpenGL 3.1 on Asahi Linux by viraptor on Tuesday June 06, 2023 @10:37AM (#36213492)
Yes. I put that in the capability rather than performance basket though. As in, you can't access the compute shaders yet, rather than: you can and they're slower.
Re:OpenGL 3.1 on Asahi Linux by Timon3 on Tuesday June 06, 2023 @10:52AM (#36213726)
Does the CPU run at similar frequencies between Mac OS and Linux (since they're writing their own drivers this isn't guaranteed)? Is the scheduling done similarly? Are there any special hardware modes you have to activate with e.g. binary blobs?

There are a bunch of factors that could affect performance even under the same OS (try underclocking your CPU or play around with schedulers). Given the mostly non-existent documentation from Apple I'd strongly suspect that average-case performance will stay worse on the Linux side for a long time.

Re:OpenGL 3.1 on Asahi Linux by hedora on Tuesday June 06, 2023 @03:02PM (#36217530)
The currently top-rated top-level HN comment goes into those details. This release significantly improves CPU power management, to the point where it should be similar to MacOS.

Some of this stuff is handled by binary blobs that get installed/upgraded by MacOS, and are running by the time Linux boots.

With the previous release, power per watt and absolute performance were already better than high-end x86 laptops, so if your question is "is this faster and more power efficient than my other Linux laptop?", the answer is probably yes.

If you're asking if it will beat MacOS's perf/watt in all scenarios, the answer will be no for a long time. However, it is probably already beating MacOS in many practical scenarios.

Re:OpenGL 3.1 on Asahi Linux by MBCook on Tuesday June 06, 2023 @09:46PM (#36221747)
Right. Everything I’ve seen implies they’re both using the hardware the same way (no “limp mode” or such).

Linux tends to be faster because the kernel is just far better optimized than Apple’s appears to be. Massive sums of money (and person hours) have been spent speeding up Linux networking, file systems, scheduling, etc. and it was all sent back to mainline.

Apple’s kernel team can’t possibly compete based on resources alone. They do their best but MS, Google, Amazon, Redhat, and so many others are constantly improving Linux to squeeze out every last drop of performance.

So in many ways Linux is better optimized. I remember one of the developers posting a few weeks ago about just how much faster code compilation was under Linux, because the file system layer is so much better. It was like 6x or something. Sort of an accidental ideal benchmark for stressing that.

But you won’t be disappointed.