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

Godot 4.1 takes ~1 minute to load on the Steam Deck. #80054

Open
TheFoxKnocks opened this issue Jul 30, 2023 · 9 comments
Open

Godot 4.1 takes ~1 minute to load on the Steam Deck. #80054

TheFoxKnocks opened this issue Jul 30, 2023 · 9 comments

Comments

@TheFoxKnocks
Copy link

TheFoxKnocks commented Jul 30, 2023

Godot version

v4.1.stable.official [9704596]

System information

Godot v4.1.stable - Windows 10.0.19044 - Vulkan (Compatibility) - NVIDIA GeForce RTX 3080 (NVIDIA; 31.0.15.3179) - 12th Gen Intel(R) Core(TM) i9-12900KF (24 Threads)

Issue description

Even when creating a fresh project that only has a single Label in it and nothing else, the project will hang at a black screen on the Steam Deck for roughly 1 minute until it finally loads.

This isn't normal, because I have the Steam info overlay also enabled, which does this weird thing where it hangs in the middle of the left side of the screen while this black screen is present, then moves snugly to the top-left where it should be once the black screen is gone.

Other games on the Steam Deck do not do this. This is not a hardware issue.

I have tried both with using GodotSteam and without. It doesn't change anything. The load time is very long and it hangs in a way that is unexpected.

The project opens up quickly in the Editor, when exported as a .EXE, and when played through Steam via the Steam application on PC. This issue is exclusively when playing the project on a Steam Deck.

The project must be ran in Compatibility mode. Forward+ causes it to sometimes crash without warning on the Steam Deck.

Steps to reproduce

Create new project.

Export into Steamworks.

Run game on the Steam Deck.

Minimal reproduction project

Shouldn't be necessary. Seriously any new project will do this.

@Calinou
Copy link
Member

Calinou commented Jul 30, 2023

@TheFoxKnocks
Copy link
Author

This happens always. If I run the game, let it load, close it, and run it again, it'll still take the same amount of time to open.

Turning off the overlay doesn't change anything (in fact I reset my Steam back to default just to be sure).

Desktop mode has no difference. It'll display a black box, cursor becomes unresponsive until it loads.

@Anutrix
Copy link
Contributor

Anutrix commented Aug 1, 2023

Steam Deck uses Wayland afaik, so it could be Godot and/or Wayland related issue.
These might be helpful:
#78487
#78581

@TheFoxKnocks
Copy link
Author

Steam Deck uses Wayland afaik, so it could be Godot and/or Wayland related issue. These might be helpful: #78487 #78581

Thanks, so this is probably a 4.x issue then. Other Godot games do not hang like this, but I think they're all 3.x.

That's unfortunate, but I guess something I'll just have to accept as a current downside to Godot.

@sonic2kk
Copy link

sonic2kk commented Aug 1, 2023

Just checked my Steam Deck and the KDE Plasma Desktop session still uses X11 according to Info Center (running on the Beta channel so not sure if there's a difference in Preview).

@Calinou
Copy link
Member

Calinou commented Aug 1, 2023

Can you reproduce this if you enable Single Window Mode in the Editor Settings, then restart the editor?

@TheFoxKnocks
Copy link
Author

Can you reproduce this if you enable Single Window Mode in the Editor Settings, then restart the editor?

This issue is irrelevant to the Editor and exists when the game is published.

@mhilbrunner
Copy link
Member

A data point: We seem to be failing to reproduce this so far with a 4.1 project on Steam Deck.

@stalkerg
Copy link

For SteamDeck you should create a native Linux build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants