ubuntu -windows 3D #1045
MarinCronograph
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have tried to run simple code on Ubuntu (VMware® Workstation 17 Pro, 17.6.3 build) Miniconda Spyder and Anaconda Spyder on Windows , what should be a very similar setup for running gempy , below, but when i try to print out 3D on Ubuntu there seem to be 3D rendering problmes
FOR COMPARISON :
Windows :
Python version : 3.12.7
Platform : Windows 10
Architecture : AMD64
Spyder Version Check:
Spyder version : 6.0.1
GemPy Version & Engine Info:
GemPy version : 2024.2.0.2
GemPy engine version: 2024.2.0
GemPy Model & Engine Backend:
Setting Backend To: AvailableBackends.numpy
Chunking done: 7 chunks
GemPy Model created successfully.
Ubuntu:
%runcell -i 0 /home/marin/geomodeling/untitled0.py
Python version : 3.11.13
Platform : Linux 6.8.0-64-generic
Architecture : x86_64
Spyder Version Check:
Spyder version : 6.0.7
GemPy Version & Engine Info:
Setting Backend To: AvailableBackends.numpy
GemPy version : 2024.2.0.2
GemPy engine version: 2024.2.0
On ubuntu seems there is an issue with 3d rendering
this works on windows
gpv.plot_3d(geo_model, image=False, plotter_type='basic', show_points=False, show_orientations=False)
In addition, I have tried on ubuntu :
from gempy_viewer import plot_2d (plot_2d actually works )
from gempy_viewer import plot_3dn (plot_3d doesn't work)
I got errors under (3d rendering)
pgsql
CopyEdit
Cannot create GLX context.
Failed to initialize OpenGL functions!
lua
CopyEdit
libGL error: MESA-LOADER: failed to open vmwgfx
libGL error: failed to load driver: swrast
3.VTK and PyVista rendering failed:V
vbnet
CopyEdit
vtkOpenGLRenderWindow: Unable to find a valid OpenGL 3.2 or later implementation.
Kernel crashed during plot_3d():
CopyEdit
Segmentation fault in pyvista.plotting.plotter.render()
Question:
Is there a way to make 3d geomodel rendering/visualization ?
rgds
Marin Mirosevic
Beta Was this translation helpful? Give feedback.
All reactions