LukasBanana / LLGL

Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
BSD 3-Clause "New" or "Revised" License
2.1k stars 139 forks source link

Vulkan renderer results in graphic glitches #134

Open markusbkk opened 1 month ago

markusbkk commented 1 month ago

I'm currently in the process of assessing graphics middleware solutions for my own little game engine (the choice is now pretty much down to LLGL and DiligentEngine).

LLGL works great for OpenGL but as soon as I switch to the Vulkan renderer, I get nothing but graphical glitches in any of the included examples.

Vulkan works fine under Diligent so I guess driver issues can be ruled out? While Diligent appears to have shipped with its own copy of the Vulkan SDK, I had to run sudo apt-get install libvulkan-dev for LLGL. Do I need a different version of the SDK, maybe?

OS: Pop! OS 22.04 GPU: Radeon 760m (iGPU)

image

EDIT: Vulkan SDK is version 1.3.280.0

LukasBanana commented 1 month ago

Hi, I just got back from a business trip and got sick on the way back. So I can only sporadically respond here. In the meantime, can you try launching the example with -d to enable debug mode, including the Vulkan validation layers? That should provide some insight what's going wrong. Have you also tried running the example through RenderDoc?

markusbkk commented 1 month ago

No worries. My own father recently burglarized my home so I'm not super focused on software development myself right now.

Will debug it tomorrow.

Get well soon.

On Sun, 27 Oct 2024, 19:16 Laura Hermanns, @.***> wrote:

Hi, I just got back from a business trip and got sick on the way back. So I can only sporadically respond here. In the meantime, can you try launching the example with -d to enable debug mode, including the Vulkan validation layers? That should provide some insight what's going wrong.

— Reply to this email directly, view it on GitHub https://github.com/LukasBanana/LLGL/issues/134#issuecomment-2440124443, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3AXUIL3NLNVVD6WBQVXYZ3Z5UUZDAVCNFSM6AAAAABQQVIXRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGEZDINBUGM . You are receiving this because you authored the thread.Message ID: @.***>

LukasBanana commented 2 weeks ago

Were you able to look into this again? Can you perhaps share a RenderDoc capture? I don't have a native Linux installation at the moment, only VMs which don't reproduce this issue. I also never worked with this particular OS, although I suspect this shouldn't make a difference across Linux distros.