[games-on-whales] Fixes for retroarch (#1142)

* initial release

* [games-on-whales] split tcp and udp services

* [games-on-whales] fix for retroarch (snd and shm)

* review fixes

Co-authored-by: angelnu <git@angelnucom>
This commit is contained in:
Angel Nunez Mencias 2021-08-29 10:46:37 +02:00 committed by GitHub
parent 7a7850613e
commit c356d9eb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 39 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0 appVersion: 1.0.0
description: Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes description: Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
name: games-on-whales name: games-on-whales
version: 1.1.0 version: 1.1.1
kubeVersion: ">=1.19.0-0" kubeVersion: ">=1.19.0-0"
keywords: keywords:
- games-on-whales - games-on-whales

View File

@ -1,6 +1,6 @@
# games-on-whales # games-on-whales
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) ![Version: 1.1.1](https://img.shields.io/badge/Version-1.1.1-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 Streams graphic applications/games (retroarch, firefox, steam) runing on Kubernetes
@ -128,22 +128,21 @@ 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). 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.1.1]
#### Changed
- unlimit /dev/shm for retroarch - needed for [some emulators](https://github.com/libretro/dolphin/issues/222)
- correct sound devices group in retroarch
### [1.1.0] ### [1.1.0]
#### Added
- N/A
#### Changed #### Changed
- Split tcp and udp services (problems with flux/helm) - Split tcp and udp services (problems with flux/helm)
- Fix mount volumes - from map to list - Fix mount volumes - from map to list
#### Removed [1.1.0]: #110
- N/A
[1.0.0]: #100
### [1.0.0] ### [1.0.0]
@ -151,16 +150,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial version - Initial version
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #100
## Support ## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/) - See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)

View File

@ -9,22 +9,21 @@ 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). 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.1.1]
#### Changed
- unlimit /dev/shm for retroarch - needed for [some emulators](https://github.com/libretro/dolphin/issues/222)
- correct sound devices group in retroarch
### [1.1.0] ### [1.1.0]
#### Added
- N/A
#### Changed #### Changed
- Split tcp and udp services (problems with flux/helm) - Split tcp and udp services (problems with flux/helm)
- Fix mount volumes - from map to list - Fix mount volumes - from map to list
#### Removed [1.1.0]: #110
- N/A
[1.0.0]: #100
### [1.0.0] ### [1.0.0]
@ -32,13 +31,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial version - Initial version
#### Changed
- N/A
#### Removed
- N/A
[1.0.0]: #100
{{- end -}} {{- end -}}

View File

@ -81,6 +81,8 @@ additionalContainers:
value: {{ .Values.retroarch.logLevel | quote }} value: {{ .Values.retroarch.logLevel | quote }}
- name: PULSE_SERVER - name: PULSE_SERVER
value: "/tmp/pulse/pulse-socket" value: "/tmp/pulse/pulse-socket"
- name: GOW_REQUIRED_DEVICES
value: /dev/uinput /dev/input/event* /dev/dri/* /dev/snd/*
volumeMounts: volumeMounts:
- name: audio-socket - name: audio-socket
mountPath: /tmp/pulse mountPath: /tmp/pulse
@ -92,6 +94,9 @@ additionalContainers:
readOnly: true readOnly: true
- name: xorg - name: xorg
mountPath: /tmp/.X11-unix mountPath: /tmp/.X11-unix
# Default 64MB not enough for some emulators - https://github.com/libretro/dolphin/issues/222
- name: dshm
mountPath: /dev/shm
{{- if .Values.persistence.home.enabled }} {{- if .Values.persistence.home.enabled }}
- name: home - name: home
mountPath: /home/retro mountPath: /home/retro