<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [i965 Bisected]X fails to start with headless"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59190">59190</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>keithp@keithp.com, xunx.fang@intel.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i965 Bisected]X fails to start with headless
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=72769" name="attach_72769" title="Xorg.0.log">attachment 72769</a> <a href="attachment.cgi?id=72769&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

System Environment:
--------------------------
Arch:           i386
Platform:       Ivybridge
Libdrm:       
(master)libdrm-2.4.40-6-g891517f5111cd82909906d5e8ee0299db0d46762
Mesa:        (master)959e83d65075513f989cb1fe634dca314a7e185f
Xserver:(master)xorg-server-1.13.99.901-2-g6703a7c7cf1a349c137e247a0c8eb462ff7b07be
Xf86_video_intel:(master)2.20.17-57-g8881a14200580db731ca6902b289b08989aaa61e
Cairo:        (master)a942938e90a219a0b88153f9fa96c606ce644ef1
Libva:        (staging)2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e
Libva_intel_driver:(staging)066c9f6532b11e1e3d0457520dea565cd29faea7
Kernel:    (drm-intel-nightly) 84814cd0d035c0da5a5d55c07309a85a1e524d4f

Bug detailed description:
-------------------------
Run: xinit, X fails to start with headless.It fails on
(master)xorg-server-1.13.99.901-2. It passes if connect a monitor.
It works well on (server-1.13-branch)xorg-server-1.13.1.901 and
(master)xorg-server-1.13.99.901.
It happens on ironlake, sandybridge, ivybridgem haswell.

Bisect shows 6703a7c7cf1a349c137e247a0c8eb462ff7b07be is the first bad commit.
commit 6703a7c7cf1a349c137e247a0c8eb462ff7b07be
Author:     Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>>
AuthorDate: Tue Jan 8 20:24:32 2013 -0800
Commit:     Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>>
CommitDate: Tue Jan 8 20:24:32 2013 -0800

    hw/xfree86: Require only one working CRTC to start the server.

    Instead of requiring every mode set to complete successfully, start up
    as long as at least one CRTC is working. This avoids failures when one
    or more CRTCs can't start due to mode setting conflicts.

    Signed-off-by: Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>>
    Reviewed-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>

output:
Initializing built-in extension DRI2
(EE) module ABI major version (8) doesn't match the server's version (14)
Loading extension GLX

Fatal server error:
AddScreen/ScreenInit failed for driver 0

(EE)
Please consult the The X.Org Foundation support
         at <a href="http://wiki.x.org">http://wiki.x.org</a>
 for help.
(EE) Please also check the log file at "/opt/X11R7/var/log/Xorg.0.log" for
additional information.
(EE)
X: xf86Helper.c:1897: xf86ScrnToScreen: Assertion `pScrn->scrnIndex <
screenInfo.numScreens' failed.

Reproduce steps:
----------------
1. Disconnect monitor
2. xinit</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>