<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [8086] x86_64 Drivers detects wrong resolution and DPI"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89820">89820</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[8086] x86_64 Drivers detects wrong resolution and DPI
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>igpg@openmailbox.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=114706" name="attach_114706" title="xorg log file">attachment 114706</a> <a href="attachment.cgi?id=114706&action=edit" title="xorg log file">[details]</a></span>
xorg log file

INFO:
3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET 2015 x86_64 GNU/Linux
xf86-video-intel 2.99.917-4
mesa 10.5.2-1
xorg-server 1.17.1-4
libdrm 2.4.60-2

Basically on a vanilla configuration (I just got the laptop so no xorg.conf or
anything in xinit) the driver fails to detect the resolution and (as a result I
guess) it fails also to calculate the DPI and set's it to 96.

1) [   818.122] (II) intel(0): Setting screen physical size to 508 x 285

It's wrong, my screen is a full HD 15.6" 345x194mm

2) [   818.089] (==) intel(0): DPI set to (96, 96)

Which is confirmed by xdpyinfo:
 xdpyinfo | grep -B2 resolution
screen #0:
  dimensions:    1920x1080 pixels (508x285 millimeters)
  resolution:    96x96 dots per inch

However xrandr shows eDP1 connected primary 1920x1080+0+0 (normal left inverted
right x axis y axis) 345mm x 194mm

Maybe becuase was disabled and enabled during startx? I don't know.

This cause most of the DE's display everything in miniature and basically the
laptop is unusable (otherwise you go blind).</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>