Higher Primate
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Found this forum thread. It seems to be an issue with TrueNAS and not Immich. So I guess I will start asking TrueNAS community about a fix- https://forums.truenas.com/t/nvidia-gpu-not-being-used-by-apps-electriceel/22339/9
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich

32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich

32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich

32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich

32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Im wondering if my system is struggling with resource, the CPU is serverly underpowered. I have an upgrade on the way, it will be here Sunday. I currently have an Intel(R) Celeron(R) CPU G3930 @ 2.90GHz it was all i had at the time when I built this system. I have an i7 7700 im putting in it. But Im wondering if the CPU is not able to manage both system processes and application workloads leading to gpu task scheduling issues.
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Bad news haha evem though I was able to get the GPU enabled in Immich, it doesnt seem to be utilizing it at all. nvidia-smi command in TrueNAS shell is showing no processes running for the GPU. Ill continue to troubleshoot.
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Well i appreciate you and your help!
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
You are the best! Do you work for Immich? Or just a community member volunteering your time? Im amazed by this software thus far.
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
I wanted to update you @Mraedis! But I have foind the fix for me. That forum link you sent me indeed fixed my issue! I ran this command in TrueNAS Scale shell-
midclt call -job app.update immich '{"values": {"resources": {"gpus": {"use_all_gpus": false, "nvidia_gpu_selection": {"0000:01:00.0": {"use_gpu": true, "uuid": "GPU-a2952624-2218-1ddc-a0b3-17c7b590a0f4"}}}}}}'
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
This one https://forums.truenas.com/t/docker-apps-and-uuid-issue-with-nvidia-gpu-after-upgrade-to-24-10/22547/8 is giving me some ideas.
Im wondering if its an issue with my integrated graphics? Ill have to do some test when I get home from work today.
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
You are awesome Ill give those a look over. I really appreciate your help so far!
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
This is what grok is telling me -
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Dang.. Should I reach out to truenas? Surely there are others on here that are using Truenas as well? I appreciate you looking into this. Super bummed my GPU isnt being utilized, not the end of the world though.
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Should I try using a 1080? I have one in my sons computer I could pop out and throw in it to see if it runs on the 1080. But I think there is an issue with the templating
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
I believe it does yes. And I think that is where the issue is. I dumped the error into Grok and it mentioned templating
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
About
Immich
v1.124.2
ExifTool
13.00
Node.js
v22.12.0
Libvips
8.15.3
ImageMagick
7.1.1-40
FFmpeg
7.0.2-7
Repository
immich-app/immich
Source
v1.124.2@8d836ae04
Build
12680862573
Build Image
v1.124.2
Version History
Installed 1.124.2 on Jan 14, 2025
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
I have tried manually adding the following to the yaml file-
{% do server_container.deploy.set_resources({
"limits": {
"nvidia.com/gpu": "GPU-a2952624-2218-1ddc-a0b3-17c7b590a0f4"
}
}) %}
{% do server_container.environment.add_env("NVIDIA_VISIBLE_DEVICES", "a2952624-2218-1ddc-a0b3-17c7b590a0f4") %}
{% do server_container.environment.add_env("NVIDIA_DRIVER_CAPABILITIES", "compute,utility") %}
32 replies
IImmich
•Created by Higher Primate on 1/17/2025 in #help-desk-support
GPU Allocation failure Truenas/Immich
Here is my config yaml
32 replies