-
Notifications
You must be signed in to change notification settings - Fork 6
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
Setup dummy X server for CI tests #201
Conversation
I wouldn't remove the test skipping. This should be fine, and not skip the tests when X11 is available, so not strictly required here...? And running the tests on clusters or servers without X access available (or necessary) should still be easy and supported, in my opinion ("easy" as in not having to remember the ctest options... btw, ctest does not check what is passed as commandline arguments, it happily ignores all invalid/mistyped flags 🙄.) |
yes, I just wanted to be extra sure for testing. We are leaving it there Something weird is going on on some containers:
and
I will try installing the Mesa stuff |
The GL2PS warnings can be ignored, they are always there. I never got GL2PS working without warnings, if it works at all... |
If we could skip the test on G4 11.0, we could use TOOLSSG_OFFSCREEN starting with 11.1: TOOLSSG_OFFSCREEN should also work in slim, where no X11 or OpenGL support is compiled into the base image... edit: but this still uses OpenGL, so not sure if it realiably works in CI... |
11.0 seems also to be broken with a navigaton bug anyway, unrelated to visualization |
or maybe OGLIX works? this apparently fixed a similar problem once: https://geant4-forum.web.cern.ch/t/opengl-issues-after-recent-ubuntu-update/10967 |
a4d47ec
to
2d57553
Compare
doesn't the ogl viewer add some numeric suffix to export filenames? i.e. you would need |
Guess what... Geant4 does not want anyone to tell it what it has to do...
|
Seems to work. Test outputs can be downloaded from here: https://github.com/legend-exp/remage/actions/runs/12416324939 |
*.output.*
to GitHub as artifacts