bash doesnt work with shell scripts
says that the file wasnt found but its literally there


9 Replies
That error is not bash saying it didn't find the script, it looks like it's the script saying it didn't find find files. What are you trying to run?
the sh file in the second screenshot
I think it's doing just that, but that whatever is in the script tries to do something with files in that folder and can't find it. Can't tell what that is from that.
Are you trying to run this (or another version of this) script? https://github.com/SveSop/nvidia-libs/blob/master/proton_setup.sh
If so, my guess is you skipped some installation steps, as the script looks to be failing at finding the cuda libraries.
(I'll refrain from commenting on whether or not this is the right way to do whatever it is you're trying to do, as I've no idea what that might be 🙂 )
yes, I’m trying to get nvenc working under proton
if you take a look at the script, right at the top is this:

Again, I don't know if successfully running this script is going to solve your problem, but, if, within the same directory as the script, there is not an x32 folder with nvcuda.dll in it, I'd expect that script to exit as you're seeing.
Did you download the full package release or just the script?
just the script
Download the latest release, unpack it, and follow the readme. You likely have to set an env variable instead of just running the script, at a minimum