<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 - vkUpdateDescriptorSets causes SIGSEGV"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99796">99796</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>vkUpdateDescriptorSets causes SIGSEGV
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.0
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>miwait00@web.de
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>jason@jlekstrand.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=129554" name="attach_129554" title="vulkaninfo">attachment 129554</a> <a href="attachment.cgi?id=129554&action=edit" title="vulkaninfo">[details]</a></span>
vulkaninfo

I know this is going to be special...

I am writting a little LWJGL Vulkan 2D application which basically draws few
textures - nothing complex. It works fine on my nvidia machine, but on my
laptop with Intel Ivy Bridge this does not work.

The first call of vkUpdateDescriptorSets (1 Texture, 1 Uniform buffer,
1 Vertex Buffer) I get the following SIGSEGV:


Stack: [0x00007ff64afa7000,0x00007ff64b0a8000],  sp=0x00007ff64b0a6108,  free
space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libvulkan_intel.so+0x1b4fb2]
C  [libvulkan_intel.so+0x33a72]
j  org.lwjgl.system.JNI.callPPPV(JJIJIJ)V+0

org.lwjgl.vulkan.VK10.nvkUpdateDescriptorSets(Lorg/lwjgl/vulkan/VkDevice;IJIJ)V+38

org.lwjgl.vulkan.VK10.vkUpdateDescriptorSets(Lorg/lwjgl/vulkan/VkDevice;Lorg/lwjgl/vulkan/VkWriteDescriptorSe

I already tried to debug it with gdb but without compiled DEBUG flag this does
not help that much:

Thread 2 "java" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f002cad1700 (LWP 10011)]
0x00007effcdf69fb2 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so



I am also unable to compile the latest mesa-17.0.0-rc1:

./configure: line 23152: require_dri_shared_libs_and_glapi: command not found
checking for GLPROTO... yes
configure: error: Direct rendering requires libdrm >= 2.4.66



But having one installed:

$ apt-cache policy libdrm-intel1
libdrm-intel1:
  Installiert:           2.4.74+git1611291830.dae413~gd~x
  Installationskandidat: 2.4.74+git1611291830.dae413~gd~x
  Versionstabelle:
 *** 2.4.74+git1611291830.dae413~gd~x 100


I am thankful for any kind of advice / help.



$ cat /etc/apt/sources.list.d/paulo-miguel-dias-pkppa-xenial.list 
deb <a href="http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu">http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu</a> xenial main
deb-src <a href="http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu">http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu</a> xenial main

Linux mwpc56 4.8.0-30-generic #32~16.04.1-Ubuntu SMP Fri Dec 2 03:43:51 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux

$ glxinfo | grep -i version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Version: 17.0.0
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.0-rc3 - padoka
PPA
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 17.0.0-rc3 - padoka PPA
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.0.0-rc3 - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00</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>