Commit Graph

126 Commits

Author SHA1 Message Date
Josh.5
c8d613da5b Install the NVIDIA patch on container restarts 2023-09-04 17:43:05 +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
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
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
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
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.5
af1c17fdfd Enable parsing STEAM_ARGS to the steam supervisor config 2023-07-21 11:08:43 +12:00
Josh.5
659bde74f5 Revert to installing steam as a .deb package
Flatpak seems to complicate Steam's execution of Proton
2023-07-17 12:35:28 +12:00
tnielsen2
932e15314a Add steamapps troubleshooting and autocreation script 2023-07-11 11:13:30 -04:00
Josh.5
8da0bd023d Hacky fix for bwrap execution inside the Debian container running under the NVIDIA Docker runtime
Ref: https://github.com/flatpak/flatpak/wiki/User-namespace-requirements
2023-07-10 19:30:35 +12:00
Josh.5
26b775f66e Rebase debian build to Debian 12 (Bookworm) 2023-07-10 19:30:35 +12:00
Josh.5
555bd8991d Some more tweaks to the Arch build 2023-07-10 19:30:35 +12:00
Josh.5
42ebc826b8 Update Arch build with latest changes 2023-07-10 19:30:35 +12:00
Josh.5
0b600108f7 Add Sunshine to initial desktop apps 2023-07-09 13:25:38 +12:00
Josh.5
8d43f93b55 Ensure autostart path exists before creating a file for steam 2023-07-08 17:16:07 +12:00
Josh.5
f92fb55290 Replace previous auto-start script if it contains '/usr/games/steam' 2023-07-08 17:01:39 +12:00
Josh.5
417ab4488b Display the progress of desktop app installation before starting the desktop
This just prevents people from seeing a black screen for a long time and assuming something is going wrong.
This initial setup is installaing flatpaks to the mounted home directory. This will not need to happen on every container startup. So this black screen is only a problem on the first start. But this change at least gives people something to look at.

Closes #50
2023-07-08 16:04:38 +12:00
Josh.5
fc700e2200 Start using Flatpaks as the main install method for any desktop apps 2023-07-08 05:19:50 +12:00
Josh.5
df9423ccad Improvements to running Xorg with NVIDIA 2023-07-07 16:01:14 +12:00
Michael Karbowiak
98a4425fce If we find an Arc GPU, we need to install the Intel drivers just like if we find an intel iGPU 2023-05-22 15:09:12 +02:00
Danny Beer
9b962580ff Use protonup-ng package 2022-10-29 09:23:47 +13:00
Josh.5
0d2da789ef Ensure ~/.config/pulse is owned by the default user 2022-10-10 16:54:26 +13:00
Josh.5
2c5da29701 Fix issue where dynamic port allocation during startup would take a long time 2022-10-10 16:40:10 +13:00
Josh.5
2e9a20a87a Fix error in pulseaudio socket config 2022-10-09 23:45:56 +13:00
Josh.5
3b9311fde3 Add dummy screen on startup if no monitor is plugged in 2022-10-09 23:45:56 +13:00
Josh.5
54e4e09d29 Fix error where on a contrainer restart you could not add default user to docker gourp again 2022-10-09 23:45:56 +13:00
Josh.5
5fa3f2b968 Fix missing group permissions setup on container start 2022-10-09 23:45:56 +13:00
Josh.5
45f73da6cb Set root XDG_RUNTIME_DIR to /tmp/runtime-root 2022-10-09 23:45:56 +13:00
Josh.5
72f2543b02 Add missing env variables
These are required for the internal docker containers
2022-10-09 23:45:56 +13:00
Josh.5
03beff3ff3 Add dind config init script 2022-10-09 23:45:56 +13:00
Josh.5
4b7cf66ecf Add nvidia docker runtime 2022-10-09 23:45:56 +13:00
Josh.5
9712eede91 Add Docker in Docker 2022-10-09 23:45:56 +13:00