Skip to content

Conversation

@MickLesk
Copy link
Member

@MickLesk MickLesk commented Jan 6, 2026

✍️ Description

Remark: Currently only tested on my Intel iGPU and Intel ARC Without Nvidia / AMD i cant test - so need user feedback

  • Multi-GPU detection and user selection (60s timeout, auto-select)
  • Intel Arc/DG1/DG2 dedicated driver installation
  • Intel Gen 9+ (UHD/Iris/HD 5xx-6xx) with compute-runtime from GitHub
  • Intel Legacy (Gen 6-8, HD 2xxx-5xxx) with stable repo drivers
  • AMD discrete GPU support with Mesa + firmware
  • AMD APU integrated graphics support
  • NVIDIA version-matched driver installation from CUDA repository

Distro Support:

  • Debian 11 (Bullseye), 12 (Bookworm), 13 (Trixie/Sid)
  • Ubuntu 22.04, 24.04

New Features:

  • GPU selection dialog for multi-GPU systems
  • Host NVIDIA driver version detection from /proc/driver/nvidia/version
  • APT pinning (Priority 1001) for NVIDIA version matching
  • Device permissions for /dev/dri, /dev/nvidia*, /dev/kfd
  • Modular helper functions for maintainability

🔗 Related Issue

Fixes #10579

✅ 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.

## Major Changes:
- Multi-GPU detection and user selection (60s timeout, auto-select)
- Intel Arc/DG1/DG2 dedicated driver installation
- Intel Gen 9+ (UHD/Iris/HD 5xx-6xx) with compute-runtime from GitHub
- Intel Legacy (Gen 6-8, HD 2xxx-5xxx) with stable repo drivers
- AMD discrete GPU support with Mesa + firmware
- AMD APU integrated graphics support
- NVIDIA version-matched driver installation from CUDA repository

## Distro Support:
- Debian 11 (Bullseye), 12 (Bookworm), 13 (Trixie/Sid)
- Ubuntu 22.04, 24.04

## New Features:
- GPU selection dialog for multi-GPU systems
- Host NVIDIA driver version detection from /proc/driver/nvidia/version
- APT pinning (Priority 1001) for NVIDIA version matching
- Device permissions for /dev/dri, /dev/nvidia*, /dev/kfd
- Modular helper functions for maintainability

## Helper Functions:
- _setup_intel_arc()
- _setup_intel_modern()
- _setup_intel_legacy()
- _setup_amd_gpu()
- _setup_amd_apu()
- _setup_nvidia_gpu()
- _add_debian_nonfree()
- _add_debian_nonfree_firmware()
- _setup_gpu_permissions()

Closes: Implements NVIDIA support properly (alternative to PR #10579)
@MickLesk MickLesk requested a review from a team as a code owner January 6, 2026 18:06
@MickLesk MickLesk changed the title hwaccel: Complete rewrite of GPU hardware acceleration support hwaccel: rewrite of GPU hardware acceleration support Jan 6, 2026
@tremor021 tremor021 merged commit 392a669 into main Jan 6, 2026
2 checks passed
@tremor021 tremor021 deleted the extend_nvidia_support branch January 6, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants