-
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 available #104
Comments
Hello and thank you for your interest! The opensource kernel driver has the same support for nvenc and tools that use it as the proprietary variant. The firmware/microcode that runs on the nvdec microcontrollers is not published, however. I hope this answers your question, but please elaborate if this is not what you meant. Thanks. |
Well, but however on my RTX 3050 for example obs-studio fails with nvenc, it says no supported hardware found. |
I do believe that is a bug and we will investigate. Thank you for the report! |
Same on 3060ti Problem doesn't exits on regular 515. |
Hi. I have the same problem with the GTX 1650 (TU117).
I have not had such a problem with the version 510 driver in the past. OBS Log: dmesg: |
Does this mean nvenc is currently unavailable? |
I found that applying this patch fixes the error. The drivers may be thinking that the maximum amount of nvenc streams are constantly being used, hence nvenc being unavailable. Tested on |
Internal bug 3661377 for tracking |
It's a little off-topic, but… Is someone suffering a choppy record with nvenc? Even on 120fps ? |
still not fixed in 515.48 |
Thanks for the confirmation.
On Jun 6, 2022, at 1:35 AM, kindagoose ***@***.***> wrote:
still not fixed in 515.48
—
Reply to this email directly, view it on GitHub<#104 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALYJBVEBMOHOK4PRVBILVN3VNWZ5RANCNFSM5VYJD7FQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@sandikata, or others still seeing this issue in the latest driver drops - could you please capture a log file (sudo nvidia-bug-report.sh) and include the output with NVreg_RmMsg=":"? |
@PAR2020 Hello. The issue still exists in the latest
|
Thanks @rustatian, that log has been very helpful. Problem identified, dev team working on a solution. |
I have tested the |
Hello. I face the same issue on a 3080 TI. driver version:
obs log:
output of If desired, I'll start the X server with |
Note 520.61.05 can not yet be patched. Do not upgrade until there is a patch. 520 does not resolve the issue. I've lost a little over a week to this. Thank you @GamingLiamStudios This was the only way I could get this working.
# Ensure secure boot is disabled - ie mokutil --disable-validation
sudo apt -y install build-essential curl dkms
echo blacklist nouveau | sudo tee /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo options nvidia NVreg_OpenRmEnableUnsupportedGpus=1 | sudo tee /etc/modprobe.d/nvidia-unsupported-gpu.conf
sudo update-initramfs -u
sudo /sbin/reboot
git clone https://github.com/keylase/nvidia-patch.git
curl -LO https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda_11.7.1_515.65.01_linux.run
chmod +x ./cuda_11.7.1_515.65.01_linux.run
sudo ./cuda_11.7.1_515.65.01_linux.run -m=kernel-open
sudo /sbin/reboot
# Confirm working
nvidia-smi
cd nvidia-patch
sudo bash ./patch.sh
sudo /sbin/reboot
# Check can encode now
curl -LO http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
ffmpeg -i BigBuckBunny.mp4 -c:v h264_nvenc output.mp4 |
I could say I've fixed all this issues by replacing Nvidia with AMD (I was happy with AMD last 10 years). |
I can't get an AMD card unless I use getting into uni or this new year as an excuse :( My next card would definitely be AMD, though, considering how perfectly AMD seems to work with Linux. |
Yeah, you may laugh to my comment, but since a long time Nvidia getting the worst on Linux compared to AMD. Out of box hardware acceleration works with MESA GL (Not Nvidia ones). Already saw how bad is nvenc on Linux as it doesn't cover my expectations, and lack of hardware support for HEVC on Nvidia (Where AMD has won again as they have Hardware Support for HEVC). Long story in short. AMD HEVC for me works better than Nvidia Nvenc (Maybe in prior to quality on same bit rate nvenc is better, but overall it's opposite).
I am sorry, but RTX 3050 will be replaced with RX 6750 XT :) I am so tired of struggling with Nvidia GL stack which limit my experience in Linux. |
I can also confirm that NVENC is not working in combination with the Nvidia Container Runtime. |
Closing this, as i am not interested anymore, sold Nvidia RTX 3050 in order to replace it with AMD RX6750XT. |
@sandikata wouldn't it be better to let it open and solve this issue, you can at least unsubscribe if you are not interested in a real solution. |
AMD has no nvenc tho lol their video sdk is a mess and quality is worse than ffmpeg ultrafast. Its like you needed a shovel but bought a ticket to the Caribbean instead and said f*** digging. |
I thought this got fixed or smth. This is pretty rude considering the reason imo. |
I'd argue it's best to keep this open as well in the interest of getting it fixed - but - Does the application of the hack not resolve the issue for you? EDIT: Yes, bit of a snarky tone. The known-bad driver should be withdrawn, or at least very very clearly noted that it doesn't actually work. Spending a little over a week to find this issue with zero engagement from |
Hi, as mentioned in #378 we do know the root cause of this issue, but we can't give an ETA just yet, sorry. It's being actively looked it. |
Well, keep waiting, I think you're naive if you think they will fix something for free. This is Nvidia, if they're going to do something it will be for an amount of money. If driver is the same (it is really) they for sure know the root of this issue, but not interested on fixing it for free. And even more, Nvidia on Linux do not have any acceleration as it doesn't support proper va-api. So i'ts not only one point. PS: even unsubscribe doesn't help and still receiving email's for this closed and unsubscribed ticket. |
|
@Dungeonseeker I think you've missed that it's already fixed... 😃 |
Hello,
Is nvenc a part of opensource driver stack?
Regards,
Rosen Aleksandrov
The text was updated successfully, but these errors were encountered: