martypc icon indicating copy to clipboard operation
martypc copied to clipboard

Panic: Error in Surface::configure: Validation Error

Open dbalsom opened this issue 11 months ago • 0 comments

If left running an extended period of time, or sometimes at random(?) MartyPC may panic with the following error:

[2023-07-18T14:56:37Z WARN  wgpu_hal::vulkan] Unrecognized device error ERROR_INITIALIZATION_FAILED
thread 'main' panicked at 'Error in Surface::configure: Validation Error

Caused by:
    Parent device is lost

Somehow we appear to have lost the wgpu 'parent device'; I'm not sure if this is a recoverable condition. More research is needed to determine cause or reliably reproduce.

Potentially related upstream issue: https://github.com/gfx-rs/wgpu/issues/2301

dbalsom avatar Jul 18 '23 15:07 dbalsom