Error exporting ogl screenshot as .pdf

Hi all,
I am facing the following warning when trying to export the detector geometry into pdf

/vis/ogl/export det.pdf
 Changing export format to "pdf"
 Changing export format to "pdf"
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
GL2PS info: OpenGL feedback buffer overflow
File det_0000.pdf size: 1007x524 has been saved 
/vis/viewer/refresh

The saved file never loads, and sometimes the application GUI crashes. It seems to work fine for .png format.

Can someone please share how to overcome this issue. Or is it possible to improve the quality of the png only?

Thanks a lot,

Mmm. GL2PS complains, but it’s not usually a problem.

There are other commands that change the size/resolution, e.g., /vis/ogl/set/printSize. Use ls or help to see available commands. (Or look at the documentation, Built-in commands.)

You don’t say what version of Geant4 you are running, or what type of machine you’re running on and its OS version. Always quote that information when raising an issue. If you are on a recent version of Geant4, try the ToolsSG driver - /vis/open TSG - which comes with some nice export options - see help /vis/tsg/export.