Enable second display HP omen ryzen with nvidia on Arch linux

My assumptions:

  • You already have a screen or tty to perform the steps
  • You installed arch with nvidia proprietary drivers
  • You are going to use Gnome
Lets get started

First you need to install gdm-prime which is a patched version of gdm.

yay -S gdm-prime

Next open the gdm configuration file and uncomment the line WaylandEnable=false

sudo nano /etc/gdm/custom.conf

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

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.service
sudo 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

Let's discuss now...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: