Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples crash with SDL/wayland when using default (vulkan) renderer #2416

Closed
belegdol opened this issue Mar 2, 2021 · 22 comments
Closed

examples crash with SDL/wayland when using default (vulkan) renderer #2416

belegdol opened this issue Mar 2, 2021 · 22 comments

Comments

@belegdol
Copy link
Contributor

belegdol commented Mar 2, 2021

Describe the bug
Examples built with SDL and wayland enabled segfault on an attempt to run with SDL_VIDEODRIVER=wayland.

To Reproduce
Steps to reproduce the behavior:

  1. clone the repository
  2. edit makefile line 106 adding --with-sdl --with-wayland
  3. make -j6 linux-debug64
  4. cd examples/runtime
  5. SDL_VIDEODRIVER=wayland ../../.build/linux64_gcc/bin/examplesDebug
  6. segfault. gdb.txt is attached

Expected behavior
Examples run and xeyes do not move when cursor is hovered over the examples window, indicating native wayland window is open

Additional context
This is on Fedora 33 x86_64 on an Asus UM425IA laptop, Ryzen 5 4500U APU.
Not specifying the SDL_VIDEODRIVER results in a different error:

libGL error: failed to create drawable
libGL error: failed to create drawable
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  26 (X_GLXMakeContextCurrent)
  Serial number of failed request:  221
  Current serial number in output stream:  221
@belegdol
Copy link
Contributor Author

belegdol commented Mar 2, 2021

I just checked and examples compiled with --with-sdl alone do run (using the default x11 SDL_VIDEODRIVER).

@belegdol
Copy link
Contributor Author

I tried again today with e8281f8 and SDL-2.0.16 which was supposed to have better wayland support, unfortunately there is no change. @BlockoS, the initial patch for Wayland support was from you, is the Wayland code still working for you?

@belegdol
Copy link
Contributor Author

With --gl the backtrace is slightly different:

#0  0x00007ffff7d21fc8 in _XGetRequest (dpy=0x955900, type=<optimized out>, len=8)
    at /usr/src/debug/libX11-1.7.2-3.fc34.x86_64/src/XlibInt.c:1805
#1  0x00007ffff7d15be7 in XQueryExtension (dpy=dpy@entry=0x955900, name=name@entry=0x7ffff76ba008 "GLX", 
    major_opcode=major_opcode@entry=0x9fc8a4, first_event=first_event@entry=0x7fffffffc3c4, first_error=first_error@entry=0x9fc8a8)
    at /usr/src/debug/libX11-1.7.2-3.fc34.x86_64/src/QuExt.c:49
#2  0x00007ffff76b71bc in InitDisplayInfoEntry (dpy=0x955900)
    at /usr/src/debug/libglvnd-1.3.3-1.fc34.x86_64/src/GLX/libglxmapping.c:646
#3  __glXLookupDisplay (dpy=dpy@entry=0x955900) at /usr/src/debug/libglvnd-1.3.3-1.fc34.x86_64/src/GLX/libglxmapping.c:756
#4  0x00007ffff76b8269 in glXQueryVersion (dpy=0x955900, major=0x7fffffffc514, minor=0x7fffffffc510)
    at /usr/src/debug/libglvnd-1.3.3-1.fc34.x86_64/src/GLX/libglx.c:1170
#5  0x00000000006401a6 in bgfx::gl::GlContext::create (this=0x7fffdd92ca98, _width=1280, _height=720)
    at ../../../src/glcontext_glx.cpp:113
#6  0x00000000005f9d8d in bgfx::gl::RendererContextGL::setRenderContextSize (this=0x7fffdd8a0010, _width=1280, _height=720, 
    _flags=0) at ../../../src/renderer_gl.cpp:3891
#7  0x00000000005f3d05 in bgfx::gl::RendererContextGL::init (this=0x7fffdd8a0010, _init=...) at ../../../src/renderer_gl.cpp:2220
#8  0x00000000005dc767 in bgfx::gl::rendererCreate (_init=...) at ../../../src/renderer_gl.cpp:4568
#9  0x00000000005b46b3 in bgfx::rendererCreate (_init=...) at ../../../src/bgfx.cpp:2743
#10 0x00000000005b4881 in bgfx::Context::rendererExecCommands (this=0x7fffd4ccd040, _cmdbuf=...) at ../../../src/bgfx.cpp:2794
#11 0x00000000005b3f98 in bgfx::Context::renderFrame (this=0x7fffd4ccd040, _msecs=5000) at ../../../src/bgfx.cpp:2430
#12 0x00000000005b0361 in bgfx::renderFrame (_msecs=-1) at ../../../src/bgfx.cpp:1474
#13 0x0000000000568078 in entry::Context::run (this=0x8e7980 <entry::s_ctx>, _argc=2, _argv=0x7fffffffd518)
    at ../../../examples/common/entry/entry_sdl.cpp:554
#14 0x000000000056647c in main (_argc=2, _argv=0x7fffffffd518) at ../../../examples/common/entry/entry_sdl.cpp:1184

@charlieamer
Copy link

charlieamer commented Sep 19, 2021

It looks like bgfx is trying to run using GLX instead of EGL. More and more linux distros are moving to Wayland (therefore EGL) and I think this should be addressed for linux platforms. Ubuntu now comes with Wayland enabled by default.

From bgfx code I see that EGL is enabled only on mobile platforms, but we need to have a way to switch between those on desktop platforms as well ...

It would be even perfect to be able to select GLX or EGL in runtime (during initialization), but I personally would be happy to have compile-time selection.

I think we should request this as a new feature, rather then bug report ?

@bkaradzic
Copy link
Owner

It would be even perfect to be able to select GLX or EGL in runtime (during initialization), but I personally would be happy to have compile-time selection.

Do you know how to detect which WM is currently used? You can send PR.

@belegdol
Copy link
Contributor Author

SDL-2.0.18 does not help. I tried forcing the use of EGL as @charlieamer suggested with a crude patch, but I could not get bgfx to build:

diff --git a/src/renderer_gl.h b/src/renderer_gl.h
index 83b271201..fe52de7bc 100644
--- a/src/renderer_gl.h
+++ b/src/renderer_gl.h
@@ -6,14 +6,17 @@
 #ifndef BGFX_RENDERER_GL_H_HEADER_GUARD
 #define BGFX_RENDERER_GL_H_HEADER_GUARD
 
-#define BGFX_USE_EGL (BGFX_CONFIG_RENDERER_OPENGLES && (0 \
+#define BGFX_USE_EGL ((BGFX_CONFIG_RENDERER_OPENGLES && (0 \
        || BX_PLATFORM_ANDROID                                \
        || BX_PLATFORM_BSD                                    \
        || BX_PLATFORM_LINUX                                  \
        || BX_PLATFORM_NX                                     \
        || BX_PLATFORM_RPI                                    \
        || BX_PLATFORM_WINDOWS                                \
-       ) )
+       ) )                                             \
+       || (BGFX_CONFIG_RENDERER_OPENGL && (0 \
+       || BX_PLATFORM_LINUX                                \
+       ) ) )
 
 #define BGFX_USE_HTML5 (BGFX_CONFIG_RENDERER_OPENGLES && (0 \
        || BX_PLATFORM_EMSCRIPTEN                               \
@@ -25,9 +28,8 @@
 
 #define BGFX_USE_GLX (BGFX_CONFIG_RENDERER_OPENGL && (0 \
        || BX_PLATFORM_BSD                                  \
-       || BX_PLATFORM_LINUX                                \
        ) )
-
+       
 #define BGFX_USE_GL_DYNAMIC_LIB (0 \
        || BX_PLATFORM_BSD             \
        || BX_PLATFORM_LINUX           \

@belegdol
Copy link
Contributor Author

belegdol commented May 9, 2022

I managed to get EGL to build under Linux with this crude patch:

diff --git a/examples/07-callback/callback.cpp b/examples/07-callback/callback.cpp
index 52cc283df..240e4e96c 100644
--- a/examples/07-callback/callback.cpp
+++ b/examples/07-callback/callback.cpp
@@ -280,7 +280,6 @@ public:
                if (kNaturalAlignment >= _align)
                {
                        void* ptr = ::realloc(_ptr, _size);
-                       bx::debugPrintf("%s(%d): REALLOC %p (old %p) of %d byte(s)\n", _file, _line, ptr, _ptr, _size);
 
                        if (NULL == _ptr)
                        {
diff --git a/makefile b/makefile
index 5fd42a7b7..fe20eedd9 100644
--- a/makefile
+++ b/makefile
@@ -104,7 +104,7 @@ wasm-release: .build/projects/gmake-wasm ## Build - Emscripten Release
 wasm: wasm-debug wasm-release ## Build - Emscripten Debug and Release
 
 .build/projects/gmake-linux:
-       $(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=linux-gcc gmake
+       $(GENIE) --with-tools --with-combined-examples --with-shared-lib --with-sdl --with-wayland --gcc=linux-gcc gmake
 linux-debug64: .build/projects/gmake-linux ## Build - Linux x64 Debug
        $(MAKE) -R -C .build/projects/gmake-linux config=debug64
 linux-release64: .build/projects/gmake-linux ## Build - Linux x64 Release
diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua
index 69f89958c..e2ae534fc 100644
--- a/scripts/bgfx.lua
+++ b/scripts/bgfx.lua
@@ -65,7 +65,7 @@ function bgfxProjectBase(_kind, _defines)
                        }
                        links {
                                "X11",
-                               "GL",
+                               "EGL",
                                "pthread",
                        }
 
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 2f4682e50..1ef9b7ca6 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -393,7 +393,7 @@ function exampleProjectDefaults()
        configuration { "linux-* or freebsd" }
                links {
                        "X11",
-                       "GL",
+                       "EGL",
                        "pthread",
                }
 
diff --git a/scripts/geometryv.lua b/scripts/geometryv.lua
index e403d5821..a635daabd 100644
--- a/scripts/geometryv.lua
+++ b/scripts/geometryv.lua
@@ -129,7 +129,7 @@ project ("geometryv")
        configuration { "linux-* or freebsd" }
                links {
                        "X11",
-                       "GL",
+                       "EGL",
                        "pthread",
                }
 
diff --git a/scripts/texturev.lua b/scripts/texturev.lua
index d5bb9e2f0..2aed5ecbc 100644
--- a/scripts/texturev.lua
+++ b/scripts/texturev.lua
@@ -129,7 +129,7 @@ project ("texturev")
        configuration { "linux-* or freebsd" }
                links {
                        "X11",
-                       "GL",
+                       "EGL",
                        "pthread",
                }
 
diff --git a/src/renderer_gl.h b/src/renderer_gl.h
index d9f7fbbe6..91c85e5b5 100644
--- a/src/renderer_gl.h
+++ b/src/renderer_gl.h
@@ -6,14 +6,17 @@
 #ifndef BGFX_RENDERER_GL_H_HEADER_GUARD
 #define BGFX_RENDERER_GL_H_HEADER_GUARD
 
-#define BGFX_USE_EGL (BGFX_CONFIG_RENDERER_OPENGLES && (0 \
+#define BGFX_USE_EGL ((BGFX_CONFIG_RENDERER_OPENGLES && (0 \
        || BX_PLATFORM_ANDROID                                \
        || BX_PLATFORM_BSD                                    \
        || BX_PLATFORM_LINUX                                  \
        || BX_PLATFORM_NX                                     \
        || BX_PLATFORM_RPI                                    \
        || BX_PLATFORM_WINDOWS                                \
-       ) )
+    ) )                                             \
+    || (BGFX_CONFIG_RENDERER_OPENGL && (0 \
+    || BX_PLATFORM_LINUX                                \
+    ) ) )
 
 #define BGFX_USE_HTML5 (BGFX_CONFIG_RENDERER_OPENGLES && (0 \
        || BX_PLATFORM_EMSCRIPTEN                               \
@@ -25,7 +28,6 @@
 
 #define BGFX_USE_GLX (BGFX_CONFIG_RENDERER_OPENGL && (0 \
        || BX_PLATFORM_BSD                                  \
-       || BX_PLATFORM_LINUX                                \
        ) )
 
 #define BGFX_USE_GL_DYNAMIC_LIB (0 \
@@ -76,6 +78,7 @@
 #                      define GL_PROTOTYPES
 #                      define GL_GLEXT_LEGACY
 #                      include <GL/gl.h>
+#           include "glcontext_egl.h"
 #                      undef GL_PROTOTYPES
 #              elif BX_PLATFORM_OSX
 #                      define GL_GLEXT_LEGACY

Unfortunately, this has not helped getting running under wayland to work:

