- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VK/GL interop crashes AMD driver (using external_memory & external_semaphore extensions)
Hi,
I am a computer graphics developer working for Toon Boom Animation Inc. (https://www.toonboom.com/) on the Harmony & StoryboardPro products.
We are trying to use the available Vulkan/OpenGL external_memory & external_semaphore extensions to mix VK & GL rendering, but we are getting driver crashes/freezes with the AMD drivers on Windows.
I already created a minimal reproducible code example of our scenario.
https://github.com/drywolf/vkgl-test
- most of the GL code is based on LearnOpenGL sample-code (so should be pretty straightforward)
- and most of the low-level Vulkan code is based on the mesa piglit test-framework examples for the external_objects extensions
This code runs without issue on the NVidia cards/drivers that we tested,
but on AMD cards/drivers we typically get driver crashes/freezes on the calls to glWaitSemaphoreEXT() or glSignalSemaphoreEXT() (see them in the vk-render.cpp file)
The driver crash/freeze always happens when MSAA is enabled, it only sometimes appears to happen when MSAA is disabled.
I hope some AMD driver engineer can have a look and let me know if I am missing something in the code, or are we encountering a bug in the AMD driver.
PS:
I am testing this on Windows 10 22H2 (19045.2965)
with an AMD Radeon RX 5700 XT
on Adrenalin driver 23.4.2
Thanks & Regards,
Wolfgang Steiner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wsteiner ,
Thanks for reporting the issue and providing the reproducible code example. I will forward the issue to the OpenGL team.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @dipak 👍
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wsteiner ,
An internal bug ticket has been created to track this issue. Will keep you posted on its progress.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
The above interop issue has been fixed internally.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is great news 😍 I'm looking forward to testing it.
Thanks @dipak for the update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wsteiner ,
Could you please try the latest driver (Adrenalin 23.9.2) and let us know if the issue has been resolved?
Thanks.
