Skip to content

rio portable panicked with wgpu error: Validation Error #1291

@jfdtse

Description

@jfdtse

Got this error in latest rio-portable-x86_64.exe sometimes when I change display from my external monitor to laptop monitor only:

---------------------------
Rio: Runtime Error
---------------------------
panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\wgpu-25.0.2\src\backend\wgpu_core.rs:3561:18:
wgpu error: Validation Error

Caused by:
  In Surface::configure
    Both `Surface` width and height must be non-zero. Wait to recreate the `Surface` until the window has non-zero area.



Press Ctrl-C to Copy
---------------------------
OK   
---------------------------

Currently I'm using these renderer settings:

[renderer]
performance = "low"
backend = "gl"
disable-unfocused-render = false
level = 0
filters = []

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