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

Steam Deck crash on startup since winit 0.30 update #17168

Open
GitGhillie opened this issue Jan 5, 2025 · 3 comments
Open

Steam Deck crash on startup since winit 0.30 update #17168

GitGhillie opened this issue Jan 5, 2025 · 3 comments
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior P-Crash A sudden unexpected crash S-Needs-Investigation This issue requires detective work to figure out what's going wrong

Comments

@GitGhillie
Copy link
Contributor

Bevy version

Since #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
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.

@GitGhillie GitGhillie added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jan 5, 2025
@GitGhillie
Copy link
Contributor Author

The winit window example seems to run without issue, so I'm not sure where to go from here

@BenjaminBrienen BenjaminBrienen added A-Windowing Platform-agnostic interface layer to run your app in P-Crash A sudden unexpected crash S-Needs-Investigation This issue requires detective work to figure out what's going wrong and removed S-Needs-Triage This issue needs to be labelled labels Jan 5, 2025
@rparrett
Copy link
Contributor

rparrett commented Jan 5, 2025

Not a steam deck person, but curious to know what would happen with

DefaultPlugins.set(RenderPlugin {
    render_creation: RenderCreation::Automatic(WgpuSettings {
        backends: Some(Backends::VULKAN),
        ..default()
    }),
    ..default()
}),

I assume dx12 stuff is expected to work though?

@GitGhillie
Copy link
Contributor Author

Ok so I tried setting the backend:
Bevy main:
Vulkan: I don't see any errors in the 1 frame I can see the console, after that it's just a black screen. Sometimes I also saw the 3d_scene for 1 frame before going black.
DX12: Error as posted before.

Commit before the winit update:
Vulkan: OK
DX12: Also errors, didn't check if it was the same error though. Let me know if that would be useful

Interestingly, if I set the backend to Vulkan in my flappy bird clone (bevy 0.15) it works great... but seeing that 3d_scene doesn't work it might not be a stable workaround.

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-Crash A sudden unexpected crash S-Needs-Investigation This issue requires detective work to figure out what's going wrong
Projects
None yet
Development

No branches or pull requests

3 participants