-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
NVENC not working on Bare Metal or in Docker with Nvidia Container Runtime #378
Comments
Can't anyone help or has a clue why this is not working? Maybe I'm missing something obvious...? I'm more than curious if the Open GPU Kernel module is compatible with the Nvidia Container Runtime |
Hi @ich777 , am I understanding correctly that the driver is working, but you are getting the The error happens if your particular chipset is not known to the driver, and this generally shouldn't happen - I'll take a look at why it does - but, it isn't a problem on its own. The chipset detection is done to apply various chipset specific bugfixes and workarounds, and if your chipset doesn't need any, then it should all be fine. |
@mtijanic thank you for the answer! I compile the driver later today again for Unraid 6.11.0 stable (based on Kernel 5.19.9) and also try to connect a display if this is making any difference. The Open Source driver should be however compatible with the Nvidia Container Runtime for Docker containers or am I wrong about that? |
I've never tested it explicitly, but I believe it should be compatible with the container runtime. It is missing virtualization functionality, but AFAIK there is no virtualization taking place when using the container runtime. Ignoring the messages in the log, is there any particular thing that is not working as expected? |
@mtijanic I've now compiled the driver for 5.19.9, connected a display to the card. That's the error that I get from Jellyfin:
Yes, transcoding in containers, is there any other thing that I can provide or you can recommend me to do/try? |
@mtijanic after doing some more research this message indicated that the NVENC limit is exceeded (usually three simultaneous transcodes are possible with this kind of cards if I'm not mistaken) but actually nothing is using the card and it even fails to transcode one file. Also this seems related #104 |
Hi, yes, looks like it is a duplicate of #104 , and is tracked internally as bug 3661377. The issue has been root caused, but unfortunately I can't give any ETA on when the fix will be. |
For those that need this to work while |
This problem remains in |
I think this is a Enterprise driver or am I wrong about that? |
@ich777 I don't think so - it's the latest bundled driver in the kit |
TBH I will update the issue until it's released and it is listed here, hope that's good enough for you. |
I'm not sure I follow... it is released - that's their official link... |
Seems to be working since driver version |
Looks to be working @ich777 - I've tested on one box, testing on others now. |
Just for clarity - 525.60.13 restores the availability to access encoders/decoders with the published limitations (eg 3 encoders) |
Exactly like it is advertised for Nvidia consumer cards, however for example a Quadro P2000 should have unlimited sessions. I will close this issue tomorrow if you don't report any further issue with NVENC. |
NVIDIA Open GPU Kernel Modules Version(s):
515.76
520.56.06
Does this happen with the proprietary driver (of the same version) as well?
No
Operating System and Version
Unraid 6.11.0-rc5p2 (Slackware 15.0)
Kernel Release
5.19.9-Unraid
Hardware: GPU
NVIDIA T400
Describe the bug
Trying to compile the Nvidia Open Source Kernel module alongside with the proprietary binaries and libraries for Unraid for use in Docker containers but ran into an issue where I get the following message in my syslog when issuing
nvidia-smi
from the command line after a reboot:NVRM objClInitPcieChipset: *** Chipset Setup Function Error!
Is the Open Source Kernel module in general compatible with the container runtime for use in Docker containers?

When running nvidia-smi I get the appropriate output or at least I think:
I also have to run the module with
NVreg_OpenRmEnableUnsupportedGpus=1
otherwise I get this error but I think that is expected or am I wrong:Open nvidia.ko is only ready for use on Data Center GPUs.
To Reproduce
Compile drivers for Unraid, install the package on Unraid.
Bug Incidence
Always
nvidia-bug-report.log.gz
nvidia-bug-report.log.gz
More Info
I'm really not sure if this is even a bug or if I'm missing something...
The text was updated successfully, but these errors were encountered: