<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 - configure: error: Package requirements (zlib >= 1.2.8) were not met:"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100093">100093</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>configure: error: Package requirements (zlib >= 1.2.8) were not met:
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>greg@chown.ath.cx, maraeo@gmail.com, t_arceri@yahoo.com.au
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: 0ab2dd361fd80c3840b1547cb7e05b4361eaf928 (master 17.1.0-devel)

The build now fails on distributions without new enough zlib. There is not a
way to build without requiring the shader cache.

$ ./autogen.sh
checking for ZLIB... no
configure: error: Package requirements (zlib >= 1.2.8) were not met:

commit 85a9b1b562b6a73b9494b3fad25172da3dc90fc2
Author: Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>>
Date:   Wed Mar 1 16:04:23 2017 +1100

    util/disk_cache: compress individual cache entries

    This reduces the cache size for Deus Ex from ~160M to ~30M for
    radeonsi (these numbers differ from Grigori's results below
    probably due to different graphics quality settings).

    I'm also seeing the following improvements in minimum fps in the
    Shadow of Mordor benchmark on an i5-6400 <a href="mailto:CPU@2.70GHz">CPU@2.70GHz</a>, with a HDD:

    no-cache:                    ~10fps
    with-cache-no-compression:   ~15fps
    with-cache-and-compression:  ~20fps

    Note: The with cache results are from the second run after closing
    and opening the game to avoid the in-memory cache.

    Since we mainly care about decompression I went with
    Z_BEST_COMPRESSION as suggested on irc by Steinar H. Gunderson
    who has benchmarked decompression speeds.

    Grigori Goronzy provided the following stats for Deus Ex: Mankind
    Divided start-up times on a Athlon X4 860k with a SSD:

    No Cache                                 215 sec

    Cold Cache zlib BEST_COMPRESSION         285 sec
    Warm Cache zlib BEST_COMPRESSION         33 sec

    Cold Cache zlib BEST_SPEED               264 sec
    Warm Cache zlib BEST_SPEED               33 sec

    Cold Cache no compression                266 sec
    Warm Cache no compression                34 sec

    The total cache size for that game is 48 MiB with BEST_COMPRESSION,
    56 MiB with BEST_SPEED and 170 MiB with no compression.

    These numbers suggest that it may be ok to go with Z_BEST_SPEED
    but we should gather some actual decompression times before doing
    so. Other options might be to do the compression in a separate
    thread, this might allow us to use a higher compression algorithim
    such as LZMA.

    Reviewed-by: Grigori Goronzy <<a href="mailto:greg@chown.ath.cx">greg@chown.ath.cx</a>>
    Acked-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>