Skip to content
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

OpenGL failure #221

Open
aaust opened this issue May 10, 2024 · 5 comments
Open

OpenGL failure #221

aaust opened this issue May 10, 2024 · 5 comments

Comments

@aaust
Copy link

aaust commented May 10, 2024

The visualization with hdgeant4 -v on the ifarm fails with the following errors:

/vis/verbose errors
Visualization verbosity changed to errors (2)
/vis/open OGLSX 600x600+10+50
/vis/sceneHandler/create OGLSX
/vis/viewer/create ! ! 600x600+10+50
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

On ifarm9 (AlmaLinux9), the program crashes immediately:

===========================================================
#5  0x00007fe0514a1382 in OpenGLXpreload () at src/OpenGLXpreload.cc:13
#6  0x00007fe0503902be in main () from /u/group/halld/Software/builds/Linux_Alma9-x86_64-gcc11.4.1/hdgeant4/hdgeant4-2.40.0/tmp/Linux-g++/hdgeant4/libhdgeant4.so
#7  0x00007fe047e3feb0 in __libc_start_call_main () from /lib64/libc.so.6
#8  0x00007fe047e3ff60 in __libc_start_main_impl () from /lib64/libc.so.6
#9  0x0000000000743325 in _start ()
===========================================================

The control.in and vis.mac files to reproduce this are located in
/work/halld2/home/aaustreg/tmp/laveen_test/

@rjones30
Copy link

rjones30 commented May 10, 2024 via email

@aaust
Copy link
Author

aaust commented May 10, 2024

Thanks for the reply, I am trying to use an ssh connection.

@rjones30
Copy link

rjones30 commented May 10, 2024 via email

@aaust
Copy link
Author

aaust commented May 10, 2024

Thanks for the tip. When I connect to ifarm9 (AlmaLinux9) with "-Y", I see the animated gears. With the same connection, hdgeant4 -v actually opens an empty viewer window. When I try to /control/execute the macro, it complains about some fonts and does not display anything.

G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font
  -adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1

In the ifarm with CentOS7, glxgears directly throws this error:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  44
  Current serial number in output stream:  46

@rjones30
Copy link

rjones30 commented May 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants