-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
On Steam Deck in gaming mode the screen does not update #15193
Comments
I can confirm there’s an issue with SteamDeck. When running In my case, I used Steamworks to retrieve the friends list and display it in a I also tested with and without Here’s my setup:
[target.x86_64-unknown-linux-gnu]
rustflags = [
# SteamDeck uses Zen2 architecture (https://www.steamdeck.com/en/tech)
"-Ctarget-cpu=znver2",
"-Zshare-generics=y",
"-Zthreads=8",
] WindowsTerminal_C3xsuHCFIS.mp4 |
I tried to do a tracy capture but I was only able to capture the first milliseconds of the program after that the program froze, I also enabled the Steam performance overlay and it also froze so... I don't know what could generate this kind of issues, I checked on WGPU and Winit and I didn't found any issues related to this problem. |
It's strange my project runs fine on SteamDeck: |
On my side I have the same issue with your project. I built it with WSL then used SteamOS Devkit to transfer the app. $ rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04) My SteamDeck:
|
I compile the project on the SteamDeck inside Distrobox with ArchLinux. I have the latest firmware and the container also have all packages up to date. Everything else is the same, including the Rust version and SteamDeck model. |
just wanted to confirm i see the same issue - 0.13 worked, 0.14 all good in desktop mode but in gaming mode my app is locked at just under 1fps and doesn't display properly.
not sure if anyone else has tried dissecting yet / has any further ideas? |
I guarantee this is due to the winit event loop rework done in #13366. |
We're encountering this issue as well with Bevy 0.14.2 (and prior 0.14 versions as well). The interesting part is that we only just found out, as we've only been testing our game with the Steam Deck docked and connected to a TV. Seems like when the deck is connected to an external display things work fine. The game also runs fine on the Steam Deck in Desktop mode. Additionally we've had to run the game in windowed mode to get it to run on the Steam Deck when connected to the external display. I don't know if it is at all related to this issue, though, because this was already the case pre-0.14. |
Bevy version
0.14.2
Relevant system information
What you did
MRE with some observation at https://gitlab.com/tad-lispy/bevy-0.14-steam-deck-no-refresh
What went wrong
The program should display a single green dot in the middle of the screen. The dot should slowly rotate around the X axis. This works as intended on my laptop (NixOS with Wayland) and on Steam Deck in desktop mode (SteamOS with X11). In gaming mode (Game Scope compositor?) it does not move at all, and about half of the times the dot does not even show on screen.
Looking at the logs I see that the systems are running (rotation is updated), but very rarely (few times per second at most).
Additional information
Discussion in General channel of Bevy Discord (with very helpful @alice-i-cecile and @Shatur).
Logs, workarounds, build instructions etc. in the readme of my MRE repository.
The text was updated successfully, but these errors were encountered: