Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

Panic when screen is turned off #106

Closed
gfx-rs/wgpu
#369
@antonok-edm

Description

@antonok-edm

I'm on Linux, and if the screen is turned off (e.g. with xset dpms force off), wgpu instantly panics with GPU took too much time processing last frames :(. This leaves me with no way to recover the UI.

Is there any reason in particular that swap_chain_get_next_texture explicitly panics rather than returning a Result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions