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

libEGL warning: DRI2: failed to create dri screen #38

Open
Sishxo opened this issue Feb 25, 2023 · 0 comments
Open

libEGL warning: DRI2: failed to create dri screen #38

Sishxo opened this issue Feb 25, 2023 · 0 comments

Comments

@Sishxo
Copy link

Sishxo commented Feb 25, 2023

When I try to run the test_net.py, errors below occur:
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '10']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '11']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '12']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '13']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '14']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '15']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '16']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '17']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '18']' returned non-zero exit status 1.
libEGL warning: DRI2: failed to create dri screen
libEGL warning: DRI2: failed to create dri screen
Unable to initialize EGL
Command '['/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/build/test_device', '19']' returned non-zero exit status 1.
number of devices found 10
Loaded EGL 1.5 after reload.
Traceback (most recent call last):
File "./tools/test_net.py", line 142, in
cfg.renderer.load_objects(dataset.model_mesh_paths, dataset.model_texture_paths, dataset.model_colors)
File "/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/ycb_renderer.py", line 398, in load_objects
self.load_object(obj_paths[i], texture_paths[i], scale[i])
File "/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/ycb_renderer.py", line 237, in load_object
vertices, faces, materials, texture_paths = self.load_mesh(obj_path, scale)
File "/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/ycb_renderer.py", line 345, in load_mesh
return self.recursive_load(scene.rootnode, [], [], [], [], offset, scale, [[], [], []])
File "/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/ycb_renderer.py", line 389, in recursive_load
self.recursive_load(child, vertices, faces, materials, texture_paths, offset, scale, repeated)
File "/data0/llq/PoseCNN-PyTorch/tools/../ycb_render/ycb_renderer.py", line 365, in recursive_load
mat_diffuse = np.array(mat.properties['diffuse'])[:3]
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

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