opensuse 15.2 with resolve 16 + blender render CUDA

hi

i cant find solution…i did installed nvidia driver close, works…but resolve and blender said : not found CUDA, GPU…

i need add repo:
http://developer.download.nvidia.com/compute/cuda/repos/opensuse15/x86_64/ ?

sudo lspci | grep -i nvidia
[sudo] password di root:
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)

NVIDIA Driver Version: 450.57
GeForce GTX 970 (GPU 0)
OPENGL Version:4.6.0 NVIDIA 450.57
linux: 5.3.18-lp152.26-default x86_64
nvidia-computeG05 450.57-lp152.28.1

cuda-repo-opensuse15 = 10.2.89-1

Hi
I have it running fine here (resolve and blender) with cuda 11 on Leap 15.2 and tumbleweed. I run all packages via the run file not rpms, also running cuda 11, not 10.2.

ok, i need remove package from yast? and run with file from nvidia?, im afraid if remove so i will can to use opensuse after reboot i lose displaymanager or x11 server xorg…i need steps…guide…

Hi
The ‘hard way’ has to be done from the command line, I suspect it may be the later driver (450.57) and that cuda rpm your installing. I would suggest removing the cuda rpm you installed and use the cuda (10.2 or 11) run file to install cuda and skip the cuda driver install.

ok this i will download file RUN cuda? but keep driver nvidia from yast rpm (nvidia-computeG05)?

link
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=OpenSUSE&target_version=15&target_type=rpmlocal

Hi
Yes, I would try that first and see how it goes.

hi
i downloaded and try RUN :
sudo sh cuda_11.0.2_450.51.05_linux.run

result here:

CUDA Installer │
│ - [X] Driver │
│ [X] 450.51.05 │
│ + [X] CUDA Toolkit 11.0 │
│ [X] CUDA Samples 11.0 │
│ [X] CUDA Demo Suite 11.0 │
│ [X] CUDA Documentation 11.0 │
│ Options │
│ Install │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ Up/Down: Move | Left/Right: Expand | ‘Enter’: Select | ‘A’: Advanced options │
└──────────────────────────────────────────────────────────────────────────────┘

i write INSTALL… result:
Installation failed. See log at /var/log/cuda-installer.log for details.

/var/log/cuda-installer.log:

[INFO]: Driver not installed.
[INFO]: Checking compiler version…
[INFO]: gcc location: /usr/bin/gcc

[INFO]: gcc version: gcc version 7.5.0 (SUSE Linux)

[INFO]: Initializing menu
[INFO]: Setup complete
[INFO]: Components to install:
[INFO]: Driver
[INFO]: 450.51.05
[INFO]: Executing NVIDIA-Linux-x86_64-450.51.05.run --ui=none --no-questions --accept-license --disable-nouveau --no-cc-version-check --install-libglvnd 2>&1
[INFO]: Finished with code: 256
[ERROR]: Install of driver component failed.
[ERROR]: Install of 450.51.05 failed, quitting

Hi
Unselect the driver option since you already have the rpms installed?

now i do unselected driver:

===========
= Summary =

Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-11.0/
Samples: Installed in /home/gokuhh/, but missing recommended libraries

Please make sure that

  • PATH includes /usr/local/cuda-11.0/bin
  • LD_LIBRARY_PATH includes /usr/local/cuda-11.0/lib64, or, add /usr/local/cuda-11.0/lib64 to /etc/ld.so.conf and run ldconfig as root

To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-11.0/bin

Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-11.0/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least .00 is required for CUDA 11.0 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
sudo <CudaInstaller>.run --silent --driver

Logfile is /var/log/cuda-installer.log

what i will do…?

Hi
Just use the arrow keys to move the selection line, then press space bar to unselect.

i did this unselect etc after installed CUDA and unselect driver there is result:

===========
= Summary =

Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-11.0/
Samples: Installed in /home/gokuhh/, but missing recommended libraries

Please make sure that

  • PATH includes /usr/local/cuda-11.0/bin
  • LD_LIBRARY_PATH includes /usr/local/cuda-11.0/lib64, or, add /usr/local/cuda-11.0/lib64 to /etc/ld.so.conf and run ldconfig as root

To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-11.0/bin

Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-11.0/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least .00 is required for CUDA 11.0 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
sudo <CudaInstaller>.run --silent --driver

last message there is file result log…

cuda is installed but i try open nothing detected GPU CUDA for blender and resolve…maybe i need remove driver nvidia from yast and install from file RUN follow that?