Hi expert,
I found an issue in graphics application programming. The 3D API is VULKAN.
I have a HP notebook equipped with AMD R7 6800U, 16GB DDR5 4800. Win10 22H2, 64bit, no discrete GPU.
I write and debug the application by code-blocks IDE 20.03 for Windows, with prebuilt Mingw-w64 compiler. It is just a multi-threaded rendering demo. I only used the multi-threaded code to create and update the command buffers. When the application runs up, I can only see the black background, and no 3D objects display on the screen. The validation layer had been enabled, but no error or warning information. Another fact is that the same application executable binary can run normally on Intel 7th and 11th Gen CORE i5 with integrated GPU. I only tested on these two Intel platforms now. I had tried to update the GPU driver to the latest version, but no help.
I have many VULKAN based applications developed on this AMD platform. And these applications which do not use multi-threading can run very well. I am sure that all the API calls are strictly checked. The synchronization is also OK because the command buffers are different buffers and allocated from a command pool. And they are queued one by one into the hardware queue before execution in the main thread.
Can you provide me multi-threading demo which had been verified on AMD GPU? Thanks very much.
Solved! Go to Solution.
Hi Owen,
I am sorry. I fixed it at last. The reason is that the depth buffer image was not cleared correctly. But the Intel platform is OK which is very strange.
Hi @8086 ,
Thanks for reporting it. I have whitelisted you and moved the post to the Vulkan forum.
I will forward this issue to the Vulkan team.
Thanks.
Hi,
Can you upload your multi-threaded rendering demo with source which shows the issue?
There's also many good examples online on this topic, e.g.
https://github.com/SaschaWillems/Vulkan/blob/master/examples/multithreading/multithreading.cpp
Thanks,
Owen
Owen,
Thanks, I will refer to the example first.
Hi Owen,
Did you test the Sascha's example? I had referred to his source code. Now I still think there should be something wrong in the graphics driver side. Intel platform always OK. Vulkan SDK version is 1.2.162.1. Can you compile his multi-threading example and test on R7 6800U?
Hi Owen,
I am sorry. I fixed it at last. The reason is that the depth buffer image was not cleared correctly. But the Intel platform is OK which is very strange.