Segmentation Fault (core dumped)

I’m just starting out with Panda3D and getting this error in terminal:

Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:pgraph(warning): No bin named ground; creating default bin.
:pgraph(warning): No bin named shadow; creating default bin.
Segmentation fault (core dumped)

When I look at the output window graphics are all messed up but I’m sure my GPU works just fine. Any suggestions on how to fix this ?

.

Which precise version of Panda3D did you install? Try either:

import panda3d
print(panda3d.__version__)

Or:

from panda3d.core import PandaSystem
print(PandaSystem.getGitCommit())

What GPU do you have? Do you have the latest video card drivers? Could you attach the output of glxinfo?

print(PandaSystem.getGitCommit()) gave me 5c9705c21c551c072dc0861965d6e8f4b7cbe657
print(panda3d.__version__) gave me an error saying “panda3d has no method version

Here’s output from glxinfo (I included relevant data only):

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD MULLINS (DRM 2.50.0 / 4.15.0-22-generic, LLVM 6.0.0) (0x9851)
    Version: 18.0.0
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1023 MB, largest block: 1023 MB
    VBO free aux. memory - total: 2043 MB, largest block: 2043 MB
    Texture free memory - total: 1023 MB, largest block: 1023 MB
    Texture free aux. memory - total: 2043 MB, largest block: 2043 MB
    Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB
    Renderbuffer free aux. memory - total: 2043 MB, largest block: 2043 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 3067 MB
    Currently available dedicated video memory: 1023 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD MULLINS (DRM 2.50.0 / 4.15.0-22-generic, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

My GPU is officially called AMD Radeon R4/R5. Ubuntu is using open source driver to make it work.

A post was split to a new topic: Segmentation Fault on Ubuntu 18.04