Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread Kamble, Nitin A
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 (0x40+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 (0x40+0x25b26) [0x425b26]
[3056612.623] (EE) 9: /lib/libc.so.6 (__libc_start_main+0xf5) [0x7f893d09a755]
[3056612.623] (EE) 10: /usr/bin/Xorg (0x40+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: 'ch...@chris-wilson.co.uk'
> Cc: intel-gfx@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



xorg.conf.working
Description: xorg.conf.working
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread Kamble, Nitin A
> 
> 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



Xorg.0.log
Description: Xorg.0.log


xorg.conf
Description: xorg.conf
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread ch...@chris-wilson.co.uk
On Wed, Feb 06, 2013 at 11:43:51PM +, 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
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread Kamble, Nitin A
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

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread ch...@chris-wilson.co.uk
On Wed, Feb 06, 2013 at 11:00:49PM +, 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
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread Kamble, Nitin A


> -Original Message-
> From: ch...@chris-wilson.co.uk [mailto:ch...@chris-wilson.co.uk]
> Sent: Wednesday, February 06, 2013 2:12 PM
> To: Kamble, Nitin A
> Cc: intel-gfx@lists.freedesktop.org
> Subject: Re: ZaphodHeads with intel X driver
> 
> On Wed, Feb 06, 2013 at 06:43:53PM +, 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


lspci
Description: lspci


sys
Description: sys


Xorg.0.log
Description: Xorg.0.log


xorg.conf
Description: xorg.conf
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread ch...@chris-wilson.co.uk
On Wed, Feb 06, 2013 at 06:43:53PM +, 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
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] ZaphodHeads with intel X driver

2013-02-06 Thread Kamble, Nitin A
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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx