Workaround for some crash in the Intel OpenGL driver on Linux/Ubuntu

Post Reply
peter_stratton
Posts: 1
Joined: Sat May 02, 2020 6:31 pm

Workaround for some crash in the Intel OpenGL driver on Linux/Ubuntu

Post by peter_stratton »

When I run the lines:

import pybullet as p
# Can alternatively pass in p.DIRECT
client = p.connect(p.GUI)
p.setGravity(0, 0, -10, physicsClientId=client)

I get a error message of:

pybullet build time: Apr 14 2020 20:56:53
startThreads creating 1 threads.
starting thread 0
started thread 0
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
X11 functions dynamically loaded using dlopen/dlsym OK!
Creating context
Created GL 3.3 context
Direct GLX rendering context obtained
Making context current
GL_VENDOR=Intel
GL_RENDERER=Mesa Intel(R) UHD Graphics 620 (KBL GT2)
GL_VERSION=4.6 (Core Profile) Mesa 20.1.0-devel (git-523e960 2020-04-28 bionic-oibaf-ppa)
GL_SHADING_LANGUAGE_VERSION=4.60
pthread_getconcurrency()=0
Version = 4.6 (Core Profile) Mesa 20.1.0-devel (git-523e960 2020-04-28 bionic-oibaf-ppa)
Vendor = Intel
Renderer = Mesa Intel(R) UHD Graphics 620 (KBL GT2)
b3Printf: Selected demo: Physics Server
startThreads creating 1 threads.
starting thread 0
started thread 0
MotionThreadFunc thread started
ven = Intel
Workaround for some crash in the Intel OpenGL driver on Linux/Ubuntu
numActiveThreads = 0
stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore
main semaphore destroyed
finished
numActiveThreads = 0
btShutDownExampleBrowser stopping threads
Thread with taskId 0 exiting
Thread TERMINATED
destroy semaphore
semaphore destroyed
destroy main semaphore

and I am unsure of how to fix it. I tried updating my MESA and making PyBullet run with version 4.6, but neither seems to work. I am on Ubuntu 18.04.
Post Reply