Blender 3.0 macOS download defaults to Intel on M1 Mac #93614

Closed
opened 2021-12-03 21:41:42 +01:00 by Wouter Stomp · 28 comments

System Information
Operating system: macOS
Graphics card:

Blender Version
Broken: 3.0

Short description of error
When opening https://www.blender.org/download/ on my M1 Mac, the big download button defaults to downloading the intel version.
I don't know if M1 can be auto-detected from the browser, but otherwise there should be a choice which version to download in order not to limit performance.
Now the M1/silicon version is hidden away under 'Windows, Linux and other versions'.

**System Information** Operating system: macOS Graphics card: **Blender Version** Broken: 3.0 **Short description of error** When opening https://www.blender.org/download/ on my `M1 Mac`, the big download button defaults to downloading the intel version. I don't know if `M1` can be auto-detected from the browser, but otherwise there should be a choice which version to download in order not to limit performance. Now the `M1/silicon` version is hidden away under 'Windows, Linux and other versions'.
Author

Added subscriber: @blenderrocket

Added subscriber: @blenderrocket

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm,
I would say this has high priority as the hype with the 3.0 release is high at the moment.

I can confirm, I would say this has high priority as the hype with the 3.0 release is high at the moment.

Added subscriber: @Memento

Added subscriber: @Memento

Added subscribers: @brecht, @fsiddi, @dfelinto

Added subscribers: @brecht, @fsiddi, @dfelinto

There is no straightforward way to do this with the tools we have at the moment.

One of the alternative is to pack the intel and the M1 builds togeter (steam requires a similar solution even).

I'm moving this as known issue for now.

There is no straightforward way to do this with the tools we have at the moment. One of the alternative is to pack the intel and the M1 builds togeter (steam requires a similar solution even). I'm moving this as known issue for now.

There's no way to detect which platform we are on from the browser as far as I'm aware, though offering the choice should be possible.

There's no way to detect which platform we are on from the browser as far as I'm aware, though offering the choice should be possible.

Added subscriber: @ankitm

Added subscriber: @ankitm

One of the alternative is to pack the intel and the M1 builds togeter

And double the download size ?

There is no straightforward way to do this with the tools we have at the moment.

Many apps that support m1 and intel chips show a popup with two buttons. Sure autodetection might be flaky. VLC does it though. code

Also don't see why tag platform macOS.. builds are fine. It's the website that's broken.

