{"id":5046,"date":"2023-04-24T23:50:00","date_gmt":"2023-04-25T04:50:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5046"},"modified":"2023-04-24T23:17:48","modified_gmt":"2023-04-25T04:17:48","slug":"how-to-bypass-nvidia-nvenc-limits-on-rtx-cards-on-linux","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-bypass-nvidia-nvenc-limits-on-rtx-cards-on-linux\/","title":{"rendered":"How to Bypass NVIDIA NVENC Limits on RTX Cards on Linux"},"content":{"rendered":"\n<p>It appears that NVIDIA has limited the number of NVEncoding streams on consumer GPUs.  Guess it is so people have to buy the more expensive professional cards.<\/p>\n\n\n\n<p>Fortunately, the limit is only applied to the driver, and there is a patch available that let&#8217;s us bypass the limiter.<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/keylase\/nvidia-patch\">https:\/\/github.com\/keylase\/nvidia-patch<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Patch<\/h2>\n\n\n\n<p><em>This assumes you already have the driver installed.  If you do not, or run into issues with the commands below, refer to the above link.<\/em><\/p>\n\n\n\n<p>Download the tool<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/keylase\/nvidia-patch\/archive\/refs\/heads\/master.zip\">https:\/\/github.com\/keylase\/nvidia-patch\/archive\/refs\/heads\/master.zip<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/github.com\/keylase\/nvidia-patch\/archive\/refs\/heads\/master.zip<\/pre>\n\n\n\n<p>Unzip the file<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">unzip nvidia-patch-master.zip<\/pre>\n\n\n\n<p>Run the patch script<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd nvidia-patch-master\nsudo bash .\/patch.sh<\/pre>\n\n\n\n<p>And we are finished!  <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Further reading<\/h2>\n\n\n\n<p>NVIDIA has a matrix of which cards support how many streams etc.<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.nvidia.com\/video-encode-and-decode-gpu-support-matrix-new\">https:\/\/developer.nvidia.com\/video-encode-and-decode-gpu-support-matrix-new<\/a><\/p>\n\n\n\n<p>And while we are on the topic of artificial limits, check out the vGPU license bypass<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/KrutavShah\/vGPU_LicenseBypass\">https:\/\/github.com\/KrutavShah\/vGPU_LicenseBypass<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It appears that NVIDIA has limited the number of NVEncoding streams on consumer GPUs. Guess it is so people have to buy the more expensive professional cards. Fortunately, the limit is only applied to the driver, and there is a &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-bypass-nvidia-nvenc-limits-on-rtx-cards-on-linux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[420,3,1],"tags":[412,7,1476,1475,269,1171],"class_list":["post-5046","post","type-post","status-publish","format-standard","hentry","category-hacking","category-linux","category-uncategorized","tag-gpu","tag-linux-2","tag-nvdec","tag-nvenc","tag-nvidia","tag-rtx"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5046"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5046\/revisions"}],"predecessor-version":[{"id":5049,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5046\/revisions\/5049"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}