$ ./../../.build/linux64_gcc/bin/examplesDebug --gl
../../../src/bgfx.cpp (3535): BGFX Init...
../../../src/bgfx.cpp (3542): BGFX Version 1.115.8127 (commit: d038172603d51a12485433206ef0912f7ff73308)
../../../src/bgfx.cpp (1732): BGFX Reset back-buffer swap chain:
../../../src/bgfx.cpp (1733): BGFX 	1280x720, format: RGBA8, numBackBuffers: 2, maxFrameLatency: 0
../../../src/bgfx.cpp (1742): BGFX 	[ ] MSAAx1
../../../src/bgfx.cpp (1743): BGFX 	[ ] Fullscreen
../../../src/bgfx.cpp (1744): BGFX 	[x] V-sync
../../../src/bgfx.cpp (1745): BGFX 	[ ] Max Anisotropy
../../../src/bgfx.cpp (1746): BGFX 	[ ] Capture
../../../src/bgfx.cpp (1747): BGFX 	[ ] Flush After Render
../../../src/bgfx.cpp (1748): BGFX 	[ ] Flip After Render
../../../src/bgfx.cpp (1749): BGFX 	[ ] sRGB Back Buffer
../../../src/bgfx.cpp (1750): BGFX 	[ ] HDR10
../../../src/bgfx.cpp (1751): BGFX 	[ ] Hi-DPI
../../../src/bgfx.cpp (1752): BGFX 	[ ] Depth Clamp
../../../src/bgfx.cpp (1753): BGFX 	[ ] Suspend
../../../src/bgfx.cpp (1919): BGFX Application called bgfx::renderFrame directly, not creating render thread.
../../../src/bgfx.cpp (1935): BGFX Running in multi-threaded mode
../../../src/glcontext_egl.cpp (72): BGFX 0x753f15a0 eglChooseConfig
../../../src/glcontext_egl.cpp (72): BGFX 0x753f16f0 eglCreateContext
../../../src/glcontext_egl.cpp (72): BGFX 0x753f1ac0 eglCreateWindowSurface
../../../src/glcontext_egl.cpp (72): BGFX 0x753effd0 eglGetDisplay
../../../src/glcontext_egl.cpp (72): BGFX 0x753efa10 eglGetError
../../../src/glcontext_egl.cpp (72): BGFX 0x753f3020 eglGetProcAddress
../../../src/glcontext_egl.cpp (72): BGFX 0x753f1b30 eglDestroyContext
../../../src/glcontext_egl.cpp (72): BGFX 0x753f1bf0 eglDestroySurface
../../../src/glcontext_egl.cpp (72): BGFX 0x753f1e00 eglInitialize
../../../src/glcontext_egl.cpp (72): BGFX 0x753f07e0 eglMakeCurrent
../../../src/glcontext_egl.cpp (72): BGFX 0x753f2bc0 eglQueryString
../../../src/glcontext_egl.cpp (72): BGFX 0x753f2010 eglSwapBuffers
../../../src/glcontext_egl.cpp (72): BGFX 0x753f2070 eglSwapInterval
../../../src/glcontext_egl.cpp (72): BGFX 0x753f20d0 eglTerminate
../../../src/glcontext_egl.cpp (191): BGFX EGL info:
../../../src/glcontext_egl.cpp (193): BGFX    APIs: OpenGL_ES OpenGL
../../../src/glcontext_egl.cpp (196): BGFX  Vendor: NVIDIA
../../../src/glcontext_egl.cpp (199): BGFX Version: 1.5
../../../src/glcontext_egl.cpp (202): BGFX Supported EGL extensions:
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_buffer_age
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_client_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_create_context_robustness
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_image_dma_buf_import
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_image_dma_buf_import_modifiers
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_MESA_image_dma_buf_export
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_output_base
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_output_drm
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_protected_content
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_stream_consumer_egloutput
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_stream_acquire_mode
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_EXT_sync_reuse
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_IMG_context_priority
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_config_attribs
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_create_context_no_error
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_context_flush_control
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_create_context
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_fence_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_get_all_proc_addresses
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_partial_update
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_swap_buffers_with_damage
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_no_config_context
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_gl_colorspace
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_gl_renderbuffer_image
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_gl_texture_2D_image
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_gl_texture_3D_image
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_gl_texture_cubemap_image
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_image
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_image_base
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_reusable_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream_attrib
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream_consumer_gltexture
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream_cross_process_fd
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream_fifo
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_stream_producer_eglsurface
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_surfaceless_context
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_KHR_wait_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_nvrm_fence_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_quadruple_buffer
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_consumer_eglimage
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_cross_display
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_cross_object
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_cross_process
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_cross_system
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_dma
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_flush
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_metadata
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_remote
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_reset
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_socket
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_socket_inet
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_socket_unix
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_sync
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_fifo_next
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_fifo_synchronous
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_consumer_gltexture_yuv
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_attrib
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_stream_origin
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_system_time
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_output_drm_flip_event
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_triple_buffer
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_NV_robustness_video_memory_purge
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_WL_bind_wayland_display
../../../src/renderer_gl.cpp (1165): BGFX 	EGL_WL_wayland_eglstream
../../../src/glcontext_egl.cpp (325): BGFX Failed to create EGL context with EGL_CONTEXT_FLAGS_KHR (00000009).
../../../src/glcontext_egl.cpp (325): BGFX Failed to create EGL context with EGL_CONTEXT_FLAGS_KHR (00000008).
../../../src/glcontext_egl.cpp (328): BGFX FATAL 0x00000002: Failed to create context.
Przerwane (zrzut pamięci)

@belegdol
Copy link
Contributor Author

belegdol commented May 9, 2022

Here is the current backtrace with wayland backend, it seems to have changed since the first comment:

 gdb ./../../.build/linux64_gcc/bin/examplesDebug
GNU gdb (GDB) Fedora 11.2-3.fc36
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./../../.build/linux64_gcc/bin/examplesDebug...
(gdb) run
Starting program: /home/julas/cvs/bgfx/.build/linux64_gcc/bin/examplesDebug 

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.fedoraproject.org/ 
Enable debuginfod for this session? (y or [n]) 
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe05bc640 (LWP 848384)]
[New Thread 0x7fffdc3ff640 (LWP 848387)]
[New Thread 0x7fffdbbfe640 (LWP 848388)]
[New Thread 0x7fffdb3fd640 (LWP 848389)]
[New Thread 0x7fffda7f8640 (LWP 848391)]
[Thread 0x7fffda7f8640 (LWP 848391) exited]
[New Thread 0x7fffda7f8640 (LWP 848393)]
[New Thread 0x7fffd9ff7640 (LWP 848394)]
[Thread 0x7fffda7f8640 (LWP 848393) exited]
[Thread 0x7fffd9ff7640 (LWP 848394) exited]
[New Thread 0x7fffd9ff7640 (LWP 848395)]
[New Thread 0x7fffda7f8640 (LWP 848396)]
[Thread 0x7fffd9ff7640 (LWP 848395) exited]
[New Thread 0x7fffd9ff7640 (LWP 848397)]
[Thread 0x7fffda7f8640 (LWP 848396) exited]
../../../src/bgfx.cpp (3535): BGFX Init...
../../../src/bgfx.cpp (3542): BGFX Version 1.115.8127 (commit: d038172603d51a12485433206ef0912f7ff73308)
../../../src/bgfx.cpp (1732): BGFX Reset back-buffer swap chain:
../../../src/bgfx.cpp (1733): BGFX 	1280x720, format: RGBA8, numBackBuffers: 2, maxFrameLatency: 0
../../../src/bgfx.cpp (1742): BGFX 	[ ] MSAAx1
../../../src/bgfx.cpp (1743): BGFX 	[ ] Fullscreen
../../../src/bgfx.cpp (1744): BGFX 	[x] V-sync
../../../src/bgfx.cpp (1745): BGFX 	[ ] Max Anisotropy
../../../src/bgfx.cpp (1746): BGFX 	[ ] Capture
../../../src/bgfx.cpp (1747): BGFX 	[ ] Flush After Render
../../../src/bgfx.cpp (1748): BGFX 	[ ] Flip After Render
../../../src/bgfx.cpp (1749): BGFX 	[ ] sRGB Back Buffer
../../../src/bgfx.cpp (1750): BGFX 	[ ] HDR10
../../../src/bgfx.cpp (1751): BGFX 	[ ] Hi-DPI
../../../src/bgfx.cpp (1752): BGFX 	[ ] Depth Clamp
../../../src/bgfx.cpp (1753): BGFX 	[ ] Suspend
../../../src/bgfx.cpp (1919): BGFX Application called bgfx::renderFrame directly, not creating render thread.
../../../src/bgfx.cpp (1935): BGFX Running in multi-threaded mode
../../../src/bgfx.cpp (419): BGFX Graphics debugger is not present.
../../../src/renderer_vk.cpp (1137): BGFX Shared library functions:
../../../src/renderer_vk.cpp (1144): BGFX 	0xd8522360 vkCreateInstance
../../../src/renderer_vk.cpp (1144): BGFX 	0xd851d4c0 vkGetInstanceProcAddr
../../../src/renderer_vk.cpp (1144): BGFX 	0xd8518e20 vkGetDeviceProcAddr
../../../src/renderer_vk.cpp (1144): BGFX 	0xd851ca30 vkEnumerateInstanceExtensionProperties
../../../src/renderer_vk.cpp (1144): BGFX 	0xd851cd20 vkEnumerateInstanceLayerProperties
../../../src/renderer_vk.cpp (1144): BGFX 	0xd851d010 vkEnumerateInstanceVersion
../../../src/renderer_vk.cpp (678): BGFX Global extensions (19):
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_device_group_creation
../../../src/renderer_vk.cpp (691): BGFX 	v23  VK_KHR_display
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_fence_capabilities
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_memory_capabilities
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_semaphore_capabilities
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_get_display_properties2
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_get_physical_device_properties2 (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_get_surface_capabilities2
../../../src/renderer_vk.cpp (691): BGFX 	v25  VK_KHR_surface
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_surface_protected_capabilities
../../../src/renderer_vk.cpp (691): BGFX 	v6   VK_KHR_wayland_surface
../../../src/renderer_vk.cpp (691): BGFX 	v6   VK_KHR_xcb_surface
../../../src/renderer_vk.cpp (691): BGFX 	v6   VK_KHR_xlib_surface
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_acquire_drm_display
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_acquire_xlib_display
../../../src/renderer_vk.cpp (691): BGFX 	v10  VK_EXT_debug_report (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_direct_mode_display
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_display_surface_counter
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_debug_utils (supported)
../../../src/renderer_vk.cpp (717): BGFX Layer extensions (7):
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_VALVE_steam_overlay_64 (s: 0x00402088, i: 0x00000001), Steam Overlay Layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_VALVE_steam_overlay_32 (s: 0x00402088, i: 0x00000001), Steam Overlay Layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_VALVE_steam_fossilize_32 (s: 0x00402088, i: 0x00000001), Steam Pipeline Caching Layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_VALVE_steam_fossilize_64 (s: 0x00402088, i: 0x00000001), Steam Pipeline Caching Layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_NV_optimus (s: 0x004030c2, i: 0x00000001), NVIDIA Optimus layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_MESA_device_select (s: 0x00402049, i: 0x00000001), Linux device selection layer
../../../src/renderer_vk.cpp (729): BGFX 	VK_LAYER_KHRONOS_validation (s: 0x004030cc, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (762): BGFX 		VK_EXT_debug_report (s: 0x00000009)
../../../src/renderer_vk.cpp (762): BGFX 		VK_EXT_debug_utils (s: 0x00000001)
../../../src/renderer_vk.cpp (762): BGFX 		VK_EXT_validation_features (s: 0x00000002)
../../../src/renderer_vk.cpp (1178): BGFX Enabled instance layers:
../../../src/renderer_vk.cpp (1188): BGFX 	VK_LAYER_KHRONOS_validation
../../../src/renderer_vk.cpp (1219): BGFX Enabled instance extensions:
../../../src/renderer_vk.cpp (1223): BGFX 	VK_KHR_surface
../../../src/renderer_vk.cpp (1223): BGFX 	VK_KHR_xcb_surface
../../../src/renderer_vk.cpp (1223): BGFX 	VK_EXT_debug_utils
../../../src/renderer_vk.cpp (1223): BGFX 	VK_EXT_debug_report
../../../src/renderer_vk.cpp (1223): BGFX 	VK_KHR_get_physical_device_properties2
../../../src/renderer_vk.cpp (1286): BGFX Instance API version: 1.3.204
../../../src/renderer_vk.cpp (1291): BGFX Instance variant: 0
../../../src/renderer_vk.cpp (1296): BGFX Instance functions:
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523910 vkDestroyInstance
../../../src/renderer_vk.cpp (1302): BGFX 	0xd851d330 vkEnumeratePhysicalDevices
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8526550 vkEnumerateDeviceExtensionProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85265d0 vkEnumerateDeviceLayerProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523ea0 vkGetPhysicalDeviceProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523e00 vkGetPhysicalDeviceFormatProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523db0 vkGetPhysicalDeviceFeatures
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523e50 vkGetPhysicalDeviceImageFormatProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523f40 vkGetPhysicalDeviceMemoryProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523ef0 vkGetPhysicalDeviceQueueFamilyProperties
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8523f90 vkCreateDevice
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85264c0 vkDestroyDevice
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85294a0 vkGetPhysicalDeviceSurfaceCapabilitiesKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85295b0 vkGetPhysicalDeviceSurfaceFormatsKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85296c0 vkGetPhysicalDeviceSurfacePresentModesKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8529380 vkGetPhysicalDeviceSurfaceSupportKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8529310 vkDestroySurfaceKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8528750 vkGetPhysicalDeviceFeatures2KHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8528980 vkGetPhysicalDeviceMemoryProperties2KHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8503430 vkCreateDebugReportCallbackEXT
../../../src/renderer_vk.cpp (1302): BGFX 	0xd85034d0 vkDestroyDebugReportCallbackEXT
../../../src/renderer_vk.cpp (1302): BGFX 	0x0 vkCreateXlibSurfaceKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0x0 vkGetPhysicalDeviceXlibPresentationSupportKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8529c30 vkCreateXcbSurfaceKHR
../../../src/renderer_vk.cpp (1302): BGFX 	0xd8529e90 vkGetPhysicalDeviceXcbPresentationSupportKHR
../../../src/renderer_vk.cpp (1333): BGFX ---
../../../src/renderer_vk.cpp (1369): BGFX Physical device 0:
../../../src/renderer_vk.cpp (1370): BGFX 	          Name: NVIDIA GeForce RTX 2070
../../../src/renderer_vk.cpp (1371): BGFX 	   API version: 1.3.194
../../../src/renderer_vk.cpp (1375): BGFX 	   API variant: 0
../../../src/renderer_vk.cpp (1376): BGFX 	Driver version: 7f910080
../../../src/renderer_vk.cpp (1377): BGFX 	      VendorId: 10de
../../../src/renderer_vk.cpp (1378): BGFX 	      DeviceId: 1f02
../../../src/renderer_vk.cpp (1379): BGFX 	          Type: 2
../../../src/renderer_vk.cpp (1402): BGFX 	Memory type count: 11
../../../src/renderer_vk.cpp (1405): BGFX 	  0: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  1: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  2: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  3: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  4: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  5: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  6: flags 0x00000000, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  7: flags 0x00000001, index 0
../../../src/renderer_vk.cpp (1405): BGFX 	  8: flags 0x00000006, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	  9: flags 0x0000000e, index 1
../../../src/renderer_vk.cpp (1405): BGFX 	 10: flags 0x00000007, index 2
../../../src/renderer_vk.cpp (1412): BGFX 	Memory heap count: 3
../../../src/renderer_vk.cpp (1417): BGFX 	  0: flags 0x00000001, size   8.00 GiB
../../../src/renderer_vk.cpp (1417): BGFX 	  1: flags 0x00000000, size  23.45 GiB
../../../src/renderer_vk.cpp (1417): BGFX 	  2: flags 0x00000001, size 246.00 MiB
../../../src/renderer_vk.cpp (678): BGFX Global extensions (154):
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_16bit_storage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_8bit_storage
../../../src/renderer_vk.cpp (691): BGFX 	v12  VK_KHR_acceleration_structure
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_bind_memory2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_buffer_device_address
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_copy_commands2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_create_renderpass2
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_KHR_dedicated_allocation
../../../src/renderer_vk.cpp (691): BGFX 	v4   VK_KHR_deferred_host_operations
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_depth_stencil_resolve
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_descriptor_update_template
../../../src/renderer_vk.cpp (691): BGFX 	v4   VK_KHR_device_group
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_draw_indirect_count
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_driver_properties
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_dynamic_rendering
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_fence
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_fence_fd
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_memory
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_memory_fd
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_semaphore
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_semaphore_fd
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_format_feature_flags2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_fragment_shading_rate
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_get_memory_requirements2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_global_priority
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_image_format_list
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_imageless_framebuffer
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_maintenance1
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_maintenance2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_maintenance3
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_maintenance4
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_multiview
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_pipeline_executable_properties
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_pipeline_library
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_present_id
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_present_wait
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_push_descriptor
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_ray_query
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_ray_tracing_pipeline
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_relaxed_block_layout
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_KHR_sampler_mirror_clamp_to_edge
../../../src/renderer_vk.cpp (691): BGFX 	v14  VK_KHR_sampler_ycbcr_conversion
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_separate_depth_stencil_layouts
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_atomic_int64
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_clock
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_draw_parameters
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_float16_int8
../../../src/renderer_vk.cpp (691): BGFX 	v4   VK_KHR_shader_float_controls
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_integer_dot_product
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_non_semantic_info
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_subgroup_extended_types
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_subgroup_uniform_control_flow
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_terminate_invocation
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_spirv_1_4
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_storage_buffer_storage_class
../../../src/renderer_vk.cpp (691): BGFX 	v70  VK_KHR_swapchain
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_swapchain_mutable_format
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_synchronization2
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_timeline_semaphore
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_uniform_buffer_standard_layout
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_variable_pointers
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_KHR_vulkan_memory_model
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_workgroup_memory_explicit_layout
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_zero_initialize_workgroup_memory
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_4444_formats
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_blend_operation_advanced
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_border_color_swizzle
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_buffer_device_address
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_calibrated_timestamps
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_color_write_enable
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_conditional_rendering
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_conservative_rasterization (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v12  VK_EXT_custom_border_color (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_depth_clip_control
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_depth_clip_enable
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_depth_range_unrestricted
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_descriptor_indexing
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_discard_rectangles
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_display_control
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_extended_dynamic_state
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_extended_dynamic_state2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_external_memory_host
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_fragment_shader_interlock
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_global_priority
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_global_priority_query
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_host_query_reset
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_image_robustness
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_image_view_min_lod
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_index_type_uint8
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_inline_uniform_block
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_line_rasterization (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_load_store_op_none
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_memory_budget (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_multi_draw
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_pci_bus_info
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_physical_device_drm
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_EXT_pipeline_creation_cache_control
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_pipeline_creation_feedback
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_post_depth_coverage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_primitive_topology_list_restart
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_private_data
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_provoking_vertex
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_queue_family_foreign
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_robustness2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_sample_locations
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_sampler_filter_minmax
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_scalar_block_layout
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_separate_stencil_usage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_atomic_float
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_demote_to_helper_invocation
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_image_atomic_int64
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_subgroup_ballot
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_subgroup_vote
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_viewport_index_layer (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_subgroup_size_control
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_texel_buffer_alignment
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_tooling_info
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_transform_feedback
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_EXT_vertex_attribute_divisor
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_vertex_input_dynamic_state
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_ycbcr_2plane_444_formats
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_ycbcr_image_arrays
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_clip_space_w_scaling
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_compute_shader_derivatives
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_cooperative_matrix
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NV_corner_sampled_image
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_coverage_reduction_mode
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NV_cuda_kernel_launch
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_dedicated_allocation
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_dedicated_allocation_image_aliasing
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NV_device_diagnostic_checkpoints
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_device_diagnostics_config
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_NV_device_generated_commands
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_fill_rectangle
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_fragment_coverage_to_color
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_fragment_shader_barycentric
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_fragment_shading_rate_enums
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_framebuffer_mixed_samples
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_geometry_shader_passthrough
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_inherited_viewport_scissor
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_mesh_shader
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_NV_ray_tracing
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NV_representative_fragment_test
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_sample_mask_override_coverage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_scissor_exclusive
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NV_shader_image_footprint
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_shader_sm_builtins
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_shader_subgroup_partitioned
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_NV_shading_rate_image
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_viewport_array2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NV_viewport_swizzle
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NVX_binary_import
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_NVX_image_view_handle
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_NVX_multiview_per_view_attributes
../../../src/renderer_vk.cpp (717): BGFX 	Layer extensions (1):
../../../src/renderer_vk.cpp (729): BGFX 		VK_LAYER_KHRONOS_validation (s: 0x004030cc, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_validation_cache (s: 0x00000001)
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_debug_marker (s: 0x00000004)
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_tooling_info (s: 0x00000001)
../../../src/renderer_vk.cpp (1369): BGFX Physical device 1:
../../../src/renderer_vk.cpp (1370): BGFX 	          Name: llvmpipe (LLVM 14.0.0, 256 bits)
../../../src/renderer_vk.cpp (1371): BGFX 	   API version: 1.2.204
../../../src/renderer_vk.cpp (1375): BGFX 	   API variant: 0
../../../src/renderer_vk.cpp (1376): BGFX 	Driver version: 1
../../../src/renderer_vk.cpp (1377): BGFX 	      VendorId: 10005
../../../src/renderer_vk.cpp (1378): BGFX 	      DeviceId: 0
../../../src/renderer_vk.cpp (1379): BGFX 	          Type: 4
../../../src/renderer_vk.cpp (1402): BGFX 	Memory type count: 1
../../../src/renderer_vk.cpp (1405): BGFX 	  0: flags 0x0000000f, index 0
../../../src/renderer_vk.cpp (1412): BGFX 	Memory heap count: 1
../../../src/renderer_vk.cpp (1417): BGFX 	  0: flags 0x00000001, size   2.00 GiB
../../../src/renderer_vk.cpp (678): BGFX Global extensions (67):
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_8bit_storage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_16bit_storage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_bind_memory2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_buffer_device_address
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_copy_commands2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_create_renderpass2
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_KHR_dedicated_allocation
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_depth_stencil_resolve
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_descriptor_update_template
../../../src/renderer_vk.cpp (691): BGFX 	v4   VK_KHR_device_group
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_draw_indirect_count
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_driver_properties
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_dynamic_rendering
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_fence
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_memory
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_memory_fd
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_external_semaphore
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_get_memory_requirements2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_image_format_list
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_imageless_framebuffer
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_incremental_present
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_maintenance1
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_maintenance2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_maintenance3
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_multiview
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_push_descriptor
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_relaxed_block_layout
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_KHR_sampler_mirror_clamp_to_edge
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_separate_depth_stencil_layouts
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_atomic_int64
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_draw_parameters
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_float16_int8
../../../src/renderer_vk.cpp (691): BGFX 	v4   VK_KHR_shader_float_controls
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_shader_subgroup_extended_types
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_spirv_1_4
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_storage_buffer_storage_class
../../../src/renderer_vk.cpp (691): BGFX 	v70  VK_KHR_swapchain
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_KHR_timeline_semaphore
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_uniform_buffer_standard_layout
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_KHR_variable_pointers
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_4444_formats
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_calibrated_timestamps
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_color_write_enable
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_conditional_rendering
../../../src/renderer_vk.cpp (691): BGFX 	v12  VK_EXT_custom_border_color (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_depth_clip_enable
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_extended_dynamic_state
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_extended_dynamic_state2
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_external_memory_host
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_host_query_reset
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_index_type_uint8
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_line_rasterization (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_multi_draw
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_post_depth_coverage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_primitive_topology_list_restart
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_private_data
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_provoking_vertex
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_sampler_filter_minmax
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_scalar_block_layout
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_separate_stencil_usage
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_stencil_export
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_shader_viewport_index_layer (supported)
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_EXT_transform_feedback
../../../src/renderer_vk.cpp (691): BGFX 	v3   VK_EXT_vertex_attribute_divisor
../../../src/renderer_vk.cpp (691): BGFX 	v2   VK_EXT_vertex_input_dynamic_state
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_GOOGLE_decorate_string
../../../src/renderer_vk.cpp (691): BGFX 	v1   VK_GOOGLE_hlsl_functionality1
../../../src/renderer_vk.cpp (717): BGFX 	Layer extensions (1):
../../../src/renderer_vk.cpp (729): BGFX 		VK_LAYER_KHRONOS_validation (s: 0x004030cc, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_validation_cache (s: 0x00000001)
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_debug_marker (s: 0x00000004)
../../../src/renderer_vk.cpp (762): BGFX 			VK_EXT_tooling_info (s: 0x00000001)
../../../src/renderer_vk.cpp (1444): BGFX Using physical device 0: NVIDIA GeForce RTX 2070
../../../src/renderer_vk.cpp (1660): BGFX ---
../../../src/renderer_vk.cpp (1680): BGFX Queue family property 0:
../../../src/renderer_vk.cpp (1681): BGFX 	  Queue flags: 0x0000000f
../../../src/renderer_vk.cpp (1682): BGFX 	  Queue count: 16
../../../src/renderer_vk.cpp (1683): BGFX 	TS valid bits: 0x00000040
../../../src/renderer_vk.cpp (1684): BGFX 	    Min image: 1 x 1 x 1
../../../src/renderer_vk.cpp (1680): BGFX Queue family property 1:
../../../src/renderer_vk.cpp (1681): BGFX 	  Queue flags: 0x0000000c
../../../src/renderer_vk.cpp (1682): BGFX 	  Queue count: 2
../../../src/renderer_vk.cpp (1683): BGFX 	TS valid bits: 0x00000040
../../../src/renderer_vk.cpp (1684): BGFX 	    Min image: 1 x 1 x 1
../../../src/renderer_vk.cpp (1680): BGFX Queue family property 2:
../../../src/renderer_vk.cpp (1681): BGFX 	  Queue flags: 0x0000000e
../../../src/renderer_vk.cpp (1682): BGFX 	  Queue count: 8
../../../src/renderer_vk.cpp (1683): BGFX 	TS valid bits: 0x00000040
../../../src/renderer_vk.cpp (1684): BGFX 	    Min image: 1 x 1 x 1
../../../src/renderer_vk.cpp (1713): BGFX Enabled device layers:
../../../src/renderer_vk.cpp (1723): BGFX 	VK_LAYER_KHRONOS_validation
../../../src/renderer_vk.cpp (1752): BGFX Enabled device extensions:
../../../src/renderer_vk.cpp (1756): BGFX 	VK_KHR_maintenance1
../../../src/renderer_vk.cpp (1756): BGFX 	VK_KHR_swapchain
../../../src/renderer_vk.cpp (1756): BGFX 	VK_EXT_memory_budget
../../../src/renderer_vk.cpp (1756): BGFX 	VK_EXT_conservative_rasterization
../../../src/renderer_vk.cpp (1756): BGFX 	VK_EXT_line_rasterization
../../../src/renderer_vk.cpp (1756): BGFX 	VK_EXT_shader_viewport_index_layer
../../../src/renderer_vk.cpp (1756): BGFX 	VK_EXT_custom_border_color
[New Thread 0x7fffda7f8640 (LWP 848400)]
[New Thread 0x7fffb7bff640 (LWP 848401)]
../../../src/renderer_vk.cpp (1796): BGFX Device functions:
../../../src/renderer_vk.cpp (1801): BGFX 	0xd8526750 vkGetDeviceQueue
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96995a9 vkCreateFence
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969a6b5 vkDestroyFence
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96999ec vkCreateSemaphore
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969aa72 vkDestroySemaphore
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9698b39 vkResetFences
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a3797 vkCreateCommandPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a3ac1 vkDestroyCommandPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a03f1 vkResetCommandPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xd8527950 vkAllocateCommandBuffers
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a4093 vkFreeCommandBuffers
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969827c vkGetBufferMemoryRequirements
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9698556 vkGetImageMemoryRequirements
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969ee5f vkGetImageSubresourceLayout
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96953ec vkAllocateMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9695716 vkFreeMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969e85b vkCreateImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969eb85 vkDestroyImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969f6c3 vkCreateImageView
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969d967 vkDestroyImageView
../../../src/renderer_vk.cpp (1801): BGFX 	0xb968b711 vkCreateBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969b5a9 vkDestroyBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a4907 vkCreateFramebuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969e49e vkDestroyFramebuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a2cb7 vkCreateRenderPass
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a326c vkDestroyRenderPass
../../../src/renderer_vk.cpp (1801): BGFX 	0xb968acda vkCreateShaderModule
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a07a8 vkDestroyShaderModule
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969cc75 vkCreatePipelineCache
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969dd24 vkDestroyPipelineCache
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969fc66 vkGetPipelineCacheData
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a0a82 vkMergePipelineCaches
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9691a01 vkCreateGraphicsPipelines
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969204e vkCreateComputePipelines
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a0fca vkDestroyPipeline
../../../src/renderer_vk.cpp (1801): BGFX 	0xb968a9ee vkCreatePipelineLayout
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a12a4 vkDestroyPipelineLayout
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969f168 vkCreateSampler
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969e0e1 vkDestroySampler
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a157e vkCreateDescriptorSetLayout
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a18a8 vkDestroyDescriptorSetLayout
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a1b82 vkCreateDescriptorPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a1eac vkDestroyDescriptorPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a2186 vkResetDescriptorPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb968b06f vkAllocateDescriptorSets
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a267e vkFreeDescriptorSets
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a29a8 vkUpdateDescriptorSets
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969a272 vkCreateQueryPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb969b1ec vkDestroyQueryPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9694e3f vkQueueSubmit
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9695154 vkQueueWaitIdle
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9694b96 vkDeviceWaitIdle
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9698fde vkWaitForFences
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a439c vkBeginCommandBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a466f vkEndCommandBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96ac647 vkCmdPipelineBarrier
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96b31ca vkCmdBeginRenderPass
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96ae97d vkCmdEndRenderPass
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a5246 vkCmdSetViewport
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a6cc8 vkCmdDraw
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a6fe3 vkCmdDrawIndexed
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a80ae vkCmdDrawIndirect
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a8481 vkCmdDrawIndexedIndirect
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a732d vkCmdDispatch
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a8854 vkCmdDispatchIndirect
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a4f6c vkCmdBindPipeline
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a69dd vkCmdSetStencilReference
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a5e51 vkCmdSetBlendConstants
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a5560 vkCmdSetScissor
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a7967 vkCmdBindDescriptorSets
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a7cde vkCmdBindIndexBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96abe6d vkCmdBindVertexBuffers
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96aa699 vkCmdClearColorImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96aaaa2 vkCmdClearDepthStencilImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a7647 vkCmdClearAttachments
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96aaeab vkCmdResolveImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96ac333 vkCmdCopyBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a959c vkCmdCopyBufferToImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a8bea vkCmdCopyImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a9a40 vkCmdCopyImageToBuffer
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96a90b0 vkCmdBlitImage
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96afbd3 vkCmdResetQueryPool
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96affa3 vkCmdWriteTimestamp
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96aba9d vkCmdBeginQuery
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96af83d vkCmdEndQuery
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96b0373 vkCmdCopyQueryPoolResults
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96959f0 vkMapMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9695d44 vkUnmapMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9696000 vkFlushMappedMemoryRanges
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96962f8 vkInvalidateMappedMemoryRanges
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9697c28 vkBindBufferMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb9697f52 vkBindImageMemory
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96c527d vkCreateSwapchainKHR
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96c2b3b vkDestroySwapchainKHR
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96c304e vkGetSwapchainImagesKHR
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96c0b93 vkAcquireNextImageKHR
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96c376d vkQueuePresentKHR
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96eec61 vkSetDebugUtilsObjectNameEXT
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96e7be5 vkCmdBeginDebugUtilsLabelEXT
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96e7eb2 vkCmdEndDebugUtilsLabelEXT
../../../src/renderer_vk.cpp (1801): BGFX 	0xb96e814c vkCmdInsertDebugUtilsLabelEXT

Thread 1 "examplesDebug" received signal SIGSEGV, Segmentation fault.
0x00007fffde9fc11b in XGetXCBConnection (dpy=0x979020) at /usr/src/debug/libX11-1.7.3.1-2.fc36.x86_64/src/x11_xcb.c:9
9		return dpy->xcb->connection;
Missing separate debuginfos, use: dnf debuginfo-install SDL2-2.0.22-2.fc36.x86_64 bzip2-libs-1.0.8-11.fc36.x86_64 cairo-1.17.6-1.fc36.x86_64 dbus-libs-1.14.0-1.fc36.x86_64 egl-gbm-1.1.0-2.fc36.x86_64 egl-wayland-1.1.9-4.fc36.x86_64 elfutils-libelf-0.187-2.fc36.x86_64 fontconfig-2.14.0-1.fc36.x86_64 freetype-2.12.1-1.fc36.x86_64 fribidi-1.0.11-3.fc36.x86_64 glib2-2.72.1-1.fc36.x86_64 glibc-2.35-5.fc36.x86_64 harfbuzz-4.0.0-1.fc36.x86_64 libXext-1.3.4-8.fc36.x86_64 libXrender-0.9.10-16.fc36.x86_64 libblkid-2.38-0.2.fc36.x86_64 libbrotli-1.0.9-7.fc36.x86_64 libcap-2.48-4.fc36.x86_64 libdatrie-0.2.13-3.fc36.x86_64 libdecor-0.1.0-2.fc36.x86_64 libedit-3.1-41.20210910cvs.fc36.x86_64 libffi-3.4.2-8.fc36.x86_64 libgcc-12.0.1-0.16.fc36.x86_64 libgcrypt-1.10.1-2.fc36.x86_64 libglvnd-1.4.0-2.fc36.x86_64 libglvnd-egl-1.4.0-2.fc36.x86_64 libglvnd-glx-1.4.0-2.fc36.x86_64 libmount-2.38-0.2.fc36.x86_64 libpng-1.6.37-12.fc36.x86_64 libstdc++-12.0.1-0.16.fc36.x86_64 libthai-0.1.29-2.fc36.x86_64 libusb1-1.0.25-8.fc36.x86_64 libwayland-client-1.20.0-4.fc36.x86_64 libwayland-egl-1.20.0-4.fc36.x86_64 libxml2-2.9.14-1.fc36.x86_64 libzstd-1.5.2-1.fc36.x86_64 lz4-libs-1.9.3-4.fc36.x86_64 mesa-libglapi-22.0.2-2.fc36.x86_64 ncurses-libs-6.2-9.20210508.fc36.x86_64 pango-1.50.7-1.fc36.x86_64 pcre-8.45-1.fc36.1.x86_64 pcre2-10.39-1.fc36.1.x86_64 spirv-tools-libs-2022.1-1.20220202.git45dd184.fc36.x86_64 systemd-libs-250.3-8.fc36.x86_64 vulkan-validation-layers-1.3.204.0-1.fc36.x86_64 xz-libs-5.2.5-9.fc36.x86_64 zlib-1.2.11-31.fc36.x86_64
(gdb) bt
#0  0x00007fffde9fc11b in XGetXCBConnection (dpy=0x979020) at /usr/src/debug/libX11-1.7.3.1-2.fc36.x86_64/src/x11_xcb.c:9
#1  0x000000000060f398 in bgfx::vk::SwapChainVK::createSurface() (this=0x7fffd857e700) at ../../../src/renderer_vk.cpp:6723
#2  0x000000000060e89e in bgfx::vk::SwapChainVK::create(VkCommandBuffer_T*, void*, bgfx::Resolution const&, bgfx::TextureFormat::Enum)
    (this=0x7fffd857e700, _commandBuffer=0x119cb68, _nwh=0xa2dd70, _resolution=..., _depthFormat=bgfx::TextureFormat::Count) at ../../../src/renderer_vk.cpp:6461
#3  0x00000000006112af in bgfx::vk::FrameBufferVK::create(unsigned short, void*, unsigned int, unsigned int, bgfx::TextureFormat::Enum, bgfx::TextureFormat::Enum)
    (this=0x7fffd857e660, _denseIdx=65535, _nwh=0xa2dd70, _width=1280, _height=720, _format=bgfx::TextureFormat::RGBA8, _depthFormat=bgfx::TextureFormat::Count) at ../../../src/renderer_vk.cpp:7432
#4  0x0000000000620aa4 in bgfx::vk::RendererContextVK::init(bgfx::Init const&) (this=0x7fffd857e010, _init=...) at ../../../src/renderer_vk.cpp:1855
#5  0x0000000000606930 in bgfx::vk::rendererCreate(bgfx::Init const&) (_init=...) at ../../../src/renderer_vk.cpp:4431
#6  0x00000000005b93b4 in bgfx::rendererCreate(bgfx::Init const&) (_init=...) at ../../../src/bgfx.cpp:2754
#7  0x00000000005b957f in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) (this=0x7fffc8cb3040, _cmdbuf=...) at ../../../src/bgfx.cpp:2805
#8  0x00000000005b8c9a in bgfx::Context::renderFrame(int) (this=0x7fffc8cb3040, _msecs=5000) at ../../../src/bgfx.cpp:2439
#9  0x00000000005b50cb in bgfx::renderFrame(int) (_msecs=-1) at ../../../src/bgfx.cpp:1480
#10 0x000000000056c4ab in entry::Context::run(int, char**) (this=0x909c60 <entry::s_ctx>, _argc=1, _argv=0x7fffffffdbc8) at ../../../examples/common/entry/entry_sdl.cpp:554
#11 0x000000000056a86a in main(int, char**) (_argc=1, _argv=0x7fffffffdbc8) at ../../../examples/common/entry/entry_sdl.cpp:1184
(gdb) 

@cuavas
Copy link
Contributor

cuavas commented Feb 4, 2023

It would be even perfect to be able to select GLX or EGL in runtime (during initialization), but I personally would be happy to have compile-time selection.

Do you know how to detect which WM is currently used? You can send PR.

When using SDL, you check the subsystem value in the SDL_SysWMinfo structure filled in by SDL_GetWindowWMInfo. This lets you know whether you’re getting X11 or Wayland window information on Linux, or Win32 or WinRT window information on Windows. BGFX would need some way to supply the window manager type to bgfx::init on platforms that have multiple options.

@sjnewbury
Copy link

As you can see in the SDL issues above, I'm trying to get MAME+BGFX+Wayland working.

So since there are probably multiple issues it makes more sense to make sure BGFX is actually able to work natively on Wayland.

I don't mind spending a bit of time getting this working, just a couple of questions:

Would it be acceptable to deprecate GLX support and use EGL only by default? My current WIP changeset introduces a --with-glx option to make inclusion of GLX support require manual configuration. I'm going to try to get EGL working for both OpenGL and GLES. I don't see the benefit of being able to support GLX+EGL in the same build for X11.

In the above SDL issues I was told BGFX aliases the WAYLAND_DISPLAY to an X11 DISPLAY type, is this correct? Where in the code is this happening? I've not spotted it yet. Is as suggested the root of my failure to get MAME+BGFX+Wayland working?

I was also told that MAME supplying the egl_window handle to BGFX via glcontext_egl.cpp is wrong, because it might be a vulkan backend which will need a Vulkan surface. Wouldn't it just be a different code path for using the Vulkan backend from within MAME which shouldn't be dealing with EGL surfaces at all?

Any help appreciated!

@goodartistscopy
Copy link
Contributor

goodartistscopy commented Jun 19, 2023

The EGL backend accepts a NativeWindow (X11 / Wayland window), from which it creates an EGLWindow. So passing an EGLWindow directly won't work indeed.
The bgfx::init() entry point is rather limited wrt what can be passed by the user, maybe the 'capabilities' field in Init could be use to pass additional data.

@belegdol
Copy link
Contributor Author

I just checked with the latest upstream (after GLX was replaced with EGL) and there is good news: examples no longer crash with GL renderer, and a wayland window is created. Thank you @issam3105 and @goodartistscopy, great work!
Vulkan renderer, which appears to be the default, still crashes though.

@belegdol belegdol changed the title examples crash with SDL/wayland examples crash with SDL/wayland when using default (vulkan) renderer Jun 28, 2023
@bkaradzic
Copy link
Owner

There is crash on exit, due switch to EGL, but might be EGL/driver issue.

On render thread exit:

../../../src/bgfx.cpp (3609): BGFX Shutdown...
[Thread 0x7fffc4bea640 (LWP 3164067) exited]
[Thread 0x7fffc53eb640 (LWP 3164066) exited]
[Thread 0x7fffc5bec640 (LWP 3164065) exited]
[Thread 0x7fffc63ed640 (LWP 3164064) exited]
[Thread 0x7fffc6bee640 (LWP 3164063) exited]
[Thread 0x7fffc73ef640 (LWP 3164062) exited]
[Thread 0x7fffd49bf640 (LWP 3164061) exited]
[Thread 0x7fffd51c0640 (LWP 3164060) exited]
../../../src/bgfx_p.h (3151): BGFX render thread exit

Thread 3 "examplesDebug" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd7ea3640 (LWP 3164059)]

#0  0x00007fffe0054d30 in ?? ()
#1  0x00007ffff79b2711 in __GI___nptl_deallocate_tsd () at ./nptl/nptl_deallocate_tsd.c:73
#2  __GI___nptl_deallocate_tsd () at ./nptl/nptl_deallocate_tsd.c:22
#3  0x00007ffff79b59ca in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:453
#4  0x00007ffff7a47a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

@belegdol
Copy link
Contributor Author

I do not see this on Fedora 38, neither with nvidia binary driver nor on mesa/amd:

../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.
warning: queue 0x221ed30 destroyed while proxies still attached:
  wl_callback@40 still attached
  wl_surface@38 still attached

@bkaradzic
Copy link
Owner

@belegdol You're running examples? Exit sequence should have following:

../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx_p.h (3151): BGFX render thread exit
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.

Yours doesn't have:

../../../src/bgfx_p.h (3151): BGFX render thread exit

Which implies that you're running something different (GLFW, or your own?).

@belegdol
Copy link
Contributor Author

I am running linux-debug64 examples compiled with --with-sdl --with-wayland added, and started with --gl

@bkaradzic
Copy link
Owner

Try without --with-sdl.

@bkaradzic
Copy link
Owner

This might be issue where EGL has to run on OS created thread.

@belegdol
Copy link
Contributor Author

Without --with-sdl an X11 window is created, but it does not crash on AMD renoir and mesa driver. With the default vulkan renderer:

../../../src/renderer_vk.cpp (5942): BGFX Texture   1: BGRA8 (requested: BGRA8), 1024x1024x1 RT[ ], BO[ ], CW[ ].
../../../src/bgfx.cpp (542): BGFX VertexLayout 93597fa9 (21d0cb5a), stride 20
../../../src/bgfx.cpp (558): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
../../../src/bgfx.cpp (558): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 16
../../../src/bgfx.cpp (558): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset  8
../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx_p.h (3151): BGFX render thread exit
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.

With --gl:

../../../src/renderer_gl.cpp (5750): BGFX Texture2D     1: BGRA8 (requested: BGRA8), layers 1, 1024x1024x0.
../../../src/bgfx.cpp (542): BGFX VertexLayout 93597fa9 (21d0cb5a), stride 20
../../../src/bgfx.cpp (558): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
../../../src/bgfx.cpp (558): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 16
../../../src/bgfx.cpp (558): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset  8
../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx_p.h (3151): BGFX render thread exit
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.

@belegdol
Copy link
Contributor Author

Same on nvidia-535.54.03 driver. Vulkan default:

../../../src/renderer_vk.cpp (5942): BGFX Texture   1: BGRA8 (requested: BGRA8), 1024x1024x1 RT[ ], BO[ ], CW[ ].
../../../src/bgfx.cpp (542): BGFX VertexLayout 93597fa9 (21d0cb5a), stride 20
../../../src/bgfx.cpp (558): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
../../../src/bgfx.cpp (558): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 16
../../../src/bgfx.cpp (558): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset  8
../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx_p.h (3151): BGFX render thread exit
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.

OpenGL renderer:

../../../src/renderer_gl.cpp (5750): BGFX Texture2D     1: BGRA8 (requested: BGRA8), layers 1, 1024x1024x0.
../../../src/bgfx.cpp (542): BGFX VertexLayout 93597fa9 (21d0cb5a), stride 20
../../../src/bgfx.cpp (558): BGFX 	attr  0: Attrib::Position     num 2, type 4, norm [ ], asint [ ], offset  0
../../../src/bgfx.cpp (558): BGFX 	attr  4: Attrib::Color0       num 4, type 0, norm [x], asint [ ], offset 16
../../../src/bgfx.cpp (558): BGFX 	attr 10: Attrib::TexCoord0    num 2, type 4, norm [ ], asint [ ], offset  8
../../../src/bgfx.cpp (3609): BGFX Shutdown...
../../../src/bgfx_p.h (3151): BGFX render thread exit
../../../src/bgfx.cpp (3618): BGFX Shutdown complete.

@belegdol
Copy link
Contributor Author

belegdol commented Jul 10, 2023

Below is the current backtrace with vulkan. Looking at the error:

../../../src/renderer_vk.cpp (665): BGFX ---E- Device, Validation, 0: Validation Error: [ VUID-VkXcbSurfaceCreateInfoKHR-connection-01310 ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xc505f0b0 | vkCreateXcbSurfaceKHR: connection is NULL! The Vulkan spec states: connection must point to a valid X11 xcb_connection_t (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkXcbSurfaceCreateInfoKHR-connection-01310)
Could it be that the vulkan renderer still attempts to create an X11 window despite bgfx being compiled with --with-wayland?

[julas@snowball3 runtime]$ gdb  ../../.build/linux64_gcc/bin/examplesDebug
GNU gdb (GDB) Fedora Linux 13.2-2.fc38
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../../.build/linux64_gcc/bin/examplesDebug...
(gdb) run
Starting program: /home/julas/cvs/bgfx/.build/linux64_gcc/bin/examplesDebug 

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc8000
Downloading separate debug info for /lib64/libSDL2-2.0.so.0                                                                         
Downloading separate debug info for /lib64/libwayland-egl.so.1                                                                      
Downloading separate debug info for /home/julas/.cache/debuginfod_client/f9f3cc8549fe242cd014a4645b53ca3504d5f25e/debuginfo         
Downloading separate debug info for /lib64/libstdc++.so.6                                                                           
Downloading separate debug info for /home/julas/.cache/debuginfod_client/d25eaf3596d9455fe9725f6e9cd1aa5433f31b92/debuginfo         
Downloading separate debug info for /lib64/libm.so.6                                                                                
Downloading separate debug info for /lib64/libc.so.6                                                                                
Downloading separate debug info for /home/julas/.cache/debuginfod_client/245240a31888ad5c11bbc55b18e02d87388f59a9/debuginfo         
[Thread debugging using libthread_db enabled]                                                                                       
Using host libthread_db library "/lib64/libthread_db.so.1".
Downloading separate debug info for /lib64/libgcc_s.so.1
Downloading separate debug info for /lib64/libdbus-1.so.3                                                                           
Downloading separate debug info for /home/julas/.cache/debuginfod_client/12667c968c2d1766fa0463461d2f5e75991dd72a/debuginfo         
Downloading separate debug info for /lib64/libsystemd.so.0                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/4d9bee392dce30743413e71fa8f3abb5101c356c/debuginfo         
Downloading separate debug info for /lib64/libcap.so.2                                                                              
Downloading separate debug info for /home/julas/.cache/debuginfod_client/2fe8ebb5811811046e04d8f4c000696cb9b24e24/debuginfo         
Downloading separate debug info for /lib64/liblzma.so.5                                                                             
Downloading separate debug info for /lib64/libzstd.so.1                                                                             
Downloading separate debug info for /home/julas/.cache/debuginfod_client/95fc1c046547d542d2913ebc72290732112d8b9b/debuginfo         
Downloading separate debug info for /lib64/liblz4.so.1                                                                              
Downloading separate debug info for /home/julas/.cache/debuginfod_client/c32727dc2cf56f54d7a9cfc6d8776bfb765a5d60/debuginfo         
Downloading separate debug info for /lib64/libudev.so.1                                                                             
Downloading separate debug info for /lib64/libwayland-client.so.0                                                                   
Downloading separate debug info for /lib64/libffi.so.8                                                                              
Downloading separate debug info for /lib64/libwayland-cursor.so.0                                                                   
Downloading separate debug info for /lib64/libxkbcommon.so.0                                                                        
Downloading separate debug info for /home/julas/.cache/debuginfod_client/b243a34e4e58e6a30b93771c256268b114d34b80/debuginfo         
Downloading separate debug info for /lib64/libdecor-0.so.0                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/74aa4b22cf3accc0f240461614d0666dea9d5368/debuginfo         
Downloading separate debug info for /usr/lib64/libdecor/plugins-1/libdecor-cairo.so                                                 
Downloading separate debug info for /lib64/libcairo.so.2                                                                            
Downloading separate debug info for /lib64/libpangocairo-1.0.so.0                                                                   
Downloading separate debug info for /home/julas/.cache/debuginfod_client/85c4c94f257e72b05577e6ec5a97fa3621633ab8/debuginfo         
Downloading separate debug info for /lib64/libpango-1.0.so.0                                                                        
Downloading separate debug info for /lib64/libgobject-2.0.so.0                                                                      
Downloading separate debug info for /home/julas/.cache/debuginfod_client/92146fa60eb224cfde618cdedafa9e65f7b13c1c/debuginfo         
Downloading separate debug info for /lib64/libz.so.1                                                                                
Downloading separate debug info for /lib64/libpng16.so.16                                                                           
Downloading separate debug info for /lib64/libfontconfig.so.1                                                                       
Downloading separate debug info for /lib64/libfreetype.so.6                                                                         
Downloading separate debug info for /home/julas/.cache/debuginfod_client/95f53ca3ac3586a0ecf84facc9e45238a9997c22/debuginfo         
Downloading separate debug info for /lib64/libX11.so.6                                                                              
Downloading separate debug info for /lib64/libXext.so.6                                                                             
Downloading separate debug info for /lib64/libXrender.so.1                                                                          
Downloading separate debug info for /lib64/libxcb.so.1                                                                              
Downloading separate debug info for /lib64/libxcb-render.so.0                                                                       
Downloading separate debug info for /home/julas/.cache/debuginfod_client/01aa51d10a474d399a5ecbb070bb58e448906477/debuginfo         
Downloading separate debug info for /lib64/libxcb-shm.so.0                                                                          
Downloading separate debug info for /lib64/libpixman-1.so.0                                                                         
Downloading separate debug info for /lib64/libpangoft2-1.0.so.0                                                                     
Downloading separate debug info for /lib64/libglib-2.0.so.0                                                                         
Downloading separate debug info for /lib64/libharfbuzz.so.0                                                                         
Downloading separate debug info for /home/julas/.cache/debuginfod_client/391250b5f56fb9c17e3f34005865f0a567803026/debuginfo         
Downloading separate debug info for /lib64/libgio-2.0.so.0                                                                          
Downloading separate debug info for /lib64/libfribidi.so.0                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/40d8d1efd9ffb9c6d036345c838419f97fa448a6/debuginfo         
Downloading separate debug info for /lib64/libthai.so.0                                                                             
Downloading separate debug info for /lib64/libxml2.so.2                                                                             
Downloading separate debug info for /home/julas/.cache/debuginfod_client/86bbc512c5e576e6908c59807251e6e108f3f5ca/debuginfo         
Downloading separate debug info for /lib64/libbz2.so.1                                                                              
Downloading separate debug info for /home/julas/.cache/debuginfod_client/f8237ff24b622047428b97b1486b393e3a9e38de/debuginfo         
Downloading separate debug info for /lib64/libbrotlidec.so.1                                                                        
Downloading separate debug info for /home/julas/.cache/debuginfod_client/b227ed45334b5f849f2585438a1b50e5437a6974/debuginfo         
Downloading separate debug info for /lib64/libXau.so.6                                                                              
Downloading separate debug info for /lib64/libpcre2-8.so.0                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/1ef098ba40305d86ec0cdae1e6aac188b1656550/debuginfo         
Downloading separate debug info for /lib64/libgraphite2.so.3                                                                        
Downloading separate debug info for /lib64/libgmodule-2.0.so.0                                                                      
Downloading separate debug info for /lib64/libmount.so.1                                                                            
Downloading separate debug info for /home/julas/.cache/debuginfod_client/290d7620f25c82a9b1fd09ab2a51efaa7c08a4a8/debuginfo         
Downloading separate debug info for /lib64/libselinux.so.1                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/7adfc95d3eb203b795825f82ab41639cb0bb9c4c/debuginfo         
Downloading separate debug info for /lib64/libdatrie.so.1                                                                           
Downloading separate debug info for /lib64/libbrotlicommon.so.1                                                                     
Downloading separate debug info for /lib64/libblkid.so.1                                                                            
Downloading separate debug info for /lib64/libGL.so.1                                                                               
Downloading separate debug info for /home/julas/.cache/debuginfod_client/82641b2ed584ba753774abbfa20ae0fc2d70261a/debuginfo         
Downloading separate debug info for /lib64/libGLX.so.0                                                                              
Downloading separate debug info for /lib64/libGLdispatch.so.0                                                                       
Downloading separate debug info for /lib64/libEGL.so.1                                                                              
Downloading separate debug info for /lib64/libEGL_mesa.so.0                                                                         
Downloading separate debug info for /home/julas/.cache/debuginfod_client/0cf71015df3c808ace6cd228131a7d6671adb710/debuginfo         
Downloading separate debug info for /lib64/libgbm.so.1                                                                              
Downloading separate debug info for /lib64/libglapi.so.0                                                                            
Downloading separate debug info for /lib64/libexpat.so.1                                                                            
Downloading separate debug info for /home/julas/.cache/debuginfod_client/1f06ca43854228d1ad3508eb0a8c4fb59f1f5c8e/debuginfo         
Downloading separate debug info for /lib64/libX11-xcb.so.1                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/5d6bccd35b11cda87e46077ad6ca2c5d90c93f03/debuginfo         
Downloading separate debug info for /lib64/libxcb-dri2.so.0                                                                         
Downloading separate debug info for /lib64/libxcb-randr.so.0                                                                        
Downloading separate debug info for /lib64/libxcb-xfixes.so.0                                                                       
Downloading separate debug info for /lib64/libdrm.so.2                                                                              
Downloading separate debug info for /home/julas/.cache/debuginfod_client/06aa40fc936b97cb4e7cbfed11faaaddf36377b5/debuginfo         
Downloading separate debug info for /lib64/libwayland-server.so.0                                                                   
Downloading separate debug info for /lib64/libxcb-dri3.so.0                                                                         
Downloading separate debug info for /lib64/libxcb-present.so.0                                                                      
Downloading separate debug info for /lib64/libxcb-sync.so.1                                                                         
Downloading separate debug info for /lib64/libxshmfence.so.1                                                                        
Downloading separate debug info for /usr/lib64/dri/radeonsi_dri.so                                                                  
Downloading separate debug info for /lib64/libLLVM-16.so                                                                            
Downloading separate debug info for /home/julas/.cache/debuginfod_client/0afb12759eefc7f03822ca1b5b1b6434300e31aa/debuginfo         
Downloading separate debug info for /lib64/libsensors.so.4                                                                          
Downloading separate debug info for /home/julas/.cache/debuginfod_client/06f8050ff8e43d42bfbf713385e480eb4078762c/debuginfo         
Downloading separate debug info for /lib64/libdrm_radeon.so.1                                                                       
Downloading separate debug info for /lib64/libelf.so.1                                                                              
Downloading separate debug info for /home/julas/.cache/debuginfod_client/c461c750f5bf1c530d4562a25bc511eeb12d97ad/debuginfo         
Downloading separate debug info for /lib64/libdrm_amdgpu.so.1                                                                       
Downloading separate debug info for /lib64/libdrm_nouveau.so.2                                                                      
Downloading separate debug info for /lib64/libdrm_intel.so.1                                                                        
Downloading separate debug info for /lib64/libedit.so.0                                                                             
Downloading separate debug info for /lib64/libtinfo.so.6                                                                            
Downloading separate debug info for /home/julas/.cache/debuginfod_client/f6613093791bfda766455d3fcfd1d6cb1703c053/debuginfo         
Downloading separate debug info for /lib64/libpciaccess.so.0                                                                        
[New Thread 0x7fffd61ff6c0 (LWP 210316)]                                                                                            
[New Thread 0x7fffd58bd6c0 (LWP 210317)]
[New Thread 0x7fffd50bc6c0 (LWP 210318)]
[New Thread 0x7fffd48bb6c0 (LWP 210319)]
[New Thread 0x7fffc77fb6c0 (LWP 210320)]
[Thread 0x7fffc77fb6c0 (LWP 210320) exited]
[New Thread 0x7fffc77fb6c0 (LWP 210321)]
[New Thread 0x7fffc6ffa6c0 (LWP 210322)]
[Thread 0x7fffc77fb6c0 (LWP 210321) exited]
[Thread 0x7fffc6ffa6c0 (LWP 210322) exited]
[New Thread 0x7fffc6ffa6c0 (LWP 210323)]
[New Thread 0x7fffc77fb6c0 (LWP 210324)]
[Thread 0x7fffc6ffa6c0 (LWP 210323) exited]
[Thread 0x7fffc77fb6c0 (LWP 210324) exited]
[New Thread 0x7fffc77fb6c0 (LWP 210325)]
../../../src/bgfx.cpp (3557): BGFX Init...
../../../src/bgfx.cpp (3564): BGFX Version 1.121.8531 (commit: 4edaf2f21d315a21e2af4b757f8265c324602d4d)
../../../src/bgfx.cpp (1744): BGFX Reset back-buffer swap chain:
../../../src/bgfx.cpp (1745): BGFX 	1280x720, format: RGBA8, numBackBuffers: 2, maxFrameLatency: 0
../../../src/bgfx.cpp (1755): BGFX 	[ ] MSAAx1
../../../src/bgfx.cpp (1756): BGFX 	[ ] Fullscreen
../../../src/bgfx.cpp (1757): BGFX 	[x] V-sync
../../../src/bgfx.cpp (1758): BGFX 	[ ] Max Anisotropy
../../../src/bgfx.cpp (1759): BGFX 	[ ] Capture
../../../src/bgfx.cpp (1760): BGFX 	[ ] Flush After Render
../../../src/bgfx.cpp (1761): BGFX 	[ ] Flip After Render
../../../src/bgfx.cpp (1762): BGFX 	[ ] sRGB Back Buffer
../../../src/bgfx.cpp (1763): BGFX 	[ ] Transparent Back Buffer
../../../src/bgfx.cpp (1764): BGFX 	[ ] HDR10
../../../src/bgfx.cpp (1765): BGFX 	[ ] Hi-DPI
../../../src/bgfx.cpp (1766): BGFX 	[ ] Depth Clamp
../../../src/bgfx.cpp (1767): BGFX 	[ ] Suspend
../../../src/bgfx.cpp (1940): BGFX Application called bgfx::renderFrame directly, not creating render thread.
../../../src/bgfx.cpp (1956): BGFX Running in multi-threaded mode
../../../../bx/src/os.cpp(189): BX WARN dlopen failed: "librenderdoc.so: cannot open shared object file: No such file or directory".
../../../src/bgfx.cpp (428): BGFX Graphics debugger is not present.
Downloading separate debug info for /lib64/libvulkan.so.1
../../../src/renderer_vk.cpp (1174): BGFX Shared library functions:                                                                 
../../../src/renderer_vk.cpp (1181): BGFX 	0xc54330e0 vkCreateInstance
../../../src/renderer_vk.cpp (1181): BGFX 	0xc542d0f0 vkGetInstanceProcAddr
../../../src/renderer_vk.cpp (1181): BGFX 	0xc5428b00 vkGetDeviceProcAddr
../../../src/renderer_vk.cpp (1181): BGFX 	0xc54327a0 vkEnumerateInstanceExtensionProperties
../../../src/renderer_vk.cpp (1181): BGFX 	0xc5432ac0 vkEnumerateInstanceLayerProperties
../../../src/renderer_vk.cpp (1181): BGFX 	0xc5432dc0 vkEnumerateInstanceVersion
Downloading separate debug info for /usr/lib64/libvulkan_intel_hasvk.so
Downloading separate debug info for /usr/lib64/libvulkan_intel.so                                                                   
Downloading separate debug info for /usr/lib64/libvulkan_lvp.so                                                                     
Downloading separate debug info for /lib64/libunwind.so.8                                                                           
Downloading separate debug info for /home/julas/.cache/debuginfod_client/66865027565e3d686e01e7cd1c7bb366bc9d538b/debuginfo         
Downloading separate debug info for /usr/lib64/libvulkan_radeon.so                                                                  
../../../src/renderer_vk.cpp (715): BGFX Global extensions (23):                                                                    
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_device_group_creation
../../../src/renderer_vk.cpp (728): BGFX 	v23  VK_KHR_display
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_fence_capabilities
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_memory_capabilities
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_semaphore_capabilities
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_get_display_properties2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_get_physical_device_properties2 (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_get_surface_capabilities2
../../../src/renderer_vk.cpp (728): BGFX 	v25  VK_KHR_surface
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_surface_protected_capabilities
../../../src/renderer_vk.cpp (728): BGFX 	v6   VK_KHR_wayland_surface
../../../src/renderer_vk.cpp (728): BGFX 	v6   VK_KHR_xcb_surface
../../../src/renderer_vk.cpp (728): BGFX 	v6   VK_KHR_xlib_surface
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_acquire_drm_display
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_acquire_xlib_display
../../../src/renderer_vk.cpp (728): BGFX 	v10  VK_EXT_debug_report (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_debug_utils (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_direct_mode_display
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_display_surface_counter
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_EXT_swapchain_colorspace
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_surface_maintenance1
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_portability_enumeration
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_LUNARG_direct_driver_loading
Downloading separate debug info for /lib64/libVkLayer_MESA_device_select.so
../../../src/renderer_vk.cpp (754): BGFX Layer extensions (2):                                                                      
../../../src/renderer_vk.cpp (766): BGFX 	VK_LAYER_MESA_device_select (s: 0x004030d3, i: 0x00000001), Linux device selection layer
../../../src/renderer_vk.cpp (766): BGFX 	VK_LAYER_KHRONOS_validation (s: 0x004030f3, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (799): BGFX 		VK_EXT_debug_report (s: 0x00000009)
../../../src/renderer_vk.cpp (799): BGFX 		VK_EXT_debug_utils (s: 0x00000001)
../../../src/renderer_vk.cpp (799): BGFX 		VK_EXT_validation_features (s: 0x00000002)
../../../src/renderer_vk.cpp (1216): BGFX Enabled instance layers:
../../../src/renderer_vk.cpp (1226): BGFX 	VK_LAYER_KHRONOS_validation
../../../src/renderer_vk.cpp (1265): BGFX Enabled instance extensions:
../../../src/renderer_vk.cpp (1269): BGFX 	VK_KHR_surface
../../../src/renderer_vk.cpp (1269): BGFX 	VK_KHR_xcb_surface
../../../src/renderer_vk.cpp (1269): BGFX 	VK_EXT_debug_utils
../../../src/renderer_vk.cpp (1269): BGFX 	VK_EXT_debug_report
../../../src/renderer_vk.cpp (1269): BGFX 	VK_KHR_get_physical_device_properties2
Downloading separate debug info for /lib64/libVkLayer_khronos_validation.so
Downloading separate debug info for /lib64/libSPIRV-Tools-opt.so                                                                    
Downloading separate debug info for /home/julas/.cache/debuginfod_client/62150d4a716ebce7b4026e2837d1d543d5745382/debuginfo         
Downloading separate debug info for /lib64/libSPIRV-Tools.so                                                                        
[New Thread 0x7fffc6ffa6c0 (LWP 212153)]                                                                                            
../../../src/renderer_vk.cpp (1336): BGFX Instance API version: 1.3.243
../../../src/renderer_vk.cpp (1341): BGFX Instance variant: 0
../../../src/renderer_vk.cpp (1346): BGFX Instance functions:
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5434d10 vkDestroyInstance
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435080 vkEnumeratePhysicalDevices
../../../src/renderer_vk.cpp (1352): BGFX 	0xc54354c0 vkEnumerateDeviceExtensionProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435550 vkEnumerateDeviceLayerProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc54352a0 vkGetPhysicalDeviceProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435200 vkGetPhysicalDeviceFormatProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc54351b0 vkGetPhysicalDeviceFeatures
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435250 vkGetPhysicalDeviceImageFormatProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435340 vkGetPhysicalDeviceMemoryProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc54352f0 vkGetPhysicalDeviceQueueFamilyProperties
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435390 vkCreateDevice
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5435430 vkDestroyDevice
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439330 vkGetPhysicalDeviceSurfaceCapabilitiesKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439450 vkGetPhysicalDeviceSurfaceFormatsKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439550 vkGetPhysicalDeviceSurfacePresentModesKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439210 vkGetPhysicalDeviceSurfaceSupportKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439160 vkDestroySurfaceKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5437df0 vkGetPhysicalDeviceFeatures2KHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5438020 vkGetPhysicalDeviceMemoryProperties2KHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc540c8b0 vkCreateDebugReportCallbackEXT
../../../src/renderer_vk.cpp (1352): BGFX 	0xc540c980 vkDestroyDebugReportCallbackEXT
../../../src/renderer_vk.cpp (1352): BGFX 	0x0 vkCreateXlibSurfaceKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0x0 vkGetPhysicalDeviceXlibPresentationSupportKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc5439d70 vkCreateXcbSurfaceKHR
../../../src/renderer_vk.cpp (1352): BGFX 	0xc543a070 vkGetPhysicalDeviceXcbPresentationSupportKHR
../../../src/renderer_vk.cpp (1383): BGFX ---
../../../src/renderer_vk.cpp (1420): BGFX Physical device 0:
../../../src/renderer_vk.cpp (1421): BGFX 	          Name: AMD Radeon Graphics (RADV RENOIR)
../../../src/renderer_vk.cpp (1422): BGFX 	   API version: 1.3.246
../../../src/renderer_vk.cpp (1427): BGFX 	   API variant: 0
../../../src/renderer_vk.cpp (1428): BGFX 	Driver version: 5c01003
../../../src/renderer_vk.cpp (1429): BGFX 	      VendorId: 1002
../../../src/renderer_vk.cpp (1430): BGFX 	      DeviceId: 1636
../../../src/renderer_vk.cpp (1431): BGFX 	          Type: 1
../../../src/renderer_vk.cpp (1469): BGFX 	Memory type count: 11
../../../src/renderer_vk.cpp (1472): BGFX 	  0: flags 0x00000001, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	  1: flags 0x00000001, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	  2: flags 0x00000006, index 0
../../../src/renderer_vk.cpp (1472): BGFX 	  3: flags 0x00000007, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	  4: flags 0x00000007, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	  5: flags 0x0000000e, index 0
../../../src/renderer_vk.cpp (1472): BGFX 	  6: flags 0x0000000e, index 0
../../../src/renderer_vk.cpp (1472): BGFX 	  7: flags 0x000000c1, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	  8: flags 0x000000c6, index 0
../../../src/renderer_vk.cpp (1472): BGFX 	  9: flags 0x000000c7, index 1
../../../src/renderer_vk.cpp (1472): BGFX 	 10: flags 0x000000ce, index 0
../../../src/renderer_vk.cpp (1479): BGFX 	Memory heap count: 2
../../../src/renderer_vk.cpp (1484): BGFX 	  0: flags 0x00000000, size   2.67 GiB
../../../src/renderer_vk.cpp (1484): BGFX 	  1: flags 0x00000001, size   5.34 GiB
../../../src/renderer_vk.cpp (715): BGFX Global extensions (152):
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_8bit_storage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_16bit_storage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_bind_memory2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_buffer_device_address
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_copy_commands2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_create_renderpass2
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_dedicated_allocation
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_KHR_deferred_host_operations
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_depth_stencil_resolve
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_descriptor_update_template
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_KHR_device_group
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_draw_indirect_count (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_driver_properties
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_dynamic_rendering
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_fence
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_fence_fd
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_memory
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_memory_fd
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_semaphore
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_semaphore_fd
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_format_feature_flags2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_get_memory_requirements2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_global_priority
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_image_format_list
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_imageless_framebuffer
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_incremental_present
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_maintenance1
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_maintenance2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_maintenance3
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_maintenance4
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_map_memory2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_multiview
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_pipeline_executable_properties
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_pipeline_library
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_present_id
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_present_wait
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_push_descriptor
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_relaxed_block_layout
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_sampler_mirror_clamp_to_edge
../../../src/renderer_vk.cpp (728): BGFX 	v14  VK_KHR_sampler_ycbcr_conversion
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_separate_depth_stencil_layouts
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_atomic_int64
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_clock
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_draw_parameters
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_float16_int8
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_KHR_shader_float_controls
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_integer_dot_product
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_non_semantic_info
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_subgroup_extended_types
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_subgroup_uniform_control_flow
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_terminate_invocation
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_spirv_1_4
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_storage_buffer_storage_class
../../../src/renderer_vk.cpp (728): BGFX 	v70  VK_KHR_swapchain
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_swapchain_mutable_format
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_synchronization2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_timeline_semaphore
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_uniform_buffer_standard_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_variable_pointers
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_vulkan_memory_model
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_workgroup_memory_explicit_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_zero_initialize_workgroup_memory
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_4444_formats
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_attachment_feedback_loop_layout
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_buffer_device_address
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_calibrated_timestamps
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_color_write_enable
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_conditional_rendering
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_conservative_rasterization (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v12  VK_EXT_custom_border_color (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_clip_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_clip_enable
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_range_unrestricted
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_descriptor_buffer
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_descriptor_indexing
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_discard_rectangles
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_display_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_extended_dynamic_state
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_extended_dynamic_state2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_extended_dynamic_state3
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_external_memory_dma_buf
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_external_memory_host
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_global_priority
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_global_priority_query
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_graphics_pipeline_library
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_host_query_reset
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_2d_view_of_3d
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_image_drm_format_modifier
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_robustness
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_view_min_lod
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_index_type_uint8
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_inline_uniform_block
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_line_rasterization (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_load_store_op_none
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_memory_budget (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_memory_priority
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_multi_draw
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_mutable_descriptor_type
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_non_seamless_cube_map
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_pci_bus_info
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_physical_device_drm
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_EXT_pipeline_creation_cache_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_pipeline_creation_feedback
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_primitive_topology_list_restart
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_primitives_generated_query
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_private_data
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_provoking_vertex
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_queue_family_foreign
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_robustness2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_sample_locations
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_sampler_filter_minmax
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_scalar_block_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_separate_stencil_usage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_atomic_float
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_atomic_float2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_demote_to_helper_invocation
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_image_atomic_int64
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_module_identifier
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_stencil_export
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_subgroup_ballot
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_subgroup_vote
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_viewport_index_layer (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_subgroup_size_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_swapchain_maintenance1
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_texel_buffer_alignment
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_transform_feedback
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_EXT_vertex_attribute_divisor
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_vertex_input_dynamic_state
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_ycbcr_image_arrays
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_buffer_marker
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_device_coherent_memory
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_AMD_draw_indirect_count
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_gcn_shader
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_AMD_gpu_shader_half_float
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_AMD_gpu_shader_int16
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_memory_overallocation_behavior
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_mixed_attachment_samples
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_ballot
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_AMD_shader_core_properties
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_core_properties2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_early_and_late_fragment_tests
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_explicit_vertex_parameter
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_fragment_mask
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_image_load_store_lod
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_shader_trinary_minmax
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_AMD_texture_gather_bias_lod
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_GOOGLE_decorate_string
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_GOOGLE_hlsl_functionality1
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_GOOGLE_user_type
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_INTEL_shader_integer_functions2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_NV_compute_shader_derivatives
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_VALVE_mutable_descriptor_type
../../../src/renderer_vk.cpp (754): BGFX 	Layer extensions (2):
../../../src/renderer_vk.cpp (766): BGFX 		VK_LAYER_MESA_device_select (s: 0x004030d3, i: 0x00000001), Linux device selection layer
../../../src/renderer_vk.cpp (766): BGFX 		VK_LAYER_KHRONOS_validation (s: 0x004030f3, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_validation_cache (s: 0x00000001)
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_debug_marker (s: 0x00000004)
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_tooling_info (s: 0x00000001)
../../../src/renderer_vk.cpp (1420): BGFX Physical device 1:
../../../src/renderer_vk.cpp (1421): BGFX 	          Name: llvmpipe (LLVM 16.0.5, 256 bits)
../../../src/renderer_vk.cpp (1422): BGFX 	   API version: 1.3.246
../../../src/renderer_vk.cpp (1427): BGFX 	   API variant: 0
../../../src/renderer_vk.cpp (1428): BGFX 	Driver version: 1
../../../src/renderer_vk.cpp (1429): BGFX 	      VendorId: 10005
../../../src/renderer_vk.cpp (1430): BGFX 	      DeviceId: 0
../../../src/renderer_vk.cpp (1431): BGFX 	          Type: 4
../../../src/renderer_vk.cpp (1469): BGFX 	Memory type count: 1
../../../src/renderer_vk.cpp (1472): BGFX 	  0: flags 0x0000000f, index 0
../../../src/renderer_vk.cpp (1479): BGFX 	Memory heap count: 1
../../../src/renderer_vk.cpp (1484): BGFX 	  0: flags 0x00000001, size   2.00 GiB
../../../src/renderer_vk.cpp (715): BGFX Global extensions (104):
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_8bit_storage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_16bit_storage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_bind_memory2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_buffer_device_address
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_copy_commands2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_create_renderpass2
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_dedicated_allocation
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_depth_stencil_resolve
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_descriptor_update_template
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_KHR_device_group
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_draw_indirect_count (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_driver_properties
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_dynamic_rendering
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_fence
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_memory
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_memory_fd
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_external_semaphore
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_format_feature_flags2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_get_memory_requirements2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_image_format_list
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_imageless_framebuffer
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_incremental_present
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_maintenance1
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_maintenance2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_maintenance3
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_maintenance4
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_multiview
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_pipeline_library
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_push_descriptor
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_relaxed_block_layout
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_sampler_mirror_clamp_to_edge
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_separate_depth_stencil_layouts
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_atomic_int64
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_clock
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_draw_parameters
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_float16_int8
../../../src/renderer_vk.cpp (728): BGFX 	v4   VK_KHR_shader_float_controls
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_integer_dot_product
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_non_semantic_info
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_subgroup_extended_types
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_shader_terminate_invocation
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_spirv_1_4
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_storage_buffer_storage_class
../../../src/renderer_vk.cpp (728): BGFX 	v70  VK_KHR_swapchain
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_swapchain_mutable_format
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_synchronization2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_KHR_timeline_semaphore
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_uniform_buffer_standard_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_variable_pointers
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_KHR_vulkan_memory_model
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_KHR_zero_initialize_workgroup_memory
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_4444_formats
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_attachment_feedback_loop_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_border_color_swizzle
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_calibrated_timestamps
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_color_write_enable
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_conditional_rendering
../../../src/renderer_vk.cpp (728): BGFX 	v12  VK_EXT_custom_border_color (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_clip_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_clip_enable
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_depth_range_unrestricted
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_extended_dynamic_state
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_extended_dynamic_state2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_extended_dynamic_state3
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_external_memory_host
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_graphics_pipeline_library
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_host_query_reset
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_2d_view_of_3d
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_robustness
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_image_sliced_view_of_3d
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_index_type_uint8
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_inline_uniform_block
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_line_rasterization (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_multi_draw
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_multisampled_render_to_single_sampled
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_non_seamless_cube_map
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_EXT_pipeline_creation_cache_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_pipeline_creation_feedback
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_post_depth_coverage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_primitive_topology_list_restart
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_primitives_generated_query
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_private_data
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_provoking_vertex
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_rasterization_order_attachment_access
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_robustness2
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_sampler_filter_minmax
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_scalar_block_layout
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_separate_stencil_usage
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_atomic_float
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_atomic_float2
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_demote_to_helper_invocation
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_object
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_stencil_export
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_subgroup_ballot
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_subgroup_vote
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_shader_viewport_index_layer (supported)
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_subgroup_size_control
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_texel_buffer_alignment
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_EXT_transform_feedback
../../../src/renderer_vk.cpp (728): BGFX 	v3   VK_EXT_vertex_attribute_divisor
../../../src/renderer_vk.cpp (728): BGFX 	v2   VK_EXT_vertex_input_dynamic_state
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_ARM_rasterization_order_attachment_access
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_GOOGLE_decorate_string
../../../src/renderer_vk.cpp (728): BGFX 	v1   VK_GOOGLE_hlsl_functionality1
../../../src/renderer_vk.cpp (754): BGFX 	Layer extensions (2):
../../../src/renderer_vk.cpp (766): BGFX 		VK_LAYER_MESA_device_select (s: 0x004030d3, i: 0x00000001), Linux device selection layer
../../../src/renderer_vk.cpp (766): BGFX 		VK_LAYER_KHRONOS_validation (s: 0x004030f3, i: 0x00000001), Khronos Validation Layer
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_validation_cache (s: 0x00000001)
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_debug_marker (s: 0x00000004)
../../../src/renderer_vk.cpp (799): BGFX 			VK_EXT_tooling_info (s: 0x00000001)
../../../src/renderer_vk.cpp (1511): BGFX Using physical device 0: AMD Radeon Graphics (RADV RENOIR)
../../../src/renderer_vk.cpp (1728): BGFX ---
../../../src/renderer_vk.cpp (1748): BGFX Queue family property 0:
../../../src/renderer_vk.cpp (1749): BGFX 	  Queue flags: 0x0000000f
../../../src/renderer_vk.cpp (1750): BGFX 	  Queue count: 1
../../../src/renderer_vk.cpp (1751): BGFX 	TS valid bits: 0x00000040
../../../src/renderer_vk.cpp (1752): BGFX 	    Min image: 1 x 1 x 1
../../../src/renderer_vk.cpp (1748): BGFX Queue family property 1:
../../../src/renderer_vk.cpp (1749): BGFX 	  Queue flags: 0x0000000e
../../../src/renderer_vk.cpp (1750): BGFX 	  Queue count: 4
../../../src/renderer_vk.cpp (1751): BGFX 	TS valid bits: 0x00000040
../../../src/renderer_vk.cpp (1752): BGFX 	    Min image: 1 x 1 x 1
../../../src/renderer_vk.cpp (1781): BGFX Enabled device layers:
../../../src/renderer_vk.cpp (1791): BGFX 	VK_LAYER_KHRONOS_validation
../../../src/renderer_vk.cpp (1828): BGFX Enabled device extensions:
../../../src/renderer_vk.cpp (1832): BGFX 	VK_KHR_maintenance1
../../../src/renderer_vk.cpp (1832): BGFX 	VK_KHR_swapchain
../../../src/renderer_vk.cpp (1832): BGFX 	VK_EXT_memory_budget
../../../src/renderer_vk.cpp (1832): BGFX 	VK_EXT_conservative_rasterization
../../../src/renderer_vk.cpp (1832): BGFX 	VK_EXT_line_rasterization
../../../src/renderer_vk.cpp (1832): BGFX 	VK_EXT_shader_viewport_index_layer
../../../src/renderer_vk.cpp (1832): BGFX 	VK_EXT_custom_border_color
../../../src/renderer_vk.cpp (1832): BGFX 	VK_KHR_draw_indirect_count
[New Thread 0x7fffb15ff6c0 (LWP 212154)]
[New Thread 0x7fffb0dfe6c0 (LWP 212155)]
[New Thread 0x7fffabfff6c0 (LWP 212156)]
../../../src/renderer_vk.cpp (1872): BGFX Device functions:
../../../src/renderer_vk.cpp (1877): BGFX 	0xc54356d0 vkGetDeviceQueue
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad4eae vkCreateFence
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad698c vkDestroyFence
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad52f6 vkCreateSemaphore
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad6e6c vkDestroySemaphore
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad3a1f vkResetFences
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae5215 vkCreateCommandPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae55c8 vkDestroyCommandPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae1ff9 vkResetCommandPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xc5436d30 vkAllocateCommandBuffers
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae5d11 vkFreeCommandBuffers
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad2f34 vkGetBufferMemoryRequirements
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad32d0 vkGetImageMemoryRequirements
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad9697 vkGetImageSubresourceLayout
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac562d vkAllocateMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acefd3 vkFreeMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad8f48 vkCreateImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad92fb vkDestroyImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adb5e5 vkCreateImageView
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad81ec vkDestroyImageView
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac3329 vkCreateBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad8bac vkDestroyBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae76c2 vkCreateFramebuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adfac0 vkDestroyFramebuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae4526 vkCreateRenderPass
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae4b99 vkDestroyRenderPass
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acada8 vkCreateShaderModule
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad9a4a vkDestroyShaderModule
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad6544 vkCreatePipelineCache
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad86cc vkDestroyPipelineCache
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad22dd vkGetPipelineCacheData
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad4721 vkMergePipelineCaches
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acb889 vkCreateGraphicsPipelines
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acbfbe vkCreateComputePipelines
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adbc00 vkDestroyPipeline
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acb184 vkCreatePipelineLayout
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adebd7 vkDestroyPipelineLayout
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adef73 vkCreateSampler
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adf5e0 vkDestroySampler
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adffa0 vkCreateDescriptorSetLayout
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae0353 vkDestroyDescriptorSetLayout
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae06ef vkCreateDescriptorPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae0aa2 vkDestroyDescriptorPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae0e3e vkResetDescriptorPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac2b43 vkAllocateDescriptorSets
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae13d0 vkFreeDescriptorSets
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae177e vkUpdateDescriptorSets
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad5b86 vkCreateQueryPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad782c vkDestroyQueryPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac4f20 vkQueueSubmit
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac52b9 vkQueueWaitIdle
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ac21df vkDeviceWaitIdle
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad4078 vkWaitForFences
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae60c4 vkBeginCommandBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae6455 vkEndCommandBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aef935 vkCmdPipelineBarrier
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1af2a1c vkCmdBeginRenderPass
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae8591 vkCmdEndRenderPass
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adc33e vkCmdSetViewport
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ade43b vkCmdDraw
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ade7f0 vkCmdDrawIndexed
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae29d6 vkCmdDrawIndirect
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae2ec2 vkCmdDrawIndexedIndirect
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae6f66 vkCmdDispatch
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae33ae vkCmdDispatchIndirect
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae67c9 vkCmdBindPipeline
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ade08e vkCmdSetStencilReference
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1add202 vkCmdSetBlendConstants
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1adc6fd vkCmdSetScissor
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae6b65 vkCmdBindDescriptorSets
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae24e8 vkCmdBindIndexBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae3eb8 vkCmdBindVertexBuffers
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aec07d vkCmdClearColorImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aec59b vkCmdClearDepthStencilImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae7e48 vkCmdClearAttachments
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aecab9 vkCmdResolveImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae7314 vkCmdCopyBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aeaa4a vkCmdCopyBufferToImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ae3880 vkCmdCopyImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aeb076 vkCmdCopyImageToBuffer
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aea3fb vkCmdBlitImage
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aee44f vkCmdResetQueryPool
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aee937 vkCmdWriteTimestamp
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aeda95 vkCmdBeginQuery
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aedf7d vkCmdEndQuery
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1aeee1f vkCmdCopyQueryPoolResults
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acf6e4 vkMapMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acfad6 vkUnmapMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1acfe54 vkFlushMappedMemoryRanges
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad0201 vkInvalidateMappedMemoryRanges
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad27ce vkBindBufferMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1ad2b81 vkBindImageMemory
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b0d911 vkCreateSwapchainKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b08efb vkDestroySwapchainKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b09569 vkGetSwapchainImagesKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b062fd vkAcquireNextImageKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b0a329 vkQueuePresentKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xc5412160 vkSetDebugUtilsObjectNameEXT
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b35104 vkCmdBeginDebugUtilsLabelEXT
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b35493 vkCmdEndDebugUtilsLabelEXT
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b35804 vkCmdInsertDebugUtilsLabelEXT
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b1f508 vkCmdDrawIndirectCountKHR
../../../src/renderer_vk.cpp (1877): BGFX 	0xb1b1fb43 vkCmdDrawIndexedIndirectCountKHR
../../../src/renderer_vk.cpp (665): BGFX ---E-              Device, Validation, 0: Validation Error: [ VUID-VkXcbSurfaceCreateInfoKHR-connection-01310 ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xc505f0b0 | vkCreateXcbSurfaceKHR: connection is NULL! The Vulkan spec states: connection must point to a valid X11 xcb_connection_t (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkXcbSurfaceCreateInfoKHR-connection-01310)

Thread 1 "examplesDebug" received signal SIGSEGV, Segmentation fault.
0x00007fffe0242f6b in xcb_send_request_with_fds64 (c=0x0, flags=1, vector=0x7fffffffba20, req=0x7fffe0250070 <xcb_req>, 
    num_fds=num_fds@entry=0, fds=fds@entry=0x0) at /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xcb_out.c:229
Downloading source file /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xcb_out.c
229         if(c->has_error) {                                                                                                      
(gdb) bt
#0  0x00007fffe0242f6b in xcb_send_request_with_fds64
    (c=0x0, flags=1, vector=0x7fffffffba20, req=0x7fffe0250070 <xcb_req>, num_fds=num_fds@entry=0, fds=fds@entry=0x0)
    at /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xcb_out.c:229
#1  0x00007fffe024385f in xcb_send_request64
    (c=<optimized out>, flags=<optimized out>, vector=<optimized out>, req=<optimized out>)
    at /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xcb_out.c:349
#2  0x00007fffe024386d in xcb_send_request (c=<optimized out>, flags=<optimized out>, vector=<optimized out>, req=<optimized out>)
    at /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xcb_out.c:355
#3  0x00007fffe024b7bb in xcb_query_extension (c=c@entry=0x0, name_len=name_len@entry=4, name=name@entry=0x7fffb2af0998 "SYNC")
    at /usr/src/debug/libxcb-1.13.1-11.fc38.x86_64/src/xproto.c:12277
#4  0x00007fffb27755ac in wsi_x11_connection_create (conn=0x0, wsi_dev=0x16288d8) at ../src/vulkan/wsi/wsi_common_x11.c:222
#5  wsi_x11_get_connection (wsi_dev=wsi_dev@entry=0x16288d8, conn=conn@entry=0x0) at ../src/vulkan/wsi/wsi_common_x11.c:399
#6  0x00007fffb27764df in x11_surface_get_support
    (icd_surface=<optimized out>, wsi_device=0x16288d8, queueFamilyIndex=<optimized out>, pSupported=0x7fffffffbc7c)
    at ../src/vulkan/wsi/wsi_common_x11.c:610
#7  0x00007fffb1bb36b7 in DispatchGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice_T*, unsigned int, VkSurfaceKHR_T*, unsigned int*) () at /usr/src/debug/vulkan-validation-layers-1.3.243.0-1.fc38.x86_64/layers/generated/layer_chassis_dispatch.cpp:5190
#8  0x00007fffb1b078a6 in vulkan_layer_chassis::GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice_T*, unsigned int, VkSurfaceKHR_T*, unsigned int*) () at /usr/src/debug/vulkan-validation-layers-1.3.243.0-1.fc38.x86_64/layers/generated/chassis.cpp:5544
#9  0x0000000000677424 in bgfx::vk::SwapChainVK::createSurface() (this=0x7fffc5474700) at ../../../src/renderer_vk.cpp:6849
#10 0x0000000000676816 in bgfx::vk::SwapChainVK::create(VkCommandBuffer_T*, void*, bgfx::Resolution const&, bgfx::TextureFormat::Enum) (this=0x7fffc5474700, _commandBuffer=0x189c438, _nwh=0x7fffbc012130, _resolution=..., _depthFormat=bgfx::TextureFormat::Count)
    at ../../../src/renderer_vk.cpp:6539
#11 0x00000000006792c7 in bgfx::vk::FrameBufferVK::create(unsigned short, void*, unsigned int, unsigned int, bgfx::TextureFormat::Enum, bgfx::TextureFormat::Enum)
    (this=0x7fffc5474660, _denseIdx=65535, _nwh=0x7fffbc012130, _width=1280, _height=720, _format=bgfx::TextureFormat::RGBA8, _depthFormat=bgfx::TextureFormat::Count) at ../../../src/renderer_vk.cpp:7510
#12 0x0000000000688d3b in bgfx::vk::RendererContextVK::init(bgfx::Init const&) (this=0x7fffc5474010, _init=...)
    at ../../../src/renderer_vk.cpp:1931
#13 0x000000000066e71b in bgfx::vk::rendererCreate(bgfx::Init const&) (_init=...) at ../../../src/renderer_vk.cpp:4507
#14 0x00000000005c95e7 in bgfx::rendererCreate(bgfx::Init const&) (_init=...) at ../../../src/bgfx.cpp:2775
#15 0x00000000005c97b1 in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) (this=0x7fffb8cb2040, _cmdbuf=...)
    at ../../../src/bgfx.cpp:2826
#16 0x00000000005c8ea8 in bgfx::Context::renderFrame(int) (this=0x7fffb8cb2040, _msecs=5000) at ../../../src/bgfx.cpp:2462
#17 0x00000000005c51b9 in bgfx::renderFrame(int) (_msecs=-1) at ../../../src/bgfx.cpp:1491
#18 0x000000000057cac3 in entry::Context::run(int, char**) (this=0x9ede60 <entry::s_ctx>, _argc=1, _argv=0x7fffffffdff8)
    at ../../../examples/common/entry/entry_sdl.cpp:524
#19 0x000000000057adce in main(int, char**) (_argc=1, _argv=0x7fffffffdff8) at ../../../examples/common/entry/entry_sdl.cpp:1179

@belegdol
Copy link
Contributor Author

belegdol commented Aug 2, 2023

Remaining issues fixed by #3143.

@belegdol belegdol closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants