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

JBR-5063 macOS: SIGILL at [libsystem_kernel] __kill in java.lang.IllegalStateException: Error - unable to initialize Metal after recreation of graphics device. Cannot load metal library... #404

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

avu
Copy link
Collaborator

@avu avu commented Jun 11, 2024

Add fallback to MTLCreateSystemDefaultDevice for main display

…galStateException: Error - unable to initialize Metal after recreation of graphics device. Cannot load metal library...

Add fallback to MTLCreateSystemDefaultDevice for main display
@avu avu requested a review from YaaZ June 11, 2024 18:36
Copy link
Member

@YaaZ YaaZ left a comment

Choose a reason for hiding this comment

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

LGTM, but in the future I think we need to respond to CGDisplayRegisterReconfigurationCallback events directly for adding/removing displays, like it's done in Wayland toolkit. I'm sure this way it will be way more robust.

@avu avu merged commit 9bdcf32 into jbr21 Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants