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

未关闭
#20 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker
领域
devops

调研方向

首先检查容器如何安装软件包,然后在 Intel Arc 系统上使用 darktable -d opencl 重现报告的问题。检查列出的 OpenCL、Intel GPU、Vulkan 和 unzip 依赖项,以及 AI 安装命令。当 Intel Arc OpenCL 和 Darktable AI 功能无需手动安装软件包、删除缓存或更新系统即可正常工作时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
.
主要语言
Dockerfile
星标
38
派生
1
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxserver/docker-darktable 的其他 Issue

查看 linuxserver/docker-darktable 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。