You are not logged in.
I know I haven't been able to! I know I'm probably missing something here but I just cant get the darn thing to work.
First off I think the main problem here is that nvidia (oh wonderful nvida...) doesn't actually supply the toolkit for Debian witch I figured was a dead end but they do have a version for Ubuntu (v14 and v16 I think?) and last I checked Ubuntu runs on Debian so i figured I might get somewhere with that, but in the end I could not
So feel free to stop me here as I'm probably wrong that it would work, but in the case i'm not:
simply running: sudo apt-get install cuda returns:
"The following packages have unmet dependencies:
cuda : Depends: cuda-8-0 (>= 8.0.44) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."
witch I don't see why cuda depends on cuda but ok.
if I download it from the nvidia website everything installs fine and I see cuda in the package manager but when I use nvcc --version, I get a wonderful command not found, and none of the samples work.
I know i have all the dependency's it lists on the site and I do have the proprietary nvidia driver working fine but I just cant get cuda to work
Little more info on my comp so your not all left in the dark, I'm running the latest version of bunsenlabs, and am attempting to get the CUDA toolkit to work with my little 970 so I can get back to using the GPU compute in blender!
The cuda drivers ive been attempting to use are here:
https://developer.nvidia.com/cuda-downloads
anyone got an idea? or more importantly has anyone ever gotten cuda to work with bunsen?
Offline
.....
Little more info on my comp so your not all left in the dark, I'm running the latest version of bunsenlabs, and am attempting to get the CUDA toolkit to work with my little 970 so I can get back to using the GPU compute in blender!
The cuda drivers ive been attempting to use are here:
https://developer.nvidia.com/cuda-downloadsanyone got an idea? or more importantly has anyone ever gotten cuda to work with bunsen?
Nooo, don't struggle with all that! Just download the latest Blender from Blender Downloads. Extract to wherever you like and run it with
~/path/to/blender
Advantages:
(a) It is the latest release
(b) It includes the CUDA dependencies, so you don't need the huge cuda-toolkit package
(c) It runs OOTB for me
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Huummmm, I downloaded 2.88 from the downloads page and ran it they way you stated, and than tried running it as root and still nothing else under the compute devices? I also tried using the blender install from the bunsenlabs script and that had an error with getting the cuda packages (I'm not sure if its normal) it installed 2.72, but still with no gpu compute. Could it just be the nvidia driver at this point?
Offline
I sincerely hope you didn't run it the way I stated Did you use the actual path to the blender executable?
NB If you have extracted 2.78 (32 or 64 bit as appropriate) to your $HOME, you should not be running it with sudo. Try it in a terminal, and see if there is any useful output (make sure the blender executable is executable - it should be already):
$ ~/path/to/extracted-blender-2.78/blender
You need the nvidia-driver of course. Find out the driver in use with
lspci -k | grep -iA2 'vga\|3d'
You can find out which is the recommended driver for your system by installing and running `nvidia-detect`
It is not unusual to get a black useless screen after messing with graphics drivers, so before installing the nvidia driver, then make sure you know how to (a) edit kernel boot parameters in case you have to add eg. nomodeset; (b) revert to the nouveau driver.
The Debian method is https://wiki.debian.org/NvidiaGraphicsD … stallation
Here is my method for installing nvidia:
NvidiaGraphicsDrivers
---------------------
https://wiki.debian.org/NvidiaGraphicsDrivers1) Go to TTY1 (ctrl-alt-F1), then login as root: "sudo su -"
2) Stop the X server with "systemctl stop lightdm.service"
3) "apt-get install nvidia-settings nvidia-xconfig nvidia-driver"
This will also build the kernel nvidia module
4) Create xorg server config file [ important to do this before restarting X!!] by running
"nvidia-xconfig" [ error messages can usually be ignored ]
5) Reboot, to blacklist nouveau
5) Set up monitors with "nvidia-settings" (although arandr should work)
If you have optimus nvidia/intel hardware then it can be much more problematic, and you will have to investigate Bumblebee.
nvidia-cuda-toolkit is a monster download of nearly 1GB, and you need very little of it for CUDA in Blender, which is one reason I recommend using the standalone Blender tar.gz download. As you have already noticed, the Debian Stable repo version is a long way behind the current release.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I guess I could have explained that one better, I did run blender using the path that extracted it to witch was something along the lines of /home/me/Programs/blender2.88/blender witch does open blender just fine but I just don't get any other options for compute devices in user prefs.
As for the nvidia driver, I do have 352.79 installed (I don't think its the most modern one as I installed it ~2-3 months ago), will your instructions work if i just download the latest version or do I have to uninstall the current one first?
Offline
Is your system actually using the nvidia driver? Did you find out with the command I posted?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I remember before installing the nvidia driver I couldn't get to my native screen res and after after installing it I can, to find the driver version I just used cat /proc/driver/nvidia/version, and running the command you posted says the kernel is using the nvidia driver.
"03:00.0 VGA compatible controller: NVIDIA Corporation Device 13c2 (rev a1)
Subsystem: NVIDIA Corporation Device 1116
Kernel driver in use: nvidia"
So it should be working, however I never did anything to disable the driver that comes with bunsen.
Offline