DRDCaloDD4hepTutorial: Failing Geometry Visualization

While following the dd4hep tutorial for DRDCalo on my Windows machine connected to lxplus through VSCode, when following the instructions and executing the command geoWebDisplay simplecalo1/compact/simplecalo1.xml to visualize a basic calorimeter geometry, no actual visualization window is shown. I tried the same in my local terminal by connecting to lxplus through my shell (and not through VSCode) through ssh -XY username@lxplus.cern.ch and the same happens.

In addition, I tried to manually access the port that shoudl be created by the command for me to visualize the geometry, but my browser shows a 404 not found error.

Does anyone have experience with geometry visualization using the key4hep stack on Windows machines using VSCode?

Hi @nkontaxa,

I’m afraid that using Windows in the mix is not supported.

One thing you might try as an alternative is to convert your compact file into a ROOT file containing the geometry and then visualize it using JSROOT. The instructions how to do the conversion can be found here:

Best,
Juraj

Try to see if any other graphics work from lxplus, if they don’t then the problem doesn’t have anything to do with DD4hep. There is also geoDisplay instead of geoWebDisplay that will open a window using OpenGL.