Manjaro won't boot properly with NVIDIA drivers after GPU change

so ibt=off and optimus-manager.startup was active at the same time ?

yes, both were active at that time.

i didn’t know this, this information came too late.
you can try either

ibt=off nvidia_drm.modeset=1

or the optimus but i’m not aware if both do interrupt.
please try this first. use

ibt=off nvidia_drm.modeset=1

do a

sudo mkinitcpio -P
sudo update-grub

reboot and report what happened

Same as before, even the optimus-manager status message is the same.

wait, please post the output of

systemctl status optimus-manager
● optimus-manager.service - Optimus Manager Commands Daemon
     Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; preset: disabled)
     Active: active (running) since Sun 2022-10-30 15:25:43 EET; 2min 12s ago
    Process: 729 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_daemon_start (code=exited, status=0/SUCCESS)
    Process: 825 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_xorg_start (code=exited, status=1/FAILURE)
   Main PID: 895 (python3)
      Tasks: 1 (limit: 19001)
     Memory: 15.7M
        CPU: 236ms
     CGroup: /system.slice/optimus-manager.service
             └─895 /usr/bin/python3 -u -m optimus_manager.daemon

okt   30 15:25:43 kraut python3[825]:     bus_ids = get_gpus_bus_ids()
okt   30 15:25:43 kraut python3[825]:   File "/usr/lib/python3.10/site-packages/optimus_manager/pci.py", line 100, in get_gpus_bus_ids
okt   30 15:25:43 kraut python3[825]:     raise PCIError("Cannot find the integrated GPU. Is this an Optimus system ?")
okt   30 15:25:43 kraut python3[825]: optimus_manager.pci.PCIError: Cannot find the integrated GPU. Is this an Optimus system ?
okt   30 15:25:43 kraut python3[825]: [75] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
okt   30 15:25:43 kraut python3[825]: [75] INFO: Writing state {'type': 'pre_xorg_start_failed', 'switch_id': '20221030T152543', 'requested_mode': 'integrated'}
okt   30 15:25:43 kraut systemd[1]: Started Optimus Manager Commands Daemon.
okt   30 15:25:43 kraut python3[895]: [2] INFO: # Commands daemon
okt   30 15:25:43 kraut python3[895]: [2] INFO: Opening UNIX socket
okt   30 15:25:43 kraut python3[895]: [2] INFO: Awaiting commands

did you really run

sudo systemctl disable optimus-manager

as demanded and deleted “optimus-manager.startup” in /etc/default/grub and run mkinitcpio and update-grub ?

Forgot to disable it last time, repeated the whole process now and rebooted. Grub only has “ibt=off nvidia_drm.modeset=1” in it and systemctl status optimus-manager shows that it’s disabled. Still no Xorg and nvidia-smi reports that no devices were found.

okay, let’s try something. edit the file /etc/sddm.conf and simply put a # before the line starting with DisplayCommand and the one starting with DisplayStopCommand.
reboot and report

No particular changes.

your nvidia drivers are being loaded according to the inxi output…
post output from:
ls /etc/modprobe.d
and how is it connected, via cable, or directly plugged into the motherboard?

okay, before we get crazy. can you use a live-iso from manjaro, boot into live and check if your gpu is running in a live system ? that would be very helpful if it is a miss of your actual system or if there might be a problem in general. checking this with a live-iso can save a lot of wasted time.

NVIDIA driver doesn’t seem loaded, but the GPU is plugged directly into the motherboard.

ls /etc/modprobe.d
mhwd-gpu.conf

It's contents:
blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm
inxi -G
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060] driver: nvidia v: 520.56.06
  Display: server: X.org v: 1.21.1.4 driver: X: loaded: N/A unloaded: nvidia gpu: nvidia note:
    X driver n/a tty: 128x48
  Message: GL data unavailable in console. Try -G --display

it is loaded…


so do this now:

Sure, so I install the driver with mhwd and check with nvidia-smi?

no, download the latest iso, make a bootable usb-stick / DVD whatever and just boot into this live enviroment to see if your gpu is recognized in a live system.

I can boot into the LiveUSB with open source drivers but not the proprietary ones, ends up with the same scenario as the one I’m experiencing right now, stuck at “Reached target Graphical Interface” but I get access to tty and everything else seems to be loaded well.

Used the latest ISO from the Manjaro site: manjaro-kde-21.3.7-220816-linux515.iso.

may you check your bios-settings for “fast boot” and make sure it is disabled.

Don’t find a Fast Boot option in BIOS but Secure Boot is disabled.

okay, next thing is to check the package-manager for avaiable linux-firmware updates/upgrades.