Trouble with compiling kernel modules on ArchLinux and GTX650

I have an archlinux computer with a GTX650 installed that I managed to get working with a larger monitor (around 2000 lines, I don’t remember the exact dimensions). Everything was working great but a recent update of the OS and now the monitor is black after some of the bootup messages are displayed. I have had this before and reinstalled the same/latest driver version, but this time I’m getting a lot of errors and I can’t get the new kernel modules compiled and installed and I’m stuck.

The nvidia-installer.log has the first batch of error lines like this:

    CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
    CONFTEST: ib_peer_memory_symbols
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-pci.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-acpi.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-cray.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-dma.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-i2c.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-mmap.o
     CC [M]  /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv-p2p.o
   In file included from /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/common/inc/conftest.h:5,
                    from /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/common/inc/nv_stdarg.h:29,
                    from /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/common/inc/os-interface.h:27,
                    from /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/nvidia/nv.c:12:
   /tmp/selfgz41973/NVIDIA-Linux-x86_64-470.239.06/kernel/conftest/functions.h:80:2: error: #error w
ait_on_bit_lock() conftest failed!
      80 | #error wait_on_bit_lock() conftest failed!

There are 770 “wait_on_bit_lock” lines in the error log.

Any ideas on what I can do to fix things? I’m re-installing (which used to work). This is the latest stable version from what I can find on the website.

The problem is caused by gcc 14. See: AUR (en) - nvidia-470xx-utils

Thanks, this points me in the right direction.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.