[Bug 99796] vkUpdateDescriptorSets causes SIGSEGV

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 13 14:35:46 UTC 2017


            Bug ID: 99796
           Summary: vkUpdateDescriptorSets causes SIGSEGV
           Product: Mesa
           Version: 17.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: miwait00 at web.de
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

Created attachment 129554
  --> https://bugs.freedesktop.org/attachment.cgi?id=129554&action=edit

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
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

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
  Installiert:           2.4.74+git1611291830.dae413~gd~x
  Installationskandidat: 2.4.74+git1611291830.dae413~gd~x
 *** 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 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu 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
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

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170213/3dd7f6c5/attachment.html>

More information about the intel-3d-bugs mailing list