Skip to content

Conversation

@MickLesk
Copy link
Member

@MickLesk MickLesk commented Dec 7, 2025

✍️ Description

Changes:

  • Add var_gpu variable to CT scripts for explicit GPU control
  • Remove hardcoded GPU_APPS list - GPU detection now uses var_gpu flag
  • Add var_gpu to VAR_WHITELIST for persistence in default.vars and app.vars
  • Add GPU Passthrough option (Step 19) to advanced_settings wizard (now 20 steps)
  • Update documentation

Apps with var_gpu=yes (GPU enabled by default):

  • Media: jellyfin, plex, emby, channels, ersatztv, tunarr, immich
  • Transcoding: tdarr, unmanic, fileflows
  • AI/ML: ollama, openwebui
  • NVR: frigate

Usage:

  • Disable GPU: var_gpu=no bash -c '$(curl -fsSL ...jellyfin.sh)'
  • Enable GPU: var_gpu=yes bash -c '$(curl -fsSL ...debian.sh)'
  • Via default.vars: echo 'var_gpu=yes' >> /usr/local/community-scripts/default.vars
  • Via advanced settings wizard (Step 19)

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

@github-actions github-actions bot added core feature update script A change that updates a script documentation labels Dec 7, 2025
@MickLesk MickLesk force-pushed the feature/gpu-passthrough-flag branch from 09b37d2 to 138d577 Compare December 7, 2025 20:57
Changes:
- Add var_gpu variable to CT scripts for explicit GPU control
- Remove hardcoded GPU_APPS list - GPU detection now uses var_gpu flag
- Add var_gpu to VAR_WHITELIST for persistence in default.vars and app.vars
- Add GPU Passthrough option (Step 19) to advanced_settings wizard (now 20 steps)
- Update documentation

Apps with var_gpu=yes (GPU enabled by default):
- Media: jellyfin, plex, emby, channels, ersatztv, tunarr
- Transcoding: tdarr, unmanic, fileflows
- AI/ML: ollama, openwebui
- NVR: frigate, immich

Usage:
- Disable GPU: var_gpu=no bash -c '$(curl -fsSL ...jellyfin.sh)'
- Enable GPU: var_gpu=yes bash -c '$(curl -fsSL ...debian.sh)'
- Via default.vars: echo 'var_gpu=yes' >> /usr/local/community-scripts/default.vars
- Via advanced settings wizard (Step 19)
@MickLesk MickLesk force-pushed the feature/gpu-passthrough-flag branch from 138d577 to a4fd631 Compare December 7, 2025 21:03
@MickLesk MickLesk marked this pull request as ready for review December 8, 2025 10:17
@MickLesk MickLesk requested a review from a team as a code owner December 8, 2025 10:17
@michelroegl-brunner michelroegl-brunner merged commit 4d4ced6 into main Dec 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants