-
Notifications
You must be signed in to change notification settings - Fork 17
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
Patching WSL2-imported .so #10
Comments
Hi, Good news! I've prepared a simple patch that almost works with nvenc. Here my dirty patch:
Feel free to add it to the repository! You only need to add some parameter to enable for WSL. |
Hi, My updated patch to apply the last fixes from @tytan652:
And I confirm that with a recent (Jun'23) driver like 515.65.01 it works in WSL2 with Win10 22H2 (without patching at all the stock Windows driver). |
@lars18th Did you cut off the last few lines of that git patch? It's complaining about being corrupt. |
Hi!
Since I have system's DLL patched correctly (your patcher doesn't seem to pick up even 472.12, that's last patched driver by
keylase/nvidia-patch
), and from Windows itself invokingffmpeg
w/nvenc
accel doesn't result in session limiting, yet I still see session limiter in WSL itself:I tried your patcher on
/usr/lib/wsl/lib/libnvidia-encode.so.1
that's imported from host's%windir%\System32\DriverStore\FileRepository\nvmdi*\libnvidia-encode.so.1
, and to my surprise, it seems as though this .so doesn't uselibnvcuvid.so
:I looked at other issues in the repository, and it seems like providing .so would be helpful, so here it is:
libnvidia-encode.so.1.zip
The text was updated successfully, but these errors were encountered: