0 Replies Latest reply on Apr 27, 2016 2:19 AM by crayer

    Bug report - AMD R9 380

    crayer

      Hi everyone,

      I'm here to report a bug on the MSI RADEON R9 380 using opencl application.

      I have a segmentation fault when executing clinfo command and launching the sdk's samples.

       

      Stracktrace when using clinfo command :

      Program received signal SIGSEGV, Segmentation fault.

      0x00007ffff1921e5c in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      Missing separate debuginfos, use: debuginfo-install fglrx64_p_i_c-15.302-1.x86_64

      (gdb) bt

      #0  0x00007ffff1921e5c in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #1  0x00007ffff0a1340b in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #2  0x00007ffff0a10822 in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #3  0x00007ffff3f255d9 in aclCompile () from /usr/lib64/libamdocl64.so

      #4  0x00007ffff35e4985 in ?? () from /usr/lib64/libamdocl64.so

      #5  0x00007ffff360618c in ?? () from /usr/lib64/libamdocl64.so

      #6  0x00007ffff35b3b4f in ?? () from /usr/lib64/libamdocl64.so

      #7  0x00007ffff35c38ec in ?? () from /usr/lib64/libamdocl64.so

      #8  0x00007ffff35a49d0 in clBuildProgram () from /usr/lib64/libamdocl64.so

      #9  0x000000000040ee5c in cl::Program::build(std::__1::vector<cl::Device, std::__1::allocator<cl::Device> > const&, char const*, void (*)(_cl_program*, void*), void*) const ()

      #10 0x000000000040af54 in main ()

       

       

      Stracktrace when using MatrixTranspose sample :

      Program received signal SIGSEGV, Segmentation fault.

      0x00007ffff191fe5c in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.7.x86_64 libX11-1.6.0-6.el6.x86_64 libXau-1.0.6-4.el6.x86_64 libXext-1.3.2-2.1.el6.x86_64 libXinerama-1.1.3-2.1.el6.x86_64 libgcc-4.4.7-16.el6.x86_64 libstdc++-4.4.7-16.el6.x86_64 libxcb-1.9.1-3.el6.x86_64 mesa-libGL-10.4.3-1.el6.x86_64 numactl-2.0.9-2.el6.x86_64 opencl-1.2-intel-cpu-5.0.0.57-1.x86_64

      (gdb) bt

      #0  0x00007ffff191fe5c in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #1  0x00007ffff0a1140b in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #2  0x00007ffff0a0e822 in ?? ()

         from /opt/AMDAPPSDK-3.0/lib/x86_64/libamdocl12cl64.so

      #3  0x00007ffff3f235d9 in aclCompile () from /usr/lib64/libamdocl64.so

      #4  0x00007ffff35e2985 in ?? () from /usr/lib64/libamdocl64.so

      #5  0x00007ffff360418c in ?? () from /usr/lib64/libamdocl64.so

      #6  0x00007ffff35b1b4f in ?? () from /usr/lib64/libamdocl64.so

      #7  0x00007ffff35c18ec in ?? () from /usr/lib64/libamdocl64.so

      #8  0x00007ffff35a29d0 in clBuildProgram () from /usr/lib64/libamdocl64.so

      #9  0x00000000004093a1 in MatrixTranspose::setupCL() ()

      #10 0x000000000040ca94 in MatrixTranspose::setup() ()

      #11 0x00000000004145d5 in main ()

       

      As you can see : I'm using the SDK 3.0 and the driver version from the package : fglrx64_p_i_c-15.302-1.x86_64 available on the  download page of your website.
      My operating system is :  Scientific Linux release 6.7 (Carbon) 64bits

       

      When I'm using an older driver I don't get this error.
      But with a large kernel file I'm getting : Error:E103:Insufficient private resources when building the program.
      So I'm wondering if your new driver could help the problem I have with the private resources.

       


      Best regards,