-
Notifications
You must be signed in to change notification settings - Fork 528
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
Installation on Mac OS fails due to libvulkan not being code signed #167
Comments
The readme suggests |
Yes, that is what I did, but this led to the problems I described above. I hope somebody more Mac savvy will come by this issue and give some clue to what the solution might be. |
@terhechte Thanks, that did work. @Kethku, it is probably worthwhile to link this comment in the README for mac os x. |
I'm able to do this when running cargo run, but not when trying to click on the executable from a release build. That just crashes for me atm. |
It worked for me on Mac OS Mojave 10.14.6 using the vulkan sdk installer from lunarg. I know it's not ideal, but it seems to work. |
I can't test this right now, but could you try right-clicking the executable and then saying "open"? |
Yeah same thing. I installed the Vulkin sdk with |
@terhechte adding it to the readme. I will watch this issue for future developments. Thanks so much for the investigation! |
There is some talk about way we can switch to a library agnostic system which should remove the vulkan dependency for macos. May take a bit though |
That would be? OpenGL? That is even more broken on macOS from what I have heard, Apple wants to push the Metal API. And OpenGL is hit and miss on Windows + very dependent on the driver that is running on that system. There is a reason why all major Browser Developer bundle ANGLE for WebGL Support on Windows. |
We're looking at wgpu |
Which has targets for directx, vulkan, and metal. Its still preliminary. Conversation is happening here: https://gitter.im/neovide/community |
If you want to keep using Vulkan there's MoltenVK for macOS, which is an implementation of the Vulcan API on top of Metal |
Very interesting. Is it a drop in replacement? When installed does it run normally or do I have to add explicit support to my app somehow? |
Ah its a for pay product. That kinda disqualifies it |
It's license is Apache 2.0. But it is not a drop-in replacement though. I'll try what @baileyn did on my machine. Maybe Neovide could be statically linked against Vulkan, at least for macOS. |
This is well outside my area of knowledge. If someone wanted to attempt something like that is greatly appreciate it Sent with GitHawk |
I'm trying to do it, but I haven't been successful. @baileyn could you describe what you did, please? I would like to try that on my machine |
I'm sorry. All I did was download the latest SDK for Mac from lunarg. After that, I just compiled again with It's possible our issues were slightly different? |
I just pushed an opengl backend to the main branch. Would folks struggling with this issue be willing to try it? |
Does anyone have an idea of why I may be getting this error?
|
That is a very strange error. Is it possible a debugger is trying to attach? I'm guessing thats hiding the actual error... |
@Kethku "I just pushed an opengl backend to the main branch. Would folks struggling with this issue be willing to try it?" Does that mean we don't need Vulkan anymore? (I have had issues installing it on my system) |
@reportaman yes. Unfortunately there were some issues. This code is now held in the opengl branch. |
I think this has been fixed in main. Please reopen if you come back to this and the issue remains. |
Following the installation instructions in the README, everything installs and builds correctly, but running the binary opens a warning window from Mac OS
Canceling this opens three other windows for other Vulkan libraries. The program does not start.
Is that a known issue? I could not find an explanation on how to correctly install Vulkan on Mac with code signed binaries.
Os: Mac OS Catalina 10.15.2
The text was updated successfully, but these errors were encountered: