Skip to content
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

Clicking "Maximise" button in Windows causes crash #2

Open
PhonicUK opened this issue Aug 19, 2019 · 2 comments
Open

Clicking "Maximise" button in Windows causes crash #2

PhonicUK opened this issue Aug 19, 2019 · 2 comments

Comments

@PhonicUK
Copy link

file:///C:/tiny-rtx/src/utils.mjs:12
        throw new Error(`Vulkan assertion failed with ${key}`);
        ^

Error: Vulkan assertion failed with VK_ERROR_OUT_OF_DATE_KHR
    at ASSERT_VK_RESULT (file:///C:/tiny-rtx/src/utils.mjs:12:15)
    at RayTracingDemo.VulkanApplication.drawDefaultFrame (file:///C:/tiny-rtx/src/VulkanApplication.mjs:126:3)
    at RayTracingDemo.drawFrame (file:///C:/tiny-rtx/src/index.mjs:174:8)
    at Timeout.drawLoop [as _onTimeout] (file:///C:/tiny-rtx/src/index.mjs:152:9)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node --experimental-modules ./main.mjs --verbose-log`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@russelldc
Copy link

russelldc commented Aug 22, 2019

I'm seeing this issue on my machine as well.

Seems to be related to this section of the Vulkan docs:
https://vulkan-tutorial.com/Drawing_a_triangle/Swap_chain_recreation

@maierfelix
Copy link
Owner

I didn't add swapchain recreation yet. If I get back to this project, then I'll add it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants