Closed lavaux closed 2 years ago
Have you encountered this issue when not using the Wayland backend? I could be a bit out of date but isn't Wayland still considered a somewhat experimental choice of graphical server? I don't see any harm in pointing this out in the docs though.
Sorry I did not reply to this. But indeed no, this problem does not occur on X backend and I did not try on Windows or OSX. Wayland is not experimental anymore for ~2 years minimum. Actually this is the recommended backend for past version of Ubuntu and it will be the default for Ubuntu 22.04 including for NVIDIA.
Some references:
The new default desktop features the latest version of GNOME with extensions developed in collaboration with the GNOME Shell team to provide a familiar experience to long-standing Ubuntu users. 17.10 will run Wayland as the default display server on compatible hardware, with the option of Xorg where required.
Ok thanks @lavaux I think we'll need to take a bit of a deeper look at this
Had a chance to do some testing - indeed this visualization does not work on Wayland, but I am marking this issue Closed because I cannot get anything else to work on Wayland either, even a simple script like:
import matplotlib.pyplot as plt
data = numpy.arange(10)
plt.plot(data, data)
plt.show()
fails with libGL errors. I believe this is a Wayland problem, not a VAST issue (at least well outside the scope of what VAST is intended to support), but we will update our docs to reflect this known issue.
If its worth mentioning, it seems that even in the new Ubuntu 22.04 LTS release Nvidia asked to switch back to Xorg at the last second (on launch day) so I think its quite reasonable to wait for the Wayland devs to keep doing their thing before we can make a good attempt to support it, perhaps in the future we can re-open this issue and take another swing at it.
Sorry - realized it would be more accurate to re-open this and mark it as Docs instead of bugs then we'll close when we link in a PR for this docs update.
If anyone is able to report a working Linux/Wayland/EGL/libGL configuration I'd be happy to add that to our docs too.
Running
example_scripts/visualize_voids_VoidFinder.py
on linux/wayland triggers an error in PyOpenGL and PyOpenGLTK.I have not reported that issue to PyOpenGLTK yet. However I would suggest to include a word of warning in the documentation/readme about compatibility issues.
Here is the stacktrace: