-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cannot initialize GLFW3 #46
Comments
Hi @pwh124,
The previous conda recipe was not including the "core dependency tree" libraries, so for minimal installations (miniforge) this lead to missing libraries. I have updated the recipe, but I have not had a chance to test it yet. Alternatively, if the conda package is not yet fixed, building from source should work:
|
Hi @pwh124, |
Apologies for not checking up on this sooner. I have reinstalled gw v1.0.2 on a fresh server in a fresh mamba environment. I receive the same error:
|
OK thanks @pwh124. I will add some more debugging code to try and help resolve this. Thanks for your patience |
No worries! Happy to try to help run stuff to see if it works. |
Hi @pwh124, Your issue is slightly different though and occurs when creating a window. GLFW3 library indicates that it cannot detect any supported platform. I suspect this is because the correct X11 lib cannot be found, or perhaps you may be running a Wayland session? Happy to provide more details if needs be. |
Hi @pwh124, |
Hi @kcleal, Sorry for leaving this for a bit, but I had a use case i thought gw would be helpful with so I thought I'd try. I installed using conda as recommended (v1.1.4) and just tried to run
This has to be something very specific to our set up, but this was in a fresh conda env. Paul |
Hi @pwh124, GLFW seems to run into issues quite frequently when using remote connections using ssh X forwarding. It usually happens between Linux-MacOS connections. Another way to get GW to work over remote connections is to mount your remote data on your local machine using sshfs. There are some details in the documentation https://kcleal.github.io/gw/docs/guide/Remote.html, but basically allows GW to load data as though it is on your local machine and seems to work really well if you are able to set it up. If you are just using local data then the GLFW error is usually caused by outdated graphics drivers. |
No problem... yes, its the same as before ssh'ing onto a remote server running Ubuntu (from a Mac). I will take a look at the remote set up! Thanks! |
If you are able to install the gw Debian package on your server, it may have more chance of working over X forwarding. The sshfs solution will actually give you much better rendering performance though. X11 forwarding is really slow! |
Describe the bug
A clear and concise description of what the bug is.
When trying to run
gw
, GLFW3 cannot be initialized.To Reproduce
Steps to reproduce the behavior:
Installation
Running
Expected behavior
A clear and concise description of what you expected to happen.
gw runs
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
Additional context
Add any other context about the problem here.
Two other people in my lab can run this (installed from conda) on the same remote server
The text was updated successfully, but these errors were encountered: