After updates installation, NVIDIA 390.147 driver messed up and stop to startX

Hi,

I use Linux for 6 or 7 years now and I run Manjaro for more than 6 months. I was really pleased by the stability of updates till last sunday when I launched updates of OS.

Since then, I’m not able to run KDE plasma / OS anymore.

Once laptop boots it stays like “frozen” before loading/starting X / KDE plasma. SO not login window anymore.

When I run in console mode from grub booting options (adding value “3” at kernel line) I can log in my profile, but I can not startX / KDE plasma. SO it’s clearly a video driver issue.

Usually under Ubuntu and Manjaro I’m used to reinstall Nvidia driver manually using sudo ./Nvidia_driver_version.run but now it does not work.

I checked if some driver was installed using MHWD command line: mhwd -li
result: nothing installed

I checked the kernel version and it is 5.15.89 (as I run kernel 5.15 since I have Manjaro) and till now using manual installation of driver nVidia was working perfectly.

  1. How can I purge all librairies and files installed relative to nvidia ?
  2. I tried to install video-linux using mhwd without any change. So how can I be sure nouveau driver could be installed ?
  3. I tried to boot on Manjaro 22 USB stick and it works great. So it’s clearly an issue with driver after OS / KDE updates.

My laptop use an old nvidia 460M card but as I mentioned earlier, till now it was working great just installing the proprietary driver 390.147 (and not 390.157) manually in command line

Any suggestion ?
thx

boot into manjaro live usb, make sure you are connected to internet, open terminal and chroot:
manjaro-chroot -a
rerun update:
pacman-mirrors -f 5 && pacman -Syyu
if there are errors post the output here, if there are no errors and you are up to date, post output from:
mhwd-kernel -li && mhwd -l -li

use formatting, click this icon in editor: </> and copy the output there, or use:

```
your output here
```
[manjaro /]# mhwd-kernel -li && mhwd -l -li
Currently running: 6.1.9-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux510
   * linux515
   * linux54
Warning: No installed PCI configs!
Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:0dd1) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI

so the update went well? without any errors, and you are up to date?
if yes reinstall kernels:
pacman -S linux54 linux510 linux515
and then install nvidia:
mhwd -a pci nonfree 0300
if there were no errors, exit chroot:
exit
reboot

Here is the complete trace of these operations:

[manjaro /]# pacman -S linux54 linux510 linux515
warning: linux54-5.4.231-1 is up to date -- reinstalling
warning: linux510-5.10.167-1 is up to date -- reinstalling
warning: linux515-5.15.93-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (3) linux510-5.10.167-1  linux515-5.15.93-1  linux54-5.4.231-1

