August 29, 2019

NVidia drivers upgrade issues

Recently some of our Live Transcoder NVENC users have faced specific problems with NVidia usage so we'd like to draw your attention to this cases.

NVENC is a technology which combines capabilities of powerful hardware and sophisticated software drivers which allow using that power for customers' applications. There are cases when software update may change the behavior of hardware and affect your transcoding experience, causing errors and all kinds of related troubles. This month NVidia has released new version of their drivers and that update caused transcoding issues across users. Some of them were users of Nimble Transcoder so our team made proper research to eliminate that problem. Those customers had to roll back to previous drivers version to wait for updates from NVidia.

So here are our recommendations to those customers who use NVidia hardware for their transcoding process.

1. Once you've set up NVENC and Live Transcoder and make it work properly, record NVidia drivers version.

2. Make backups of all NVidia drivers which you use over time. You may also find them on this page.

3. If you'd like to make upgrade to some those components, please make one upgrade at a time. So if you decide to upgrade NVENC and Nimble Streamer, make sure you first upgrade Nimble, then let it work for a few days, and then upgrade NVENC. So going step-by-step must be your key strategy.

4. Whatever component you upgrade, please make regression testing of your existing streams. E.g. you upgrade Nimble and your tests show that your streams are fine, after that you upgrade NVENC and your tests fail (streams are not encoded properly) so in that case you know that driver change has introduced the issue.

5. If some of your components failed after upgrade, make sure you roll back to previous version of that component. Once you do the rollback, don't forget to run your regression testing again.

If you use NVENC in your streaming scenarios, we strongly recommend you to use shared contexts to improve performance. In order to do that, you need to add the following parameters into your Nimble config file:
nvenc_context_share_enable = true
nvenc_context_share_lock_enable = true
Please read NVENC shared context usage article for all related details.

We also recommend to check NVidia developers' forums like this one to keep in touch with changes related to NVENC.

If you have any issues or questions regarding NVENC usage in Live Transcoder, pelase feel free to contact us any time.