-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Tests crash and other related bugs and Validation errors: #121
Comments
What branch (master?), what os, what material (gpu?), and what driver. Also maybe compiler. |
the validation message:
May be output if you dont have
You seems to have only 2 swapchain images. But there is a deviceWaitIdle on resize, and a Fence is guarding multiple acquire. I have to investigate that point. On linux, I have noticed that system may not recover well after bugs or crash, to confirm bugs, be sure to reboot your system between tests, or the cause maybe simply an unstable state of the kernel due to a previous crash/bug. For the dash test, that's a bug thanks (I reanabled context caching recently, sry) For the img blit
for now vkvg support only VK_FORMAT_B8G8R8A8_UNORM as surface format, and VK_FORMAT_FEATURE_BLIT_DST_BIT is missing on your driver. I should add formats when vkvg will be stabilized. fill_non_zero: bug due to the same newly enabled feature (context caching). I publish this, other check may freeze.... THANK YOU. |
surface: the default test size is 500, creating and destroying 500 surfaces stalls your driver, try to run with After having implemented context reuse/caching, I had problems with multithreading. My current devel branch try to solve most of the threading problems by caching context per thread. there are also several new mutex, and a new sync pattern with the time line semaphore. Sorry for my first quick response, I work for a client for the moment. |
Master branch. Vulkan Validation layers 1.2.189.0 Compiler - gcc (SUSE Linux) 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b] Tested also on CPU-experimental driver llvmpipe (this can not be used for debug, its experimental driver) but behavior of almost every application and Validation errors same there as in Nvidia (img_surf for example works as expected in llvmpipe, but with same Validation errors as on Nvidia). I wanted to test on Windows OS and other PC with different GPUs... but look like vkvg does not support WIndows currently (VS2019 can not build from its cmake file)
AMD GPU and Nvidia have only 2 images https://vulkan.gpuinfo.org/displayreport.php?id=14763#surface minImageCount 2 (I do not have AMD GPU on Linux right now to test so idk if it works there)
I just cloned your main branch without any extra action, and tried to run, saw bugs and reported them, thats all. If this bugreport useless then sorry, feel free to close it. |
No, I really appreciate your feedback, but my mind was set for a client, sorry. |
The depth validation error should be fixed, compilation on windows too (commit 583dd02). |
Visual Studio 2019 (updated to latest 16.11.13) - I build other Vulkan apps there everything was fine (Vulkan Samples also)
but look like VS 2019 no longer supported, so il updating to 2022 now... |
Same on VS 2022
|
look like error come because of https://github.com/jpbruyere/vkvg/blob/master/CMakeLists.txt#L344
when I remove one of Also if you just remove But build failed with same error:
Maybe this related ofiwg/libfabric#7041 (comment) |
Look like this is not C library but C++ library since And you include Or I do not understand something, this what I see for now. |
On windows, I don't compile with ninja, try with visual studio generators. I will try to test ninja build. |
Linux, Nvidia 510 driver
Every test have this validation error:
And after resize spam of same two errors:
bezier - Noise and
./bezier -g 4
does not work (to launch on otehr GPU like CPU-lavapipe or integrated GPU), Screenshot (same on other GPUs, not single GPU problem):dashes - crashes with segfault when just launched, and when launched with validation layers - window freeze on single frame. no additional Validation errors or output. Only when launched thru
CPU-lavapipe
there outputdouble free or corruption (fasttop)
before segfault.multithreaded and multithreaded2 - crash with segfault when just launched, and when launched with validation layers - no crash, but spam in validation log:
img_surf - completely broken when launched on real GPU, after launch black screen but if you resize window image appears:
spam in Validation log:
fill_non_zero - segfault with message
free(): double free detected in tcache 2
, no new validation errors.surface - window freeze and Validation error:
threaded_create_surf - idk what it should be, same as surface frozen window, but no Validation errors.
threaded_text - on real GPU segfault after 1-2 sec of running, with Validation layers - no crash but spam to log(this single error spam):
The text was updated successfully, but these errors were encountered: