- viewport & scissor on fly changes (distinct the pipelines better for faster non clipped rendering)
- implement remaining render* calls (quads and streamed tiles missing)
- dynamic descriptor pool allocations when needed (maybe smaller pool sizes)
- implement texture destroy correctly (descriptors missing)
- v-sync not working? (or just radv bug?)
- implement new command buffer commands in OpenGL backend
- disallow alpha textures (new cmd for text textures)
- screenshots and video recorder not working
- decide on a heap
- check other swap chain images, if finished to free resources faster
[Switching to Thread 0x7fff967fc640 (LWP 78956)]
0x00007fff87a11a24 in ?? () from /usr/lib/amdvlk64.so
(gdb) bt
#0 0x00007fff87a11a24 in () at /usr/lib/amdvlk64.so
#1 0x0000555555601973 in CCommandProcessorFragment_Vulkan::Cmd_Render(CCommandBuffer::SCommand_Render const*) (this=0x5555559b2c50, pCommand=0x555555bda320)
at /home/ryozuki/Documents/ddnet/src/engine/client/backend/vulkan/backend_vulkan.cpp:1194
#2 0x0000555555603985 in CCommandProcessorFragment_Vulkan::RunCommand(CCommandBuffer::SCommand const*) (this=0x5555559b2c50, pBaseCommand=0x555555bda320)
at /home/ryozuki/Documents/ddnet/src/engine/client/backend/vulkan/backend_vulkan.cpp:1805
#3 0x0000555555605376 in CCommandProcessor_SDL_GL::RunBuffer(CCommandBuffer*) (this=0x5555559b8330, pBuffer=<optimized out>)
at /home/ryozuki/Documents/ddnet/src/engine/client/backend_sdl.cpp:232
#4 0x00005555556047ea in CGraphicsBackend_Threaded::ThreadFunc(void*) (pUser=pUser@entry=0x55555593be30) at /home/ryozuki/Documents/ddnet/src/engine/client/backend_sdl.cpp:77
#5 0x00005555555c12c7 in thread_run(void*) (user=<optimized out>) at /home/ryozuki/Documents/ddnet/src/base/system.cpp:820
#6 0x00007ffff5193259 in start_thread () at /usr/lib/libpthread.so.0
#7 0x00007ffff50bc5e3 in clone () at /usr/lib/libc.so.6
UNASSIGNED-GeneralParameterError-UnrecognizedValue(ERROR / SPEC): msgNum: -1100021871 - Validation Error: [ UNASSIGNED-GeneralParameterError-UnrecognizedValue ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xbe6eff91 | VkValidationFeaturesEXT: value of pEnabledValidationFeatures[0] (32767) does not fall within the begin..end range of the core VkValidationFeatureEnableEXT enumeration tokens and is not an extension added token
Objects: 1
[0] 0, type: 3, name: NULL
[2022-02-01 13:18:57][vulkan_debug]: Validation Error: [ VUID_Undefined ] Object 0: handle = 0x7fff809c8490, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x79de34d4 | vkCmdBindDescriptorSets: required parameter pDescriptorSets specified as NULL.
brew install molten-vk
exactly installs, but i guess it cant be that hard to get the dependencies right xdsrc/engine/client/backend/vulkan/backend_vulkan.cpp:16:10: fatal error: 'vulkan/vulkan.h' file not found
brew install vulkan-headers
./Cellar/molten-vk/1.1.6/libexec/include/vulkan/vulkan.h
./Cellar/vulkan-headers/1.3.204/include/vulkan/vulkan.h
[2022-02-01 18:29:06][gfx]: Created Vulkan 1.1 context.
zsh: segmentation fault ./DDNet
void CGraphicsBackend_Threaded::RunBuffer(CCommandBuffer *pBuffer) { /*WaitForIdle(); std::unique_lock<std::mutex> Lock(m_BufferSwapMutex); m_pBuffer = pBuffer; m_BufferInProcess.store(true, std::memory_order_relaxed); m_BufferSwapCond.notify_all();*/ m_pProcessor->RunBuffer(pBuffer); }
CGraphicsBackend_Threaded::WaitForIdle
?