Kamble, Nitin A | 6 Feb 19:43 2013
Picon

ZaphodHeads with intel X driver

On a Intel core i3 (ivybridge) system (NUC) with 2 HDMI ports, I am trying to get two independent screens by following this method.

http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors#Single_graphics_card.2C_Multiple_X_screens_with_ZaphodHeads

 

And X is failing to start complaining about no usable screens.

 

I also came across this commit.

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=265d94e0aa46b30a3198893544dd3619cc9145de

 

So Looks like the config with ZaphodHeads should work. Is there anything wrong in this config? How can I get it to work?

 

Thanks,

Nitin

 

_______________________________________________
Intel-gfx mailing list
Intel-gfx <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
chris@chris-wilson.co.uk | 6 Feb 23:11 2013
Picon

Re: ZaphodHeads with intel X driver

On Wed, Feb 06, 2013 at 06:43:53PM +0000, Kamble, Nitin A wrote:
> 
> On a Intel core i3 (ivybridge) system (NUC) with 2 HDMI ports, I am trying to
> get two independent screens by following this method.
> http://en.gentoo-wiki.com/wiki/X.Org/
> Dual_Monitors#Single_graphics_card.2C_Multiple_X_screens_with_ZaphodHeads
>  
> And X is failing to start complaining about no usable screens.
>  
> I also came across this commit.
> http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/
> ?id=265d94e0aa46b30a3198893544dd3619cc9145de
>  
> So Looks like the config with ZaphodHeads should work. Is there anything wrong
> in this config? How can I get it to work?

That's quite difficult to tell since you did not attach the xorg.conf
you experimented with, or the resultant Xorg.log.

Quite probably you simply missed the Option "AccelMethod" "SNA", but
since you got an error message about no screens detected, the error
is actually likely to be something else.
-Chris

--

-- 
Chris Wilson, Intel Open Source Technology Centre
Kamble, Nitin A | 7 Feb 00:00 2013
Picon

Re: ZaphodHeads with intel X driver


> -----Original Message-----
> From: chris <at> chris-wilson.co.uk [mailto:chris <at> chris-wilson.co.uk]
> Sent: Wednesday, February 06, 2013 2:12 PM
> To: Kamble, Nitin A
> Cc: intel-gfx <at> lists.freedesktop.org
> Subject: Re: ZaphodHeads with intel X driver
> 
> On Wed, Feb 06, 2013 at 06:43:53PM +0000, Kamble, Nitin A wrote:
> >
> > On a Intel core i3 (ivybridge) system (NUC) with 2 HDMI ports, I am
> > trying to get two independent screens by following this method.
> > http://en.gentoo-wiki.com/wiki/X.Org/
> >
> Dual_Monitors#Single_graphics_card.2C_Multiple_X_screens_with_Zaphod
> He
> > ads
> >
> > And X is failing to start complaining about no usable screens.
> >
> > I also came across this commit.
> > http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/
> > ?id=265d94e0aa46b30a3198893544dd3619cc9145de
> >
> > So Looks like the config with ZaphodHeads should work. Is there
> > anything wrong in this config? How can I get it to work?
> 
> That's quite difficult to tell since you did not attach the xorg.conf you
> experimented with, or the resultant Xorg.log.
> 
> Quite probably you simply missed the Option "AccelMethod" "SNA", but
> since you got an error message about no screens detected, the error is
> actually likely to be something else.
> -Chris
> 
> --
> Chris Wilson, Intel Open Source Technology Centre

Thanks Chris for the reply. Attached are all the relevant log files.

Nitin
Attachment (lspci): application/octet-stream, 1820 bytes
Attachment (sys): application/octet-stream, 4227 bytes
Attachment (Xorg.0.log): application/octet-stream, 10 KiB
Attachment (xorg.conf): application/octet-stream, 1565 bytes
_______________________________________________
Intel-gfx mailing list
Intel-gfx <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
chris@chris-wilson.co.uk | 7 Feb 00:13 2013
Picon

Re: ZaphodHeads with intel X driver

