From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109693] Hang of the graphics driver and assertion on si_upload_vertex_buffer_descriptors Date: Wed, 20 Feb 2019 17:33:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0727816836==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id EA2E6891BE for ; Wed, 20 Feb 2019 17:33:32 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0727816836== Content-Type: multipart/alternative; boundary="15506840120.9eB2C4.1970" Content-Transfer-Encoding: 7bit --15506840120.9eB2C4.1970 Date: Wed, 20 Feb 2019 17:33:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109693 Bug ID: 109693 Summary: Hang of the graphics driver and assertion on si_upload_vertex_buffer_descriptors Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: jpetridis@gnome.org QA Contact: dri-devel@lists.freedesktop.org Created attachment 143420 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143420&action=3Dedit 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 me= sa 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 >=3D 0 && num_r= ecords <=3D UINT_MAX' failed. the whole log is [here] [3] To reproduce you can run the following: ``` git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git cd gst-build meson build -Dintrospection=3Ddisabled -Dgtk_doc=3Ddisabled -Dexamples=3Ddi= sabled -Dsharp=3Ddisabled 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] R= aven 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=3D256M] Memory at d0000000 (64-bit, prefetchable) [size=3D2M] I/O ports at 1000 [size=3D256] Memory at d0600000 (32-bit, non-prefetchable) [size=3D512K] Capabilities: Kernel driver in use: amdgpu Kernel modules: amdgpu =E2=9E=9C glxinfo | grep 'OpenGL vendor' OpenGL vendor string: X.Org [1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/commit/acc098a736= 949d465d7f77e5de94a75627209147 [2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543 [3]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/543#note_1= 21059 --=20 You are receiving this mail because: You are the assignee for the bug.= --15506840120.9eB2C4.1970 Date: Wed, 20 Feb 2019 17:33:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 109693
Summary Hang of the graphics driver and assertion on si_upload_vertex= _buffer_descriptors
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter jpetridis@gnome.org
QA Contact dri-devel@lists.freedesktop.org

Created attachment 143420 [details]
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 me=
sa
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 >=3D 0 &=
& num_records
<=3D UINT_MAX' failed.

the whole log is [here] [3]

To reproduce you can run the following:

```
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
cd gst-build
meson build -Dintrospection=3Ddisabled -Dgtk_doc=3Ddisabled -Dexamples=3Ddi=
sabled
-Dsharp=3Ddisabled
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] R=
aven
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=3D256M]
        Memory at d0000000 (64-bit, prefetchable) [size=3D2M]
        I/O ports at 1000 [size=3D256]
        Memory at d0600000 (32-bit, non-prefetchable) [size=3D512K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

=E2=9E=9C glxinfo | grep 'OpenGL vendor'
OpenGL vendor string: X.Org


[1]:
https://gitlab.freedesktop.org/g=
streamer/gst-plugins-base/commit/acc098a736949d465d7f77e5de94a75627209147
[2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues=
/543
[3]:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base=
/issues/543#note_121059


You are receiving this mail because:
  • You are the assignee for the bug.
= --15506840120.9eB2C4.1970-- --===============0727816836== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0727816836==--