Multiple monitor setup with different gpus not working correctly

Hello there!
I’m kinda new to linux systems as a whole, but I’ve been able to solve problems on my own before, this time is an exception…
I’ve installed openSUSE on my main machine and immediatly encountered a major problem: my dual-monitor setup isn’t working! The main point is, main monitor is receiving output from an nvidia gpu (1060) and my second monitor is receiving output from an integrated processor gpu (HD Graphics 630).
I’ve been tweaking for a whole day with xorg, but all my effort went into nothing, so I am here to ask for help! Here’s my last xorg.config:

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

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Microstep Optix MAG24C"
    HorizSync       162.0 - 162.0
    VertRefresh     48.0 - 144.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Philips"
    Option         "Monitor-VGA" "VGA monitor"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1060 6GB"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "modesetting"
    VendorName     "Intel Corporation"
    BoardName      "HD Graphics 630"
    BusID          "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "nvidiaXineramaInfoOrder" "DP-0"
    Option         "Stereo" "0"
    Option         "metamodes" "DP-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
EndSection

So, to note:

  • I’ve successfully installed nvidia drivers, and my main monitor is working fine and smoothly;
  • before I’ve installed nvidia drivers, the second monitor worked fine, and in fact, it was the only one which showed something;
  • I’ve tried different drivers for the Intel processor gpu, including: intel, i915, modesetting, fbdev and vesa.

So far the best result that I got was that when I moved the cursor to the second monitor, it showed black cross (screen still black).

So this is where I’m now… I really want to know, is it possible to have a working setup like this (which worked fine on windows), or am I just bashing my head against a wall?
Thanks in advance!

Hi and welcome.
Why you need such a configuration? You can use 2-4 outputs from Nvidia card and disable iGPU.

Unfortunately, my second monitor only has VGA input… It’s really old

What type of connections for displays does The Nvidia GeForce GTX 1060 you have, have?

Display Port

Ok, a cable of this sort will help. https://www.amazon.com/DisplayPort-Adapter-Benfei-Gold-Plated-Compatible/dp/B01GPMRYNM/ref=sr_1_2

-Greatest Hopes!

https://wiki.archlinux.org/title/Multihead

BTW, using VGA output from motherboard is a bad idea - low quality is expected. Try to use VGA output with ATI/AMD card.

All VGA outputs are similarly poorer than digital outputs. Whether from iGPU or discrete GPU doesn’t matter any more than when comparing digital outputs from iGPU and discrete GPU. Output from a newer iGPU may be substantially better than output from an older discrete GPU whether analog or digital. I stopped buying motherboards or computers that lack iGPU support 12+ years ago, because iGPU performance had become totally adequate to non-gaming/business/internet use, no discrete needed, and at considerably less overall cost.

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