We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Panics on assertion about present index and next semaphore value when running under wayland.
To Reproduce Under wayland run: cargo r --bin view --release --no-default-features -- --scene mini_battle --width 1920 --height 1080 --no-debug
Expected behavior No panic.
Device:
Additional context Error message:
thread 'main' panicked at 'assertion failed: `(left == right)` left: `0`, right: `3`', crates/lib/kajiya-backend/src/vulkan/swapchain.rs:242:17
If I remove the assertion it runs as expected.
I tried logging the values and most of the time it seems to loop around from index 2 instead of 3 as expected.
[2022-06-08 19:18:30][kajiya_backend::vulkan::swapchain][INFO] Present Index: 0 Next Semaphore Value: 0 [2022-06-08 19:18:30][kajiya_backend::vulkan::swapchain][INFO] Present Index: 1 Next Semaphore Value: 1 [2022-06-08 19:18:30][kajiya_backend::vulkan::swapchain][INFO] Present Index: 2 Next Semaphore Value: 2 [2022-06-08 19:18:30][kajiya_backend::vulkan::swapchain][INFO] Present Index: 3 Next Semaphore Value: 3 [2022-06-08 19:18:30][kajiya_backend::vulkan::swapchain][INFO] Present Index: 0 Next Semaphore Value: 0 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 1 Next Semaphore Value: 1 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 2 Next Semaphore Value: 2 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 0 Next Semaphore Value: 3 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 1 Next Semaphore Value: 0 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 2 Next Semaphore Value: 1 [2022-06-08 19:18:31][kajiya_backend::vulkan::swapchain][INFO] Present Index: 0 Next Semaphore Value: 2
The text was updated successfully, but these errors were encountered:
Same error on Windows 10 with any scene, or even without it
cargo run --bin view --release
thread 'main' panicked at 'assertion failed: `(left == right)` left: `0`, right: `1`', crates\lib\kajiya-backend\src\vulkan\swapchain.rs:242:17
Sorry, something went wrong.
Seems to work just fine on Windows after commenting out this line:
kajiya/crates/lib/kajiya-backend/src/vulkan/swapchain.rs
Line 242 in a4ffd34
No branches or pull requests
Describe the bug
Panics on assertion about present index and next semaphore value when running under wayland.
To Reproduce
Under wayland run:
cargo r --bin view --release --no-default-features -- --scene mini_battle --width 1920 --height 1080 --no-debug
Expected behavior
No panic.
Device:
Additional context
Error message:
If I remove the assertion it runs as expected.
I tried logging the values and most of the time it seems to loop around from index 2 instead of 3 as expected.
The text was updated successfully, but these errors were encountered: