Skip to content
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

Nvidia Driver and CUDA version? #22

Closed
shiftySenpai opened this issue May 31, 2015 · 10 comments
Closed

Nvidia Driver and CUDA version? #22

shiftySenpai opened this issue May 31, 2015 · 10 comments

Comments

@shiftySenpai
Copy link

Is there a specific version for the Nvidia GPU drivers and CUDA that are required?

I am having a lot of issues on Ubuntu 14.04 with the lastest CUDA 7 and 352.09 installation.

Currently I get: http://pastebin.com/FaCtmFXU

modprobe: ERROR: could not insert 'nvidia_331_uvm': Invalid argument
/usr/local/bin/luajit: /usr/local/share/lua/5.1/trepl/init.lua:363: /usr/local/share/lua/5.1/trepl/init.lua:363: /tmp/luarocks_cutorch-scm-1-7286/cutorch/lib/THC/THCGeneral.c(10) : cuda runtime error (30) : unknown error at /tmp/luarocks_cutorch-scm-1-7286/cutorch/lib/THC/THCGeneral.c:241
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/trepl/init.lua:363: in function 'require'
waifu2x.lua:1: in main chunk
[C]: in function 'dofile'
/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00404ac0

@nagadomi
Copy link
Owner

You need CUDA 6.5 or later.
The problem seems to be with the installation of Nvidia Driver.

@shiftySenpai
Copy link
Author

I have made progress and fixed CUDA w/ clean 6.5 install, but still errors. I copied the cuDNN lib files like this:
cd cudnn-6.5-linux-x64-v2
sudo cp lib* /usr/local/cuda/lib64/
sudo cp cudnn.h /usr/local/cuda/include/

This time it is cuDNN errors:
/usr/local.share/lua/5.1/cudnn/ffi.lua:376 libcudnn.so : Cannot open shared object file: not found in library path

I checked my .bashrc and I have this at the end of it
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=:/usr/local/cuda/lib64

so close!! Atomousukoshi!

@nagadomi
Copy link
Owner

Did you try source $HOME/.bashrc ?

@JingleiWang
Copy link

I faced the same problem when run cuda samples.
How can I fix it ?

@successtheman
Copy link

I cannot get it to work either. Nagadomi is there any way you could put this in the AUR for arch linux users?

@JingleiWang
Copy link

CUDA6.5 support 340 or pre version driver.
I re-install cuda6.5 and driver 340 manually.
Then I run the exampl with super identity :sudo ./deviceQuery.It worked.
If without sudo, you may get 30 error.

@successtheman
Copy link

successtheman commented Jun 22, 2015

@JingleiWang, where did you find the files for CUDA 6.5?

Thank you,

On Sun, Jun 21, 2015 at 8:58 PM, JingleiWang notifications@github.com
wrote:

CUDA6.5 support 340 or pre version driver.
I re-install cuda6.5 and driver 340 manually.
Then I run the exampl with super identity :sudo ./deviceQuery.It worked.
If without sudo, you may get 30 error.


Reply to this email directly or view it on GitHub
#22 (comment).

@ctrlcctrlv
Copy link

@rjmxtechnology

I created an easy Arch Linux PKGBUILD. I appreciate your comments if you get the NVIDIA GPU support working.

https://aur.archlinux.org/packages/waifu2x-git/

Note that this is for tanakamura's build, not nagadomi's.

Tanakamura's build supports AMD GPU or even CPU only version, at the cost of speed. However, it still completes in under ten seconds for a 1024x1024 image for me with cheap Intel Atom CPU. Also note that the Tanakamura build is written in C++ and to my knowledge has no web interface, if you want to run a web interface you would need to make one.

For the best chance of getting the NVIDIA support working, install cuda and opencl-nvidia before the build.

@successtheman
Copy link

I never got it to work @ctrlcctrlv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants