<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Hang of the graphics driver and assertion on si_upload_vertex_buffer_descriptors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109693">109693</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hang of the graphics driver and assertion on si_upload_vertex_buffer_descriptors
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jpetridis@gnome.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143420" name="attach_143420" title="glxinfo output">attachment 143420</a> <a href="attachment.cgi?id=143420&action=edit" title="glxinfo output">[details]</a></span>
glxinfo output

After this [1] commit, the GL tests we have on gstreamer started to causing a
hang in my machine (Gstreamer issue [2]). I was running mesa 18.2.8 and it was
constantly hanging upon running those specific tests. Once I upgraded to mesa
18.3.3 half the times it hangs and the other half it hits the following
assertion. Compiling and running against mesa 19.0 rc5 didn't change things.

pipelines_gl_launch_lines:
../src/gallium/drivers/radeonsi/si_descriptors.c:1150:
si_upload_vertex_buffer_descriptors: Assertion `num_records >= 0 && num_records
<= UINT_MAX' failed.

the whole log is [here] [3]

To reproduce you can run the following:

```
git clone <a href="https://gitlab.freedesktop.org/gstreamer/gst-build.git">https://gitlab.freedesktop.org/gstreamer/gst-build.git</a>
cd gst-build
meson build -Dintrospection=disabled -Dgtk_doc=disabled -Dexamples=disabled
-Dsharp=disabled
ninja -C build/
./gst-uninstalled.py gst-validate-launcher check.gst-plugins-base.pipelines_gl*
-fs --mute --dump-on-failure --no-display --meson-no-rebuild -M
"/tmp/validate-output/"
```

gpu info:

lspci -v
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven
Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c3) (prog-if 00
[VGA controller])
        Subsystem: Lenovo Device 3801
        Flags: bus master, fast devsel, latency 0, IRQ 71
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 1000 [size=256]
        Memory at d0600000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

➜ glxinfo | grep 'OpenGL vendor'
OpenGL vendor string: X.Org


[1]:
<a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/acc098a736949d465d7f77e5de94a75627209147">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/acc098a736949d465d7f77e5de94a75627209147</a>
[2]: <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543</a>
[3]:
<a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543#note_121059">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543#note_121059</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>