bevyengine / bevyengine/bevy

On Steam Deck in gaming mode the screen does not update

Open
#15,193 8 comments 2 reactions 0 assignees View on GitHub
A-Windowing C-Bug I-Regression O-Linux S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.14.2

## Relevant system information

``` text
$ cargo --version
cargo 1.80.1 (376290515 2024-07-16)
$ uname --all
Linux steamdeck 6.1.52-valve16-1-neptune-61 #1 SMP PREEMPT_DYNAMIC Tue, 06 Feb 2024 00:51:49 +0000 x86_64 GNU/Linux
```

``` text
AdapterInfo { name: "AMD Radeon Graphics (RADV VANGOGH)", vendor: 4098, device: 5173, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 23.3.0-devel (git-4870e346ff)", backend: Vulkan }
```

## 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](https://discord.com/channels/691052431525675048/691052431974465548/1283903153670066348) (with very helpful @alice-i-cecile and @Shatur).

Logs, workarounds, build instructions etc. in the readme of [my MRE repository](https://gitlab.com/tad-lispy/bevy-0.14-steam-deck-no-refresh).

Contributor guide

Open the contributing guide

Research direction

Start with the linked MRE repository and its README, following the build instructions for Steam Deck gaming mode. Reproduce the missing or infrequent screen updates and compare the logs and behavior with desktop mode, where rotation works normally. Done means the green dot renders and updates continuously in gaming mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
computer-graphics, game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.