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

ALVR Video Encoder is not resistant against Vulkan Device Lost #2692

Open
LexiBigCheese opened this issue Feb 7, 2025 · 0 comments
Open

Comments

@LexiBigCheese
Copy link

I'm using a Battlemage GPU (Intel ARC B580), and i've been getting vulkan device lost errors every now and then (mainly when the GPU encounters a massive lagspike when loading something)...
while the game I'm playing is still running in the background, input is being sent and audio is sent both ways.

There should be an exception handler where if this error is caught, the encoder should restart, as the GPU is still functional.

something like (in rust terms)

loop {
  match start_encoder(paramaters_and_surfaces_and_textures_and_such) {
    Err(VkDeviceLost) => continue,
    _ => todo!(),
  }
}
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