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

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

unfortunately, nothing changed

you have 3 kernels installed, did you tried booting with all of them?
in TTY type:
inxi -xG
and:
startx
and post pictures of it

I booted each of them in both mode using grub menu and nothing changed.

inxi -xG returns:

[manjaro /]# inxi -xG
12Graphics:
  12Device-1 NVIDIA GF106M [GeForce GTX 460M] 12vendor ASUSTeK 12driver nouveau 12v kernel 12arch Fermi
    12bus-ID 01:00.0 12temp 52.0 C
  12Device-2 Syntek USB Video Device 12type USB 12driver uvcvideo 12bus-ID 1-1.2:3
  12Display 12server X.org 12v 1.21.1.7 12with Xwayland 12v 22.1.7 12driver 12X 12loaded nvidia
    12unloaded modesetting,nouveau 12gpu nouveau 12resolution 121 1920x1080 122 1920x1080
  12API OpenGL 12Message GL data unavailable for root.

I guess you want me to run startx once I booted in normal mode after going to TTY

yes boot normally and run the inxi -xG command also from there, to see if the video driver is even being loaded… and then also run startx, and post pictures of it here…

startx returns:

X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
Current Operating System: Linux NTB0001 5.15.93-1-MANJARO #1 SMP PREEMPT Thu Feb 9 12:13:18 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=6d5c5148-8ea7-49eb-a6ca-4e0eea452c84 rw quiet udev.log_priority=3 3
 
Current version of pixman: 0.42.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 15 11:06:30 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error