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

[BUG] Failed to create window on MacOS #143

Closed
flomero opened this issue Oct 21, 2024 · 3 comments
Closed

[BUG] Failed to create window on MacOS #143

flomero opened this issue Oct 21, 2024 · 3 comments
Assignees
Labels
Bug Something isn't working or should get fixed

Comments

@flomero
Copy link

flomero commented Oct 21, 2024

Describe the bug
v2.4.0 doesn't work on MacOS. calling mlx_init returns NULL and mlx_errno is set to "Failed to create window".

this bug was introduced with the release of v2.4.0, earlier versions work fine.

after looking into it, i think it's caused by the deletion of the following line here in #142

glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

adding that back in fixes the issue

Desktop:

  • OS: MacOS
  • Version: Catalina 10.15.7
@W2Wizard
Copy link
Collaborator

Oof! That's weird, thought the tests would fail guess not? Let me fix this super fast.

@W2Wizard W2Wizard self-assigned this Oct 21, 2024
@W2Wizard W2Wizard added the Bug Something isn't working or should get fixed label Oct 21, 2024
@W2Wizard
Copy link
Collaborator

W2Wizard commented Oct 21, 2024

Weirdly enough at least on my M3, it worked before as well. I don't have a catalina mac availble to me atm.

If you can confirm to me that master works, i'll push out a release. Wish CI would support Catalina but monterey is oldest they support.

image

@flomero
Copy link
Author

flomero commented Oct 21, 2024

Master works now, thanks :D
we are still using Catalina Macs in Heilbronn Campus (but soon™️ switching to Linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working or should get fixed
Projects
None yet
Development

No branches or pull requests

2 participants