Have been trying to install CUDA.jl for the first time on Ubuntu 22.04 with a NVIDIA Quadro 400 GPU. I downloaded the correct drivers from nvidia (the 525 drivers), and julia from the main julia page as opposed to snap. CUDA.jl appears to download fine. When I run
using CUDA
I get the error code 803 CUDA_ERROR_SYSTEM_DRIVER_MISMATCH.
Check dmesg; your libcuda (the library we use to interface with the driver) probably does not match nvidia.ko (the driver that was loaded by the kernel). You probably will have to reinstall the driver.
That is not recommended. You should always use packages that are provided for your distribution, as mentioned in the docs: Overview ยท CUDA.jl