OpenGL issues after recent Ubuntu update

Hello everyone,

I recently updated my Ubuntu OS to 22.04.3 LTS and while trying to work my simulation application I suddenly get these two errors upon execution:

First was a Font error:

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

And second was a failed OpenGL display list:

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : opengl1001
issued by : G4OpenGLStoredSceneHandler::AddPrimitivePreambleInternal
Error attempting to create an OpenGL display list.
Current display list id: 257
Maybe out of memory?
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

ERROR: G4OpenGLStoredSceneHandler::AddPrimitivePostamble: Failure to allocate display List for fTopPODL - try OpenGL Immediated mode.

Both of these resulted in some dislocated text and missing geometry. My code worked fine beforehand on Ubuntu 22.04.2 and reinstalling Geant4 did not solve the issue and I am having a hard time getting to the root of the problem. If anyone could help me with this problem it’d be greatly appreciated.

For more hardware info:

MS Surface Pro 7
8 GB RAM
Intel® Core™ i5-1035G4 CPU @ 1.10GHz × 8
Mesa Intel® Iris(R) Plus Graphics (ICL GT1.5)

Kind Regards

Hi Ellee

It does look like you’re having a bit of trouble with the X server. When you updated did you also update X11?

What version of Geant4 are you using?

Did you try OpenGL Immediated mode, as it suggests?

Let us know how you get on.

John

Hey John,

The problem seemed to have fixed itself after another update and upgrade run, in which came with a bunch of drivers update, which ultimately fixed the issue? I am not quite sure myself.

Immediate Mode also managed to do the workaround.

In any case, thank you for your reply!

Elsa