ARM64 Mac and CEF

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

ARM64 Mac and CEF

Postby GilanTC » Sat Aug 01, 2020 4:23 pm

I have programmed for 40 years, but with the program that we make I am in tech support, and not one of the developers. I do still have a developer account with Apple, and I have an ARM64 Mac mini. The developers have another one, and the hope is to get the program at least running through Rosetta 2, and then native at some point. I have questions, one of which may be naive!

The blocker at the moment is CEF, we use a lot of web views. Bypassing those shows that the app runs well with Rosetta 2, for all other functions. With a CEF that worked we could get by with doing nothing for Rosetta 2 support, and then spend more time on native support.

A few weeks ago Chromium added in the patch that at least allows it to work in Rosetta 2. Even so, Chrome 84 fails to load pages, and Chrome Canary 86 crashes, as does the latest Mac Chromium.

There was a post that said that the patch to allow 16 bit pages had been successfully tested in the CEF sample app, but that app still fails for me.

So, two questions, the second one is the naive one.

1. Will there soon be a Rosetta 2 compatible CEF that our developers can compile against? Not with the intention of shipping with that version, but it would let us try native improvements without being stuck on the web views. That does suggest another question, if any part of an app needs Rosetta 2, is the rest of the app also running through Rosetta 2?

2. I see there are ARM64 Linux builds. Do those in any way help towards making an ARM64 A12 build of CEF?
GilanTC
Newbie
 
Posts: 2
Joined: Sat Aug 01, 2020 3:57 pm

Re: ARM64 Mac and CEF

Postby magreenblatt » Sat Aug 01, 2020 5:56 pm

See https://bitbucket.org/chromiumembedded/ ... t-on-arm64. You will need to build CEF with the necessary Chromium patch applied.
magreenblatt
Site Admin
 
Posts: 10171
Joined: Fri May 29, 2009 6:57 pm

Re: ARM64 Mac and CEF

Postby magreenblatt » Sat Aug 01, 2020 9:00 pm

if any part of an app needs Rosetta 2, is the rest of the app also running through Rosetta 2?

A binary will be ARM64 or x64. Depending on how your application is structured it may be possible to have both (e.g. by launching an executable as a separate process), but generally it will all be one or the other.
magreenblatt
Site Admin
 
Posts: 10171
Joined: Fri May 29, 2009 6:57 pm

Re: ARM64 Mac and CEF

Postby GilanTC » Mon Aug 03, 2020 3:53 pm

Thanks for the replies, I will get the developer to check out the Chromium options in a CEF build.
GilanTC
Newbie
 
Posts: 2
Joined: Sat Aug 01, 2020 3:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 38 guests