My assumptions:
This also works with manjaro
First you need to install gdm-prime which is a patched version of gdm. 
yay -S gdm-prime 
Next open the gdm configuration file
sudo nano /etc/gdm/custom.conf
and uncomment the line
WaylandEnable=false
Note: install yay using sudo pacman -S yay
Next install optimus-manager 
yay -s optimus-manager
Remove everything except the file called
10-optimus-manager.conf from /etc/X11/xorg.conf.d 
(keep the keyboard files, they don’t interfere)
If you don’t have this file. Here is the one I am using to HP Omen Ryzen AMD. Download
Now lets copy the configuration file
sudo cp /usr/share/optimus-manager.conf /etc/optimus-manager/optimus-manager.conf
Next open the configuration file
sudo nano /etc/optimus-manager/optimus-manager.conf
Search and find startup_mode and check whether it is startup_mode=nvidia (if not, make it so)
Now lets enable and start the optimus-manager
sudo systemctl enable optimus-manager.servicesudo systemctl start optimus-manager.service
Now you may reboot the system and see whether both the Monitor and Laptop screen works. If not, comment. It is working for me so we both can figure out how to make it work. 
Njoy smile 
Plate Base FALCAM F38 Ulanzi Uka PGYTECH SNAPLOCK PeakDesign Falcam F38 ⬤ ✕ ✕ ✕…
I really thought I would keep up with the blog in 2024. But, it didn't…
Oh boy, there were a lot of things that happened this year. Like last year,…
This has become a abandoned blog. I will try to fix things this year. More…
Let me start off by saying, i have more blog posts this year than the…
This happened because your windows has run out of space. If you get this error…
This website uses cookies.