pelicanmapping / rocky

3D Geospatial SDK (C++17 / Vulkan / VSG)
MIT License
91 stars 15 forks source link

Immediate Hang At Start Up #17

Closed GeorgeRuhlmann closed 7 months ago

GeorgeRuhlmann commented 1 year ago

I started rdemo and it immediately hanged without any user interaction. The main thread is stuck in vsg::ThreadSafeQueue::take_when_available(). It never leaves the "while(_queue.empty() && _status->active())" loop.

image

plevy commented 1 year ago

Do you also get messages in the console: info: Context::waitForCompletion() 000001A8E3EFEAF0 fence->wait() failed with error. VkResult = -4

I get a hang, not sure it is the same hang as you. Also, can you check your nVidia control panel 3D settings: image If I leave that as Auto, it hangs on startup ( globe appears, imagery appears), and then hangs. But if I set it to Prefer Native, it doesn't hang. I think that is a new setting in the driver.

Thank you

GeorgeRuhlmann commented 1 year ago

It only hanged once and I do not remember if there was any console output. I have changed the driver setting to "Prefer native". It might be a couple weeks before I get back to this.