> One of the alternative is to pack the intel and the M1 builds togeter And double the download size ? > There is no straightforward way to do this with the tools we have at the moment. Many apps that support m1 and intel chips show a popup with two buttons. Sure autodetection might be flaky. VLC does it though. [code](https://code.videolan.org/VideoLAN.org/websites/-/blob/master/www.videolan.org/include/os-specific.php#L90) Also don't see why tag platform macOS.. builds are fine. It's the website that's broken.

Also don't see why tag platform macOS.. builds are fine. It's the website that's broken.

I expect the platform maintainers to be the ultimate authority when it comes to what we can/cannot do for problems like this. Even if web may fall a bit outside of their expertise.

Besides, once/if we find a solution for this we will need help from the platform maintainers for testing.

> Also don't see why tag platform macOS.. builds are fine. It's the website that's broken. I expect the platform maintainers to be the ultimate authority when it comes to what we can/cannot do for problems like this. Even if web may fall a bit outside of their expertise. Besides, once/if we find a solution for this we will need help from the platform maintainers for testing.

Added subscriber: @2046411367

Added subscriber: @2046411367
Author

If no easy solution exists, maybe intel and silicon version download buttons can be shown both next to each other when visiting from a Mac (instead of one of them being hidden under windows, linux and other versions)?

If no easy solution exists, maybe intel and silicon version download buttons can be shown both next to each other when visiting from a Mac (instead of one of them being hidden under windows, linux and other versions)?
Pablo Vazquez self-assigned this 2022-03-22 11:41:56 +01:00

I'll look into it, it's purely a website issue of exposing either one or both.

I'll look into it, it's purely a website issue of exposing either one or both.

Added subscriber: @Nurb2Kea

Added subscriber: @Nurb2Kea

To check for the OS and OS version you could use some of those sites,
for example to check the ip location or javascript.
You'll get the info like this:
Screen Shot 2022-03-22 at 1.58.02 pm.jpg
Screen Shot 2022-03-22 at 1.50.22 pm.jpg

example ip and javascipt checker sites:
https://browserleaks.com/javascript
https://www.top10vpn.com/tools/what-is-my-ip/

All you need is those scripts to check, and implement it into blender.org

To check for the OS and OS version you could use some of those sites, for example to check the ip location or javascript. You'll get the info like this: ![Screen Shot 2022-03-22 at 1.58.02 pm.jpg](https://archive.blender.org/developer/F12939966/Screen_Shot_2022-03-22_at_1.58.02_pm.jpg) ![Screen Shot 2022-03-22 at 1.50.22 pm.jpg](https://archive.blender.org/developer/F12939968/Screen_Shot_2022-03-22_at_1.50.22_pm.jpg) example ip and javascipt checker sites: https://browserleaks.com/javascript https://www.top10vpn.com/tools/what-is-my-ip/ All you need is those scripts to check, and implement it into blender.org
Author

According to Pablo on the YouTube channel it should work now, however for me it still defaults to intel (on Safari on a M1 MacBook Pro).

According to Pablo on the YouTube channel it should work now, however for me it still defaults to intel (on Safari on a M1 MacBook Pro).

I've tested it on a MacBook Pro M1 (2021 I believe) and it seemed to work. But I also got someone mentioning a Mac Mini M1 2020 wasn't picking it up.

Anybody reading this on M1 hardware could you please run this snippet of javascript and tell me what's the result/agent?

This will list your browser, graphics card model and drivers (in my case, using NVIDIA on Linux). As you can see the code is super simple just looks for Apple or Apple GPU in the renderername of a WebGL canvas. So perhaps it's simple to fix by adding more exceptions.

If we don't get this to work properly I'll just expose both buttons. It doesn't look great but it's functional.

Thanks!


Update: Asked on Twitter and it seems that Chrome/Firefox show properly macos-apple-silicon but Safari doesn't, interesting!

I've tested it on a MacBook Pro M1 (2021 I believe) and it seemed to work. But I also got someone mentioning a Mac Mini M1 2020 wasn't picking it up. Anybody reading this on M1 hardware could you please run [this snippet of javascript ](https://jsfiddle.net/kxwenbov/4/) and tell me what's the result/agent? This will list your browser, graphics card model and drivers (in my case, using NVIDIA on Linux). As you can see the code is super simple just looks for `Apple` or `Apple GPU` in the `renderername` of a WebGL canvas. So perhaps it's simple to fix by adding more exceptions. If we don't get this to work properly I'll just expose both buttons. It doesn't look great but it's functional. Thanks! ---- Update: Asked on [Twitter](https://twitter.com/BlenderToday/status/1514188610991538177) and it seems that Chrome/Firefox show properly `macos-apple-silicon` but Safari doesn't, interesting!
Author

Result (in Safari):

OS: macos
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15
WebGL Renderer: Apple GPU

And in Chrome:

OS: macos-apple-silicon
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
WebGL Renderer: ANGLE (Apple, Apple M1 Max, OpenGL 4.1)

And indeed in chrome I get the correct download button, while safari defaults to intel.

Result (in Safari): OS: macos Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15 WebGL Renderer: Apple GPU And in Chrome: OS: macos-apple-silicon Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36 WebGL Renderer: ANGLE (Apple, Apple M1 Max, OpenGL 4.1) And indeed in chrome I get the correct download button, while safari defaults to intel.

I guess adding a check for the Apple GPU renderername should be fine then?

Not sure about just Apple, that may end up detecting too much.

I guess adding a check for the `Apple GPU` renderername should be fine then? Not sure about just `Apple`, that may end up detecting too much.

This issue was referenced by cb5013fc56

This issue was referenced by cb5013fc56aadd2e4426640ac813669b9e89ebaf

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Finally managed to get access to a M1 machine. Seems that Safari detected it as Apple GPU and Chrome as Apple M1 Max, so I ended up fixing it by checking for either a match of either (renderername.match(/Apple M/) || renderername.match(/Apple GPU/)) . This should keep us covered for a while.

Cache is a bit strong on blender.org so you may need to force refresh to see the change immediately.

Thanks everyone for your help tackling this.

Finally managed to get access to a M1 machine. Seems that Safari detected it as `Apple GPU` and Chrome as `Apple M1 Max`, so I ended up fixing it by checking for either a match of either `(renderername.match(/Apple M/) || renderername.match(/Apple GPU/)) `. This should keep us covered for a while. Cache is a bit strong on blender.org so you may need to force refresh to see the change immediately. Thanks everyone for your help tackling this.

Added subscriber: @Michael-Jones

Added subscriber: @Michael-Jones

@pablovazquez , @brecht , now on my x86_64 MacBook Pro I am served the arm64 build of Blender when downloading from Safari. To get a working Intel build I need to explicitly go into the "other versions" menu.

@pablovazquez , @brecht , now on my x86_64 MacBook Pro I am served the arm64 build of Blender when downloading from Safari. To get a working Intel build I need to explicitly go into the "other versions" menu.

@Michael-Jones, indeed, I flagged that as a high priority task in blender/blender#100710 (macOS download defaults to Apple Silicon on Intel machine) a few days ago.

@Michael-Jones, indeed, I flagged that as a high priority task in blender/blender#100710 (macOS download defaults to Apple Silicon on Intel machine) a few days ago.

Added subscriber: @floppytits

Added subscriber: @floppytits

hey I was trying to download blender on my apple MacBook Pro m1 today. when I was trying to download the software from safari it gave me the intel and silicon option. when I clicked the silicon option it would automatically download the intel version. the only way to get around that was to download it from google chrome. not sure what's going on but thought id share the info that its still not working.

hey I was trying to download blender on my apple MacBook Pro m1 today. when I was trying to download the software from safari it gave me the intel and silicon option. when I clicked the silicon option it would automatically download the intel version. the only way to get around that was to download it from google chrome. not sure what's going on but thought id share the info that its still not working.
Sign in to join this conversation.
No description provided.