<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 - [bisected][18.3.3 regression] Nouveau on Wayland fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110608">110608</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[bisected][18.3.3 regression] Nouveau on Wayland fails
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>18.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Component</th>
          <td>glsl-compiler
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mbakke@fastmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Greetings,

After updating from Mesa 18.3.1 to 18.3.5, swaywm no longer starts on my
nouveau Nvidia GTX 770.

Sway prints the following error:

sway: ../mesa-18.3.5/src/mesa/program/prog_parameter.c:247:
_mesa_add_parameter: Assertion `0 < size && size <=4' failed.

I bisected it down to this commit:
<a href="https://gitlab.freedesktop.org/mesa/mesa/commit/fb78a6cb72270de271f75d6f6c9b5ebadba7a898">https://gitlab.freedesktop.org/mesa/mesa/commit/fb78a6cb72270de271f75d6f6c9b5ebadba7a898</a>

However, reverting that on top of my distro-provided Mesa 18.3.5 still yields
the same error.

Mesa 19.0.3 fails with a different message:

sway: ../mesa-19.0.3/src/compiler/glsl/serialize.cpp:555: void
read_uniforms(blob_reader*, gl_shader_program*): Assertion `vec_size +
prog->data->UniformStorage[i].storage <= data +
prog->data->NumUniformDataSlots' failed.

Please let me know what other details I can provide.  Thanks in advance!

This is possibly a duplicate of #109812.</pre>
        </div>
      </p>


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

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