Skip to content

Add decky-loader and nodejs#2802

Open
gio3k wants to merge 5 commits into
ROCKNIX:nextfrom
gio3k:dev/gio/decky-loader
Open

Add decky-loader and nodejs#2802
gio3k wants to merge 5 commits into
ROCKNIX:nextfrom
gio3k:dev/gio/decky-loader

Conversation

@gio3k
Copy link
Copy Markdown
Contributor

@gio3k gio3k commented May 28, 2026

Adds the decky-loader and nodejs packages

Node is being used to build the frontend for decky-loader, so it's only used as a host package currently
It can be built for the target though

note: As this is mostly host side changes, I'm not sure if there are libs in my toolchain left from previous attempts... please build this first before merge!!

AI Usage

While ROCKNIX doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? NO

@tiopex tiopex self-assigned this May 28, 2026
Comment thread projects/ROCKNIX/packages/devel/nodejs/package.mk
gio3k added 3 commits June 2, 2026 13:32
We need Node on the host to build decky-loader's frontend.

This package supports building for target anyways though!

Signed-off-by: Gianni Spadoni <me@gio.blue>
Needed for decky-loader.
Our Python3 build was stripped down, we can relax that a bit now

Target build size didn't go up in my testing.

Notably, the below line has been removed from post_makeinstall_target
`python_compile ${PKG_INSTALL_PATH_LIB}`

With the new configure options, this was breaking the install and
causing a FS codec error, need to look into this

Signed-off-by: Gianni Spadoni <me@gio.blue>
Adds decky-loader as a package.
Stores plugins in "/storage/.config/decky-loader/plugins"

Requires:
nodejs:host (for frontend building) and
Python3 (for the backend)

Signed-off-by: Gianni Spadoni <me@gio.blue>
@gio3k gio3k force-pushed the dev/gio/decky-loader branch from fd923ae to c9f39da Compare June 2, 2026 05:35
@tiopex tiopex added this pull request to the merge queue Jun 2, 2026
@tiopex tiopex removed this pull request from the merge queue due to a manual request Jun 2, 2026
@tiopex
Copy link
Copy Markdown
Contributor

tiopex commented Jun 2, 2026

Shouldn't this be a dependency of the Steam package?

Compiles decky-loader when using the Steam package
@gio3k
Copy link
Copy Markdown
Contributor Author

gio3k commented Jun 2, 2026

Yes, added that now - not sure if it even got built on the pr-approval workflow because nothing depended on it, my bad

@tiopex tiopex assigned tiopex and unassigned tiopex Jun 2, 2026
@tiopex
Copy link
Copy Markdown
Contributor

tiopex commented Jun 4, 2026

Checked, is decky should appear in steam?

@gio3k
Copy link
Copy Markdown
Contributor Author

gio3k commented Jun 4, 2026

Should show up in the quick access menu, can you check if ~/.steam/steam/.cef-enable-remote-debugging exists?

@gio3k
Copy link
Copy Markdown
Contributor Author

gio3k commented Jun 4, 2026

I had a line in /usr/bin/decky-backend.sh that created that file automatically but it's gone now - it must've been lost during a rebase

If Decky works for you after creating it, I can commit a fix and we can just skip the test builds

(alternatively we can just add -cef-enable-debugging to the Steam launch params if you'd like)

@tiopex
Copy link
Copy Markdown
Contributor

tiopex commented Jun 4, 2026

Ok, but now in decky general tab there is: "an error occured while rendering this content." and buttons: restart decky, steam or disable decky

@gio3k
Copy link
Copy Markdown
Contributor Author

gio3k commented Jun 5, 2026

Decky needs to be updated from v3.2.3 -> v3.2.4 to handle the new Steam UI changes

Worth mentioning that plugins would still work even if the plugin manager UI (from the quick access menu) isn't

@gio3k
Copy link
Copy Markdown
Contributor Author

gio3k commented Jun 5, 2026

If this is a problem in the future and Steam UI changes break the Decky UI often before Rocknix stable releases then we can look into having Decky update itself on device (which should be pretty easy, as it's running with nodejs + python3)

Fixes Steam UI issues

Signed-off-by: Gianni Spadoni <me@gio.blue>
@tiopex
Copy link
Copy Markdown
Contributor

tiopex commented Jun 5, 2026

yes, update would be fine

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants