New driver support (version 470.82.00)
Please provide details about your environment (please complete the following information)
- Nvidia driver version: 470.82.00
- GPU Model: GTX 1050
- OS: Pop OS/Ubuntu 21.04
- [x] I'm willing to participate in testing of new patch version
Count me in
Count me in as well! More than willing to test the new patch
same here
Nvidia driver : 470.82.00 GPU Model: MSI GeForce RTX 2070 Super; MSI GeForce RTX 3070 Gaming OS: Linux/ Fedora 34
Consider me in when testing new patch.
Nvidia driver: 470.82.00 GPU Model: GeForce RTX 2060 Super with 2176 CUDA Cores OS: Linux / Pop OS 20.04
Eager to help test! I rely on using this patch to enable NvENC within OBS
Good news everyone: I found this post on Levelonetechs demonstrating that simply editing the patch.sh or patch-fbc.sh scripts to include new lines for the 470.82.00 driver enables the patching to complete. I tested this by adding the following lines in the patch_list and object_list arrays (while preserving the previous driver records):
patch_list
["470.82.00"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
object_list
["470.82.00"]='libnvidia-fbc.so'
I have tested this with patch-fbc.sh as that was my immediate need, so I haven't tried this with the nvenc patch.sh script. After running sudo ./patch-fbc.sh I was able to get my scene that uses the NvFBC source to function normally again!
This works!!!
@rpodcast 's fix also works for me. Both for patch-fbc.sh and for patch.sh. Only difference for patch.sh is that the line added to its object_list array is different, reading
object_list
["470.82.00"]='libnvidia-encode.so'
Good news everyone: I found this post on Levelonetechs demonstrating that simply editing the
patch.shorpatch-fbc.shscripts to include new lines for the470.82.00driver enables the patching to complete. I tested this by adding the following lines in thepatch_listandobject_listarrays (while preserving the previous driver records):
patch_list["470.82.00"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
object_list["470.82.00"]='libnvidia-fbc.so'I have tested this with
patch-fbc.shas that was my immediate need, so I haven't tried this with the nvencpatch.shscript. After runningsudo ./patch-fbc.shI was able to get my scene that uses the NvFBC source to function normally again!
I can also confirm that it works.
Yes, it works. Can dev include it on the code?
Not working for me, on 470.82.00 after pulling main - ran both patch-fbc.sh and patch.sh, same result "cannot allocate memory"
Same here. Getting a 'cannot allocate memory' error message when running livepool after applying the patch.
What patch fails, patch.sh or patch-fbc.sh? I don't have problems with no one:
Detected nvidia driver version: 470.82.00
Attention! Backup not found. Copying current libnvidia-encode.so to backup.
18b4249e6513b77a69b26c3212c5779736d749a3 /opt/nvidia/libnvidia-encode-backup/libnvidia-encode.so.470.82.00
18b4249e6513b77a69b26c3212c5779736d749a3 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.470.82.00
Patched!
Patch.sh - using Livepool on Fedora 34.
Sorry, I only did a Pull Request with the changes shown in this thread...
Looks like the driver update is done correctly for NVFBC but not for NVENC here https://github.com/keylase/nvidia-patch/commit/97a959fe95fa41370341c17f3a137a151ef2317a#diff-0a4f8ba240035344f40ec13f1857d73e43f174394b6deba7a3b577c89647d4bbR170
Will fix.
@pschroedl @specializedtom let me know if it works now. restore the backup driver first via: ./patch.sh -r
then pull from master again and run: ./patch.sh
yes, the new patch now works with livepool. Thanks.
@pschroedl @specializedtom let me know if it works now. restore the backup driver first via:
./patch.sh -rthen pull from master again and run:./patch.shI think it will be better for everyone if I leave this in more expert hands. I am very sorry
livepool
Apologies for the off-topic question, but what's livepool?