You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN curl -L -o /app/heroic.deb "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${HEROIC_VERSION}/Heroic-${HEROIC_VERSION}-linux-amd64.deb"
29
+
30
+
RUN curl -fL -o /app/heroic.deb "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${HEROIC_VERSION}/Heroic-${HEROIC_VERSION}-linux-amd64.deb"
30
31
31
32
#
32
33
# Sunshine image based on Ubuntu 24.04
@@ -178,7 +179,6 @@ RUN locale-gen en_US.UTF-8 && \
178
179
RUN --mount=type=cache,target=/var/cache --mount=type=tmpfs,target=/var/log --mount=type=bind,from=download-sunshine,source=/app,target=/app <<_SUNSHINE
-[Local Virtual Machine as Cloudy Pad instance](#local-virtual-machine-as-cloudy-pad-instance)
40
+
-[Connect to Cloudy Pad VM and container](#connect-to-cloudy-pad-vm-and-container)
41
+
-[Debug Proton / Wine and game run](#debug-proton--wine-and-game-run)
42
+
-[Debug process CPU usage or affinity](#debug-process-cpu-usage-or-affinity)
43
+
-[Debug process environment variable](#debug-process-environment-variable)
44
+
-[Enable debug log with Steam and Proton](#enable-debug-log-with-steam-and-proton)
40
45
-[Create a Pull Request with your changes](#create-a-pull-request-with-your-changes)
41
46
-[Review process](#review-process)
42
47
-[Useful commands](#useful-commands)
@@ -349,6 +354,78 @@ vagrant ssh
349
354
$ docker compose -f /vagrant/test/resources/docker-compose.vagrant.yml -p sunshine up -d --force-recreate
350
355
```
351
356
357
+
### Connect to Cloudy Pad VM and container
358
+
359
+
To connect via SSH on instance, see: [Connect via SSH](../usage/ssh.md)
360
+
361
+
### Debug Proton / Wine and game run
362
+
363
+
To run directly Proton or Wine and see how it behaves, first run the game in a standard way and re-use the same command to reproduce issue or situation.
364
+
365
+
Identify process running game, then get their env variables:
Possibly also add (as per [Steam debug logging instructions](https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md) ):
422
+
423
+
```sh
424
+
CAPSULE_DEBUG=all
425
+
G_MESSAGES_DEBUG=all
426
+
```
427
+
428
+
352
429
## Create a Pull Request with your changes
353
430
354
431
When your changes are ready, you can [create a Pull Request](https://github.com/PierreBeucher/cloudypad/pulls). Please make sure to:
Copy file name to clipboardExpand all lines: docs/src/contributing/maintenance.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ Then:
73
73
- [ ] Base image version `FROM` - See available tags from [Docker Hub](https://hub.docker.com/_/ubuntu). Make sure to use the imaghe SHA for reproducibility.
74
74
- [ ] Steam version `CLOUDYPAD_STEAM_VERSION` - see stable version at [Steam archive](https://repo.steampowered.com/steam/archive/stable)
75
75
- [ ] Update `SUNSHINE_VERSION` with [latest Sunshine release](https://github.com/LizardByte/Sunshine/releases)
76
+
- Prefer the Latest release
77
+
- Do NOT use Release Candidate or Pre-release, make sure to use actual release. Pre-release and RC may be removed from GitHub later, we need a release that will be kept available to ensure reproducibility of our build.
76
78
- [ ] Update `LUTRIS_VERSION` with [latest Lutris release](https://github.com/lutris/lutris/releases)
77
79
- [ ] Update `HEROIC_VERSION` with [latest Heroic Games Launcher version](https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases)
78
80
- [ ] Update `CLOUDYPAD_HEROIC_DEFAULT_GEPROTON_VERSION` with [latest GE-Proton version](https://github.com/GloriousEggroll/proton-ge-custom/releases)
exportconstCLI_OPTION_ANSIBLE_ADDITIONAL_ARGS=newOption('--ansible-additional-args <args>','Additional Ansible arguments to pass to configuration, eg. "--tags data-disk -vvv"')
127
127
128
+
exportconstCLI_OPTION_ANSIBLE_ARGS_OVERRIDE=newOption('--ansible-args-override <args>','Override Ansible arguments to pass to configuration, eg. "--tags data-disk -vvv"')
129
+
128
130
exportconstCLI_OPTION_RETRIES=newOption('--retries <number>','Number of retries when deploying, configuring, starting, stopping or destroying instance')
129
131
.argParser(parseInt)
130
132
exportconstCLI_OPTION_RETRY_DELAY=newOption('--retry-delay <seconds>','Retry delay in seconds when deploying, configuring, starting, stopping or destroying instance')
@@ -184,7 +184,8 @@ export function buildProgram(){
184
184
analyticsClient.sendEvent(RUN_COMMAND_STOP)
185
185
186
186
console.info(`Stopping instance ${name}...`)
187
-
console.info(`ℹ️ Stopping may take some time to complete while your instance's data is put to sleep for better cost efficiency (data disk snapshot may be long).`)
187
+
// need 2 spaces otherwise might not show properly
188
+
console.info(`ℹ️ Stopping may take some time to complete while your instance's data is put to sleep for better cost efficiency (data disk snapshot may be long).`)
188
189
189
190
constm=awaitgetInstanceManager(name)
190
191
awaitm.stop({
@@ -293,6 +294,7 @@ export function buildProgram(){
293
294
.addOption(CLI_OPTION_RETRIES)
294
295
.addOption(CLI_OPTION_RETRY_DELAY)
295
296
.addOption(CLI_OPTION_FORCE_PULUMI_CANCEL)
297
+
.addOption(CLI_OPTION_ANSIBLE_ARGS_OVERRIDE)
296
298
.action(async(name,opts)=>{
297
299
try{
298
300
analyticsClient.sendEvent(RUN_COMMAND_CONFIGURE)
@@ -301,7 +303,8 @@ export function buildProgram(){
0 commit comments