On Wed, Feb 06, 2013 at 11:00:49PM +0000, Kamble, Nitin A wrote:
> Thanks Chris for the reply. Attached are all the relevant log files.

Both screen stanzas are pointing to the same device.
It should be:
  Screen0 -> Device0,
  Screen1 -> Device1
-Chris

--

-- 
Chris Wilson, Intel Open Source Technology Centre
Kamble, Nitin A | 7 Feb 00:19 2013
Picon

Re: ZaphodHeads with intel X driver


> -----Original Message-----
> From: chris <at> chris-wilson.co.uk [mailto:chris <at> chris-wilson.co.uk]
> Sent: Wednesday, February 06, 2013 3:14 PM
> To: Kamble, Nitin A
> Cc: intel-gfx <at> lists.freedesktop.org
> Subject: Re: ZaphodHeads with intel X driver
> 
> On Wed, Feb 06, 2013 at 11:00:49PM +0000, Kamble, Nitin A wrote:
> > Thanks Chris for the reply. Attached are all the relevant log files.
> 
> Both screen stanzas are pointing to the same device.
> It should be:
>   Screen0 -> Device0,
>   Screen1 -> Device1
> -Chris
> 

Thanks Chris for your response. I was trying that to see if it can help. The config you suggested also gives
the same X log.

BTW I have attached the kernel config if you need to look at it.

Thanks,
Nitin

Attachment (kernel.config): application/octet-stream, 113 KiB
_______________________________________________
Intel-gfx mailing list
Intel-gfx <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Kamble, Nitin A | 7 Feb 00:43 2013
Picon

Re: ZaphodHeads with intel X driver

Chris,

X is failing even with this reduced 1 screen config.

Section "Device"
    Identifier  "Intel0"
    Driver      "intel"
    BusID       "PCI:00:02:0"
    Option      "ZaphodHeads" "HDMI-A-1"
    Option      "AccelMethod"  "SNA"
    Screen      0
EndSection

Section "Monitor"
    Identifier    "HDMI1"
    Option        "DPMS" "true"
    Option        "PrefferedMode" "1920x1080"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Intel0"
    Monitor       "HDMI1"
    DefaultDepth  24
EndSection

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen0" 0 0
EndSection

Section "ServerFlags"
    Option        "DontZap"  "0"
    Option        "AutoAddDevices"  "False"
EndSection

The x log is:

[3054115.081] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
        Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
        Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
        Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
        Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
        Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
        Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
        Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
        Haswell Server (GT2+), Haswell SDV Desktop (GT1),
        Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
        Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
        Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
        Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
        Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
        Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
        Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
        Haswell ULT Server (GT1), Haswell ULT Server (GT2),
        Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
        Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
        Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
        Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
        Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
        ValleyView PO board
[3054115.081] (--) using VT number 3

[3054115.088] (EE) Screen 0 deleted because of no matching config section.
[3054115.088] (II) UnloadModule: "intel"
[3054115.088] (II) UnloadModule: "intel"
[3054115.088] (EE) Screen(s) found, but none have a usable configuration.
[3054115.088]
Fatal server error:
[3054115.088] no screens found
[3054115.088] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[3054115.088] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[3054115.088] (EE)
[3054115.111] Server terminated with error (1). Closing log file.

Let me know if you need any more information.
Thanks,
Nitin
chris@chris-wilson.co.uk | 7 Feb 00:54 2013
Picon

Re: ZaphodHeads with intel X driver

On Wed, Feb 06, 2013 at 11:43:51PM +0000, Kamble, Nitin A wrote:
> Chris,
> 
> X is failing even with this reduced 1 screen config.
> 
> Section "Device"
>     Identifier  "Intel0"
>     Driver      "intel"
>     BusID       "PCI:00:02:0"
>     Option      "ZaphodHeads" "HDMI-A-1"

The ZaphodHead connector name should match the name given by xrandr,
which would appear to be HDMI1. Getting closer...
-Chris

--

-- 
Chris Wilson, Intel Open Source Technology Centre
Kamble, Nitin A | 7 Feb 01:06 2013
Picon

Re: ZaphodHeads with intel X driver

> 
> The ZaphodHead connector name should match the name given by xrandr,
> which would appear to be HDMI1. Getting closer...
> -Chris
> 
> --
> Chris Wilson, Intel Open Source Technology Centre

Thanks Chris, Yes, it got me closer. The X is not failing now as seen in the attached log with the attached
config. 
But now the issue is I am seeing the screen getting duplicated on the 2 monitors. The following config should
create 2 separate screens.

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Screen0" 0 0
    Screen         "Screen1" LeftOf "Screen0"
EndSection

Thanks,
Nitin

Attachment (Xorg.0.log): application/octet-stream, 41 KiB
Attachment (xorg.conf): application/octet-stream, 1557 bytes
_______________________________________________
Intel-gfx mailing list
Intel-gfx <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Kamble, Nitin A | 7 Feb 01:28 2013
Picon

Re: ZaphodHeads with intel X driver

Sorry Chris, I spoke too soon.
  The working config was single screen/monitor config, as attached here. Commenting of SNA line made it work.

The dual screen configuration is still failing as before. And if I comment out the SNA lines I get this in the X log.

[3056612.622] Requested Entity already in use!
[3056612.622] (EE) Screen 1 deleted because of no matching config section.
[3056612.622] (EE)
[3056612.622] (EE) Backtrace:
[3056612.623] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x5726f6]
[3056612.623] (EE) 1: /usr/bin/Xorg (0x400000+0x1761c9) [0x5761c9]
[3056612.623] (EE) 2: /lib/libpthread.so.0 (0x7f893e206000+0xfb20) [0x7f893e215b20]
[3056612.623] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f893bcf4000+0xed20) [0x7f893bd02d20]
[3056612.623] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f893bcf4000+0xff85) [0x7f893bd03f85]
[3056612.623] (EE) 5: /usr/bin/Xorg (xf86DeleteScreen+0x84) [0x47dd04]
[3056612.623] (EE) 6: /usr/bin/Xorg (xf86BusConfig+0x216) [0x469336]
[3056612.623] (EE) 7: /usr/bin/Xorg (InitOutput+0x956) [0x476e96]
[3056612.623] (EE) 8: /usr/bin/Xorg (0x400000+0x25b26) [0x425b26]
[3056612.623] (EE) 9: /lib/libc.so.6 (__libc_start_main+0xf5) [0x7f893d09a755]
[3056612.623] (EE) 10: /usr/bin/Xorg (0x400000+0x26001) [0x426001]
[3056612.624] (EE)
[3056612.624] (EE) Segmentation fault at address 0x0
[3056612.624]
Fatal server error:
[3056612.624] Caught signal 11 (Segmentation fault). Server aborting
[3056612.624]
[3056612.624] (EE)

Thanks,
Nitin
> -----Original Message-----
> From: Kamble, Nitin A
> Sent: Wednesday, February 06, 2013 4:07 PM
> To: 'chris <at> chris-wilson.co.uk'
> Cc: intel-gfx <at> lists.freedesktop.org
> Subject: RE: ZaphodHeads with intel X driver
> 
> >
> > The ZaphodHead connector name should match the name given by xrandr,
> > which would appear to be HDMI1. Getting closer...
> > -Chris
> >
> > --
> > Chris Wilson, Intel Open Source Technology Centre
> 
> Thanks Chris, Yes, it got me closer. The X is not failing now as seen in the
> attached log with the attached config.
> But now the issue is I am seeing the screen getting duplicated on the 2
> monitors. The following config should create 2 separate screens.
> 
> Section "ServerLayout"
>     Identifier     "Default Layout"
>     Screen         "Screen0" 0 0
>     Screen         "Screen1" LeftOf "Screen0"
> EndSection
> 
> 
> Thanks,
> Nitin

Attachment (xorg.conf.working): application/octet-stream, 896 bytes
_______________________________________________
Intel-gfx mailing list
Intel-gfx <at> lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Gmane