SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.77k stars 165 forks source link

[BUG] Decky / Plugins not loading correctly on Startup #697

Open CreeperofDoom opened 3 months ago

CreeperofDoom commented 3 months ago

Please confirm

Bug Report Description

When booting my Steam Deck Decky Itself either doesn't load on Startup or one random plugin will show an Error on the bottom right. It's rare for these NOT to occur anymore. I cannot access Decky / Plugin Settings and Store as well

Expected Behaviour

For Decky Loader and the installed Plugins to load and function correctly

SteamOS version

3.5.7 Stable

Selected Update Channel

Stable

Have you modified the read-only filesystem at any point?

No

Backend Logs

deckylog.txt

Frontend Logs

cef_log.txt

TrainDoctor commented 2 months ago

Unless you attach the CEF logs we cannot really debug what's going on here. The issue does not appear to be occurring in the backend as the logs show plugins loading properly. If you can recreate the behavior and provide the frontend cef logs then we are far more likely to be able to recreate and diagnose the issue.

CreeperofDoom commented 2 months ago

cef_log.txt cef_log.previous.txt here they are.

TrainDoctor commented 2 months ago

cef_log.txt cef_log.previous.txt here they are.

Can you provide a list of your installed plugins? I think you might be using some out of date or deprecated plugins.

CreeperofDoom commented 2 months ago

All Plugins are up to date according to Decky itself. but:

Audio Loader AutoFlatpaks CSS Loader Emuchievements Playtime SteamGridDB.

Mostly when turning on the Steam Deck one of the Plugins will error and so will Decky with it not functioning. Sometimes when booting the device it will work perfectly fine, All Plugins seem to be working when it does

TrainDoctor commented 2 months ago

All Plugins are up to date according to Decky itself. but:

Audio Loader AutoFlatpaks CSS Loader Emuchievements Playtime SteamGridDB.

Mostly when turning on the Steam Deck one of the Plugins will error and so will Decky with it not functioning. Sometimes when booting the device it will work perfectly fine, All Plugins seem to be working when it does

As in none of these plugins are from the testing store?

Next time you have a plugin fail please capture the error it shows and grab the logs. The info you've provided should be pretty helpful but we need to catch it as it occurs in terms of logs.

jurassicplayer commented 2 months ago

Adding my logs here too for another reference.

This steamloopback.host-1725620236079.log is from a where everything worked as normal.

Decky-Loader v3.0.0-Pre12 SteamOS Beta v3.6.12 - build 20240905.101 SteamClient Stable v1721173382

I haven't spent a bunch of time reproducing the error, but it seems to occur due to DFL attempting to initialize Steam interfaces too early (seems to always be Navigation?). I've noticed that with lower initialization times reported by the DFL's Webpack Module Init, decky tends to hit the issue though it could just be coincidence. Out of the 7 times I've tried reproducing the error, webpack module initialization taking less than 50ms always seems to fail to get Navigation. Timings that I've seen:

It may also be related to why plugins sometimes show the failure notification on start.

v3.0.0-Pre14