Hi, I’m using Ubuntu 22.04.2 LTS 64-bit.
I had CUDA 11.5 before and I’m trying to downgrade it to be 11.3. And I run “uname -r”:
5.19.0-46-generic
I did:
sudo apt-get --purge remove “cuda”
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
sudo apt-get --purge remove “nvidia”
sudo apt autoremove
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
sudo apt-get clean
sudo apt-get update
and I reboot my PC and tried to install CUDA 11.3 by following the official instruction:
wget https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda_11.3.0_465.19.01_linux.run
sudo sh cuda_11.3.0_465.19.01_linux.run
and it failed!
I did:
Open the file /etc/modprobe.d/blacklist-nouveau.conf in a text editor using sudo privileges and add the following lines:
blacklist nouveau
options nouveau modeset=0
Still failed to install CUDA 11.3.
/var/log/cuda-installer.log:
[INFO]: Driver not installed.
[INFO]: Checking compiler version...
[INFO]: gcc location: /usr/bin/gcc
[INFO]: gcc version: gcc version 10.4.0 (Ubuntu 10.4.0-4ubuntu1~22.04)
[INFO]: Initializing menu
[INFO]: Setup complete
[INFO]: Components to install:
[INFO]: Driver
[INFO]: 465.19.01
[INFO]: Executing NVIDIA-Linux-x86_64-465.19.01.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 465.19.01 failed, quitting
/var/log/nvidia-installer.log: (the file is too long so i only pasted part of it. )
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Thu Jul 6 02:53:21 2023
installer version: 465.19.01
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
nvidia-installer command line:
./nvidia-installer
–ui=none
–no-questions
–accept-license
–disable-nouveau
–no-cc-version-check
–install-libglvnd
Using built-in stream user interface
→ Detected 20 CPUs online; setting concurrency level to 20.
→ Installing NVIDIA driver version 465.19.01.
→ An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
The NVIDIA driver provided by Ubuntu can be installed by launching the “Software & Updates” application, and by selecting the NVIDIA driver from the “Additional Drivers” tab.
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-format.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-prime-fence.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-peermem/nvidia-peermem.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-linux.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-helper.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nv-pci-table.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-gem-dma-buf.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-peermem/nvidia-peermem.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-drm/nvidia-drm-format.o] Error 1
make[2]: Target ‘__build’ not remade because of errors.
make[1]: *** [Makefile:1857: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel] Error 2
make[1]: Target ‘modules’ not remade because of errors.
make[1]: Leaving directory ‘/usr/src/linux-headers-5.19.0-46-generic’
make: *** [Makefile:80: modules] Error 2
→ Error.
ERROR: An error occurred while performing the step: “Building kernel modules”. See /var/log/nvidia-installer.log for details.
→ The command cd ./kernel; /usr/bin/make -k -j20 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.19.0-46-generic/build" SYSOUT="/lib/modules/5.19.0-46-generic/build"
failed with the following output:
make[1]: Entering directory ‘/usr/src/linux-headers-5.19.0-46-generic’
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using: cc (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
SYMLINK /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-modeset/nv-modeset-kernel.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-peermem/nvidia-ib-peermem-stub.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-peermem/nvidia-ib-peermem-stub.o] Error 1
CONFTEST: hash__remap_4k_pfn
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
C465.19.01/kernel/nvidia/nv-pat.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-usermap.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-p2p.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-procfs.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-modeset-interface.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-usermap.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pci-table.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-vm.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-kthread-q.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-vtophys.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-memdbg.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-interface.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-ibmnpu.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-mlock.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-report-err.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-rsync.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-msi.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-pci.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-registry.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-usermap.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-modeset-interface.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-caps.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pci-table.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-kthread-q.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv_uvm_interface.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-memdbg.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_linux.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_caps.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-ibmnpu.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/linux_nvswitch.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-report-err.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-rsync.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/procfs_nvswitch.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_common.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-msi.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nvCpuUuid.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv_uvm_interface.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-caps.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nv-kthread-q.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_linux.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nv-kthread-q-selftest.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_caps.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/linux_nvswitch.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_tools.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/procfs_nvswitch.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_global.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_common.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_isr.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_procfs.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_linux.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nvstatus.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_space.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_space_mm.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nvCpuUuid.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nv-kthread-q.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/nv-kthread-q-selftest.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_semaphore.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_mem.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_tools.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_rm_mem.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_global.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_channel.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_lock.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_hal.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_isr.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_procfs.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_space.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_space_mm.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_semaphore.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_tree.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_mem.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_rb_tree.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_rm_mem.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_allocator.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_channel.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_range.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_lock.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_block.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_hal.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_group.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_access_counters.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_tree.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_perf_events.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_rb_tree.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_perf_module.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_allocator.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_mmu.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_range.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_pte_batch.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_tlb_batch.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_va_block.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_range_group.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_push.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_replayable_faults.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_pushbuffer.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_thread_context.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_non_replayable_faults.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_tracker.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_perf_events.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_kepler.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_gpu_access_counters.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_kepler_ce.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_mmu.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_kepler_host.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_perf_module.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_pte_batch.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_kepler_mmu.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_kepler_fault_buffer.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_tlb_batch.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-uvm/uvm_push.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia-
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pci.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-interface.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-acpi.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-pci.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-dma.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-registry.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-i2c.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-usermap.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-modeset-interface.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-cray.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pci-table.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-mmap.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-kthread-q.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-p2p.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-memdbg.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-ibmnpu.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-procfs.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pat.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-report-err.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-usermap.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-vm.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-rsync.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-interface.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-msi.o
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-caps.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv_uvm_interface.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-mlock.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_linux.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-usermap.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_caps.o
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-pci.o] Error 1
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/linux_nvswitch.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/os-registry.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
CC [M] /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/procfs_nvswitch.o
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-kthread-q.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-vtophys.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-pci-table.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-modeset-interface.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-memdbg.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-report-err.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-ibmnpu.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-rsync.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-msi.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv_uvm_interface.o] Error 1
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nv-caps.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_linux.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/nvlink_caps.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/linux_nvswitch.o] Error 1
cc: error: unrecognized command-line option ‘-fzero-call-used-regs=used-gpr’
make[2]: *** [scripts/Makefile.build:257: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel/nvidia/procfs_nvswitch.o] Error 1
make[2]: Target ‘__build’ not remade because of errors.
make[1]: *** [Makefile:1857: /tmp/selfgz12935/NVIDIA-Linux-x86_64-465.19.01/kernel] Error 2
make[1]: Target ‘modules’ not remade because of errors.
make[1]: Leaving directory ‘/usr/src/linux-headers-5.19.0-46-generic’
make: *** [Makefile:80: modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Now my Ubuntu system setting even shows llvmpipe (LLVM 15.0.7, 256 bits) instead of my GTX 3080. What should I do?
Thank you so much