[opensuse] Advice for NVIDIA and Tumbleweed
I need to use a GPU/CUDA for some deep learning work. It should result in at least a 100x speedup compared to using the CPU. So, I will be needing to use the NVIDIA drivers instead of Noveau. I have a couple questions: 1. I see that the kernel drivers on https://download.nvidia.com/opensuse/tumbleweed/x86_64/ are for kernel-default-5.3.6-1.1.x86_64, while the current one (on my system) is kernel-default-5.3.7-1.2.x86_64. I know that the NVIDIA stuff is usually a little behind. When doing a zypper dup, has it worked that the kernel does not get updated until all dependencies (e.g. NVIDIA) are present? Or does one need to do something else to keep these two things consistent? 2. Are there any things one should consider related to CUDA? Any kernel options so set? Anyone else compiling/running CUDA code on Tumbleweed? https://en.opensuse.org/SDB:NVIDIA_drivers says a little bit. But I don't see much about this there. TIA for any shared experiences. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/10/19 8:27 am, Roger Oberholtzer wrote:
I need to use a GPU/CUDA for some deep learning work. It should result in at least a 100x speedup compared to using the CPU. So, I will be needing to use the NVIDIA drivers instead of Noveau.
I have a couple questions:
1. I see that the kernel drivers on https://download.nvidia.com/opensuse/tumbleweed/x86_64/ are for kernel-default-5.3.6-1.1.x86_64, while the current one (on my system) is kernel-default-5.3.7-1.2.x86_64. I know that the NVIDIA stuff is usually a little behind. When doing a zypper dup, has it worked that the kernel does not get updated until all dependencies (e.g. NVIDIA) are present? Or does one need to do something else to keep these two things consistent?
2. Are there any things one should consider related to CUDA? Any kernel options so set? Anyone else compiling/running CUDA code on Tumbleweed?
https://en.opensuse.org/SDB:NVIDIA_drivers says a little bit. But I don't see much about this there.
TIA for any shared experiences.
I don't know if this satisfies your question(s) but I have, for years, installed the kernel from- download.opensuse.org/repositories/Kernel:/stable/standard/ (latest is 5.3.7-7.1) and then I always compile my own nVidia drivers for this kernel using the latest nVidia driver found here- https://devtalk.nvidia.com/default/topic/533434/linux/current-graphics-drive... Also, in the System Settings/Compositor, I have the the Animation Speed set to 'Instant' and the Rendering backend as 'OpenGL 3.1'. My GPU is an Nvidia GTX 1060 6GB and the monitor is a 38" Dell 3840x1600 resolution. BC -- chestnuts n.- An embarrassing and painful male condition. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
I need to use a GPU/CUDA for some deep learning work. It should result in at least a 100x speedup compared to using the CPU. So, I will be needing to use the NVIDIA drivers instead of Noveau.
I have a couple questions:
1. I see that the kernel drivers on https://download.nvidia.com/opensuse/tumbleweed/x86_64/ are for kernel-default-5.3.6-1.1.x86_64, while the current one (on my system) is kernel-default-5.3.7-1.2.x86_64. I know that the NVIDIA stuff is usually a little behind. When doing a zypper dup, has it worked that the kernel does not get updated until all dependencies (e.g. NVIDIA) are present? Or does one need to do something else to keep these two things consistent?
I didn't pay too close attention on how the updates work, but the packages don't contain the kernel modules, they only have the source to build them, and AFAICT they seem to have a trigger script that recompiles the modules when a new kernel is installed. E.g., I still have quite old nvidia-gfxG05-kmp-default 435.21_k5.2.11_1-19.1 installed (from mid September), but the latest update to 5.3.5 automatically recompiled the modules for that kernel. So sub-minor kernel number differences won't be an issue, you just should verify that they do get built properly. This *can* fail on minor version changes which sometimes causes compile errors on API changes. In that case the kernel update will *not* be held back. The nvidia package only depends on kernel-devel (without version), so it cannot prevent kernel installation. You would then likely be left without proper modules.
2. Are there any things one should consider related to CUDA? Any kernel options so set? Anyone else compiling/running CUDA code on Tumbleweed?
Never used CUDA, so no info here... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Basil Chupin
-
Peter Suetterlin
-
Roger Oberholtzer