ria8651 / octree-tracer

An octree raytracer focused on huge worlds
6 stars 0 forks source link

`parent device is lost` crash #3

Open stowmyy opened 11 months ago

stowmyy commented 11 months ago

cargo run --release crashes with the following error

note: this is done with dependency change from https://github.com/ria8651/octree-tracer/issues/2

$ cargo run --release
    Finished release [optimized + debuginfo] target(s) in 0.28s
warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target\release\octree-tracer.exe`
octree-tracer v0.1.0
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
thread 'main' panicked at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.12.0\src\backend\direct.rs:214:9:
Error in Queue::submit: parent device is lost
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\octree-tracer.exe` (exit code: 101)

os: windows 10 home device: dell laptop with integrated and GTX 960m

graphics drivers are up to date wgpu runs on other projects

ria8651 commented 11 months ago

It does still work for me so it's probably a system thing. I won't bother fixing it as this project was quite badly designed. I've got another project https://github.com/ria8651/alex that should be waaay faster and give similar results, especially on the hybrid branch. It's still very unfinished but I'd rather work on that than this.