Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

MESA: error: ZINK: failed to choose pdev glx: failed to create drisw screen Exception in thread Thread-2 (_init_and_start_app): Traceback (most recent call last):

Open RRGGZZ opened this issue 1 year ago • 4 comments

device :[WSL2] PyOpenGL==3.1.7

the error is MESA: error: ZINK: failed to choose pdev glx: failed to create drisw screen Exception in thread Thread-2 (_init_and_start_app): Traceback (most recent call last):

RRGGZZ avatar Dec 20 '24 00:12 RRGGZZ

I running the example script :

import genesis as gs gs.init(backend=gs.cpu)

scene = gs.Scene(show_viewer=True) plane = scene.add_entity(gs.morphs.Plane()) franka = scene.add_entity( gs.morphs.MJCF(file='xml/franka_emika_panda/panda.xml'), )

scene.build()

for i in range(1000): scene.step()

RRGGZZ avatar Dec 20 '24 00:12 RRGGZZ

and my WSL2 is Ubuntu 24.04.01

RRGGZZ avatar Dec 20 '24 00:12 RRGGZZ

same error

cloudhu avatar Dec 20 '24 08:12 cloudhu

fixed in Ubuntu sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update sudo apt upgrade

cloudhu avatar Dec 20 '24 09:12 cloudhu