Skip to content

Plugin Check for hvec_nvenc does not detect GPU #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
psychoflame opened this issue May 5, 2025 · 0 comments
Open

Plugin Check for hvec_nvenc does not detect GPU #825

psychoflame opened this issue May 5, 2025 · 0 comments

Comments

@psychoflame
Copy link

psychoflame commented May 5, 2025

Hello,

Having Some Issues with NVEC Encoding when running in a docker container. I am using flows, and for some reason when running the Encoder check it is not discovering my GPU is available for usage, even though it looks like everything is configured properly. In the Startup Logs for Tdarr I can see the GPU is detected, and running Nvidia-SMI in the container does work and return the GPU and stats on it. Also running the Test command from the Docs also works with the GPU being detected and the encode completing successfully. I have had Tadarr running successfully since December and it seems the GPU encoding check seems to have broken down in the last month or two on my system. I have tried some of fixes found in the troubleshooting guide but no dice unfortunately.

Plugin: Video - Check Node Hardware Encoder hevc_nvenc 🔍

Failed Transcode Logs:

2025-05-04T21:45:35.623Z zy4hv8wDm:Node[GPUNode]:Worker[brisk-boto]:Scanning source file: "/main/Complete/TV/Remove/OPZk9rygnzDZd.mkv"
2025-05-04T21:45:35.623Z zy4hv8wDm:Node[GPUNode]:Worker[brisk-boto]:Using cached scan results
2025-05-04T21:45:35.623Z zy4hv8wDm:Node[GPUNode]:Worker[brisk-boto]:Loaded plugin inputs: {
2025-05-04T21:45:35.623Z "hardwareEncoder": "hevc_nvenc"
2025-05-04T21:45:35.623Z }
2025-05-04T21:45:35.624Z zy4hv8wDm:Node[GPUNode]:Worker[brisk-boto]:Worker type is not GPU
2025-05-04T21:45:35.624Z zy4hv8wDm:Node[GPUNode]:Worker[brisk-boto]:Node has hardwareEncoder hevc_nvenc: false

Here is My Docker Compose

tdarr:
container_name: tdarr
image: ghcr.io/haveagitgat/tdarr:latest
privileged: true
security_opt:
- no-new-privileges:true
restart: unless-stopped
networks:
- default
- t3_proxy
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 002
serverIP: 0.0.0.0
serverPort: 8266
webUIPort: 8265
internalNode: true
nodeID: GPUNode
ffmpegVersion: 7
NVIDIA_DRIVER_CAPABILITIES: all
NVIDIA_VISIBLE_DEVICES: all
volumes:
- $DOCKERDIR/Appdata/tdarr/server:/app/server
- $DOCKERDIR/Appdata/tdarr/configs:/app/configs
- $DOCKERDIR/Appdata/tdarr/logs:/app/logs
- $DOWNLOADDIR/nzbget:/main
- /dev/shm:/transcode # Offload transcoding to RAM if you have enough RAM
devices:
- /dev/dri:/dev/dri
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
labels:
- "traefik.enable=true"
# HTTP Routers
- "traefik.http.routers.tdarr-rtr.entrypoints=websecure"
- "traefik.http.routers.tdarr-rtr.rule=Host(tdarr.$DOMAINNAME_1)"
# Middlewares
- "traefik.http.routers.tdarr-rtr.middlewares=chain-authentik@file"
# HTTP Services
- "traefik.http.routers.tdarr-rtr.service=tdarr-svc"
- "traefik.http.services.tdarr-svc.loadbalancer.server.port=8265"

Configuration Files (Server)

{
"serverPort": "8266",
"webUIPort": "8265",
"serverIP": "0.0.0.0",
"serverBindIP": false,
"handbrakePath": "",
"ffmpegPath": "",
"logLevel": "INFO",
"mkvpropeditPath": "",
"ccextractorPath": "",
"openBrowser": true,
"cronPluginUpdate": "",
"auth": false,
"authSecretKey": "*****",
"maxLogSizeMB": 10
}

Configuration Node

{
"nodeID": "GPUNode",
"nodeName": "GPUNode",
"serverURL": "http://0.0.0.0:8266",
"serverIP": "0.0.0.0",
"serverPort": "8266",
"handbrakePath": "",
"ffmpegPath": "",
"mkvpropeditPath": "",
"pathTranslators": [
{
"server": "",
"node": ""
}
],
"nodeType": "mapped",
"unmappedNodeCache": "/app/unmappedNodeCache",
"logLevel": "INFO",
"priority": -1,
"cronPluginUpdate": "",
"apiKey": "",
"maxLogSizeMB": 10,
"pollInterval": 2000,
"startPaused": false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant