Manjaro 21.1.0 KDE nvidia gpu with dual monitor setup second monitor black screen

any ideas to solve this dual monitor issue? should I just buy an AMD GPU?

of or off or on ?
if is off then it will be black.

You are still missing a couple of entries in comparison with the one i provided, did you tried it yet?

Have you tried to disable DPMS?
xset -dpms
to reenable it
xset +dpms

Have you tried a different cable?

Another thing. That black is as if the monitor is off, or if you move a window there you can see it? If you can see it, then just change the background …

Sorry it turns ON and stays with a black screen.

xset -dpms and then xset +dpms did not help.

Yes, tried different cables, same thing unfortunately.

I’ve added the missing parts to the config but its still the same.


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 470.63.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL S2721DGF"
    HorizSync       250.0 - 250.0
    VertRefresh     48.0 - 165.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1660"
    Option         "ConnectToAcpid"    "Off"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-2: 2560x1440_165 +2560+0 {ForceCompositionPipeline=On}, DP-0: 2560x1440_165 +0+0 {ForceCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

As if the monitor is on and I can move a window or mouse pointer to it but cannot see as its black. So its not like its just a black background… I cannot see the desktop interface at all.

It works on another OS? And you switch the connectors between monitors and always is the same monitor or the one connected to a certain port, also you tried to power off and on the monitor from the in built power button?
If that is the case, and always the same result, then i’m left out of ideas.

Tried with PopOS (nvidia version) but did not work. Should I try ubuntu too?
Switched ports on the gpu and on the monitor but still the same results.
I just tried kernel version 5.4, 5.10 with nvidia-driver reinstall and its still not working.

Can you try two HDMI cables (at this point it is not relevant to have 165Hz, find what works for now)?

1 Like

Yeah, totally agree with this, and OP could try to remove the line

in the nvidia.config and instead use
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"

I turned on ForceCompositionPipeline on all two monitors but no luck.

I also tried second monitor via HDMI and its very strange (haven’t seen such thing during my career) its displaying the interface but with super low brightness and even when I somehow on the monitor’s UI increase it its still soo dim that I cannot really see anything.

So with HDMI we can say its kind of working but still unusable.

At this point I am trying the second (on the left) monitor and just that without any extra monitor connected.
I really hope this is not the monitor saying goodbye and me having a hardware issue.

OK the second monitor (just alone) is fine.
Not hardware issue. With only this monitor connected it works.

Freaking great news.
I connected the monitors in a different order (which I tried 2,3 times before so no idea why it worked now):

First connected the left secondary monitor to DP on the GPU and booted the OS.
Worked fine.
Then connected the main display via DP to the GPU and it just worked.
All two monitors are working.

1 Like

Rebooted a few times and updated to 5.13 kernel and it still works.
So much screen tearing is going on so I have to figure that out still.

Thank you for everyone involved.
This is such a great community :slight_smile:

Check this and the comment bellow it with the solution mark

After I changed the refresh rate to 165Hz the tearing is gone and nvidia-settings says G-Sync is enabled on both displays.

Do you think I still need to make this configuration of yours to have no issues with it in apps/games in the future?

No need to go my route. Is better to keep the most defaults, and move from there on if something is failing, always in small steps and few additions.
If now is all working for you, keep it that way.

Now i’m on a quest to go actually backwards, from custom to less additions.

Okay, got it keeping it this way then.
Good for you :slight_smile:

Marked this as solution because at the end it was when I switched cables the third time that it started working.
but I would also like to thank @omano for helping out :slight_smile:

Glad it is fixed. Sometimes it is weird, but you have to check double check triple check and repeat things starting from scratch to troubleshoot. You’ll probably never know why it wasn’t working :smiley:

Probably not :smiley: lessons learned. :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.