Second monitor stays blank

Hi new install of Manjaro when connecting my second screen and selecting dual display the second monitor just stays blank. I tried installing and using Optimus manager and same results.

More system info below

Hardware Dell Laptop
AMD Ryzen 5 5600H with Radeon Graphics
and Nvidia RTX 3050

mhwd -li                                                                                                                                                                                                                 INT ✘ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

xrandr                                                                                                                                                                                                                       ✔ 
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080    120.02*+  59.98  
   1680x1050    120.02  
   1280x1024    120.02  
   1440x900     120.02  
   1280x800     120.02  
   1280x720     120.02  
   1024x768     120.02  
   800x600      120.02  
   640x480      120.02  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)

xrandr --listproviders                                                                                                                                                                                                       ✔ 
Providers: number : 1
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:AMD Radeon Graphics @ pci:0000:05:00.0

what’s the output of

env | grep XDG_SESSION_TYPE

and

glxinfo | grep server

if glxinfo isn’t avaiable you’ll need to install “mesa-utils” first

Hi

output of these are

env | grep XDG_SESSION_TYPE                                                                                                                  ✔ 
XDG_SESSION_TYPE=x11

and

glxinfo | grep server                                                                                                                        ✔ 
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

well you said that you already installed optimus. please use it again, switch to nvidia and post the output of

glxinfo | grep server

it should display that nvidia is used. that’s the first step.

also post the output of

inxi --admin --verbosity=7 --filter --width

that’s the basic information we’ll need