• Comments
  • Mutlidisplay setup with Xinerama

    Posted on

    I'm trying to get 4 displays working with one workstation but I'm facing issues to properly setup one screen across all displays. One of the displays is always panning with the mouse being moved to second screen (see picture). Is there some option in xorg.conf to prevent such behavior? Current setup works with xinerama enabled with either onboard intel + pci radeon or onboard intel + pci nvidia (nouveau driver) and in both cases the screen is panning (so it is not some issue with gfx driver).

    /etc/X11/xorg.conf

    Section "Monitor"
        Identifier   "nvmonitor1"
        Option "PreferredMode" "1280x1024_60.00"
        #Option "Position"  "0 1024"
        # Option    "RightOf" "intelmonitor2"
    EndSection
    
    Section "Monitor"
        Identifier   "nvmonitor2"
        Option "PreferredMode" "1280x1024_60.00"
        #Option "Position"  "1280 1024"
        # Option "RightOf" "nvmonitor1"
    EndSection
    
    Section "Monitor"
        Identifier  "intelmonitor1"
        Option "PreferredMode" "1280x1024_60.00"
        #Option "Position" "0 0"
        #Option "LeftOf" "nvmonitor2"
    EndSection
    
    Section "Monitor"
        Identifier   "intelmonitor2"
        Option "PreferredMode" "1280x1024_60.00"
        #Option "Position" "1280 0"
        #Option "RightOf" "intelmonitor1"
    EndSection
    
    
    
    Section "Device"
        Identifier  "nvidia1"
        Driver  "nouveau"
        BusID   "PCI:1:10:0"
        Option  "Monitor-VGA-2" "nvmonitor1"
        Option  "Monitor-VGA-3" "nvmonitor2"
        Option  "ZaphodHeads"   "VGA-2,VGA-3"
    EndSection
    
    Section "Device"
        Identifier  "intelonboard"
        Driver  "intel"
        BusID   "PCI:0:2:0"
        Option  "Monitor-VGA1"  "intelmonitor1"
        Option  "Monitor-HDMI2" "intelmonitor2"
        Option  "ZaphodHeads"   "VGA1,HDMI2"
    EndSection
    
    
    
    Section "Screen"
        Identifier "nv1screen"
        Monitor "nvmonitor1"
        DefaultDepth 24
          SubSection "Display"
           Depth      24
          #Virtual 2560 2048
          EndSubSection
        Device "nvidia1"
    EndSection
    
    Section "Screen"
        Identifier "nv1screen2"
        Monitor "nvmonitor2"
        DefaultDepth 24
          SubSection "Display"
           Depth      24
          #Virtual 2560 2048
          EndSubSection
        Device "nvidia1"
    EndSection
    
    Section "Screen"
        Identifier "intelscreen"
        Monitor "intelmonitor1"
        DefaultDepth 24
          SubSection "Display"
           Depth     24
          #Virtual 2560 2048
          EndSubSection
        Device "intelonboard"
    EndSection
    
    Section "Screen"
        Identifier "intelscreen2"
        Monitor "intelmonitor2"
        DefaultDepth 24
          SubSection "Display"
           Depth     16
          #Virtual 2560 2048
          EndSubSection
        Device "intelonboard"
    EndSection
    
    
    # Server layout (4x1 displays)
    Section "ServerLayout"
        Identifier "layout1"
        Screen  0   "intelscreen"   0 0
        Screen  1   "intelscreen2"  RightOf "intelscreen"
        Screen  2   "nv1screen"     RightOf "intelscreen"
        Screen  3   "nv1screen2"    RightOf "nv1screen2"
        Option  "Xinerama"  "On"
        Option  "Clone"     "Off"
    EndSection
    

    by

    points

    Responses

    Red Hat
    © 2025 Red Hat, Inc.