bash doesnt work with shell scripts

says that the file wasnt found but its literally there
No description
No description
9 Replies
biebel
biebel•2mo ago
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?
xblizzard
xblizzardOP•2mo ago
the sh file in the second screenshot
biebel
biebel•2mo ago
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.
Zed
Zed•2mo ago
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 🙂 )
xblizzard
xblizzardOP•2mo ago
yes, I’m trying to get nvenc working under proton
Zed
Zed•2mo ago
if you take a look at the script, right at the top is this:
No description
Zed
Zed•2mo ago
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?
xblizzard
xblizzardOP•2mo ago
just the script
Zed
Zed•2mo ago
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

Did you find this page helpful?