Total Installed Size:  261.89 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring                                                                                                                [#######################################################################################] 100%
(3/3) checking package integrity                                                                                                              [#######################################################################################] 100%
(3/3) loading package files                                                                                                                   [#######################################################################################] 100%
(3/3) checking for file conflicts                                                                                                             [#######################################################################################] 100%
(3/3) checking available disk space                                                                                                           [#######################################################################################] 100%
:: Running pre-transaction hooks...
(1/2) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
(2/2) Remove upgraded DKMS modules
==> dkms remove --no-depmod nvidia/390.147 -k 5.15.93-1-MANJARO
==> dkms remove --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.15.93-1-MANJARO
==> dkms remove --no-depmod rtl88x2bu/git -k 5.15.93-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
==> dkms remove --no-depmod rtl8822bu/5.8.7.4 -k 5.10.167-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
==> dkms remove --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.10.167-1-MANJARO
==> dkms remove --no-depmod rtl88x2bu/git -k 5.10.167-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
==> dkms remove --no-depmod rtl8822bu/5.8.7.4 -k 5.4.231-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
==> dkms remove --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.4.231-1-MANJARO
==> dkms remove --no-depmod rtl88x2bu/git -k 5.4.231-1-MANJARO
:: Processing package changes...
(1/3) reinstalling linux54                                                                                                                    [#######################################################################################] 100%
(2/3) reinstalling linux510                                                                                                                   [#######################################################################################] 100%
(3/3) reinstalling linux515                                                                                                                   [#######################################################################################] 100%
:: Running post-transaction hooks...
(1/7) Arming ConditionNeedsUpdate...
(2/7) Updating module dependencies...
(3/7) Install DKMS modules
==> dkms install --no-depmod nvidia/390.147 -k 5.4.231-1-MANJARO
==> dkms install --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.10.167-1-MANJARO
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.15.93-1-MANJARO
Deprecated feature: REMAKE_INITRD (/usr/src/rtl8822bu-5.8.7.4/dkms.conf)
Error! Bad return status for module build on kernel: 5.15.93-1-MANJARO (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.15.93-1-MANJARO' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.4.231-1-MANJARO
==> dkms install --no-depmod nvidia/390.147 -k 5.10.167-1-MANJARO
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.10.167-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Module version v5.8.7.4_37264.20200922_COEX20191120-7777 for 88x2bu.ko.xz
is not newer than what is already found in kernel 5.10.167-1-MANJARO (v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b).
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.10.167-1-MANJARO' exited 6
==> dkms install --no-depmod rtl88x2bu/git -k 5.15.93-1-MANJARO
==> dkms install --no-depmod rtl88x2bu/git -k 5.10.167-1-MANJARO
Module version v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b for 88x2bu.ko.xz
exactly matches what is already found in kernel 5.10.167-1-MANJARO.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod rtl88x2bu/git -k 5.10.167-1-MANJARO' exited 6
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.4.231-1-MANJARO
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/rtl8822bu/5.8.7.4/source/dkms.conf)
Error! Module version v5.8.7.4_37264.20200922_COEX20191120-7777 for 88x2bu.ko.xz
is not newer than what is already found in kernel 5.4.231-1-MANJARO (v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b).
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.4.231-1-MANJARO' exited 6
==> dkms install --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.15.93-1-MANJARO
Module version v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b for 88x2bu.ko.xz
exactly matches what is already found in kernel 5.15.93-1-MANJARO.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod rtl88x2bu/5.13.1.r166.3d25a90 -k 5.15.93-1-MANJARO' exited 6
==> dkms install --no-depmod rtl88x2bu/git -k 5.4.231-1-MANJARO
Module version v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b for 88x2bu.ko.xz
exactly matches what is already found in kernel 5.4.231-1-MANJARO.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod rtl88x2bu/git -k 5.4.231-1-MANJARO' exited 6
==> dkms install --no-depmod nvidia/390.147 -k 5.15.93-1-MANJARO
==> depmod 5.15.93-1-MANJARO
==> depmod 5.10.167-1-MANJARO
==> depmod 5.4.231-1-MANJARO
(4/7) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: 5.10.167-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
  -> -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.167-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.93-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.93-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.231-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.231-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> Image generation successful
(5/7) Updating Kernel initcpios for Nvidia-DRM...
(6/7) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(7/7) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro /]# mhwd -a pci nonfree 0300
> Using config 'video-nvidia-390xx' for device: 0000:01:00.0 (0300:10de:0dd1) Display controller nVidia Corporation GF106M [GeForce GTX 460M]
> Installing video-nvidia-390xx...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-390xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: eglexternalplatform will be removed after its nvidia-utils dependency

Packages (4) egl-wayland-2:1.1.11-3  eglexternalplatform-1.1-2  libxnvctrl-525.89.02-1  nvidia-utils-525.89.02-1

Total Removed Size:  664.49 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing nvidia-utils...
removing libxnvctrl...
removing egl-wayland...
removing eglexternalplatform...
:: Running post-transaction hooks...
(1/6) Reloading system manager configuration...
  Skipped: Running in chroot.
(2/6) Reloading device manager configuration...
  Skipped: Running in chroot.
(3/6) Arming ConditionNeedsUpdate...
(4/6) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(5/6) Reloading system bus configuration...
  Skipped: Running in chroot.
(6/6) Updating the desktop file MIME type cache...
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-390xx-utils dependency

Packages (8) egl-wayland-2:1.1.11-3  eglexternalplatform-1.1-2  libxnvctrl-390xx-390.157-1  lib32-nvidia-390xx-utils-390.157-3  linux510-nvidia-390xx-390.157-14  linux515-nvidia-390xx-390.157-16  linux54-nvidia-390xx-390.157-9  nvidia-390xx-utils-390.157-2

Total Download Size:    13.61 MiB
Total Installed Size:  238.68 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 linux54-nvidia-390xx-390.157-9-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
egl-wayland: /usr/lib/libnvidia-egl-wayland.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ifr.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ifr.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libEGL_nvidia.so.0 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libGLESv1_CM_nvidia.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libGLESv2_nvidia.so.2 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libGLX_nvidia.so.0 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libcuda.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libcuda.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvcuvid.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvcuvid.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-encode.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-encode.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-fbc.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-fbc.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ifr.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ifr.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ml.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ml.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ptxjitcompiler.so exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/libnvidia-ptxjitcompiler.so.1 exists in filesystem
lib32-nvidia-390xx-utils: /usr/lib32/vdpau/libvdpau_nvidia.so.1 exists in filesystem
Errors occurred, no packages were upgraded.
Error: pacman failed!
Error: script failed!

you have these, so use overwrite:

mhwd -a pci nonfree 0300 --overwrite '*'

exit chroot, reboot

Sounds like you used the installer from NVIDIA’s website. See why that’s not a good idea? :wink:

Warning: Generally avoid using the --overwrite switch. See System maintenance#Avoid certain pacman commands.

pacman - ArchWiki

I use the nVidia driver from their website as I MUST use the 390.147 version. The 390xx version of Manjaro is 390.157 which does NOT allow me to run DaVinci Resolve. So that’s why I use nVidia driver.

–overwrite is an invalid option for mhwd :frowning:

so reinstall them with pacman:

pacman -S egl-wayland nvidia-390xx-utils lib32-nvidia-390xx-utils --overwrite '*'

then use the mhwd command with force:
mhwd -f -i pci video-nvidia-390xx

See:

If I replace 340xx by 390xx, it will install only driver 390.157 and not 390.147. Am I right?

I reinstall with pacman and next use mhwd, . After rebooting, nothing changed :frowning: still the same behavior.

For unknown reason, driver 390.147 allows OpenCL to work with DaVinci Resolve while 390.157 does not allow openCL to work with Resolve :frowning:

did you run also this:
pacman-mirrors -f 5 && pacman -Syyu
and was it without errors and are you up to date?


so uninstall the nvidia:
mhwd -r pci video-nvidia-390xx
and install the open source drivers, just for testing purposes:
mhwd -i pci video-linux

returned no error and everything is up to date.
I removed the nvidia-390xx driver using mhwd and I installed the video-linux driver, but nothing changed. laptop still stops before startingX/KDE :frowning:

so provide logs:
journalctl -b-1 -p4 --no-pager
and also output from:
pacman -Qs nvidia
ls /etc/modprobe.d
find /etc/X11/ -name "*.conf"

Please don’t turn this into a thread with 120 back and forth posts that goes nowhere.

Focus on the goal and the road to the solution.

1 Like

Maybe it’s a stupid reaction, but by definition the journalctl -b-1 -p4 --no-pager command will return no error as I only have 2 ways to get console line. By running grub option and run in console command line, adding 3 at kernel line in grub and F10. The next way it’s to boot on Manjaro Live USB boot and once again it will be without any error.

pacman command returns:

local/egl-wayland 2:1.1.11-3
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/mhwd-nvidia 525.89.02-1
    MHWD module-ids for nvidia 525.89.02
local/mhwd-nvidia-390xx 390.157-1
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.161.03-2
    MHWD module-ids for nvidia 470.161.03
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

modprobe command returns 2 empty files:

blacklist.conf
mhwd-gpu.conf

find command returns:

/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf

while journalctl command returns:

Feb 14 23:31:54 NTB0001 kernel: MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
Feb 14 23:31:54 NTB0001 kernel:   #5  #6  #7
Feb 14 23:31:54 NTB0001 kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Feb 14 23:31:54 NTB0001 kernel: mtrr: your CPUs had inconsistent variable MTRR settings
Feb 14 23:31:54 NTB0001 kernel: ata2.00: supports DRM functions and may not be fully accessible
Feb 14 23:31:54 NTB0001 kernel: ata2.00: supports DRM functions and may not be fully accessible
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxdrv'
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxnetadp'
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxnetflt'
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxdrv'
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxnetadp'
Feb 14 23:31:54 NTB0001 systemd-modules-load[280]: Failed to find module 'vboxnetflt'
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000044F (\GPIS) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20210730/utaddress-204)
Feb 14 23:31:55 NTB0001 kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
Feb 14 23:31:55 NTB0001 kernel: r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
Feb 14 23:31:56 NTB0001 kernel: at24 0-0051: supply vcc not found, using dummy regulator
Feb 14 23:31:56 NTB0001 kernel: at24 0-0052: supply vcc not found, using dummy regulator
Feb 14 23:31:56 NTB0001 kernel: at24 0-0053: supply vcc not found, using dummy regulator
Feb 14 23:31:56 NTB0001 systemd[609]: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Feb 14 23:31:56 NTB0001 bluetoothd[609]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
Feb 14 23:31:56 NTB0001 bluetoothd[609]: src/plugin.c:plugin_init() Failed to init vcp plugin
Feb 14 23:31:56 NTB0001 bluetoothd[609]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
Feb 14 23:31:56 NTB0001 bluetoothd[609]: src/plugin.c:plugin_init() Failed to init mcp plugin
Feb 14 23:31:56 NTB0001 bluetoothd[609]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
Feb 14 23:31:56 NTB0001 bluetoothd[609]: src/plugin.c:plugin_init() Failed to init bap plugin
Feb 14 23:31:57 NTB0001 kernel: sd 6:0:0:0: [sdc] No Caching mode page found
Feb 14 23:31:57 NTB0001 kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Feb 14 23:31:59 NTB0001 kernel: kauditd_printk_skb: 84 callbacks suppressed
Feb 14 23:31:59 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=192.168.1.2 DST=224.0.0.252 LEN=53 TOS=0x00 PREC=0x00 TTL=255 ID=15399 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:00 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=192.168.1.2 DST=224.0.0.252 LEN=53 TOS=0x00 PREC=0x00 TTL=255 ID=15504 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:00 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=192.168.1.2 DST=224.0.0.252 LEN=53 TOS=0x00 PREC=0x00 TTL=255 ID=15595 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:00 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:226a:1ea9:3c48:ac70 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=73 TC=0 HOPLIMIT=255 FLOWLBL=21350 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:01 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:226a:1ea9:3c48:ac70 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=73 TC=0 HOPLIMIT=255 FLOWLBL=21350 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:01 NTB0001 kernel: [UFW BLOCK] IN=enp5s0 OUT= MAC= SRC=fe80:0000:0000:0000:226a:1ea9:3c48:ac70 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=73 TC=0 HOPLIMIT=255 FLOWLBL=21350 PROTO=UDP SPT=5355 DPT=5355 LEN=33 
Feb 14 23:32:06 NTB0001 kernel: kauditd_printk_skb: 208 callbacks suppressed
Feb 14 23:32:15 NTB0001 systemd-xdg-autostart-generator[946]: /home/alain/.config/autostart/org.kde.latte-dock.desktop:87: Unknown key name 'InitialPreference' in section 'Desktop Entry', ignoring.
Feb 14 23:32:15 NTB0001 systemd-xdg-autostart-generator[946]: /home/alain/.config/autostart/org.kde.latte-dock.desktop: not generating unit, error parsing Exec= line: No such file or directory
Feb 14 23:32:26 NTB0001 kernel: kauditd_printk_skb: 30 callbacks suppressed
Feb 14 23:34:23 NTB0001 systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount: Failed with result 'exit-code'.
Feb 14 23:34:24 NTB0001 kernel: watchdog: watchdog0: watchdog did not stop!

you would run the journal command from chroot of course…
post output from:
cat /etc/modprobe.d/blacklist.conf
and:
cat /etc/X11/xorg.conf

cat /etc/modprobe.d/blacklist.conf returns:

[manjaro /]# cat /etc/modprobe.d/blacklist.conf 
[manjaro /]# 

and cat /etc/X11/xorg.conf returns:

[manjaro /]# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.147  (dvs-builder@U64-E08-29-1)  Mon Dec 13 13:50:12 UTC 2021


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

[manjaro /]# 

didnt noticed that the files in modprobe were empty…
delete the xorg config:
sudo rm /etc/X11/xorg.conf
reboot