Skip to content

Getting wgpu ValidationError panic on Linux #450

Description

@abusch

I have a little project I've just updated to pixels 0.17 and while it works fine on MacOS, I get a panic on Linux like the following:

thread 'main' (32262) panicked at /home/amx/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-29.0.1/src/backend/wgpu_core.rs:3879:18:
wgpu error: Validation Error

Caused by:
  In Surface::configure
    `SurfaceOutput` must be dropped before a new `Surface` is made


note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After a bit of searching I found this issue, so a similar fix should be made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions