Commit Graph

174 Commits

Author SHA1 Message Date
Josh.5
d5e6427115 frontend can run as default user 2025-06-23 20:22:24 +00:00
Josh.5
23e5ec9fa4 Add some sane defaults to Steam config
I can't imagine why we would not want compatibility on for all titles or why we would not want to have a good name and the correct path for the default library.
2025-06-23 06:03:31 +00:00
Josh.5
e39756c3bf If steam is enabled and this is the first boot, create the library config 2025-06-23 05:18:01 +00:00
Josh.5
77fc0221e5 Fix incorrect template for setting firefox as the default browser 2025-06-23 05:13:42 +00:00
Josh.5
c3dc444a8f Fix up Ubnuntu server installation 2025-06-23 04:30:05 +00:00
Josh.5
0ac3a94009 Run NVIDIA driver download attempts in a loop 2025-06-23 02:56:32 +00:00
AlexanderOF
8dd20185a7 Update 60-configure_gpu_driver.sh
Add NVIDIA US Download server as alternative, when Global Download server fails
2025-06-23 14:47:22 +12:00
AlexanderOF
f0accf6102 Change NVIDIA Download Server to US
download.nvidia.com does not provide downloads for drivers and downloading the driver fails. The US Server works perfectly
2025-06-23 14:47:22 +12:00
Josh.5
920bfa7f84 Add 'WEBUI_USER' and 'WEBUI_PASS'
These do not yet do anything, but they will soon enough.
2024-11-27 15:57:20 +13:00
Josh.5
860451da74 Fix NVIDIA driver download for TrueNAS Scale Dragonfish
The previous fix had a few bugs. Because this is executed with `set -e`, the wget will cause the init process to fail if the url does not exist. Also, the github path was looking at an aarch64 download

Closes #156
2024-08-06 23:12:40 +12:00
Josh.5
77967f2845 Fix primary output detection in sunshine-run
Sometimes (perhaps with some recent update, it is listed as just "connected" not "primary".
2024-08-01 11:10:20 +12:00
Josh.5
ac9c4f29ca Fix default steam big picture launcher 2024-07-14 18:16:11 +12:00
WillKirkmanM
336a6284ec Fix(60-configure_gpu_driver.sh): Add fallback to GitHub for NVIDIA driver downloads
An issue opened https://github.com/Steam-Headless/docker-steam-headless/issues/152, specifically in TrueNas Scale where 4 versions are not available in the repository https://download.nvidia.com/XFree86/Linux-x86_64, (`545.23.08`, `555.42.06`, `545.23.08` and `555.42.06`) However, the saving grace is that these versions are required for GPU acceleration for Flatpaks.

> Thank you. I’m primarily facing issues because flatpak only has a package for .06, so all flatpak apps are no longer GPU accelerated as a result.

From: https://forums.developer.nvidia.com/t/545-23-08-is-not-listed-in-the-nvidia-driver-downloads-page/273181/3

To Solve this, FlatHub has created a NVIDIA Driver repository where these obscure version's `.run` files are available to download.
https://github.com/flathub/org.freedesktop.Platform.GL.nvidia/

The Entire process can be found in my Solution post: https://github.com/Steam-Headless/docker-steam-headless/issues/152#issuecomment-2208788858

This pull request first attempts to download the driver from the NVIDIA repository and then falls back to the Flathub repository while printing an error if it is unable to download the driver.
2024-07-06 20:23:51 +12:00
Josh.5
9c20a0f1f5 Add ability to run NVIDIA containers without the NVIDIA container toolkit 2024-03-14 19:23:34 +13:00
Josh.5
f17d31d077 Enable support for external NVIDIA GPUs 2024-03-14 18:47:08 +13:00
tem
12a498e1eb Make SID repo optional 2024-02-29 13:55:17 +13:00
tem
63cfefa1fc Bump sunshine to stable & include res script from lyzardbyte docs 2024-02-29 13:54:19 +13:00
alansari
c3941d1f0b Quick patch for v550+ drivers 2024-02-29 13:53:37 +13:00
Josh.5
a17fe91113 Hide file copy log. No need for this to be verbose 2023-10-02 20:17:29 +13:00
Josh.5
8f32302c0f Improvements to the init scripts 2023-10-02 19:43:50 +13:00
Josh.5
ca7521d765 Fix build and install mesa during container startup
This brings the Mesa and Vulkan installation in-line with the NVIDIA driver installation for NVIDIA GPU users.
2023-10-02 19:14:28 +13:00
Josh.5
c165e28f07 Add variable FORCE_X11_DUMMY_CONFIG for forcing the initial use of the dummy xorg config 2023-10-02 11:13:17 +13:00
Josh.5
12cc16459a Reduce some of the excessive sleep times for various things 2023-09-29 23:39:26 +13:00
Josh.5
93718e1855 Update to how we choose if we are running udevd or dumb-udev
This fixes some issues I found with startup.
2023-09-29 21:26:17 +13:00
Josh.5
eeca08ce38 Add dumb-udev as a replacemet for 2023-09-29 20:20:21 +13:00
Josh.5
96d318ebd0 Fix issue for using the host udev in unprivileged mode 2023-09-27 17:04:51 +13:00
Josh.5
0dd343aea9 Improvements to default modes for dummy display device 2023-09-20 17:52:28 +12:00
Josh.5
37f7280dba Move home directory config installation to desktop config init.d script 2023-09-19 15:59:35 +12:00
Josh.5
7552680a01 Add flatseal as a default app 2023-09-18 16:12:28 +12:00
Josh.5
9a460b27e6 Add some forced changes to the way the desktop looks 2023-09-18 01:49:39 +12:00
Josh.5
c452e67fd7 Configure Firfox as the default browser 2023-09-18 01:16:27 +12:00
Josh.5
22cf7e5980 Use custom fork of noVNC 2023-09-18 01:15:47 +12:00
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
5cef857d34 Fix another issue with the resolution setting 2023-09-12 10:26:53 +12:00
Josh.5
b5cb3fb0db Further improvements to display setting scripts 2023-09-12 09:48:12 +12:00
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
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
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