Announcement

Collapse
No announcement yet.

Mesa 13.0.2 Released, Includes Many Intel/RADV Vulkan Driver Fixes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mesa 13.0.2 Released, Includes Many Intel/RADV Vulkan Driver Fixes

    Phoronix: Mesa 13.0.2 Released, Includes Many Intel/RADV Vulkan Driver Fixes

    For those riding the stable Mesa release train, Mesa 13.0.2 is now available as the newest Mesa 13.0 point release...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I thought I'd put this here seeing as Debian didn't like when I posted issues with Mesa 13.0 crashing Blender. Now with 13.0.1-2 in Debian whether using their sanitized 2.78a or newer:

    # Blender 2.78 (sub 4), Commit date: 2016-11-27 13:33, Hash 841f3e4

    # backtrace
    /usr/lib/blender/blender(BLI_system_backtrace+0x1d) [0x1b7084d]
    /usr/lib/blender/blender() [0x11c2a11]
    /lib/x86_64-linux-gnu/libc.so.6(+0x33040) [0x7f6521513040]
    /usr/lib/x86_64-linux-gnu/libLLVM-3.9.so.1(_ZN4llvm2cl6Option9setArgStrENS_9StringRe fE+0x9d) [0x7f6504eca6ad]
    /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(+0x54eacb) [0x7f64e5086acb]
    /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(+0x54ed08) [0x7f64e5086d08]
    /lib64/ld-linux-x86-64.so.2(+0xf5da) [0x7f65231cf5da]
    /lib64/ld-linux-x86-64.so.2(+0xf6eb) [0x7f65231cf6eb]
    /lib64/ld-linux-x86-64.so.2(+0x13c68) [0x7f65231d3c68]
    /lib64/ld-linux-x86-64.so.2(+0xf484) [0x7f65231cf484]
    /lib64/ld-linux-x86-64.so.2(+0x13419) [0x7f65231d3419]
    /lib/x86_64-linux-gnu/libdl.so.2(+0xee9) [0x7f6521880ee9]
    /lib64/ld-linux-x86-64.so.2(+0xf484) [0x7f65231cf484]
    /lib/x86_64-linux-gnu/libdl.so.2(+0x1521) [0x7f6521881521]
    /lib/x86_64-linux-gnu/libdl.so.2(dlopen+0x32) [0x7f6521880f82]
    /usr/lib/x86_64-linux-gnu/libOpenCL.so.1(+0x4212) [0x7f64f6174212]
    /usr/lib/x86_64-linux-gnu/libOpenCL.so.1(+0x4360) [0x7f64f6174360]
    /usr/lib/x86_64-linux-gnu/libOpenCL.so.1(+0x497a) [0x7f64f617497a]
    /usr/lib/x86_64-linux-gnu/libOpenCL.so.1(clGetPlatformIDs+0xc3) [0x7f64f6175163]
    /usr/lib/blender/blender(_ZN3ccl10OpenCLInfo18get_usable_devicesEPN S_6vectorINS_20OpenCLPlatformDeviceENS_16GuardedAl locatorIS2_EEEEb+0x154) [0x2116004]
    /usr/lib/blender/blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS _10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x47) [0x2103857]
    /usr/lib/blender/blender(_ZN3ccl6Device17available_devicesEv+0x91) [0x20f0301]
    /usr/lib/blender/blender() [0x1ff7479]
    /usr/lib/blender/blender(PyCFunction_Call+0xe9) [0x2b4e0d9]
    /usr/lib/blender/blender(PyEval_EvalFrameEx+0x7d74) [0x2bc1e04]
    /usr/lib/blender/blender() [0x2bc3822]
    /usr/lib/blender/blender(PyEval_EvalCodeEx+0x48) [0x2bc3928]
    /usr/lib/blender/blender() [0x2b301ef]
    /usr/lib/blender/blender(PyObject_Call+0x5a) [0x2b06daa]
    /usr/lib/blender/blender(PyEval_CallObjectWithKeywords+0x47) [0x2bb9fa7]
    /usr/lib/blender/blender() [0x15cc795]
    /usr/lib/blender/blender(RNA_property_enum_items_ex+0x5b) [0x19d46fb]
    /usr/lib/blender/blender(RNA_property_enum_items+0x15) [0x19d47c5]
    /usr/lib/blender/blender(RNA_property_enum_identifier+0x26) [0x19d4d46]
    /usr/lib/blender/blender() [0x15b491b]
    /usr/lib/blender/blender(pyrna_prop_to_py+0x100) [0x15bc980]
    /usr/lib/blender/blender() [0x15bccd0]
    /usr/lib/blender/blender(PyEval_EvalFrameEx+0x31f8) [0x2bbd288]
    /usr/lib/blender/blender(PyEval_EvalFrameEx+0x7cb1) [0x2bc1d41]
    /usr/lib/blender/blender(PyEval_EvalFrameEx+0x7cb1) [0x2bc1d41]
    /usr/lib/blender/blender(PyEval_EvalFrameEx+0x7cb1) [0x2bc1d41]
    /usr/lib/blender/blender() [0x2bc3822]
    /usr/lib/blender/blender(PyEval_EvalCodeEx+0x48) [0x2bc3928]
    /usr/lib/blender/blender() [0x2b301ef]
    /usr/lib/blender/blender(PyObject_Call+0x5a) [0x2b06daa]
    /usr/lib/blender/blender() [0x15bbfea]
    /usr/lib/blender/blender() [0x1ad790c]
    /usr/lib/blender/blender(ED_region_panels+0x27f) [0x14a06df]
    /usr/lib/blender/blender() [0x11ef518]
    /usr/lib/blender/blender(ED_region_do_draw+0xa16) [0x149f8b6]
    /usr/lib/blender/blender(wm_draw_update+0x637) [0x11c7e27]
    /usr/lib/blender/blender(WM_main+0x28) [0x11c3628]
    /usr/lib/blender/blender(main+0x3b3) [0x1167ec3]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f65215002b1]
    /usr/lib/blender/blender() [0x11bf8b9]
    The output includes screen tearing and overlaying views. Mouse over the areas and the view redraws to what it should be, then move out and the state is not stored consistently with a different view redrawn.

    KNOWN: Debian Sid
    Gallium 0.4 on AMD POLARIS10 (DRM 3.3.0 / 4.8.0-1-amd64, LLVM 3.9.0)

    Clinfo

    Number of platforms 2
    Platform Name Clover
    Platform Vendor Mesa
    Platform Version OpenCL 1.1 Mesa 13.0.1
    Platform Profile FULL_PROFILE
    Platform Extensions cl_khr_icd
    Platform Extensions function suffix MESA

    Platform Name Portable Computing Language
    Platform Vendor The pocl project
    Platform Version OpenCL 2.0 pocl 0.13, LLVM 3.8.1
    Platform Profile FULL_PROFILE
    Platform Extensions cl_khr_icd
    Platform Extensions function suffix POCL

    Platform Name Clover
    Number of devices 1
    Device Name AMD POLARIS10 (DRM 3.3.0 / 4.8.0-1-amd64, LLVM 3.9.0)
    Device Vendor AMD
    Device Vendor ID 0x1002
    Device Version OpenCL 1.1 Mesa 13.0.1
    Driver Version 13.0.1
    Device OpenCL C Version OpenCL C 1.1
    Device Type GPU
    Device Profile FULL_PROFILE
    Max compute units 36
    Max clock frequency 0MHz
    Max work item dimensions 3
    Max work item sizes 256x256x256
    Max work group size 256
    Preferred work group size multiple error: unknown target CPU 'polaris10'
    error: unknown target CPU 'polaris10'


    Preferred / native vector sizes
    char 16 / 16
    short 8 / 8
    int 4 / 4
    long 2 / 2
    half 0 / 0 (n/a)
    float 4 / 4
    double 2 / 2 (cl_khr_fp64)
    Half-precision Floating-point support (n/a)
    Single-precision Floating-point support (core)
    Denormals No
    Infinity and NANs Yes
    Round to nearest Yes
    Round to zero No
    Round to infinity No
    IEEE754-2008 fused multiply-add No
    Support is emulated in software No
    Correctly-rounded divide and sqrt operations No
    Double-precision Floating-point support (cl_khr_fp64)
    Denormals Yes
    Infinity and NANs Yes
    Round to nearest Yes
    Round to zero Yes
    Round to infinity Yes
    IEEE754-2008 fused multiply-add Yes
    Support is emulated in software No
    Correctly-rounded divide and sqrt operations No
    Address bits 64, Little-Endian
    Global memory size 8587284480 (7.998GiB)
    Error Correction support No
    Max memory allocation 7728556032 (7.198GiB)
    Unified memory for Host and Device Yes
    Minimum alignment for any data type 128 bytes
    Alignment of base address 1024 bits (128 bytes)
    Global Memory cache type None
    Image support No
    Local memory type Local
    Local memory size 32768 (32KiB)
    Max constant buffer size 2147483647 (2GiB)
    Max number of constant args 16
    Max size of kernel argument 1024
    Queue properties
    Out-of-order execution No
    Profiling Yes
    Profiling timer resolution 0ns
    Execution capabilities
    Run OpenCL kernels Yes
    Run native kernels No
    Device Available Yes
    Compiler Available Yes
    Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_fp64

    Platform Name Portable Computing Language
    Number of devices 1
    Device Name pthread-AMD FX(tm)-8350 Eight-Core Processor
    Device Vendor AuthenticAMD
    Device Vendor ID 0x1002
    Device Version OpenCL 2.0 pocl
    Driver Version 0.13
    Device OpenCL C Version OpenCL C 2.0
    Device Type CPU, Default
    Device Profile FULL_PROFILE
    Max compute units 8
    Max clock frequency 4000MHz
    Device Partition (core)
    Max number of sub-devices 8
    Supported partition types equally, by counts
    Max work item dimensions 3
    Max work item sizes 4096x4096x4096
    Max work group size 4096
    Preferred work group size multiple 8
    Preferred / native vector sizes
    char 16 / 16
    short 8 / 8
    int 4 / 4
    long 2 / 2
    half 8 / 8 (n/a)
    float 4 / 4
    double 2 / 2 (cl_khr_fp64)
    Half-precision Floating-point support (n/a)
    Single-precision Floating-point support (core)
    Denormals No
    Infinity and NANs Yes
    Round to nearest Yes
    Round to zero No
    Round to infinity No
    IEEE754-2008 fused multiply-add No
    Support is emulated in software No
    Correctly-rounded divide and sqrt operations No
    Double-precision Floating-point support (cl_khr_fp64)
    Denormals No
    Infinity and NANs Yes
    Round to nearest Yes
    Round to zero No
    Round to infinity No
    IEEE754-2008 fused multiply-add No
    Support is emulated in software No
    Correctly-rounded divide and sqrt operations No
    Address bits 64, Little-Endian
    Global memory size 35848781824 (33.39GiB)
    Error Correction support No
    Max memory allocation 35848781824 (33.39GiB)
    Unified memory for Host and Device Yes
    Shared Virtual Memory (SVM) capabilities (core)
    Coarse-grained buffer sharing Yes
    Fine-grained buffer sharing Yes
    Fine-grained system sharing No
    Atomics Yes
    Minimum alignment for any data type 128 bytes
    Alignment of base address 1024 bits (128 bytes)
    Preferred alignment for atomics
    SVM 0 bytes
    Global 0 bytes
    Local 0 bytes
    Max size for global variable 0
    Preferred total size of global vars 0
    Global Memory cache type Read/Write
    Global Memory cache size 16384
    Global Memory cache line 64 bytes
    Image support Yes
    Max number of samplers per kernel 16
    Max size for 1D images from buffer 2240548864 pixels
    Max 1D or 2D image array size 2048 images
    Max 2D image size 32768x32768 pixels
    Max 3D image size 2048x2048x2048 pixels
    Max number of read image args 128
    Max number of write image args 128
    Max number of read/write image args <printDeviceInfo:106: get CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS : error -30>
    Max number of pipe args 16
    Max active pipe reservations 1
    Max pipe packet size 1024
    Local memory type Global
    Local memory size 35848781824 (33.39GiB)
    Max constant buffer size 35848781824 (33.39GiB)
    Max number of constant args 8
    Max size of kernel argument 1024
    Queue properties (on host)
    Out-of-order execution No
    Profiling Yes
    Queue properties (on device)
    Out-of-order execution Yes
    Profiling Yes
    Preferred size 16384 (16KiB)
    Max size 262144 (256KiB)
    Max queues on device 1
    Max events on device 1024
    Prefer user sync for interop Yes
    Profiling timer resolution 1ns
    Execution capabilities
    Run OpenCL kernels Yes
    Run native kernels Yes
    SPIR versions 1.2
    printf() buffer size 1048576 (1024KiB)
    Built-in kernels
    Device Available Yes
    Compiler Available Yes
    Linker Available Yes
    Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir cl_khr_int64 cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics

    NULL platform behavior
    clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
    clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
    clCreateContext(NULL, ...) [default] Success [MESA]
    clCreateContext(NULL, ...) [other] Success [POCL]
    clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
    clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
    Platform Name Clover
    Device Name AMD POLARIS10 (DRM 3.3.0 / 4.8.0-1-amd64, LLVM 3.9.0)
    clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
    clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
    clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
    Platform Name Clover
    Device Name AMD POLARIS10 (DRM 3.3.0 / 4.8.0-1-amd64, LLVM 3.9.0)

    ICD loader properties
    ICD loader Name OpenCL ICD Loader
    ICD loader Vendor OCL Icd free software
    ICD loader Version 2.2.9
    ICD loader Profile OpenCL 2.1
    Insights would be much appreciated.

    Comment


    • #3
      Originally posted by Marc Driftmeyer View Post
      Code:
      # backtrace
      /usr/lib/blender/blender(BLI_system_backtrace+0x1d) [0x1b7084d]
      /usr/lib/blender/blender() [0x11c2a11]
      /lib/x86_64-linux-gnu/libc.so.6(+0x33040) [0x7f6521513040]
      /usr/lib/x86_64-linux-gnu/libLLVM-3.9.so.1(_ZN4llvm2cl6Option9setArgStrENS_9StringRe fE+0x9d) [0x7f6504eca6ad]
      /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(+0x54eacb) [0x7f64e5086acb]
      /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1(+0x54ed08) [0x7f64e5086d08]
      You're mixing and matching both LLVM 3.8 and 3.9 in a single process. That's probably not going to work out well. Is it possible for you to remove LLVM 3.8 and just use 3.9?

      When digging, it looks like Polaris support was added to LLVM in revision 264295 (git hash 53598f2), which was first included in LLVM 3.9, which indicates to me that LLVM 3.8 could be causing some issues for your card if it's being used for any of the shader/kernel compilation.

      Comment


      • #4
        Originally posted by Veerappan View Post

        You're mixing and matching both LLVM 3.8 and 3.9 in a single process. That's probably not going to work out well. Is it possible for you to remove LLVM 3.8 and just use 3.9?

        When digging, it looks like Polaris support was added to LLVM in revision 264295 (git hash 53598f2), which was first included in LLVM 3.9, which indicates to me that LLVM 3.8 could be causing some issues for your card if it's being used for any of the shader/kernel compilation.
        I'll remove 3.8 from Debian and see what happens.

        Comment


        • #5
          It appears libpocl1 depends on llvm-3.8 in Debian. I'll remove and test anyways.

          Comment


          • #6
            An issue I'm seeing with RADV and Vulkan on Gentoo is this issue: https://lists.freedesktop.org/archiv...er/130774.html

            I don't quite understand if anybody else is seeing this. I can't run vulkaninfo or any of the examples from the LunarG package.

            Comment


            • #7
              Removing POCL fixed Blender. Now to test if OpenCL will work.

              Comment


              • #8
                I hope you also run Blender under forced DRI2 or enable triple buffer in options... it is known bug which happen under DRI3, should be fixed by Blender but in some next release not in that 2.78.

                Comment


                • #9
                  And not surprisingly, the split kernel crashes.

                  trying to save userpref at /home/mdriftmeyer/.config/blender/2.78/config/userpref.blend ok
                  MeasureIt: Cleaning data
                  Device init success
                  Compiling OpenCL program base
                  OpenCL build failed with error CL_BUILD_PROGRAM_FAILURE, errors in console.
                  OpenCL program base build output: error: unknown target CPU 'polaris10'
                  error: unknown target CPU 'polaris10'

                  Error: Failed loading render kernel, see console for errors

                  That's MESA, or should I say, Debian built MESA

                  Comment


                  • #10
                    Originally posted by dungeon View Post
                    I hope you also run Blender under forced DRI2 or enable triple buffer in options... it is known bug which happen under DRI3, should be fixed by Blender but in some next release not in that 2.78.
                    Any special magic to test for DRI2 over 3?

                    Comment

                    Working...
                    X