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

low_power example freezes #11274

Closed
IceSentry opened this issue Jan 9, 2024 · 2 comments · Fixed by #11325
Closed

low_power example freezes #11274

IceSentry opened this issue Jan 9, 2024 · 2 comments · Fixed by #11325
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior P-High This is particularly urgent, and deserves immediate attention P-Regression Functionality that used to work but no longer does. Add a test for this!
Milestone

Comments

@IceSentry
Copy link
Contributor

IceSentry commented Jan 9, 2024

Bevy version

Bug started after #11245

Relevant system information

INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 4080", vendor: 4318, device: 9988, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "546.33", backend: Vulkan }
INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 10 Pro", kernel: "19045", cpu: "", core_count: "8", memory: "63.9 GiB" }

What you did

cargo run --example low_power

What went wrong

The example runs fine on startup, but as soon as I hit spacebar the window freezes.

@IceSentry IceSentry added C-Bug An unexpected or incorrect behavior A-Windowing Platform-agnostic interface layer to run your app in P-Regression Functionality that used to work but no longer does. Add a test for this! labels Jan 9, 2024
@IceSentry IceSentry added this to the 0.13 milestone Jan 9, 2024
@tim-blackbird
Copy link
Contributor

I get the same result.

@nicopap
Copy link
Contributor

nicopap commented Jan 9, 2024

@nicopap nicopap added the P-High This is particularly urgent, and deserves immediate attention label Jan 9, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 15, 2024
# Objective

- Partial fix for #11235 
- Fixes #11274 
- Fixes #11320 
- Fixes #11273

## Solution

- check update mode to trigger redraw request, instead of once a redraw
request has been triggered
- don't ignore device event in case of `Reactive` update mode
- make sure that at least 5 updates are triggered on application start
to ensure everything is correctly initialized
- trigger manual updates instead of relying on redraw requests when
there are no window or they are not visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior P-High This is particularly urgent, and deserves immediate attention P-Regression Functionality that used to work but no longer does. Add a test for this!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants