Skip to content

Nvidia /CUDA hardware acceleration #407

@KpochMX

Description

@KpochMX

Describe the bug
Cant use hardware acceleration "VK_ERROR_INCOMPATIBLE_DRIVER" using VULKAN argument also CUDA do not detect any device (im using an external GPU GTX 1650)

Also DOCX to PDF using Calibre says almost the same

2025-09-18 00:35:36

QRhiGles2: Failed to create context
2025-09-18 00:35:36

This plugin does not support createPlatformVulkanInstance
2025-09-18 00:35:36

QVulkanInstance: Failed to initialize Vulkan
2025-09-18 00:35:36

Unable to detect GPU vendor.
2025-09-18 00:35:36

WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'convert'
  2. Click on 'select MKV to MP4'
  3. See error

it convert using CPU but not GPU this is my config file

# docker-compose.yml
services:
  convertx:
    image: ghcr.io/c4illin/convertx
    container_name: convertx
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - QTWEBENGINE_CHROMIUM_FLAGS= --no-sandbox
      - ALLOW_UNAUTHENTICATED=true
      - TZ=America/Mexico_city
      #- FFMPEG_ARGS=-hwaccel vulkan  commented to check if CPU transcoding works and it does but no gpu
    volumes:
      - ./data:/app/data
      

Console error

[AVHWDeviceContext @ 0x569663605100] Instance creation failure: VK_ERROR_INCOMPATIBLE_DRIVER
2025-09-18 00:12:54


Device creation failed: -542398533.
2025-09-18 00:12:54


[vist#0:0/h264 @ 0x569663609880] [dec:h264 @ 0x569663609e40] No device available for decoder: device type vulkan needed for codec h264.
2025-09-18 00:12:54


[vist#0:0/h264 @ 0x569663609880] [dec:h264 @ 0x569663609e40] Hardware device setup failed for decoder: Generic error in an external library
2025-09-18 00:12:54


Error opening output file ./data/output/173455315277702/13/sample_1280x720_surfing_with_audio.mp4.
2025-09-18 00:12:54


Error opening output files: Generic error in an external library
2025-09-18 00:12:54


2025-09-18 00:12:54


Failed to convert ./data/uploads/173455315277702/13/sample_1280x720_surfing_with_audio.mkv from mkv to mp4 using ffmpeg. error: Error: Command failed: ffmpeg -hwaccel vulkan -i ./data/uploads/173455315277702/13/sample_1280x720_surfing_with_audio.mkv ./data/output/173455315277702/13/sample_1280x720_surfing_with_audio.mp4
2025-09-18 00:12:54

ffmpeg version 7.1.1-1+b1 Copyright (c) 2000-2025 the FFmpeg developers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions