Skip to content

Can't get it to detect Nvidia GPU (Docker) #38

@cy1der

Description

@cy1der

I'm on Debian 13, driver version 550.163.01 and CUDA version 12.4 (latest available in packages).

Compose:

vertd:
    container_name: vertd
    image: ghcr.io/vert-sh/vertd:latest
    environment:
      PUBLIC_URL: https://vt.mydomain.tld/d
      ADMIN_PASSWORD: xxx
      NVIDIA_DISABLE_REQUIRE: 1
      NVIDIA_DRIVER_CAPABILITIES: all
      NVIDIA_VISIBLE_DEVICES: all
      # WEBHOOK_PINGS:
      # WEBHOOK_URL:
    ports:
      - 24153:24153
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

I've tried bypassing the CUDA requirement with the nvidia environment variables (speaking of, why 12.8?) to avoid this error message when starting the container: unsatisfied condition: cuda>=12.8, please update your driver to a newer version, or use an earlier cuda container

Logs:

vertd  | [2025-12-10T01:58:31Z INFO  vertd] starting vertd
vertd  | [2025-12-10T01:58:31Z INFO  vertd] working w/ ffmpeg 6.1.1-3ubuntu5 and ffprobe 6.1.1-3ubuntu5
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] *******
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] you're running vertd on a docker container, but no GPU was detected.
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] this usually is because you're running Docker under WSL or because
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] you are not passing the GPU device correctly.
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] 
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] if this doesn't seem right, make sure to provide the following info when
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] asking for help:
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - adapter name: llvmpipe (LLVM 20.1.2, 256 bits)
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - adapter vendor: 0x10005
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - backend: vulkan
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - device ID: 0
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - device type: Cpu
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - driver: llvmpipe
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] - driver info: Mesa 25.0.7-0ubuntu0.24.04.2 (LLVM 20.1.2)
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] 
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] vertd will fall back to CPU rendering to ensure conversions can still proceed.
vertd  | [2025-12-10T01:58:31Z WARN  vertd::converter::gpu] *******
vertd  | [2025-12-10T01:58:31Z INFO  vertd] using CPU rendering (software encoding) -- this will be slower than GPU acceleration
vertd  | [2025-12-10T01:58:31Z INFO  vertd::http] http server listening on 0.0.0.0:24153

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions