Monitor detected, but black screen

Hi, I’m new in manjaro, so, maybe, it’s not big deal. I use external monitor. If I boot to windows, monitor is working without any isshue. But when I boot to manjaro, It will connect, but display nothing. I can take window and drag it to second display. I can even stream my second screen thrue discord…so, stream is generated, but not displayed on my second monitor.
I have ryzen 7 400 and nvidia gtx 1660ti

here is my output from 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 194mm
1920x1080 144.00*+ 60.00
1680x1050 144.00
1280x1024 144.00
1440x900 144.00
1280x800 144.00
1280x720 144.00
1024x768 144.00
800x600 144.00
640x480 144.00
DP-1-0 disconnected
DP-1-1 disconnected
HDMI-1-0 connected 1920x1080+0+0 598mm x 336mm
2560x1440 144.00 + 120.00 99.95 59.95
1920x1080 143.98* 120.00 60.00 59.94 50.00
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94
DP-1-2 disconnected
DP-1-3 disconnected

and here is output from mhwd --listinstalled

   > Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-amd-nvidia-450xx-prime            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI

Warning: No installed USB configs!

If you know, what it can be, I’ll be glad for any help.

Which GPU is the Xorg server running on? (If nvidia-smi shows Xorg, then it’s the nvidia, otherwise the amd).

Note, that

The NVIDIA driver currently cannot be used as an output sink when the output source driver is xf86-video-amdgpu.


This means that the Xorg server must be running on the nvidia gpu if you want to use external displays.

Follow this guide but leave out the first step, do the following instead:

pamac build optimus-manager-git

and also omit the seventh step. After completing the steps, run optimus-manager --switch nvidia and hopefully it’ll work.

1 Like