"Unattributed context" that is destroying my performance in my Vulkan render engine on Linux

Hello fellas,

I have been experiencing some issues regarding the rendering in my engine with Vulkan. I ported the engine from windows and for some reason, my performance on the Linux is a lot worse then on windows. Like frame rate is half of the windows version. So I decided to fire up the nsight and investigate what is casing that. Here is the picture of the GPU trace:

As you ca see, every single frame is followed buy this blue trace (PCI throughput) where my GPU is literally not doing anything except streaming some unknown data. This was not happening on the Windows version of the engine. The situation is even weirder if I disable all the drawing and just present a black swapchain image to the screen; unattributed context is everywhere.

When I run nvidia-smi in the terminal, the only thing that is using my GPU is my engine, kwin_wayland and xorg. I also tried switching to X, similar thing was happening there although much less synchronized that kinda gave better performance, but still worse then windows. I also tried running default vkcube application that comes with Vulkan SDK, similar thing was happening there as well. Note that I also have the dual gpu, integrated AMD one and GTX1650.

I’m really not sure where to go next, if anyone has any idea on what could be causing this I would like to hear it because I’m completely stuck.

Thanks for reading :)