S
S
sergeykons2016-08-24 19:58:04
linux
sergeykons, 2016-08-24 19:58:04

How to get dual monitors working in Arch Linux?

Good afternoon!
There was a problem with the Xorg configuration
The task is to make two monitors work, one from a discrete video card, and the second from an external
one Now there is a signal on only one monitor and only one is also visible in the display manager
System: Arch

$ lspci -k | grep -A 2 -e VGA
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
        Subsystem: ASUSTeK Computer Inc. Device 836d
        Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600] (rev a2)
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia

xorg.conf:
Section "ServerLayout"
  Identifier     "X.org Configured"
  Screen         0 "Screen0" 0 0
  Screen         1 "Screen1" RightOf "Screen0"
  Option         "Xinerama" "0"
  InputDevice    "Mouse0" "CorePointer"
  InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath   "/usr/lib/xorg/modules"
  FontPath     "/usr/share/fonts/misc/"
  FontPath     "/usr/share/fonts/TTF/"
  FontPath     "/usr/share/fonts/OTF/"
  FontPath     "/usr/share/fonts/Type1/"
  FontPath     "/usr/share/fonts/100dpi/"
  FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
  Load  "glx"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option	    "Protocol" "auto"
  Option	    "Device" "/dev/input/mice"
  Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  Identifier   "Monitor1"
  VendorName   "Monitor Vendor"
  ModelName    "Monitor Model"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "PHILIPS"
  ModelName    "Unknown"
EndSection

Section "Screen"
  Identifier "Screen1"
  Device     "Card1"
  Monitor    "Monitor1"
  Option     "metamodes" "1280x1024 1024x768"
  DefaultDepth 24
 
    SubSection "Display"
        Depth           8
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
 
    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
 
    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
  Identifier "Screen0"
  Device     "Card0"
  Monitor    "Monitor0"
  Option     "NoLogo" "true"
  Option     "metamodes" "1280x1024 1024x768"
  DefaultDepth 24
 
    SubSection "Display"
        Depth           8
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
 
    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
 
    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes          "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Device"
    Identifier  "Card1"
  Driver      "nvidia"
  BusID       "PCI:1:0:0"
  Screen      1 #
EndSection

Section "Device"
  Identifier  "Card0"
  Driver      "vesa"
  BusID       "PCI:0:2:0"
  Screen      0 #
EndSection

Section "Extensions"
   Option "Composite" "Enable"
EndSection

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kale, 2016-08-25
@kale

Try removing the manual xorg.conf. Let X be automatically configured. Then add the required parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question