Announcement

Collapse
No announcement yet.

Intel Broadwell On Linux Has Working OpenCL 1.2, VP8 Video Acceleration

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

  • Intel Broadwell On Linux Has Working OpenCL 1.2, VP8 Video Acceleration

    Phoronix: Intel Broadwell On Linux Has Working OpenCL 1.2, VP8 Video Acceleration

    In the past few days when begining to deliver a number of initial Linux tests from Intel's new Broadwell processors, a number of Phoronix readers have inquired about the OpenCL and VA-API support for the new hardware...

    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
    AMD has OpenCL 2.0 support and OpenCL 1.2 for AMD 2.0/1.2 certified CPUs/APUs and GPGPUs for Linux already.

    Comment


    • #3
      No, AMD still has this, without even any image support:

      Code:
      niko@gentoo-desktop ~/devel/clinfo-master $ ./clinfo 
      Number of platforms                               1
        Platform Name                                   Clover
        Platform Vendor                                 Mesa
        Platform Version                                OpenCL 1.1 MESA 10.5.0-devel
        Platform Profile                                FULL_PROFILE
        Platform Extensions                             cl_khr_icd
        Platform Extensions function suffix             MESA
      
        Platform Name                                   Clover
      Number of devices                                 1
        Device Name                                     AMD TAHITI
        Device Vendor                                   X.Org
        Device Vendor ID                                0x1002
        Device Version                                  OpenCL 1.1 MESA 10.5.0-devel
        Driver Version                                  10.5.0-devel
        Device OpenCL C Version                         OpenCL C 1.1
        Device Type                                     GPU
        Device Profile                                  FULL_PROFILE
        Max compute units                               28
        Max clock frequency                             810MHz
        Max work item dimensions                        3
        Max work item sizes                             256x256x256
        Max work group size                             256
        Preferred work group size multiple              1
        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        (n/a)
        Half-precision Floating-point support           (n/a)
        Single-precision Floating-point support         (core)
          Denormals                                     Yes
          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         (n/a)
        Address bits                                    32, Little-Endian
        Global memory size                              1073741824 (1024MiB)
        Error Correction support                        No
        Max memory allocation                           268435456 (256MiB)
        Unified memory for Host and Device              Yes
        Minimum alignment for any data type             128 bytes
        Alignment of base address                       128 bits (16 bytes)
        Global Memory cache type                        None
        Image support                                   No
        Local memory type                               Local
        Local memory size                               32768 (32KiB)
        Max constant buffer size                        268435456 (256MiB)
        Max number of constant args                     0
        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                               
      
      NULL platform behavior
        clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
        clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
        clCreateContext(NULL, ...) [default]            No platform
        clCreateContext(NULL, ...) [other]              Success [MESA]
        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 TAHITI
        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 TAHITI
      ## VGA ##
      AMD: X1950XTX, HD3870, HD5870
      Intel: GMA45, HD3000 (Core i5 2500K)

      Comment


      • #4
        But at least we have this:

        Code:
        niko@gentoo-desktop ~/devel/clinfo-master $ vainfo 
        libva info: VA-API version 0.37.0
        libva info: va_getDriverName() returns 0
        libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
        libva info: Found init function __vaDriverInit_0_37
        libva info: va_openDriver() returns 0
        vainfo: VA-API version: 0.37 (libva 1.5.0)
        vainfo: Driver version: mesa gallium vaapi
        vainfo: Supported profile and entrypoints
              VAProfileMPEG2Simple            : VAEntrypointVLD
              VAProfileMPEG2Main              : VAEntrypointVLD
              VAProfileMPEG4Simple            : VAEntrypointVLD
              VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
              VAProfileVC1Advanced            : VAEntrypointVLD
              VAProfileH264Baseline           : VAEntrypointVLD
              VAProfileH264Main               : VAEntrypointVLD
              VAProfileH264High               : VAEntrypointVLD
        niko@gentoo-desktop ~/devel/clinfo-master $ vdpauinfo 
        display: :0   screen: 0
        API version: 1
        Information string: G3DVL VDPAU Driver Shared Library version 1.0
        
        Video surface:
        
        name   width height types
        -------------------------------------------
        420    16384 16384  NV12 YV12 
        422    16384 16384  UYVY YUYV 
        444    16384 16384  Y8U8V8A8 V8U8Y8A8 
        
        Decoder capabilities:
        
        name               level macbs width height
        -------------------------------------------
        MPEG1                 0  9216  2048  1152
        MPEG2_SIMPLE          3  9216  2048  1152
        MPEG2_MAIN            3  9216  2048  1152
        H264_BASELINE        41  9216  2048  1152
        H264_MAIN            41  9216  2048  1152
        H264_HIGH            41  9216  2048  1152
        VC1_ADVANCED          4  9216  2048  1152
        MPEG4_PART2_SP        3  9216  2048  1152
        MPEG4_PART2_ASP       5  9216  2048  1152
        
        Output surface:
        
        name              width height nat types
        ----------------------------------------------------
        B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
        R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
        R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
        B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
        
        Bitmap surface:
        
        name              width height
        ------------------------------
        B8G8R8A8         16384 16384
        R8G8B8A8         16384 16384
        R10G10B10A2      16384 16384
        B10G10R10A2      16384 16384
        A8               16384 16384
        
        Video mixer:
        
        feature name                    sup
        ------------------------------------
        DEINTERLACE_TEMPORAL             y
        DEINTERLACE_TEMPORAL_SPATIAL     -
        INVERSE_TELECINE                 -
        NOISE_REDUCTION                  y
        SHARPNESS                        y
        LUMA_KEY                         -
        HIGH QUALITY SCALING - L1        -
        HIGH QUALITY SCALING - L2        -
        HIGH QUALITY SCALING - L3        -
        HIGH QUALITY SCALING - L4        -
        HIGH QUALITY SCALING - L5        -
        HIGH QUALITY SCALING - L6        -
        HIGH QUALITY SCALING - L7        -
        HIGH QUALITY SCALING - L8        -
        HIGH QUALITY SCALING - L9        -
        
        parameter name                  sup      min      max
        -----------------------------------------------------
        VIDEO_SURFACE_WIDTH              y        48     2048
        VIDEO_SURFACE_HEIGHT             y        48     1152
        CHROMA_TYPE                      y  
        LAYERS                           y         0        4
        
        attribute name                  sup      min      max
        -----------------------------------------------------
        BACKGROUND_COLOR                 y  
        CSC_MATRIX                       y  
        NOISE_REDUCTION_LEVEL            y      0.00     1.00
        SHARPNESS_LEVEL                  y     -1.00     1.00
        LUMA_KEY_MIN_LUMA                y  
        LUMA_KEY_MAX_LUMA                y
        ## VGA ##
        AMD: X1950XTX, HD3870, HD5870
        Intel: GMA45, HD3000 (Core i5 2500K)

        Comment


        • #5
          Maybe there will be HEVC later, but MVC is at least there. What is the best Linux player for ssif right now?

          Comment


          • #6
            Yet intel GPU is weak and too bad they mostly gave up on older units. So if you have older Intel-based device it means you're totally out of luck and hell yeah, it is very expensive and impractical to upgrade GPU on, say, notebook. That's where intel policy suxx. Though maybe they had too crapy GPU hardware before that point? On other hand its pity AMD lags behind when it comes to standard they've created years ago.

            Comment


            • #7
              SMAP

              Not related but thanks for the cpuinfo. I can see that it show SMAP support there. To the best of my knowledge no Haswell ever shipped with SMAP so this is a first. Here are the new flags compared to my Core i7 4770:

              > 3dnowprefetch
              > adx
              > epb
              > rdseed
              > smap

              I wonder if the RTM and HLE are broken as on Haswell or they work as they should. I vaguely remember reading somewhere that the first mobile Broadwells will ship with the same defective TSX implementation as Haswell.

              Comment


              • #8
                Thanks to or because of VP9 VP8 has and will never really take off.
                So I don't care about VP8 acceleration, only VP9 matters, youtube is all VP9 afaik.

                Comment


                • #9
                  Any tests how fast vp8 encoding acceleration works?

                  Comment


                  • #10
                    Originally posted by Marc Driftmeyer View Post
                    AMD has OpenCL 2.0 support and OpenCL 1.2 for AMD 2.0/1.2 certified CPUs/APUs and GPGPUs for Linux already.
                    I doubt AMD is even close to Intel in term of features in the open driver.

                    Comment

                    Working...
                    X