Problems with instructions for installing cuda

Hello,
I installed the Nvidia drivers using a script (https://github.com/lebensterben/awesome-clear-linux/tree/master/NVIDIA-Driver) and it went very well. However, when I tried to install the cuda drivers, I could not find a runfile not associated with a specific distribution of Linux such as described in https://docs.01.org/clearlinux/latest/zh_CN/tutorials/nvidia-cuda.html

Choose the following settings and click Download .

  • Operating System: Linux
  • Architecture: x86_64
  • Distribution: any
  • Version: any
  • Installer Type: runfile(local)

Could someone give me a link to download that runfile, please?
Thanks

Distribution: any … is it from any of them such as for Ubuntu or it is supposed to be a generic installer that should work with all Linux distribution?

Sorry for my ignorance on this matter… I am an Ubuntu user so installing the video drivers is not usually that complicated

Thanks

I also have a script to install CUDA but it’s not thoroughly tested.

Thank you… your scripts for the NVidia drivers worked very well.

I’ll try your script for Cuda on a fresh install of Clear Linux (post Nvidia drivers installation…) so if something happens, I’ll just reinstall.

Hello,
I tried the script to install cuda (https://github.com/lebensterben/awesome-clear-linux/tree/master/CUDA ). It tells me: “NVIDIA proprietary driver not found”. So I used these cmd to verify:

  1. $ lspci -k | grep -EA3 ‘VGA|3D|Display’

07:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 4013
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

  1. find /dev -group video

/dev/dri/card0
/dev/fb0

3)glxinfo | grep -i “vendor|rendering”

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range,
GL_NV_stereo_view_rendering, GL_NV_texgen_reflection,
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range,
GL_NV_stereo_view_rendering, GL_NV_texgen_reflection,
GL_NV_path_rendering, GL_NV_path_rendering_shared_edge,
GL_NV_shadow_samplers_cube, GL_NV_stereo_view_rendering,

It seems ok?

Thanks

just delete that test in the script. most likely you don’t have glxinfo installed so it failed

I think it worked:

$ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2020 NVIDIA Corporation
Built on Mon_Nov_30_19:08:53_PST_2020
Cuda compilation tools, release 11.2, V11.2.67
Build cuda_11.2.r11.2/compiler.29373293_0

Thank you so much for your help and your very useful scripts
Best

2 Likes