News for hackers. Stuff that matters.
Re:Conformant OpenGL 4.6 on the M1 by marcodiego on Wednesday February 14, 2024 @01:28PM (#39373313)
"Unlike the vendor’s non-conformant 4.1 drivers, our open source Linux drivers are conformant to the latest OpenGL versions, finally promising broad compatibility with modern OpenGL workloads, like Blender, Ryujinx, and Citra."

Looks like apple silicon are currently the best hardware for running linux and linux is the best OS for apple silicon machines.

Re:Conformant OpenGL 4.6 on the M1 by Aurornis on Wednesday February 14, 2024 @01:38PM (#39373439)
> Looks like apple silicon are currently the best hardware for running linux and linux is the best OS for apple silicon machines

Blender has Metal support for Apple Silicon macs. The Metal API is better architected (largely due to being more modern and being developed with benefit of hindsight) so all things equal I'd pick the Metal version on Mac.

In case you missed it in the article, the M1 GPU does not natively support OpenGL 4.6. They had to emulate certain features. The blog post goes into some of the performance compromises that were necessary to make the full OpenGL emulation work properly. Absolutely a good compromise if you're on Linux and need to run a modern OpenGL app, but if your only goal is to run Blender as well as possible then you'd want to stick to macOS.

Ryujinx is a Nintendo Switch emulator. They added support for Apple Silicon Macs a couple years ago and have been improving since then: https://blog.ryujinx.org/the-impossible-port-macos/

Linux on Apple hardware has come a long way due to some incredible feats of engineering, but it's far from perfect. Calling it the "best OS for Apple Silicon" is a huuuuge reach.

It's great if you need to run Linux for day to day operations, though.

Re:Conformant OpenGL 4.6 on the M1 by galad87 on Wednesday February 14, 2024 @01:59PM (#39373687)
Right, Blender Cycles for example can run on Metal, but neither on OpenGL or Vulkan. So while it's nice to have a working OpenGL, it depends if your workflow requires OpenGL apps.
Re:Conformant OpenGL 4.6 on the M1 by vetinari on Wednesday February 14, 2024 @02:59PM (#39374466)
I would be very surprised, if Blender Cycles ever ran on top of OpenGL or Vulkan other than using OpenGL or Vulkan as a loader for compute shaders.

That's why it is running as CUDA/OptiX/HIP/oneAPI on Windows and Linux.

Re:Conformant OpenGL 4.6 on the M1 by johnbatch on Wednesday February 14, 2024 @02:05PM (#39373758)
Strange the article doesn't use the word "Apple" once, and instead awkwardly uses "the vendor" to refer to Apple.
Re:Conformant OpenGL 4.6 on the M1 by breather on Wednesday February 14, 2024 @02:21PM (#39373965)
It's inline with how the linux/floss community refers to hardware vendors in general, even if Apple is a unique case in many circumstances.
Re:Conformant OpenGL 4.6 on the M1 by doubled112 on Wednesday February 14, 2024 @06:55PM (#39377269)
Didn't CentOS use "the vendor" instead of RHEL like this too?
Re:Conformant OpenGL 4.6 on the M1 by sho_hn on Wednesday February 14, 2024 @01:39PM (#39373447)
I would love for my employer to support that config at work. We have quite lovely Linux dev laptops, but the battery life of the M1/M2 machines in the IT shop is definitely enticing, and Asahi Linux gets closer to MacOS in that regard than you might think given the relative maturity and optimization.
Re:Conformant OpenGL 4.6 on the M1 by eek2121 on Wednesday February 14, 2024 @05:28PM (#39376459)
It definitely isn’t ready for use as a daily driver. There are lots of bits missing (see below for an example) and power management isn’t great compared to macOS.
Re:Conformant OpenGL 4.6 on the M1 by rowanG077 on Thursday February 15, 2024 @12:15AM (#39379368)
How so? I'm daily driving it as my only machine since November.
Re:Conformant OpenGL 4.6 on the M1 by klausa on Thursday February 15, 2024 @02:32AM (#39380052)
You and I have very different work environments for you to be able to claim that microphones aren't essential for most people.
Re:Conformant OpenGL 4.6 on the M1 by rowanG077 on Thursday February 15, 2024 @07:56AM (#39382113)
I use a headset anyway. Build in microphones are really shitty so they are frowned upon at my job. (Although Apples has one of the best).
Re:Conformant OpenGL 4.6 on the M1 by specto on Wednesday February 14, 2024 @02:19PM (#39373948)
Still waiting for some hardware support and hardware video decoding.
Re:Conformant OpenGL 4.6 on the M1 by stirlo on Wednesday February 14, 2024 @03:08PM (#39374583)
Hardware video decoding is well on the way: https://github.com/eiln/avd
Re:Conformant OpenGL 4.6 on the M1 by vrodic on Wednesday February 14, 2024 @01:38PM (#39373442)
apparently a lot of hardware is still not properly supported, like speakers, microphones and energy saving
Re:Conformant OpenGL 4.6 on the M1 by acdha on Wednesday February 14, 2024 @02:08PM (#39373802)
Here’s the list of very detailed support status: speakers are generally supported but microphones are not. They have a driver for some energy savings but it has some rough edges.

https://github.com/AsahiLinux/docs/wiki/Feature-Support

Re:Conformant OpenGL 4.6 on the M1 by brucethemoose2 on Wednesday February 14, 2024 @02:14PM (#39373880)
And Sodium! (For minecraft)
Re:Conformant OpenGL 4.6 on the M1 by seba_dos1 on Wednesday February 14, 2024 @01:53PM (#39373616)
...and you came to that conclusion because of OpenGL 4.6 - something that several other platforms enjoyed under GNU/Linux with FLOSS drivers for more than half a decade now?
Re:Conformant OpenGL 4.6 on the M1 by tarruda on Wednesday February 14, 2024 @05:28PM (#39376457)
> Looks like apple silicon are currently the best hardware for running linux

I wonder if this effort to run Linux on apple silicon will continue if snapdragon X laptops become mainstream.

Re:Conformant OpenGL 4.6 on the M1 by seabrookmx on Thursday February 15, 2024 @03:23AM (#39380317)
I think it will. One of the main issues with desktop linux is still broad hardware support. Random crap like fingerprint readers or Wi-Fi cards still don't work on certain machines. By having a very constrained set of hardware options, it makes it a lot easier to support. The snapdragon devices are also starting way behind.. both the Surface X and Lenovo X13S snapdragon devices exist today but Linux support isn't close to Asahi.
Re:Conformant OpenGL 4.6 on the M1 by smoldesu on Thursday February 15, 2024 @12:33PM (#39385548)
> the Surface X and Lenovo X13S snapdragon devices exist today but Linux support isn't close to Asahi.

Is that necessarily true? When the X13S Snapdragon released I seem to remember it shipping with first-party Linux drivers for almost everything. Same goes for the Surface X actually.

Now, both of those devices definitely don't get the same attention Macs do, but they did ship day-and-date with decent Linux support. For example, the Adreno GPU that Qualcomm uses has upstream Mesa support for Vulkan and OpenGL. In many senses, Asahi isn't close to the vendor support those devices recieved.

Re:Conformant OpenGL 4.6 on the M1 by seabrookmx on Friday February 16, 2024 @08:48PM (#39405510)
> When the X13S Snapdragon released I seem to remember it shipping with first-party Linux drivers for almost everything

Nope. 2 years on there's still no webcam support for this device [1], though it is in a lot better place than it was on launch (not being able to boot at all on mainline).

The Surface Pro X still seems to be a long way off [2].

[1]: https://www.reddit.com/r/linuxhardware/comments/17tw6ag/anyo...

[2]: https://github.com/linux-surface/surface-pro-x/issues/7