Skip to content

Option to disable cuda-nvdec when no CUDA device present #8765

@chaitan3

Description

@chaitan3

Important Information

Provide following Information:

  • mpv version: 0.33.1
  • Linux Distribution and Version: Archlinux
  • Source of the mpv binary: Archlinux repository
  • Window Manager and version: sway 0.16
  • GPU driver and version: Intel Tiger Lake, Mesa 21.0

Reproduction steps

  1. Have a device with CUDA installed, but no Nvidia GPU present and a device that supports hwdec=vaapi
  2. Launch mpv on any video with hwdec=vaapi.

Expected behavior

Video plays instantly using the device that supports vaapi.

Actual behavior

Video starts playing using the vaapi device after a delay of 10 seconds. Log shows that it gets stuck trying to initialize cuda-nvdec.

Log file

https://0x0.st/-mPB.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions