diff --git a/charts/stable/games-on-whales/Chart.yaml b/charts/stable/games-on-whales/Chart.yaml index c24bcaff..d6fed361 100644 --- a/charts/stable/games-on-whales/Chart.yaml +++ b/charts/stable/games-on-whales/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.0.0 description: Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes name: games-on-whales -version: 1.3.0 +version: 1.4.0 kubeVersion: ">=1.19.0-0" keywords: - games-on-whales diff --git a/charts/stable/games-on-whales/README.md b/charts/stable/games-on-whales/README.md index a83be71f..7c12b4e0 100644 --- a/charts/stable/games-on-whales/README.md +++ b/charts/stable/games-on-whales/README.md @@ -1,6 +1,6 @@ # games-on-whales -![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) +![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes @@ -85,14 +85,7 @@ graphic_resources: #### Nvidia If you use the Nvidia propietary device driver then you will need the -[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin) -and set `graphic_resources` value to specify the resource limits. -Example: - -``` -graphic_resources: - nvidia.com/gpu: 1 # requesting 1 nvidia GPU -``` +[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin). #### Proxmox @@ -156,6 +149,12 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [1.4.0] + +#### Added + +- add required env variables for nvidia runtime + ### [1.3.0] #### Added diff --git a/charts/stable/games-on-whales/README_CHANGELOG.md.gotmpl b/charts/stable/games-on-whales/README_CHANGELOG.md.gotmpl index b1a747da..d16c9b02 100644 --- a/charts/stable/games-on-whales/README_CHANGELOG.md.gotmpl +++ b/charts/stable/games-on-whales/README_CHANGELOG.md.gotmpl @@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +### [1.4.0] + +#### Added + +- add required env variables for nvidia runtime + ### [1.3.0] #### Added diff --git a/charts/stable/games-on-whales/README_CONFIG.md.gotmpl b/charts/stable/games-on-whales/README_CONFIG.md.gotmpl index e6900763..f1add8c8 100644 --- a/charts/stable/games-on-whales/README_CONFIG.md.gotmpl +++ b/charts/stable/games-on-whales/README_CONFIG.md.gotmpl @@ -24,14 +24,7 @@ graphic_resources: #### Nvidia If you use the Nvidia propietary device driver then you will need the -[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin) -and set `graphic_resources` value to specify the resource limits. -Example: - -``` -graphic_resources: - nvidia.com/gpu: 1 # requesting 1 nvidia GPU -``` +[Nvidia device plugin](https://github.com/NVIDIA/k8s-device-plugin). #### Proxmox diff --git a/charts/stable/games-on-whales/templates/common.yaml b/charts/stable/games-on-whales/templates/common.yaml index d1e9582a..8b50e1ae 100644 --- a/charts/stable/games-on-whales/templates/common.yaml +++ b/charts/stable/games-on-whales/templates/common.yaml @@ -26,6 +26,8 @@ env: SUNSHINE_USER: {{ .Values.sunshine.user }} GOW_REQUIRED_DEVICES: /dev/uinput /dev/input/event* /dev/dri/* XDG_RUNTIME_DIR: /tmp/.X11-unix + NVIDIA_DRIVER_CAPABILITIES: utility,video,graphics,display + NVIDIA_VISIBLE_DEVICES: all {{- if .Values.sunshine.env }} {{ .Values.sunshine.env | toYaml | nindent 2 }} {{- end }} @@ -64,6 +66,10 @@ additionalContainers: value: {{ .Values.xorg.refreshrate | quote}} - name: RESOLUTION value: {{ .Values.xorg.resolution | quote }} + - name: NVIDIA_DRIVER_CAPABILITIES + value: all + - name: NVIDIA_VISIBLE_DEVICES + value: all volumeMounts: - name: dev-input mountPath: /dev/input @@ -105,6 +111,10 @@ additionalContainers: value: "/tmp/pulse/pulse-socket" - name: GOW_REQUIRED_DEVICES value: /dev/uinput /dev/input/event* /dev/dri/* /dev/snd/* + - name: NVIDIA_DRIVER_CAPABILITIES + value: all + - name: NVIDIA_VISIBLE_DEVICES + value: all volumeMounts: - name: audio-socket mountPath: /tmp/pulse @@ -147,6 +157,10 @@ additionalContainers: value: {{ .Values.steam.protonLog | quote }} - name: PULSE_SERVER value: "/tmp/pulse/pulse-socket" + - name: NVIDIA_DRIVER_CAPABILITIES + value: all + - name: NVIDIA_VISIBLE_DEVICES + value: all volumeMounts: - name: audio-socket mountPath: /tmp/pulse @@ -180,6 +194,10 @@ additionalContainers: value: {{ .Values.firefox.logLevel | quote }} - name: PULSE_SERVER value: "/tmp/pulse/pulse-socket" + - name: NVIDIA_DRIVER_CAPABILITIES + value: all + - name: NVIDIA_VISIBLE_DEVICES + value: all volumeMounts: - name: audio-socket mountPath: /tmp/pulse