<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 - st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY broke qemu -display sdl,gl=on"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106748">106748</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY broke qemu -display sdl,gl=on
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>EGL
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>randrik@mail.ru
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=139874" name="attach_139874" title="good glxinfo">attachment 139874</a> <a href="attachment.cgi?id=139874&action=edit" title="good glxinfo">[details]</a></span>
good glxinfo

Recent mesa commit (" commit dd93bc4f34e83516a08f3aa82f6171667080de67
Author: Marek OlЕЎГЎk <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
Date:   Wed May 23 00:46:02 2018 -0400

    st/mesa: use PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY

    Reviewed-by: Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>>" ) broke qemu 2.12
startup on my system with nouveau (nv50 subtype) driver.

It seems GL_ARB_ES3_compatibility in compat profile was somewhat critical,
without it qemu complains:

qemu-system-x86_64 -cdrom neon-useredition-20180517-1021-amd64.iso -display
sdl,gl=on -m 1G -cpu host -smp 2 -usb -soundhw es1370 -vga virtio -usbdevice
mouse -enable-kvm
qemu-system-x86_64: -usbdevice mouse: '-usbdevice' is deprecated, please use
'-device usb-...' instead
qemu_gl_create_compile_shader: compile vertex error
0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10,
1.20, 1.30, 1.40, and 1.00 ES

qemu_gl_create_compile_shader: compile fragment error
0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10,
1.20, 1.30, 1.40, and 1.00 ES

qemu_gl_create_compile_shader: compile vertex error
0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10,
1.20, 1.30, 1.40, and 1.00 ES

qemu_gl_create_compile_shader: compile fragment error
0:2(10): error: GLSL ES 3.00 is not supported. Supported versions are: 1.10,
1.20, 1.30, 1.40, and 1.00 ES

git bisect log

# good: [a7d0c53ab89ca86b705014925214101f5bc4187f] st/mesa: fix assertion
failures with GL_UNSIGNED_INT64_ARB (v2)
git bisect good a7d0c53ab89ca86b705014925214101f5bc4187f
# bad: [d511bba2f92566c512c86c5f51bd756834cbd444] v3d: Fix automake linking
error.
git bisect bad d511bba2f92566c512c86c5f51bd756834cbd444
# bad: [04fff21c62f487f5f24f02708d2a16844688ec81] nv30: add a couple of missed
shader caps
git bisect bad 04fff21c62f487f5f24f02708d2a16844688ec81
# bad: [dd93bc4f34e83516a08f3aa82f6171667080de67] st/mesa: use
PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY
git bisect bad dd93bc4f34e83516a08f3aa82f6171667080de67
# good: [27a9f273109d0f7826013afcc3b9a3dcd6a79a91] mesa: print Compatibility
Profile in the version string
git bisect good 27a9f273109d0f7826013afcc3b9a3dcd6a79a91
# good: [34ea55d8201b9bfd31dd432f45b5423861f8ad0b] gallium: add
PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY
git bisect good 34ea55d8201b9bfd31dd432f45b5423861f8ad0b
# first bad commit: [dd93bc4f34e83516a08f3aa82f6171667080de67] st/mesa: use
PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY</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>