gpu-context should auto switch when switch hwdec

Open
#13,926 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start by tracing how runtime hwdec changes interact with the configured gpu-context list, using the example commands in the issue as the entry point. Done means switching from d3d11va to nvdec at runtime automatically selects winvk and avoids the reported error.

Written by the indexing model from the issue text.

Description

meta:feature-request

Before requesting a new feature make sure it hasn't been requested yet.
https://github.com/mpv-player/mpv/labels/meta%3Afeature-request

Expected behavior of the wanted feature

Example:

gpu-context=d3d11,winvk
hwdec=d3d11va

Then switch hwdec to nvdec at runtime (set hwdec nvdec) , then gpu-context should auto switch to winvk to allow hwdec=nvdec to work without error.

Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.