OGL visualiser black-screen in Docker

Hi,

I am trying to create a common development environment for my organization as a Docker image.

I have an image based on Ubuntu 22.02, with Geant4 11.1.1 built from source, with Qt, and OGL enabled.

When I build and run Example B1 to check things are working, I get a (seemingly) fully functional Qt5 window, but the OGL window within is all black.

Looking through the terminal output, I noted these Qt outputs at the very start:

$ ./exampleB1 
Available UI session types: [ Qt, tcsh, csh ]
QObject::connect: No such signal QTabWidget::tabCloseRequested(G4int)
QObject::connect: No such signal QTabWidget::currentChanged(G4int)
QObject::connect: No such signal QTabWidget::currentChanged(G4int)
QObject::connect: No such signal QComboBox::activated(G4int)

**************************************************************
 Geant4 version Name: geant4-11-01-patch-01 [MT]   (10-February-2023)
  << in Multi-threaded mode >> 
                       Copyright : Geant4 Collaboration
                      References : NIM A 506 (2003), 250-303
                                 : IEEE-TNS 53 (2006), 270-278
                                 : NIM A 835 (2016), 186-225
                             WWW : http://geant4.org/
**************************************************************

Is anyone able to advise if these may be causing an issue, and how I might correct them?

Thanks in advance!

Quick response…

What version of Qt are you linking with?

Have a look in the Forum for past issues. I have a feeling there were others with similar issues with Ubuntu. And maybe with “wrappers” like Docker (story, I’m not an expert - never used Docker).

John

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.