Wumpf / blub

3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)
MIT License
392 stars 12 forks source link

Panic at startup #47

Open killkrt opened 2 years ago

killkrt commented 2 years ago

Software version: 3f5be1e657513ec4fb2a36b47d9487ff5a7d6507

Issue: Panic at startup (executing in release mode) with the following error: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Decoding(DecodingError { format: Exact(Hdr), underlying: Some(RadianceHdrSignatureInvalid) })', src/renderer/background.rs:110:68

In debug mode I have this different error:

ERROR wgpu::backend::direct] wgpu error: Validation Error

    Caused by:
        In Device::create_texture
          note: label = 'Cubemap'
        Dimension X is zero

thread main panicked at Handling wgpu errors as fatal by default

System details: OS: Arch Linux 64 bit (Kernel 5.18.16) GCC: 12.1.1 Windows manager: i3 Hardware: NUC8I5BEH2 Rust: 1.62.1

anadb commented 8 months ago

same issue, did you figure it out?

killkrt commented 8 months ago

No, I gave up, the project seems to be abandoned, though.

Wumpf commented 8 months ago

yeah I haven't touched anything here in ages. The wgpu version used is beyond ancient and there's too many things I'd do differently nowadays

jmatsushita commented 4 months ago

yeah I haven't touched anything here in ages. The wgpu version used is beyond ancient and there's too many things I'd do differently nowadays

@Wumpf just watched your awesome presentation on the rust game dev youtube channel https://youtu.be/Yzr9va5UtiE?si=q_XSB5LV_G1fawa7

Really curious about how you would approach this nowadays!

Cheers :)

Wumpf commented 4 months ago

@jmatsushita thank you :)

Hmm where to start.... it's been so long ago, but here's a few things off the top of my head: