How do you switch graphics?
Did you try to change the tty when you boot into a black screen?
Also, Go to /usr/share/vulkan/icd.d/ and check if your GPU’s .json file is present. Make sure it does not have any other extension like .bak(i.e. nvidia_icd.json.bak)
I switch it from bios menu. I just switched tty to login through X11 and test after getting the black screen on wayland. Here’s the file i have on the system.
One last thing that you can try is install Optimus-manager-qt and in it, change the startup mode to Nvidia. I think you might need to restart your PC after installing it before you can change that setting. So keep in iGPU mode on until you change the startup mode to NVIDIA. Then restart and switch the MUX to discrete.
Also, optimus-manager-qt will conflict with garuda-nvidia-prime-config
I use the same program (and an old build of superGFXctl, you don’t need that) to change graphics processor.
I tried what you suggested but this time after switching to nvidia, on reboot it still remains on integrated also if i switch to nvidia and on reboot set it to discrete graphics from bios I get directly a black screen unlike last time where was a sddm login screen. Below i enlisted the log when i use optimus-manager
optimus-manager --switch nvidia
WARNING : no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.
modinfo: ERROR: Module nvidia not found.
WARNING : the nvidia module does not seem to be available for the current kernel. It is likely the Nvidia driver was not properly installed. GPU switching will probably fail,
continue anyway ? (y/N)
> y
WARNING : there is at least one Wayland session running on this computer. Wayland is not supported by this optimus-manager, so GPU switching may fail.
Continue anyway ? (y/N)
> y
You are about to switch GPUs. This will forcibly close all graphical sessions and all your applications WILL CLOSE.
(you can pass the --no-confirm option to disable this warning)
Continue ? (y/N)
> y
Switching to mode : nvidia
/bin/sh: line 1: i3-msg: command not found
/bin/sh: line 1: openbox: command not found
/bin/sh: line 1: awesome-client: command not found
/bin/sh: line 1: bspc: command not found
/bin/sh: line 1: qtile: command not found
/bin/sh: line 1: herbstclient: command not found