Skip to content
New issue

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

Crash while resizing windows #5

Open
birkett83 opened this issue Jun 15, 2021 · 0 comments
Open

Crash while resizing windows #5

birkett83 opened this issue Jun 15, 2021 · 0 comments

Comments

@birkett83
Copy link

Environment

Debian stable running X11 with Nvidia drivers

Steps to reproduce

cargo run --example wgpu_demo

Resize the window. Keep resizing until you get this:

reallocating stencil texture Instant { tv_sec: 255277, tv_nsec: 152997264 }
reallocating stencil texture Instant { tv_sec: 255277, tv_nsec: 202835828 }
reallocating stencil texture Instant { tv_sec: 255277, tv_nsec: 245754503 }
reallocating stencil texture Instant { tv_sec: 255277, tv_nsec: 284947364 }
reallocating stencil texture Instant { tv_sec: 255277, tv_nsec: 334616553 }
wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 275, Vulkan)>`
    In a pass parameter
      note: command buffer = `<CommandBuffer-(0, 275, Vulkan)>`
    attachments have differing sizes: ("depth", Extent3d { width: 716, height: 356, depth_or_array_layers: 1 }) is followed by ("color", Extent3d { width: 780, height: 600, depth_or_array_layers: 1 })


thread 'main' panicked at 'Handling wgpu errors as fatal by default', /home/birkett/.cargo/git/checkouts/wgpu-rs-40ea39809c03c5d8/1f8e411/src/backend/direct.rs:1942:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Segmentation fault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant