Solved how to create 2 separate screens with intel card?

before using intel I use nvidia, and with
Code:
nvidia-settings
create the too separate screens
but with intel there is no luck...

my xrandr output:

Code:
Screen 0: minimum 320 x 200, current 2726 x 768, maximum 16384 x 16384
HDMI-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-2 connected 1360x768+0+0 (normal left inverted right x axis y axis) 406mm x 229mm
   1360x768      60.02*+
   1024x768      75.03    60.00 
   832x624       74.55 
   800x600       75.00    60.32 
   640x480       75.00    59.94 
   720x400       70.08 
DP-1 connected 1366x768+1360+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1366x768      59.79*+
   1280x720      60.00 
   1024x768      75.03    60.00 
   832x624       74.55 
   800x600       75.00    60.32    56.25 
   640x480       75.00    59.94 
   720x400       70.08 
HDMI-3 disconnected (normal left inverted right x axis y axis)

and my xorg.conf :

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

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/share/fonts/misc/"
    FontPath     "/usr/local/share/fonts/TTF/"
    FontPath     "/usr/local/share/fonts/OTF/"
    FontPath     "/usr/local/share/fonts/Type1/"
    FontPath     "/usr/local/share/fonts/100dpi/"
    FontPath     "/usr/local/share/fonts/75dpi/"
    FontPath     "catalogue:/usr/local/etc/X11/fontpath.d"
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/sysmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor2"
    ModelName    "Monitor Model2"
EndSection

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

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "kmsdev"                 # <str>
        #Option     "ShadowFB"               # [<bool>]
 #       Option     "AccelMethod"   "sna"         # <str>
        #Option     "PageFlip"               # [<bool>]
#       Option     "ZaphodHeads" "HDMI-2"           # <str>
        #Option     "DoubleShadow"           # [<bool>]
        #Option     "Atomic"                 # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
        #Option     "UseGammaLUT"            # [<bool>]
        #Option     "AsyncFlipSecondaries"     # [<bool>]
    Identifier  "Card0"
    Driver      "modesetting"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "kmsdev"                 # <str>
        #Option     "ShadowFB"               # [<bool>]
   #     Option     "AccelMethod"     "sna"       # <str>
        #Option     "PageFlip"               # [<bool>]
  #      Option     "ZaphodHeads"  "DP-1"          # <str>
        #Option     "DoubleShadow"           # [<bool>]
        #Option     "Atomic"                 # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
        #Option     "UseGammaLUT"            # [<bool>]
        #Option     "AsyncFlipSecondaries"     # [<bool>]
    Identifier  "Card1"
    Driver      "modesetting"
    BusID       "PCI:0:2:0"
EndSection




Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

played with the "ZaphodHeads" option but noting change, only screen0 is created
 
Anyone? I'am burning my last cards here
...since I'm using 4 monitors as one screen but you want two screens on two monitors, my help I try to give here will be of limited use for you, only.

I've neither defined Xinerama nor Zaphodheads nowhere, nor ever used nvidia-settings. Just a xrandr line in my ~/.xinitrc does the job for me.
To me it seems Xinerama, if it's used anyway, is for having one shared screen over multiple monitors. But you want two screens.
Also
Screen 1 "Screen1" RightOf "Screen0"
confuses me a bit; since independent screens are not in a relation to each other; monitors within one screen, yes, but as I said, that's done within my .xinitrc, not within /usr/local/etc/X11/xorg.conf.d/, and you want to have two screens.
Just for being crystal:
Do we talk the same things when saying 'monitor', 'display', and 'screen'?

Maybe those sites can deliver more help:
xorg.conf on x.org
Multihead on archlinux wiki
 
...since I'm using 4 monitors as one screen but you want two screens on two monitors, my help I try to give here will be of limited use for you, only.

I've neither defined Xinerama nor Zaphodheads nowhere, nor ever used nvidia-settings. Just a xrandr line in my ~/.xinitrc does the job for me.
To me it seems Xinerama, if it's used anyway, is for having one shared screen over multiple monitors. But you want two screens.
Also

confuses me a bit; since independent screens are not in a relation to each other; monitors within one screen, yes, but as I said, that's done within my .xinitrc, not within /usr/local/etc/X11/xorg.conf.d/, and you want to have two screens.
Just for being crystal:
Do we talk the same things when saying 'monitor', 'display', and 'screen'?

Maybe those sites can deliver more help:
xorg.conf on x.org
Multihead on archlinux wiki

maybe I dont explain well my idea

with nvidia, I can create 2 screens (2 physical monitors)
Screen 0: and Screen 1:
with this, I can run 2 separate instances of VM , in this case fvwm3 , one running in each screen
I dont see this like a crazy configuration,is very simple
but again, only works with nvidia, and helped with nvidia-settings

Intel is forzed to run in "extended monitor" way, that I hate it
when there is only Screen 0:

Code:
Screen 1 "Screen1" RightOf "Screen0"

for my experience, this works, if I have 2 screens , can placement in left of right of the other
(with xrandr too)
 
Update..I got it

based in this post

How to configure X for multi-head with two separate screens?

of many posts..first I got a twin view, to screens separate but the same "content"
and then, what I want :

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

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/share/fonts/misc/"
    FontPath     "/usr/local/share/fonts/TTF/"
    FontPath     "/usr/local/share/fonts/OTF/"
    FontPath     "/usr/local/share/fonts/Type1/"
    FontPath     "/usr/local/share/fonts/100dpi/"
    FontPath     "/usr/local/share/fonts/75dpi/"
    FontPath     "catalogue:/usr/local/etc/X11/fontpath.d"
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/sysmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
        Option "DPMS" "true"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
        Option "DPMS" "true"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "kmsdev"                 # <str>
        #Option     "ShadowFB"               # [<bool>]
         Option     "AccelMethod"   "sna"         # <str>
        #Option     "PageFlip"               # [<bool>]
        Option     "ZaphodHeads" "DP-1"           # <str>
        #Option     "DoubleShadow"           # [<bool>]
        #Option     "Atomic"                 # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
        #Option     "UseGammaLUT"            # [<bool>]
        #Option     "AsyncFlipSecondaries"     # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
        Screen 0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "kmsdev"                 # <str>
        #Option     "ShadowFB"               # [<bool>]
        Option     "AccelMethod"     "sna"       # <str>
        #Option     "PageFlip"               # [<bool>]
        Option     "ZaphodHeads"  "HDMI-2"          # <str>
     #Option     "DoubleShadow"           # [<bool>]
        #Option     "Atomic"                 # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
        #Option     "UseGammaLUT"            # [<bool>]
        #Option     "AsyncFlipSecondaries"     # [<bool>]
    Identifier  "Card1"
    Driver      "intel"
    BusID       "PCI:0:2:0"
    Screen 1
EndSection




Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"

    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

was a little complicated but i got it :)
 
Back
Top