Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

examples panic #12

Open
ghost opened this issue Sep 26, 2018 · 8 comments
Open

examples panic #12

ghost opened this issue Sep 26, 2018 · 8 comments
Assignees

Comments

@ghost
Copy link

ghost commented Sep 26, 2018

command
cargo run --example pbm --features vulkan

environment:
OS: Windows 10
rustc 1.30.0-nightly (33b923fd4 2018-08-18)
cargo 1.29.0-nightly (6a7672ef5 2018-08-14)

result:
results in panic: thread 'main' panicked at 'Unhandled error in XfgDescriptorPool: Device memory allocation failed.', examples\pbm\../common/lib.rs:128:33 note: Run withRUST_BACKTRACE=1for a backtrace. thread 'main' panicked at 'Values of this type can't be dropped!',

expected: example is running

@zakarumych
Copy link
Owner

Could you post backtrace as well?
I can't test on vulkan ATM.

@ghost
Copy link
Author

ghost commented Sep 26, 2018

Note: dx12 has a not implemented issue, but to test it I had to add 'dx12 = ["gfx-render/gfx-backend-dx12"] to the cargo.toml

thread 'main' panicked at 'not yet implemented', [...]gfx-e86e7f3ebdbc4218\6cb2a80\src\backend\dx12\src\command.rs:1928:9 note: Run with RUST_BACKTRACE=1for a backtrace. thread 'main' panicked at 'Allocator must be cleared: SmartAllocator

@zakarumych
Copy link
Owner

This panic seems to be triggered at exit.

@ghost
Copy link
Author

ghost commented Sep 26, 2018

backtrace:
log.txt

@ghost
Copy link
Author

ghost commented Sep 26, 2018

with set RUST_BACKTRACE=1
log.txt

@zakarumych
Copy link
Owner

I see that on Vulkan you get "out of device memory" error on descriptor set allocation. This is strange.

@zakarumych zakarumych self-assigned this Sep 26, 2018
@ghost
Copy link
Author

ghost commented Sep 27, 2018

I've tried it on another windows10 machine with the same result.
Here is a more detailed log (trace turned on
). I see nothing special in it.

log.txt

(Both of them had NVIDIA cards, I will give it a try with ATI card too if I get to that pc)
EDIT: An the ATI card it is working.

@zakarumych
Copy link
Owner

I'll try to investigate today. Got my hands on machine with windows

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

No branches or pull requests

1 participant