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

rerun crashes with "Parent device is lost" when system goes to sleep #6312

Open
Danvil opened this issue May 13, 2024 · 1 comment
Open

rerun crashes with "Parent device is lost" when system goes to sleep #6312

Danvil opened this issue May 13, 2024 · 1 comment
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🐧 linux Linux-specific problems 🔺 re_renderer affects re_renderer itself user-request This is a pressing issue for one of our users

Comments

@Danvil
Copy link

Danvil commented May 13, 2024

Describe the bug

Launch rerun on Linux. Put system to sleep. Wake system up again. Rerun is crashed with error "Parent device is lost"

Expected behavior
Rerun does not crash when system is put to sleep.

Backtrace

thread 'main' panicked at 'Error in Device::poll: Validation Error

Caused by:
    Parent device is lost
'
wgpu-0.19.4/src/backend/wgpu_core.rs:1420
stack backtrace:
   6: core::panicking::panic_fmt
             at core/src/panicking.rs:72:14
   7: wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_fatal
   8: <wgpu::backend::wgpu_core::ContextWgpuCore as wgpu::context::Context>::device_poll
   9: <T as wgpu::context::DynContext>::device_poll
  10: wgpu::Device::poll
  11: re_renderer::context::RenderContext::begin_frame
  12: core::ops::function::FnOnce::call_once{{vtable.shim}}
  13: core::ops::function::FnOnce::call_once{{vtable.shim}}
  14: egui::containers::frame::Frame::show_dyn
  15: egui::containers::panel::CentralPanel::show_inside_dyn
  16: egui::containers::panel::CentralPanel::show_dyn
  17: <re_viewer::app::App as eframe::epi::App>::update
  18: egui::context::Context::run
  19: eframe::native::epi_integration::EpiIntegration::update
  20: <eframe::native::wgpu_integration::WgpuWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint
  21: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
  22: winit::platform_impl::platform::EventLoop<T>::run_on_demand
  23: eframe::run_native

Desktop (please complete the following information):
Linux Mint 21 Vanessa

Rerun version

rerun-cli 0.15.1 [rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball), LLVM 17.0.6] x86_64-unknown-linux-gnu
@Danvil Danvil added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working labels May 13, 2024
@teh-cmc teh-cmc added 📺 re_viewer affects re_viewer itself 🐧 linux Linux-specific problems user-request This is a pressing issue for one of our users and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels May 14, 2024
@Wumpf Wumpf added 🔺 re_renderer affects re_renderer itself and removed 📺 re_viewer affects re_viewer itself labels May 14, 2024
@emilk
Copy link
Member

emilk commented May 14, 2024

It's likely this will require a fix in eframe and/or egui-wgpu

@Wumpf Wumpf added the 💣 crash crash, deadlock/freeze, do-no-start label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🐧 linux Linux-specific problems 🔺 re_renderer affects re_renderer itself user-request This is a pressing issue for one of our users
Projects
None yet
Development

No branches or pull requests

4 participants