illnyang / nvlax

Future-proof NvENC & NvFBC patcher (Linux/Windows)
GNU General Public License v3.0
159 stars 18 forks source link

Error running nvlax_encode #7

Open TinyBabyOwl opened 2 years ago

TinyBabyOwl commented 2 years ago
➜ ./nvlax_encode -i /usr/lib/libnvidia-encode.so.495.44 -o /usr/lib/libnvidia-encode.so.495.44
[+] libnvidia-encode.so
Assertion 'found' failed (ERROR)
  in file lax_encode.cc, line 98
  function: void patch_linux(LIEF::ELF::Binary*)
terminate called after throwing an instance of 'ppk::assert::AssertionException'
  what():  
[1]    11117 abort (core dumped)  ./nvlax_encode -i /usr/lib/libnvidia-encode.so.495.44 -o

Followed the build instructions from the readme. Not sure what wrong.

illnyang commented 2 years ago

Send me your .so on zippyshare

Strykar commented 2 years ago

Send me your .so on zippyshare

If you're going to need the sample .so's for each driver release, adding a template to Github issues / README explaining it's need and common locations to upload it might reduce churn moving forward.

itsTyrion commented 2 years ago

You probably want the file in /usr/lib64. Depends on the distro. Thanks to @OceanS2000 for bringing that to my attention

ghost commented 2 years ago

I'm having the same issue. Using the files in /usr/lib64 does not work for me sadly. Running Manjaro - Gnome

sjuxax commented 2 years ago

I got this while having installed chaotic-aur/nvidia-utils-nvlax, so presumably it occurs when the file is already patched. Installing the standard nvidia-utils and then nvlax-git, which auto-patches with the included pacman hooks, eliminated the error for me.