Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use GUI in ubuntu 24.04 #4686

Open
ninagestalt opened this issue Feb 11, 2025 · 0 comments
Open

cannot use GUI in ubuntu 24.04 #4686

ninagestalt opened this issue Feb 11, 2025 · 0 comments

Comments

@ninagestalt
Copy link

It worked for me before but since my upgrade to Ubuntu 24.04 I cannot open the pybullet gui anymore (may not be related though, not sure). I am working locally on my laptop without docker or anything.

I just want to run this simple example:

import pybullet as p
import time
import os 

os.environ["DISPLAY"] = ":0"

p.connect(p.GUI)

time.sleep(6)
p.disconnect()

This is my output, but no GUI opens:

pybullet build time: Nov 28 2023 23:45:17
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!
Failed to retrieve a framebuffer config

I already tried adding the display env var, upgrading pybullet, running other guis like glxgears or xeyes works.
Any ideas how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant