[BUG] Upstream package bug prevents OpenCL from compiling on Intel Arc

Aperta
#20 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker
Ambito
devops

Direzione di ricerca

Inizia esaminando il modo in cui il container installa i pacchetti, quindi riproduci il problema segnalato con darktable -d opencl su un sistema Intel Arc. Controlla le dipendenze elencate di OpenCL, Intel GPU, Vulkan e unzip, oltre al comando di installazione di AI. Il lavoro è completato quando OpenCL di Intel Arc e le funzionalità AI di Darktable funzionano senza installare manualmente i pacchetti, eliminare la cache o aggiornare il sistema.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

no-issue-activity
Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

Container does not work out of the box with Intel descrete GPU's (Intel Arc Alchemist)

Expected Behavior

The container should support ARC out of the box. Including Darktable's AI features.

Steps To Reproduce

Hello!
I believe we need a package update for this container.

I have spent a few days trying to chase OpenCL failing to compile for 'darktable -d opencl'. I've had to make a few tweaks:

  • I've had to install the following packages on container launch:
    igsc|intel-compute-runtime|clinfo|intel-gpu-tools|intel-media-driver|ocl-icd|opencl-headers|vulkan-intel
  • It's required to close darktable, update the system with pacman -Syu
  • It's required to delete ~/.cache/darktable/cached_*
  • It's required to launch "darktable -d opencl" to then recompile Intel OpenCL for Darktable.

Additionally, to use AI features, the container requires the unzip package when using Darktable's one liner AI GPU script found here: https://docs.darktable.org/usermanual/development/en/special-topics/ai/gpu-acceleration/

The oneliner to install the AI features is:
curl -fsSL https://raw.githubusercontent.com/darktable-org/darktable/HEAD/tools/ai/install-ort-gpu.sh | bash

I have a few other variables set, but I don't know if they're required or not. Wayland grinds to a halt if using multiGPU. On a single card, it seems to be fine.

I'm happy to assist, but I'm a novice to building docker containers. But I can work through issues with them.

Thank you for the work that your team does!

Environment
- OS: Unraid
- How docker service was installed: Unraid
CPU architecture

x86-64

Docker creation
Unraid
Container logs
.
Lingua principale
Dockerfile
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxserver/docker-darktable

Tutte le issue di linuxserver/docker-darktable

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.