gazebosim / gazebosim/gz-rendering

Problems with the examples

Open
#54 2 comments 0 reactions 0 assignees View on GitHub
bug optix
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

**Original report ([archived issue](https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-rendering/issues/54)) by Levente Vajda (Bitbucket: [vlevente](https://bitbucket.org/%7B87022fb2-b1a1-410b-a8cd-8e45eda8e9a0%7D/)).**

The original report had attachments: [valgrind_log.txt](https://osrf-migration.github.io/ignition-gh-pages/data/repositories/ignitionrobotics/ign-rendering/issues/54/attachments/valgrind_log.txt)

----------------------------------------
Hello,

I’m trying to use ign-rendering on Ubuntu 18.04 with Optix 6.0 and Gazebo 9.11.0. My goal is to use Gazebo with Optix just like in the gazebo\_scene\_viewer example.

Gz11 branch: I followed the installation guide from the read me and ran the tests, from the 48 tests The following tests failed:
1 - UNIT\_Camera\_TEST \(Failed\)
23 - UNIT\_Scene\_TEST \(Failed\)
41 - INTEGRATION\_camera \(Failed\)
43 - INTEGRATION\_shadows \(Failed\)
45 - INTEGRATION\_scene \(Failed\)
47 - PERFORMANCE\_scene\_factory \(Failed\)

I tried to run these tests from the default branch, from the 60 test 8 failed:
1 - UNIT\_Camera\_TEST \(Failed\)
5 - UNIT\_GizmoVisual\_TEST \(SEGFAULT\)
31 - UNIT\_Scene\_TEST \(Failed\)
39 - UNIT\_TransformController\_TEST \(SEGFAULT\)
51 - INTEGRATION\_camera \(Failed\)
53 - INTEGRATION\_render\_pass \(Failed\)
57 - INTEGRATION\_scene \(Failed\)
59 - PERFORMANCE\_scene\_factory \(Failed\)

These tests fail with unique errors, if needed I can post the error messages. Despite the failed tests, there are examples that run at least to a certain degree. For example the custom\_scene\_viewer run perfectly but after switching between render engines cause an error:

```
terminate called after throwing an instance of 'optix::Exception'
what(): Unknown error (Details: Function "RTresult _rtContextLaunch2D(RTcontext, unsigned int, RTsize, RTsize)" caught exception: Assertion failed: "!m_building : dirty list modified while build in progress", file: , line: 95)
Aborted (core dumped)
```

The gazebo\_scene\_viewer2\_demo also throws this error message immediately. I used valgrind to log what happened in the background \(see the attachment\). Am I missing something or why the examples can't work?

Thanks,

Levente

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failures listed for UNIT_Camera_TEST, UNIT_Scene_TEST, the integration tests, and the scene factory performance test on the reported Ubuntu, Gazebo, and OptiX setup. Compare the custom_scene_viewer and gazebo_scene_viewer2_demo behavior, and inspect the attached valgrind log around the OptiX assertion. Done means identifying the cause and documenting or fixing the example and test failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.