Linux crash when opening View3D
On some Linux systems, especially inside VirtualBox or VMware, PZero may crash when opening View3D or during startup.
This is likely caused by an OpenGL/graphics-backend issue. View3D uses VTK for 3D rendering, which requires a valid OpenGL context. In some Linux or virtual-machine environments, the graphics driver, Mesa library, or Qt platform backend may not provide this correctly.
Typical symptoms include:
- crash on startup;
- crash when opening
View3D;
- terminal errors such as
BadWindow, GLX, or OpenGL-related messages.
Temporary workaround:
Recommended solution
First, make sure the system has working OpenGL support.
On Ubuntu/Debian:
sudo apt update
sudo apt install mesa-utils libgl1-mesa-dri libegl1 libxkbcommon-x11-0 libxcb-cursor0
```bash
export LIBGL_ALWAYS_SOFTWARE=1
./PZero
Alternatively, force Qt to use X11:
export QT_QPA_PLATFORM=xcb
./PZero
Both options can also be used together:
export LIBGL_ALWAYS_SOFTWARE=1
export QT_QPA_PLATFORM=xcb
./PZero
This issue is related to the Linux/VM graphics stack, not to the geological model or mesh input data.
Linux crash when opening View3D
On some Linux systems, especially inside VirtualBox or VMware, PZero may crash when opening
View3Dor during startup.This is likely caused by an OpenGL/graphics-backend issue.
View3Duses VTK for 3D rendering, which requires a valid OpenGL context. In some Linux or virtual-machine environments, the graphics driver, Mesa library, or Qt platform backend may not provide this correctly.Typical symptoms include:
View3D;BadWindow,GLX, or OpenGL-related messages.Temporary workaround:
Recommended solution
First, make sure the system has working OpenGL support.
On Ubuntu/Debian:
Alternatively, force Qt to use X11:
export QT_QPA_PLATFORM=xcb ./PZeroBoth options can also be used together:
This issue is related to the Linux/VM graphics stack, not to the geological model or mesh input data.