Commit Graph

196 Commits

Author SHA1 Message Date
Josh.5
3867701a6b Fix an error in checking for xrandr modes 2023-09-12 00:43:25 +12:00
Josh.5
35722dfa84 Add a fallback to a possible existing supported mode when auto switching refresh rates 2023-09-11 20:24:56 +12:00
Josh.5
acee2481c1 Add some missing XDG environment variables 2023-09-11 19:13:53 +12:00
Josh.5
cc8bc1b02d Add a symlink to /usr/bin/steam
This is needed by MoonDeck Buddy
2023-09-11 17:58:18 +12:00
Josh.5
cb751f5a80 Update the default Steam BP launch config for Sunshine 2023-09-11 13:14:23 +12:00
Josh.5
aa1edd48e0 Add support for running proper detached processes with sunshine-run
This allows things like Steam BP to run with sunshine-run which will auto set the resolution. And then still have sunshine-stop restore the original resolution.
2023-09-11 12:29:48 +12:00
Josh.5
771c47d602 Fix direct execution of AppImages
Fetch a list of all child PIDs before forwarding the termination signal.
Once the main process is terminated, forward that term signal to all found children also (if they are still running)
2023-09-11 12:21:23 +12:00
Josh.5
0981af0a17 Further imporvements to sunshine-run and its logging 2023-09-11 11:54:30 +12:00
Josh.5
608f772ccc Add support for automatic refresh rate switching in Sunshine/Moonlight 2023-09-10 19:40:00 +12:00
Josh.5
60fa2363eb Create some temp files to indicate that the container has executed the init scripts for the first time
This could be useful for the user scripts to read to know if this is the first time they are running on this container or if the container was just restarted
2023-09-09 20:50:29 +12:00
Josh.5
7513c19bfd Hide ImageMagic from menu 2023-09-09 20:42:53 +12:00
Josh.5
e4cf09dcb0 Add 7z to tools 2023-09-06 00:38:20 +12:00
Josh.5
3cce8f79f8 Improvements to NVIDIA Patch installation
The GitHub servers had a small outage today while I was working. This prevented the containers from being able to start.
This change allows for the patch to be re-used between container re-creations and also prevents the failure from stopping boot. If the patch fails to download or install, then it will continue with an unpatched driver.
2023-09-06 00:10:02 +12:00
Josh.5
90510bd8ea Add a WoL Manager service 2023-09-06 00:06:18 +12:00
Josh.5
c8d613da5b Install the NVIDIA patch on container restarts 2023-09-04 17:43:05 +12:00
Josh.5
63137d43ec Add imagemagick package 2023-09-04 17:26:03 +12:00
Josh.5
3faf8df134 Add missing xdg-utils package
This is required for better directory management when installing applications. We need its tools for installing icons etc.
2023-09-04 16:48:59 +12:00
Josh.5
c3480448ff Add a script to setup sysctl values 2023-09-01 17:07:18 +12:00
Josh.5
e0dc046470 Add NvFBC support for Sunshine 2023-09-01 10:06:52 +12:00
Josh.5
269e71a0db Create an empty sunshine_state.json file on first startup 2023-09-01 09:05:47 +12:00
Josh.5
97613b227f Run Sunshine as a service
Goodbye Flatpak Sunshine. Hello AppImage.
Until a deb package is available for Debian Bookworm, we can just run sunshine as an AppImage.
It is faster to startup and is a little less bloated.

The goal here is to run Sunshine as a service managed by supervisord so that it is kept running and is restarted automatically if stopped.
2023-08-29 18:02:03 +12:00
Josh Sunnex
39d4ce0a0c Merge pull request #82 from 21st-centuryman/Develop
Fix: syntax bug
2023-08-28 13:32:36 +12:00
Josh.5
b7bb479635 Fix up some of the default config for sunshine 2023-08-26 20:26:44 +12:00
Josh.5
b89e2f565d Prevent symlinks from being turned into files with sed in-place edit 2023-08-26 14:59:04 +12:00
Josh.5
1b7873833c Improvements to user script execution in entrypoint 2023-08-26 14:46:38 +12:00
Josh.5
890b9d22d2 Add some useful tools for monitoring hardware 2023-08-26 14:46:10 +12:00
Josh.5
2f118e4a51 Remove xvfb package 2023-08-26 14:45:06 +12:00
Josh.5
dd3f079d71 Add xmlstarlet for modifying XML config 2023-08-25 14:37:16 +12:00
21st
c925ff8c87 Fix: syntax bug 2023-08-23 18:11:26 +02:00
Josh.5
aea4d51159 Use dumb-init for sunshine-run wrapper 2023-08-23 16:57:40 +12:00
Josh.5
1454b704a2 Fix minimise windows script 2023-08-23 16:40:46 +12:00
Josh.5
d899ebd965 Add a tool for minimising all currently open windows 2023-08-23 16:28:54 +12:00
Josh.5
b51036a697 Add sunshin-run and -stop wrapper scripts
These can be used to manage starting and stopping processes that spawn children that otherwise would not be terminated when the moonlight session ends
2023-08-23 16:19:55 +12:00
Josh.5
8ad830d5e4 Hide xfce4-web-browser from menu 2023-08-23 16:02:16 +12:00
Josh.5
2c8f6150e9 Update features in readme 2023-08-22 20:05:23 +12:00
Josh.5
6be269a3bb Update the default steam bigpicture command for sunshine
we are not using flatpak steam any longer.
2023-08-22 20:05:23 +12:00
Josh.5
ee4fd33e72 Move app install scripts to /usr/bin 2023-08-22 20:05:23 +12:00
Josh.5
c671ba85cc Add a script to close all open windows
This can be called from Sunshine
2023-08-22 20:05:23 +12:00
Josh.5
4f94568262 Add missing font to Arch build 2023-08-22 20:05:23 +12:00
Josh.5
fed3000700 Run container unprivileged by default using a macvlan 2023-08-22 20:05:23 +12:00
Josh.5
c731e2e0a0 Run x11vnc as root inside the container 2023-08-22 20:05:23 +12:00
Josh.5
02a94566b2 Revert to starting steam from desktop autostart 2023-08-22 20:05:23 +12:00
Josh.5
5837843aa2 Disable Udev on unprivileged container 2023-08-22 20:05:23 +12:00
Josh.5
ac7dc533e7 Remove support for DinD 2023-08-22 20:05:23 +12:00
Josh Sunnex
577d0ef299 Merge pull request #79 from alansari/patch-steamdelay
If ENABLE_STEAM supervised; enable after desktop is loaded
2023-08-21 17:56:04 +12:00
Josh Sunnex
ca5821774b Merge pull request #78 from alansari/patch-legacynv
Apply EqualsDee's Fix for legacy Nvidia Drivers
2023-08-21 17:54:51 +12:00
Ali Ansari
edab557c20 If Steam supervisor is enabled, only enable after desktop is loaded 2023-08-15 07:55:34 +03:00
Ali Ansari
0414726448 Apply EqualsDee's Fix for legacy Nvidia Drivers 2023-08-14 08:03:15 +03:00
Josh Sunnex
d2b4d2cae7 Merge pull request #75 from alansari/dev-arch
Update arch just so it builds
2023-08-06 15:07:05 +12:00
Josh Sunnex
53af510b45 Merge pull request #73 from alansari/patch-appimage
Add libfuse2 as appimages are not built yet with libfuse3
2023-08-05 20:07:53 +12:00