Results 1 to 1 of 1

Thread: Dual-monitor nvidia-intel hybrid black screen

  1. #1
    Join Date
    Jan 2019
    Beans
    1

    Dual-monitor nvidia-intel hybrid black screen

    Background


    I'm running a dual-monitor setup: primary on Nvidia GPU and secondary on Intel integrated (because it's VGA only) and I'm been having screen tearing issues on my primary and secondary monitor. To fix this I found that I can enable
    Code:
    ForceCompositionPipeline=On, ForceFullCompositionPipeline=On
    in my /etc/X11/xorg.conf settings.


    This fixed my screen tearing issues but made my secondary monitor go black with no ability to even cross my mouse pointer over it, ie. not recognized I guess. I fixed this issues by manually adding my secondary monitors PCI BusID to the same xorg.conf file like this:


    Code:
    Section "Device"
        Identifier "intel"
        Driver "i915"
        BusID "PCI:0:2:0"
        Option "AccelMethod" "SNA"
    EndSection
    
    
    
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection

    Problem
    My seconday monitor is again working but my primary monitor connected to my Nvidia GPU is black, however I can still move my mouse pointer over to it and my top panel still launch on it even though I can't see it.


    Full xorg.conf:
    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings# nvidia-settings:  version 415.25
    
    
    
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        Screen         1  "intel"
        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 U2312HM"
        HorizSync       30.0 - 83.0
        VertRefresh     56.0 - 76.0
        Option         "DPMS"
    EndSection
    
    
    
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 970"
    EndSection
    
    
    
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-0"
        Option         "metamodes" "nvidia-auto-select +1280+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    
    
    
    Section "Device"
        Identifier "intel"
        Driver "i915"
        BusID "PCI:0:2:0"
        Option "AccelMethod" "SNA"
    EndSection
    
    
    
    
    Section "Screen"
        Identifier "intel"
        Device "intel"
    EndSection

    xrandr output:
    Code:
    Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 16384 x 16384
    DVI-I-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-1 connected primary 1920x1080+1280+0 (normal left inverted right x axis y axis) 510mm x 287mm
       1920x1080     60.00*+
       1280x1024     75.02    60.02  
       1152x864      75.00  
       1024x768      75.03    60.00  
       800x600       75.00    60.32  
       640x480       75.00    59.94  
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DP-0 disconnected (normal left inverted right x axis y axis)
    DP-1 disconnected (normal left inverted right x axis y axis)
    DVI-D-0 disconnected (normal left inverted right x axis y axis)
    VGA-1-1 connected 1280x1024+0+32 (normal left inverted right x axis y axis) 338mm x 270mm
       1280x1024     60.02*+  75.02  
       1152x864      75.00  
       1024x768      75.03    70.07    60.00  
       832x624       74.55  
       800x600       72.19    75.00    60.32  
       640x480       75.00    72.81    59.94  
       720x400       70.08  
    HDMI-1-1 disconnected (normal left inverted right x axis y axis)
    DP-1-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1-2 disconnected (normal left inverted right x axis y axis)
    DP-1-2 disconnected (normal left inverted right x axis y axis)
      1280x1024 (0x48) 108.000MHz +HSync +VSync
            h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
            v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
      1280x1024 (0x49) 135.000MHz +HSync +VSync
            h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
            v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
      1152x864 (0x4a) 108.000MHz +HSync +VSync
            h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
            v: height  864 start  865 end  868 total  900           clock  75.00Hz
      1024x768 (0x4b) 78.750MHz +HSync +VSync
            h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
            v: height  768 start  769 end  772 total  800           clock  75.03Hz
      1024x768 (0x4d) 65.000MHz -HSync -VSync
            h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
            v: height  768 start  771 end  777 total  806           clock  60.00Hz
      800x600 (0x50) 49.500MHz +HSync +VSync
            h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
            v: height  600 start  601 end  604 total  625           clock  75.00Hz
      800x600 (0x51) 40.000MHz +HSync +VSync
            h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
            v: height  600 start  601 end  605 total  628           clock  60.32Hz
      640x480 (0x52) 31.500MHz -HSync -VSync
            h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
            v: height  480 start  481 end  484 total  500           clock  75.00Hz
      640x480 (0x54) 25.175MHz -HSync -VSync
            h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
            v: height  480 start  490 end  492 total  525           clock  59.94Hz
    xorg.log: https://paste.ubuntu.com/p/QpZwRB4662/
    Last edited by vrosen2; January 18th, 2019 at 05:49 PM. Reason: added xorg.conf log

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •