Skip to content

Feature: Surface capabilities of all available NVIDIA GPUs #8003

Open

Description

@jamietre

Description of the feature or enhancement you'd like to see in HandBrake

Currently, Handbrake only surfaces capabilities of one nvidia GPU installed in a multi-gpu system. In the case of mine, I have an RTX3090 and a 5060Ti. The 3090 is the one chosen, and I don't have get presented option for hardware AV1 encoding which is provided by the other card. If I want to use the 5060Ti I have to disable the 3090 via device manager; even telling Windows to expose a specific GPU to Handbrake via app settings doesn't have any effect.

Ideally handbrake would enumerate the capabilities of ALL nvidia GPUs. To be clear this request isn't about multi-GPU support for parallelization of workloads, but just feature detection.

I have a proof of concept of this feature on my fork at nvend-multi-gpu-avi -- release assets. I am not in a great position to make a PR since this is AI generated code and I haven't touched c++ in about 20 years. So I don't feel particularly qualified to own it. But, it works for me, and seems relatively non-invasive.

Thoughts?

Somewhat related issue: #7308

What Operating System are you running?

Windows 11

What version of HandBrake are you running?

Nightly 3859d1f

Where did you download HandBrake from?

Github

Activity Log, Crash Log or any other details

N/A

Activity

  1. github-actions commented on Jul 24, 2026

    @github-actions

    Hello,

    Welcome to the HandBrake repository.

    Warning

    Please be cautious of any non-members suggesting that you download a "DLL" or any other files from 3rd party websites.
    These are likely malicious!
    Members of the HandBrake team can be identified by the "(Member)" label in the top right of any response from them.

    Thank You,
    The HandBrake Bot

  2. changed the title [-]Surface capabilities of all available GPUs[/-] [+]Feature: Surface capabilities of all available NVIDIA GPUs[/+] on Jul 24, 2026
  3. galad87 commented on Jul 25, 2026

    @galad87
    Contributor

    Looks like a useful addition, but it needs to be refactored and generalised to avoid even more nvenc/nvdec conditionals everywhere. The QSV implementation was too encoder specific too. I had some half-finished patches around to refactor the hw decoders/encoders configs, but I don't remember what was missing.

  4. jamietre commented on Jul 29, 2026

    @jamietre
    Author

    Updated to addresses the sprawl & conditionals.

    If you think this is reasonable to get into the main codebase, I can open a PR. I just want to be up front that I'm using AI to help me extensively with this. I am really a software engineer :) but cpp is not at all my area of expertise as I mentioned. So to be clear I'm not just telling the LLM to go wild and accepting whatever I see, but there are probably patterns or conventions I might not recognize as being wrong. Just want to make sure that's OK with repo owners before I go down the formal contribution path!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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