Hi a recent update broke my system, causing the nvidia-340xx-dkms driver to stop working and I can’t seem to install it anymore (following the instructions here that worked before).
From tty I installed nouveau but I get random freezes (although the mouse pointer still moves around) from which I can only recover with a hard reboot OR I just get logged out of my session, can’t tell if it’s the same issue.
These freezes are also new as I had used nouveau for quite some time before without too many issues besides the lack of performance.
$ uname -a
Linux ant 5.10.218-1-MANJARO #1 SMP PREEMPT Mon May 27 02:19:19 UTC 2024 x86_64 GNU/Linux
$ inxi -G
Graphics:
Device-1: NVIDIA G96CGL [Quadro FX 580] driver: nouveau v: kernel
Display: x11 server: X.Org v: 21.1.13 driver: X: loaded: modesetting
dri: nouveau gpu: nouveau resolution: 1980x1080~60Hz
API: EGL v: 1.4,1.5 drivers: nouveau,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.0.9-manjaro1.1
renderer: NV96
The failed install (or rather dkms configuration?):
Packages (1) nvidia-340xx-dkms-340.108-1
Total Installed Size: 14.64 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [###########################################################] 100%
(1/1) checking package integrity [###########################################################] 100%
(1/1) loading package files [###########################################################] 100%
(1/1) checking for file conflicts [###########################################################] 100%
(1/1) checking available disk space [###########################################################] 100%
:: Processing package changes...
(1/1) installing nvidia-340xx-dkms [###########################################################] 100%
Optional dependencies for nvidia-340xx-dkms
linux-headers: Build the module for Manjaro kernel [installed]
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia/340.108 -k 5.10.218-1-MANJARO
Error! Bad return status for module build on kernel: 5.10.218-1-MANJARO (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/340.108 -k 5.10.218-1-MANJARO' exited 10
==> dkms install --no-depmod nvidia/340.108 -k 4.19.315-1-MANJARO
Error! Bad return status for module build on kernel: 4.19.315-1-MANJARO (x86_64)
Consult /var/lib/dkms/nvidia/340.108/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/340.108 -k 4.19.315-1-MANJARO' exited 10
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64.img
==> Starting build: '4.19.315-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-4.19-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64-fallback.img -S autodetect
==> Starting build: '4.19.315-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-4.19-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: '5.10.218-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [block]
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.10-x86_64.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: '5.10.218-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keymap]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
-> Running build hook: [encrypt]
-> Running build hook: [lvm2]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-5.10-x86_64-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
The make.log
And here is the core-dump of the faullty nouveau driver, this is from when I got logged off as from the freezes I can’t seem to mind much logged info. But I suppose it deserves its own thread.
I really hope someone can help, these freezes are happening from every couple hours to every 5 minutes.