Crash in radeonsi_dri.so when doing vkCmdResetQueryPool before vkCmdCopyQueryPoolResults
Code for repro (built in https://github.com/KhronosGroup/Vulkan-Tools.git at b59cec1):
Hopefully this is the correct location to report this. Please let me know if any more information is needed. Thank you. -Mike
- [ 1821.371] (EE)
- [ 1821.371] (EE) Backtrace:
- [ 1821.374] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x138) [0x55b9cfd02ec8]
- [ 1821.374] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f36d846b56f]
- [ 1821.375] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (_IO_str_seekoff+0x1031) [0x7f36d83199f1]
- [ 1821.375] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (_IO_str_seekoff+0x3dc7) [0x7f36d831e7f7]
- [ 1821.375] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (__libc_calloc+0x82) [0x7f36d831d502]
- [ 1821.376] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/(amdgpu_winsys_create+0x6cbc) [0x7f36d6473bfc]
- [ 1821.376] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x948d0) [0x7f36d647cc50]
- [ 1821.377] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x95f73) [0x7f36d647fae3]
- [ 1821.377] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0xed5ab) [0x7f36d652e77b]
- [ 1821.377] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0xeb660) [0x7f36d652a8a0]
- [ 1821.378] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (nouveau_drm_screen_create+0x324284) [0x7f36d6afdae4]
- [ 1821.378] (EE) 11: /usr/lib/xorg/modules/libglamoregl.so (glamor_destroy_pixmap+0x148) [0x7f36cc01ab18]
- [ 1821.378] (EE) unw_get_proc_name failed: no unwind info found [-10]
- [ 1821.378] (EE) 12: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7f36d7a4a650]
- [ 1821.378] (EE) 13: /usr/lib/xorg/Xorg (BlockHandler+0xa5) [0x55b9cfbaa2e5]
- [ 1821.378] (EE) 14: /usr/lib/xorg/Xorg (WaitForSomething+0x11a) [0x55b9cfcfc74a]
- [ 1821.379] (EE) 15: /usr/lib/xorg/Xorg (SendErrorToClient+0x113) [0x55b9cfba5743]
- [ 1821.379] (EE) 16: /usr/lib/xorg/Xorg (InitFonts+0x3b4) [0x55b9cfba9934]
- [ 1821.379] (EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7f36d82bcbbb]
- [ 1821.379] (EE) 18: /usr/lib/xorg/Xorg (_start+0x2a) [0x55b9cfb9374a]
- [ 1821.379] (EE)
- [ 1821.379] (EE) Segmentation fault at address 0x20000000001d
- [ 1821.379] (EE)
- Fatal server error:
- [ 1821.379] (EE) Caught signal 11 (Segmentation fault). Server aborting
- [ 1821.379] (EE)
` Linux mikesart-tr3 5.4.0-4-amd64 #1 (closed) SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
System: Host: mikesart-tr3 Kernel: 5.4.0-4-amd64 x86_64 bits: 64 Desktop: Cinnamon 4.4.8
Distro: Debian GNU/Linux bullseye/sid
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.7 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa resolution: 3840x1600~60Hz
OpenGL: renderer: Radeon RX Vega (VEGA10 DRM 3.35.0 5.4.0-4-amd64 LLVM 9.0.1) v: 4.5 Mesa 19.3.3
glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: Radeon RX Vega (VEGA10, DRM 3.35.0, 5.4.0-4-amd64, LLVM 9.0.1) (0x687f)
Version: 19.3.3
Accelerated: yes
Video memory: 8192MB
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: 7700 MB, largest block: 7700 MB
VBO free aux. memory - total: 8120 MB, largest block: 8120 MB
Texture free memory - total: 7700 MB, largest block: 7700 MB
Texture free aux. memory - total: 8120 MB, largest block: 8120 MB
Renderbuffer free memory - total: 7700 MB, largest block: 7700 MB
Renderbuffer free aux. memory - total: 8120 MB, largest block: 8120 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 16368 MB
Currently available dedicated video memory: 7700 MB
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.35.0, 5.4.0-4-amd64, LLVM 9.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.3.3
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.3.3
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.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
`
`
ii libdrm-amdgpu1:amd64 2.4.100-4 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii libegl-mesa0:amd64 19.3.3-1 free implementation of the EGL API -- Mesa vendor library
ii libegl1-mesa-dev:amd64 19.3.3-1 free implementation of the EGL API -- development files
ii libgl1-mesa-dev:amd64 19.3.3-1 transitional dummy package
ii libgl1-mesa-dri:amd64 19.3.3-1 free implementation of the OpenGL API -- DRI modules
ii libglapi-mesa:amd64 19.3.3-1 free implementation of the GL API -- shared library
ii libgles2-mesa-dev:amd64 19.3.3-1 transitional dummy package
ii libglu1-mesa:amd64 9.0.1-1 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-dev:amd64 9.0.1-1 Mesa OpenGL utility library -- development files
ii libglx-mesa0:amd64 19.3.3-1 free implementation of the OpenGL API -- GLX vendor library
ii mesa-common-dev:amd64 19.3.3-1 Developer documentation for Mesa
ii mesa-utils 8.4.0-1+b1 Miscellaneous Mesa GL utilities
ii mesa-va-drivers:amd64 19.3.3-1 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 19.3.3-1 Mesa VDPAU video acceleration drivers
ii mesa-vulkan-drivers:amd64 19.3.3-1 Mesa Vulkan graphics drivers
ii xserver-xorg-video-amdgpu 19.1.0-1 X.Org X server -- AMDGPU display driver
`