🐛 Plotting: Restore gnuplot via apt and force Qt xcb platform#254
Merged
🐛 Plotting: Restore gnuplot via apt and force Qt xcb platform#254
Conversation
Collaborator
Author
|
Worth following up if conda is still the better approach for all plotting tools later on. Now we just get it working again via apt + |
Gnuplot was broken: two unrelated failures stacked on top of each other: - the conda-forge `gnuplot` 5.4 in the `visualise` env could not locate its own `gnuplot_qt` driver and asked for `GNUPLOT_DRIVER_DIR`. - the apt `gnuplot` 6.0 available on Ubuntu 24.04 cannot open its qt terminal under VirtualBox either — it fails with EGL / Mesa / Zink errors, apparently because no usable GL context can be created for the virtual GPU. Install `gnuplot` via apt instead of conda and drop it from the `visualise` conda env, which sidesteps the driver-lookup failure. Then write `QT_QPA_PLATFORM=xcb` to `/etc/environment` via `plotting-tools.yml` so Qt applications use the X11 platform plugin, which — experimentally — restores gnuplot's qt terminal under VirtualBox.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #247
Gnuplot was broken: two unrelated failures stacked on top of each other:
the conda-forge
gnuplot5.4 in thevisualiseenv could not locate its owngnuplot_qtdriver and asked forGNUPLOT_DRIVER_DIR.the apt
gnuplot6.0 available on Ubuntu 24.04 cannot open its qt terminal under VirtualBox either — it fails with EGL / Mesa / Zink errors, apparently because no usable GL context can be created for the virtual GPU.Install
gnuplotvia apt instead of conda and drop it from thevisualiseconda env, which sidesteps the driver-lookup failure. Then writeQT_QPA_PLATFORM=xcbto/etc/environmentviaplotting-tools.ymlso Qt applications use the X11 platform plugin, which — experimentally — restores gnuplot's qt terminal under VirtualBox.