Hey there, thanks for the reply. I have been tracking this down in several threads.
My plan is to pass one of my GPUs to ollama for voice assisistant duty and let the a380 do video encoding duty. I have not been able to get any of the docker applications to successfully use the gpus. Plex can see the gpus are present but does not use them for transcoding. The same has applied to all the other docker based apps such as immich and ollama.
Here are just a few of the other threads I have used to try to solve this problem:
- NVIDIA GPU Not Being Used By Apps - ElectricEel - #30 by Electr0
- Docker Apps and UUID issue with NVIDIA GPU after upgrade to 24.10 - #19 by Blake_Herbert
- Plex. " conversion failed. a required codec could not be found " - #17 by elrolo18
- Electric Eel Nvidia gpu passthrough support - #21 by rodneysing
Here is some more information about my setup if there is any additional detail you think would help please let me know!
TrueNAS Server Information
OS Version
- Kernel: Linux 6.6.44-production+truenas
- Distro: Debian GNU/Linux 12 (Bookworm)
- Version ID: 12
- Truenas Version: ElectricEel-24.10.2
Motherboard
- Manufacturer: ASUSTeK COMPUTER INC.
- Model: ROG STRIX Z370-E GAMING
CPU
- Model: Intel Core i7-8700K @ 3.70GHz
- Cores/Threads: 6 Cores, 12 Threads
- Max Clock: 4.7 GHz
- L1 Cache: 192 KiB (Data) + 192 KiB (Instruction)
- L2 Cache: 1.5 MiB
- L3 Cache: 12 MiB
- Virtualization: VT-x
Memory
- Total Installed: 64 GiB DDR4
- Configuration: 4x16GB DDR4 @ 3200 MT/s
- Voltage: 1.2V
Storage Devices
Device | Size | Model |
---|---|---|
Boot Drive | 1 TB | NVMe SSD |
HDD 1 | 7.3 TB | Seagate |
HDD 2 | 7.3 TB | Seagate |
HDD 3 | 10.9 TB | Seagate |
HDD 4 | 7.3 TB | Seagate |
HDD 5 | 10.9 TB | Seagate |
HDD 6 | 10.9 TB | Seagate |
Network Interfaces
- Primary NIC: Intel Gigabit Ethernet
- Active Interfaces: Multiple bridged and virtual interfaces (Docker, VM networking)
GPU
- NVIDIA GeForce GTX 980 Ti
- Intel Arc A380
Storage Pools & Mounts
- Main Pool:
/mnt/storage_pool
(24 TB) - Media Library:
/mnt/storage_pool/media
- Application Data:
/mnt/storage_pool/apps
- Backup Storage:
/mnt/storage_pool/backups
- Virtual Machine Storage:
/mnt/storage_pool/vms
- Docker Applications:
/mnt/storage_pool/docker
Here are some of the logs from plex when it errors:
Feb 09, 2025 01:27:04.214 [140513443060536] Debug — [Req#966ef3/Transcode] Found session GUID of hwg6jj45zpsfr3bifeqvque5 in session start.
Feb 09, 2025 01:27:04.214 [140513443060536] Debug — [Req#966ef3/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-limitation(scope=videoCodec&scopeName=hevc&type=upperBound&name=video.width&value=4096&replace=true)+add-limitation(scope=videoCodec&scopeName=hevc&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoCodec&scopeName=hevc&type=upperBound&name=video.bitDepth&value=10&replace=true)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=dash&videoCodec=h264%2Chevc)+add-limitation(scope=videoTranscodeTarget&scopeName=hevc&scopeType=videoCodec&context=streaming&protocol=dash&type=match&name=video.colorTrc&list=bt709|bt470m|bt470bg|smpte170m|smpte240m|bt2020-10|smpte2084&isRequired=false)+append-transcode-target-codec(type=videoProfile&context=streaming&audioCodec=aac&protocol=dash)
Feb 09, 2025 01:27:04.214 [140513443060536] Debug — [Req#966ef3/Transcode] TranscodeUniversalRequest: using augmented profile Firefox
Feb 09, 2025 01:27:04.214 [140513443060536] Debug — [Req#966ef3/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/10533?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=a07haoz1z6tjzh7nkhpmdz2p
Feb 09, 2025 01:27:04.218 [140513443060536] Debug — [Req#966ef3/Transcode] We're going to try to auto-select an audio stream for account 1.
Feb 09, 2025 01:27:04.218 [140513443060536] Debug — [Req#966ef3/Transcode] Selecting best audio stream for part ID 10723 (language: en)
Feb 09, 2025 01:27:04.218 [140513443060536] Debug — [Req#966ef3/Transcode] We're going to try to auto-select a subtitle for account 1.
Feb 09, 2025 01:27:04.218 [140513443060536] Debug — [Req#966ef3/Transcode] Audio Stream: 10507, Subtitle Stream: -1
Feb 09, 2025 01:27:04.219 [140513443060536] Debug — [Req#966ef3/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Feb 09, 2025 01:27:04.219 [140513443060536] Debug — [Req#966ef3/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD129' (Intel DG2 [Arc A380])
Feb 09, 2025 01:27:04.219 [140513443060536] Error — [Req#966ef3/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).