You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Surface capabilities of all available NVIDIA GPUs #8003
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.
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.
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.
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!
Activity
github-actions commentedon Jul 24, 2026
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.
Tip
For HandBrake documentation, please see https://handbrake.fr/docs
Thank You,
The HandBrake Bot
[-]Surface capabilities of all available GPUs[/-][+]Feature: Surface capabilities of all available NVIDIA GPUs[/+]galad87 commentedon Jul 25, 2026
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.
jamietre commentedon Jul 29, 2026
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!