feat(intel-igpu): detector + installer routing for older Intel iGPUs#41
Merged
Conversation
Closes Issue #9 (substantively): older Intel iGPUs (Iris Pro / Iris / UHD / Gen 9 etc.) are now first-class in the install flow instead of silently falling through to CPU-only. # What changed ## scripts/check-iris-gpu.sh (new, +213 lines, executable) Standalone diagnostic tool that: - Detects Intel iGPU class (Arc / Iris-Xe-or-newer / older-Iris-class / none) - Verifies i915 driver, render node, render-group membership - For Vulkan-recommended classes: checks vulkaninfo + mesa-vulkan-drivers - Prints a clear VERDICT=<arc|vulkan|ambiguous|none> + concrete next-step Exits 0 (recommendation printed) or 1 (no Intel GPU or critical prerequisites missing). Verdict is parseable on the last line for scripted use. ## install.sh (modified, GPU auto-detect branch extended) Previous behavior: Intel iGPU not-matching-"Intel.*Arc" → silent fall through to CPU-only. New operators with older Intel hardware never learned the Vulkan path existed. New behavior: when a non-Arc Intel iGPU is detected, install.sh explicitly surfaces the Vulkan path with concrete commands: 1. scripts/check-iris-gpu.sh 2. scripts/install-vulkan-ollama.sh 3. ./install.sh --cpu (rest of ai-stack, native Ollama auto-discovered) Cross-references docs/hardware/intel-igpu-vulkan.md (the canonical procedure from PR #39) and the standalone hardware-target repo at growlf/intel_nuc_skullcanyon_ollama_with_gpu (per the new per-hardware OSS-contribution pattern). Operator can opt back into CPU-only Docker fallback (interactive [y/N]). # Test plan - [x] bash -n scripts/check-iris-gpu.sh — syntax OK - [x] bash -n install.sh — syntax OK - [x] tests/test_check_arc_gpu.sh — 15/15 still passing (no regression) - [x] check-iris-gpu.sh smoke-test on no-GPU host — correctly emits VERDICT=none with helpful guidance - [ ] On Intel NUC6i7KYB / Iris Pro 580 host: verify VERDICT=vulkan + install.sh new branch correctly routes (community test welcomed) Related: #38 (whole-dir mount), #39 (native Vulkan path docs+install), #9 (older-Intel hardware support). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes Issue #9 (substantively): older Intel iGPUs (Iris Pro / Iris / UHD / Gen 9 etc.) are now first-class in the install flow instead of silently falling through to CPU-only.
What changed
scripts/check-iris-gpu.sh (new, +213 lines, executable)
Standalone diagnostic tool that:
Exits 0 (recommendation printed) or 1 (no Intel GPU or critical prerequisites missing). Verdict is parseable on the last line for scripted use.
install.sh (modified, GPU auto-detect branch extended)
Previous behavior: Intel iGPU not-matching-"Intel.*Arc" → silent fall through to CPU-only. New operators with older Intel hardware never learned the Vulkan path existed.
New behavior: when a non-Arc Intel iGPU is detected, install.sh explicitly surfaces the Vulkan path with concrete commands:
Cross-references docs/hardware/intel-igpu-vulkan.md (the canonical procedure from PR #39) and the standalone hardware-target repo at growlf/intel_nuc_skullcanyon_ollama_with_gpu (per the new per-hardware OSS-contribution pattern).
Operator can opt back into CPU-only Docker fallback (interactive [y/N]).
Test plan
Related: #38 (whole-dir mount), #39 (native Vulkan path docs+install), #9 (older-Intel hardware support).
Summary
Type of change
Related issues
Testing
docker compose configpasses with no errorsshellcheckChecklist
.env.exampleis up to date (if env vars were added/removed)