Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bundle swiftshader and ANGLE libraries on mac #18870

Merged
merged 2 commits into from
Jun 20, 2019

Conversation

nornagon
Copy link
Member

Description of Change

Fixes #18639. Not sure what exactly caused this to start breaking now, but these libraries appeared in https://chromium-review.googlesource.com/c/chromium/src/+/955949/ and got enabled by default on mac here https://chromium-review.googlesource.com/c/chromium/src/+/1005017/. The call during gpu process startup that was causing this crash was added here https://chromium-review.googlesource.com/c/chromium/src/+/1599993.

Checklist

Release Notes

Notes: Fixed crash when starting with --disable-gpu.

@nornagon nornagon requested a review from codebytere June 18, 2019 23:57
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 18, 2019
@nornagon
Copy link
Member Author

I think this supersedes #18778

Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -677,8 +722,10 @@ if (is_mac) {
":electron_lib",
]
deps = [
":electron_angle_library",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to isolate these in targets like electron_angle_library, electron_swiftshader_library ? Can't they be combined into electron_framework_libraries ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just copy/pasted this from content_shell. Left it the same because that was easiest 🤷‍♂

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 20, 2019
@codebytere codebytere merged commit 23286fe into master Jun 20, 2019
@release-clerk
Copy link

release-clerk bot commented Jun 20, 2019

Release Notes Persisted

Fixed crash when starting with --disable-gpu.

@codebytere codebytere deleted the mac-bundle-swiftshader-binaries branch June 20, 2019 01:15
@trop
Copy link
Contributor

trop bot commented Jun 20, 2019

I was unable to backport this PR to "6-0-x" cleanly;
you will need to perform this backport manually.

@codebytere
Copy link
Member

@nornagon can you please backport this to 6?

@trop
Copy link
Contributor

trop bot commented Jun 20, 2019

A maintainer has manually backported this PR to "6-0-x", please check out #18904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consistent crash when hardware acceleration is disabled
5 participants