Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display more verbose error message when Nvidia encoding session limit exceeded #2230

Closed
cyberj0g opened this issue Feb 3, 2022 · 0 comments

Comments

@cyberj0g
Copy link
Contributor

cyberj0g commented Feb 3, 2022

Issue

When driver-imposed limit on number of parallel encoding sessions on Nvidia GPU is reached, obscure error message Could not allocate memory is displayed. We need to detect such situation and display clear error message, because, currently, launching T on any consumer Nvidia GPU with -nvidia flag will fail initial capability test, which attempts to transcode to 4 renditions.

Proposed fix

In case of error in TestTranscoderCapabilities, which is called on T startup, we need to check whether the error is persistent after decreasing number of renditions to 3, which is a limit on consumer Nvidia GPUs, and display correct error message, if it worked.

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

No branches or pull requests

1 participant