Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFull system freeze #15
Comments
|
Which platform and hardware are you using? |
|
Linux (Arch Linux) 4.6.4, ph-device is nvidia gtx 780, driver 367.35. |
|
I've had exactly the same problem (Arch Linux linux-ck 4.6.6-1, NV GTX 960 2GB 367.35) and managed to resolve it by adding fences and waiting for the graphics command buffer to execute before scheduling presentation (just like in Sasha Willem's example code triangle.cpp line 353) |
|
@kubasz It's odd that something like that is required, because |
|
Hi guys, I've just got everything up to the basic triangle working under Antergos (Arch) and its all working fine. Moving the window around is a little choppy, but that might be due to the code throwing everything at the GPU with no let up? Window close responds correctly etc. |
|
@leestripp Is that without any modifications to synchronisation? |
|
Yes, no modifications. |
|
Added a sleep_for in the mainLoop. Now the window moves nice and smooth. Hope that helps.
|
|
I have finished the the "Rendering and presentation" section of the tutorial and have also encountered the No error System: Has Error System: On the system with the error I rolled back to the 367.35 driver and then the error went away. So it may be a driver problem. Looking at the supported features on gpu info for the 680 vs. 960, 780, & 860M doesn't give any correlation between features and problems. I put my implementation of the code up here: https://github.com/AkBKukU/VKTriangle |
|
I've just experienced the same full system freeze on window resize/move/etc with nvidia 370.28-1 under Arch. |
|
@rlofc Can you try the following code? https://gist.github.com/Overv/2d2c1e0fe0ff270c56f7773aa5cd93f0 It relies on the same shaders as the code for the end of "Rendering and presentation" |
|
Same issue. |
|
Can you check if the latest code still has this issue? I've changed the way synchronization works in |
The swap_chain_creation.cpp as well as my own implementation following your tutorial up to this point reliably freezes my machine if I interact in any way with the window (moving, resizing, closing etc.). Additionally I get a "validation layer: vkDeviceWaitIdle: returned VK_ERROR_DEVICE_LOST, indicating that the logical device has been lost" error when terminating the application.
Note that SashaWillems basic triangle example works fine.