-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland Vulkan swapchain creation fails #131
Comments
Regarding version mismatches, it's not clear which version of the supporting libraries Nvidia ship in the tarballs when releasing a new driver. My guess is that they just pick the latest commit. The "supporting" libraries are these: https://github.com/NVIDIA/egl-gbm For egl-gbm we're aligned with the latest release: https://github.com/NVIDIA/egl-gbm/commits/master I assume you are on Fedora 36? Everything else is up to date. Will try the test you pasted above and let you know. And last but not least the usual warning: https://forums.developer.nvidia.com/t/wayland-information-for-r515-beta-release/214275 |
The f36 package is only one commit behind nvidia master. https://src.fedoraproject.org/rpms/egl-wayland/blob/rawhide/f/egl-wayland.spec#_11 |
Can confirm this is Fedora 36. I can also narrow it down and say the latest egl-wayland commit won't be it, that was something David found while looking at some specific threaded cases for SDL. |
Then I guess your only option is posting a bug in the Nvidia forum. |
Seems to be fixed now? https://forums.developer.nvidia.com/t/linux-solaris-and-freebsd-driver-515-48-07-production-branch-release/216112 I will package 515.48.07 in a moment, it will be online in a few hours. |
Will check this on the lab boxes today - worst case the debug extension will tell us what's going on. |
Updated to 515.48.07, still fails and VK_EXT_debug_utils doesn't tell us anything, despite the driver notes suggesting otherwise. I'll keep prodding the thread on the NVIDIA forums. |
Looks like I was on the right track - from Erik Kurzinger:
EDIT: Relevant commit NVIDIA/egl-wayland@e7a2f70 |
I've pushed a snapshot of 1.1.10 (it seems to be final, but the release has not been tagged). Please let me know how it goes. Thanks. |
Running
|
1.1.10 has removed the symbol |
Sigh |
Sigh x2, can reproduce locally. (As a heads up I may be absent for the next week or so while I get TMNT out the door...) |
It should be fixed in the next driver release. |
A new driver version 515.57 has been released https://www.nvidia.com/download/driverResults.aspx/190422/ PS: there are also a few new commit for egl-Wayland: https://github.com/NVIDIA/egl-wayland/commits/master as a response to https://forums.developer.nvidia.com/t/properties-and-filters-windows-make-obs-hang-on-wayland-when-closed/213009/12 |
Driver 515.57 is being pushed to the repositories now along with a new snapshot of |
I can see the rotating cube now! PS: The resize issue described here NVIDIA/egl-wayland#59 is actually very real... |
That's probably accurate - it probably doesn't use decorations and it's using a swapchain with alpha. (Hopefully it's not set to opaque, otherwise I have to go look at my other NV report again...) Will locally test later today! |
I initially reported the obs issue and there is a weird segfault happening here with their fix: |
Yayyy it works Interestingly EGL has opaque presentation (per their recent commits) but Vulkan does not... oh well, back to this issue for that: https://forums.developer.nvidia.com/t/wayland-vulkan-ignores-vkcompositealphaflagskhr/202227 Thanks again for all the help! |
FEZ ❤️ |
First, thanks so much for fixing #128! This did fix a number of things right away... but I've now come across another interesting Wayland Vulkan bug, and unlike the other one I'm not sure what's actually happening this time.
The short version: When you try to create a swapchain with a Wayland Vulkan surface, it will fail with
VK_ERROR_INITIALIZATION_FAILED
, with no real indication as to what that actually means. The validation layer is no help either! Just to be sure, I checked an installation with the blob installer and it runs okay. Problem is, unlike the symlink, there doesn't seem to be a clear issue with the Fedora packages at all! I even went and did crazy things likels /usr/lib64 > [official|negativo].txt
and diffed the two to be sure we didn't have another obscure file that needed to be there, and no luck.Based on
LD_DEBUG=libs
and somestrace
ing I think we're now looking at something much weirder - possibly a version sync issue with something like the EGL/GBM libraries??? I can do whatever digging you need on the lab boxes here; the test I'm using is vkcube-wayland:It'll currently crash on an assertion, which is their error check for vkCreateSwapchainKHR.
The text was updated successfully, but these errors were encountered: