Commit Graph

100 Commits

Author SHA1 Message Date
Josh.5
20c6b515ed Ignore setting max_map_count when container is run unprivileged 2023-09-17 15:54:43 +12:00
Josh.5
ae88645245 Remove logout actions 2023-09-12 17:05:04 +12:00
Josh.5
868def8906 Remove desktop icons for a cleaner look 2023-09-12 17:02:34 +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
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
21st
c925ff8c87 Fix: syntax bug 2023-08-23 18:11:26 +02: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
f92fb55290 Replace previous auto-start script if it contains '/usr/games/steam' 2023-07-08 17:01:39 +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
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
Josh.5
477e25f82c Some minor tweaks and improvments 2022-10-07 03:46:52 +13:00
Josh.5
1fbfd235f1 Clear X server config on startup 2022-10-06 22:38:04 +13:00
Josh.5
469b12087d Run an initial X server config on startup 2022-10-06 22:37:37 +13:00
Josh.5
54911cb97b Fix bug preventing input after the first startup of the container
Xorg was starting before udev could finish the monitor command. This prevented the X server from having access to the input devices. For some reason, any subsequent starts would be fine.

Adding a small delay to the X server start and triggering a request for device events from the kernel after a delay seems to fix this issue.
2022-10-06 22:26:50 +13:00
Josh.5
1e255f822d Add optional KB/Mouse input capture with Xorg 2022-10-06 15:22:20 +13:00
Josh.5
829754b8fb Add sunshine as an optional background service 2022-10-06 15:22:20 +13:00
Josh.5
703be17214 Move all default user group modifications to the 10-setup_user.sh script 2022-10-04 17:36:40 +13:00
Josh.5
7b620c7918 Allow the VNC ports to be manually configure as an option
Apply dynamically allocated ports if not port is specified
2022-10-04 17:36:40 +13:00
Josh.5
145d5600a6 Add docs for setting up Steam Headless on Intel GPU with docker-compose 2022-10-04 17:36:40 +13:00
Josh.5
2c0b7b5d53 Fix desktop and udev launch scripts
These services were not responding to a SIGTERM
We need to catch the SIGTERM from the parent script and kill the child process
2022-10-04 17:36:40 +13:00
Josh.5
7614e503a7 Launch Xorg server direct from supervisor rather than a script
- Remove launcher for X11 and just call it from
- Improvements to the '/tmp/.X11-unix' directory
    - Move lockfile clearing to init script rather than launcher
    - Configure the 'XDG_RUNTIME_DIR' to something that is easily shared between containers
- Ensure all logs in home directory are readable
- Log Xorg service in home directory so they are more easily accessable to users
2022-10-04 17:36:40 +13:00
Josh.5
cfd7bbda0e Improvements to pulseaudio
- Add a DEBUGGING flag
- Make the location of the unix socket configurable

While I was here I moved all the priority configs in supervisord to the top. I like it better there
2022-10-04 17:36:40 +13:00