bevyengine / bevyengine/bevy

Steam Deck crash on startup since winit 0.30 update

Open
#17,168 4 comments 0 reactions 0 assignees View on GitHub
A-Windowing C-Bug I-Crash S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

Since https://github.com/bevyengine/bevy/pull/13366

## \[Optional\] Relevant system information

Building on Windows 10, uploaded to Steam Deck.

## What you did

Built on Windows using `cargo build --example 3d_scene`. Then uploaded the .exe to the Deck using the Devkit tools, and executed on the Deck like a normal game. Nothing is attached to my Deck except power.

## What went wrong

Crash on startup. I see the following for 1 frame before the app shows a black screen.
![Image](https://github.com/user-attachments/assets/c1d96b94-7cda-4a7b-90e1-63cca03ccaba)
This does not seem to show up in `~/.local/share/Steam/logs/console-linux.txt` so if anyone knows a way to capture this properly please let me know!

## Additional information

I did stumble upon #15193 at some point before starting a bisect, but I dismissed it because I'm not getting anything to display at all. So feel free to close if duplicate.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the crash with `cargo build --example 3d_scene` on a Steam Deck, then compare behavior before and after the winit 0.30 update in PR #13366. Investigate how to capture the startup failure on the Deck; done means the example launches normally without the black-screen crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.