All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
@ 2019-02-23 13:40 bugzilla-daemon
  2019-02-23 17:16 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-23 13:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 6121 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

            Bug ID: 109754
           Summary: util_blitter_generate_mipmap: Assertion
                    `!util_format_has_stencil(desc)' failed
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: dazza@executionunit.com

When running the BGFX examplesDebug this assert is thrown. This assert is also
being thrown in our game (Smith and Winston) across various Linux
distributions/Mesa combinations reported by users:

Reported gfx cards are: R380, RX540

My Setup is:

dazza@dazbuntu:~/work/bgfx/bgfx/examples/runtime$ uname -a
Linux dazbuntu 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux

dazza@dazbuntu:~/work/bgfx/bgfx/examples/runtime$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD Radeon (TM) R9 380 Series (TONGA, DRM 3.23.0,
4.15.0-45-generic, LLVM 7.0.1) (0x6939)
    Version: 19.1.0
    Accelerated: yes
    Video memory: 4096MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 4006 MB, largest block: 4006 MB
    VBO free aux. memory - total: 4074 MB, largest block: 4074 MB
    Texture free memory - total: 4006 MB, largest block: 4006 MB
    Texture free aux. memory - total: 4074 MB, largest block: 4074 MB
    Renderbuffer free memory - total: 4006 MB, largest block: 4006 MB
    Renderbuffer free aux. memory - total: 4074 MB, largest block: 4074 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 8192 MB
    Currently available dedicated video memory: 4006 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) R9 380 Series (TONGA, DRM 3.23.0,
4.15.0-45-generic, LLVM 7.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.0-devel
(git-eb13211 2019-02-23 bionic-oibaf-ppa)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.1.0-devel
(git-eb13211 2019-02-23 bionic-oibaf-ppa)
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.0-devel (git-eb13211
2019-02-23 bionic-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20






Stack trace is:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff670e801 in __GI_abort () at abort.c:79
#2  0x00007ffff66fe39a in __assert_fail_base (fmt=0x7ffff68857d8 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x7fffcef5e720 "!util_format_has_stencil(desc)", 
    file=file@entry=0x7fffcef5e338 "../src/gallium/auxiliary/util/u_blitter.c",
line=line@entry=2062, 
    function=function@entry=0x7fffcef5f300 "util_blitter_generate_mipmap") at
assert.c:92
#3  0x00007ffff66fe412 in __GI___assert_fail (assertion=0x7fffcef5e720
"!util_format_has_stencil(desc)", 
    file=0x7fffcef5e338 "../src/gallium/auxiliary/util/u_blitter.c", line=2062,
function=0x7fffcef5f300 "util_blitter_generate_mipmap")
    at assert.c:101
#4  0x00007fffceb593af in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fffce4afd9c in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007fffceb61d56 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007fffceb5f4f7 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007fffceb60406 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#9  0x00007fffceb6080e in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#10 0x00007fffce8e5fb0 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#11 0x00007fffce8e673c in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#12 0x00007fffce7e06d9 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#13 0x00007fffce7e179f in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#14 0x00005555557bb469 in bgfx::gl::TimerQueryGL::update (this=0x7ffff7ec7930)
at ../../../src/renderer_gl.h:1484
#15 0x00005555557bb3ac in bgfx::gl::TimerQueryGL::end (this=0x7ffff7ec7930,
_idx=0) at ../../../src/renderer_gl.h:1467
#16 0x00005555557b4f2f in bgfx::gl::RendererContextGL::submit
(this=0x7ffff7e42010, _render=0x7fffd65a02c0, _clearQuad=..., 
    _textVideoMemBlitter=...) at ../../../src/renderer_gl.cpp:7443
#17 0x0000555555778c00 in bgfx::Context::renderFrame (this=0x7fffd4ca2040,
_msecs=5000) at ../../../src/bgfx.cpp:2294
#18 0x0000555555775072 in bgfx::renderFrame (_msecs=-1) at
../../../src/bgfx.cpp:1396
#19 0x0000555555790dab in bgfx::Context::renderThread () at
../../../src/bgfx_p.h:2823
#20 0x00005555558967b8 in bx::Thread::entry (this=0x7fffd4ca2240) at
../../../../bx/src/thread.cpp:311
#21 0x000055555589628c in bx::ThreadInternal::threadFunc (_arg=0x7fffd4ca2240)
at ../../../../bx/src/thread.cpp:93
#22 0x00007ffff71ed6db in start_thread (arg=0x7fffdd240700) at
pthread_create.c:463
#23 0x00007ffff67ef88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95




Steps to recreate:

* download and BGFX, BImg and BX (follow the instructions to build here:
https://bkaradzic.github.io/bgfx/build.html)
* gdb ../../.build/linux64_gcc/bin/examplesDebug
* enter run


see the stack trace as above.

thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 7583 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
  2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
@ 2019-02-23 17:16 ` bugzilla-daemon
  2019-02-25  9:28 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-23 17:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

dazza <dazza@executionunit.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |x86-64 (AMD64)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1095 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
  2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
  2019-02-23 17:16 ` bugzilla-daemon
@ 2019-02-25  9:28 ` bugzilla-daemon
  2019-05-24 18:11 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-02-25  9:28 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DRM/Radeon                  |Drivers/Gallium/radeonsi
            Product|DRI                         |Mesa
         QA Contact|                            |dri-devel@lists.freedesktop
                   |                            |.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1503 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
  2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
  2019-02-23 17:16 ` bugzilla-daemon
  2019-02-25  9:28 ` bugzilla-daemon
@ 2019-05-24 18:11 ` bugzilla-daemon
  2019-05-28  7:44 ` bugzilla-daemon
  2019-06-18  9:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-05-24 18:11 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

--- Comment #1 from Pierre-Eric Pelloux-Prayer <pierre-eric@damsy.net> ---
Thanks for your bug report.

I've opened a merge request to fix this bug:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/946

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1280 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
  2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-05-24 18:11 ` bugzilla-daemon
@ 2019-05-28  7:44 ` bugzilla-daemon
  2019-06-18  9:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-05-28  7:44 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 266 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

--- Comment #2 from Felix Schwarz <felix.schwarz@oss.schwarz.eu> ---
possible fix: https://patchwork.freedesktop.org/series/61224/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed
  2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-05-28  7:44 ` bugzilla-daemon
@ 2019-06-18  9:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-06-18  9:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 674 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109754

Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> ---
This issue has been fixed with
https://cgit.freedesktop.org/mesa/mesa/commit/?id=4b11ed443b85e4fcddc5d0ef60dec096ecdb951e.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2427 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-18  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-23 13:40 [Bug 109754] util_blitter_generate_mipmap: Assertion `!util_format_has_stencil(desc)' failed bugzilla-daemon
2019-02-23 17:16 ` bugzilla-daemon
2019-02-25  9:28 ` bugzilla-daemon
2019-05-24 18:11 ` bugzilla-daemon
2019-05-28  7:44 ` bugzilla-daemon
2019-06-18  9:25 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.