Skip to content

GPU Detection Enhancement and Documentation Improvements#57

Open
Generator wants to merge 1 commit intojesposito:mainfrom
Generator:fix/vaapi
Open

GPU Detection Enhancement and Documentation Improvements#57
Generator wants to merge 1 commit intojesposito:mainfrom
Generator:fix/vaapi

Conversation

@Generator
Copy link
Copy Markdown

Summary

Enhances GPU device permission detection and management in the container startup script, along with documentation improvements and cleanup.

Changes Made

1. GPU Detection for User abc

2. Removed Redundant Package

  • Removed intel-media-va-driver-non-free from Dockerfile (already included in linuxserver/ffmpeg base image)

3. Docker Compose Improvements

  • Added documented GPU options for NVIDIA and Intel GPUs
  • Improved environment variable descriptions
  • Cleaned up redundant comments and configuration

4. Documentation Cleanup

  • Removed broken links to gwlsn/shrinkray (repo returns 404)
  • Simplified README.md, removed redundant Intel Arc setup section
  • Maintained credits in documentation

Testing

GPU Driver Hardware Encoders Status
Intel HD Graphics 630 (iGPU) Intel iHD QuickSync + VAAPI ✅ Tested on headless system
AMD Radeon 610M AMD VAAPI VAAPI ✅ Tested

Intel GPU Support Details

  • QuickSync (QSV): Hardware encoder available on Intel GPUs gen5+
  • iHD Driver: Supports gen8+ (Intel HD 4000 and newer) - default for Intel
  • i965 Driver: Supports gen5+ (Intel HD 3000 and newer) - for gen5-gen9.5 enable by setting LIBVA_DRIVER_NAME=i965 in docker environment variables
  • Libva (VAAPI): Supports gen5+ with i965 driver and gen8+ with iHD driver

Docker Image

Test image available at: ghcr.io/generator/shrinkray:fix-vaapi

Files Modified

  • Dockerfile - Removed redundant intel package
  • README.md - Improved documentation, removed broken links
  • docker-compose.dev.yml - Added GPU options documentation
  • docker-compose.yml - Added NVIDIA options, cleaned up comments
  • root/etc/s6-overlay/s6-rc.d/svc-shrinkray/run - Added GPU device permission handling for user abc

- Add GPU usage detection and permission management for user abc
- Remove intel-media-va-driver-non-free (already in linuxserver/ffmpeg)
- Improve docker-compose files with documented GPU options
- Remove broken gwlsn/shrinkray links (credits maintained in docs)
- Simplify README.md, remove redundant documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant