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

wpigui: Simulator GUI launches and crashes on Apple Silicon through Rosetta 2 due to GLFW Cocoa Error (patched in updated GLFW) #3321

Closed
richiksc opened this issue Apr 29, 2021 · 3 comments
Labels

Comments

@richiksc
Copy link

Describe the bug
The WPI Simulator GUI will launch and the window will open but then it will crash quickly.

To Reproduce
Steps to reproduce the behavior:

  1. Run ./gradlew simulateJava
  2. GUI opens and crashes
  3. Run generated gradlew_simulateJava.sh shell script
  4. View log output
HAL Extensions: Attempting to load: libhalsim_gui
Simulator GUI Initializing.
GLFW Error 65544: Cocoa: Failed to find service port for display
Simulator GUI Initialized!

Expected behavior
Simulator launches and stays open.

Desktop (please complete the following information):

  • OS: macOS 11.2 Big Sur, aarch64 (M1)
  • Java version 15.0.1, x64

Additional context
After some quick googling, it looks like this issue was patched in glfw/glfw#1833. GLFW version 3.3.3+ should have the fix.

@prateekma
Copy link
Member

Closed in #3344

@richiksc
Copy link
Author

Any chance this could get released in a 2021 update release? Would be very beneficial to have for this season.

@prateekma
Copy link
Member

It is unlikely that we will do another 2021 release, especially given that we need to create separate branches and tag those (and we haven't tested the Actions infrastructure on branches). It was an unsupported platform for 2021 and I hope you understand that. We are working hard to make sure that Apple Silicon Macs are supported for 2022.

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

No branches or pull requests

2 participants