From c885c2e4aef6ca986db54a2317838676e8e1eb77 Mon Sep 17 00:00:00 2001 From: mertalev <101130780+mertalev@users.noreply.github.com> Date: Sat, 11 May 2024 15:41:39 -0400 Subject: [PATCH] update nvenc options --- docker/hwaccel.transcoding.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/hwaccel.transcoding.yml b/docker/hwaccel.transcoding.yml index ef9c0a5bb1..6b5fa0be1f 100644 --- a/docker/hwaccel.transcoding.yml +++ b/docker/hwaccel.transcoding.yml @@ -1,4 +1,4 @@ -version: "3.8" +version: '3.8' # Configurations for hardware-accelerated transcoding @@ -12,6 +12,9 @@ services: cpu: {} nvenc: + runtime: nvidia + environment: + - DISPLAY:$DISPLAY deploy: resources: reservations: @@ -22,6 +25,8 @@ services: - gpu - compute - video + - display + - graphics quicksync: devices: