0 Replies Latest reply on Aug 30, 2017 12:50 AM by dkgeorge

    RX Vega 64 in Ubuntu 16.04.3 - No ROCm 1.5/OpenCL support?

    dkgeorge

      RX Vega is not seen by ROCm 1.5 I have Ubuntu 16.04.3 kernel 4.10 with amdgpu-pro 17.30 465504. All my cards are recognized by ROCm as OpenCL devices, except the RX Vega 64. Please see log info, starting on line 95 is OpenCL info showing the two other installed cards present, except the RX Vega. Thank you for the help in advance.

       

       

      # update-pciids
      Downloaded daily snapshot dated 2017-08-29 03:15:01
      
      #lspci | grep -E "VGA|3D"
      00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
      06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c0)
      08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] (rev c8)
      09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 560] (rev cf)
      root@dell:/lib/firmware/amdgpu# lspci -v -s 06:00.0
      06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c0) (prog-if 00 [VGA controller])
       Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 6b76
       Flags: bus master, fast devsel, latency 0, IRQ 31
       Memory at b0000000 (64-bit, prefetchable) [size=256M]
       Memory at c0000000 (64-bit, prefetchable) [size=2M]
       I/O ports at dc00 [size=256]
       Memory at f7880000 (32-bit, non-prefetchable) [size=512K]
       Expansion ROM at 000c0000 [disabled] [size=128K]
       Capabilities: [48] Vendor Specific Information: Len=08 <?>
       Capabilities: [50] Power Management version 3
       Capabilities: [64] Express Legacy Endpoint, MSI 00
       Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
       Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
       Capabilities: [150] Advanced Error Reporting
       Capabilities: [200] #15
       Capabilities: [270] #19
       Capabilities: [2a0] Access Control Services
       Capabilities: [2b0] Address Translation Service (ATS)
       Capabilities: [2c0] #13
       Capabilities: [2d0] #1b
       Capabilities: [320] Latency Tolerance Reporting
       Kernel driver in use: amdgpu
       Kernel modules: amdgpu
      
      # lshw -c video
        *-display  
        description: VGA compatible controller
        product: Vega 10 XT [Radeon RX Vega 64]
        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
        physical id: 0
        bus info: pci@0000:06:00.0
        version: c0
        width: 64 bits
        clock: 33MHz
        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
        configuration: driver=amdgpu latency=0
        resources: irq:32 memory:b0000000-bfffffff memory:c0000000-c01fffff ioport:dc00(size=256) memory:f7880000-f78fffff memory:c0000-dffff
        *-display
        description: VGA compatible controller
        product: Fiji [Radeon R9 FURY / NANO Series]
        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
        physical id: 0
        bus info: pci@0000:08:00.0
        version: c8
        width: 64 bits
        clock: 33MHz
        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
        configuration: driver=amdgpu latency=0
        resources: irq:33 memory:d0000000-dfffffff memory:c0200000-c03fffff ioport:cc00(size=256) memory:f76c0000-f76fffff memory:f7700000-f771ffff
        *-display UNCLAIMED
        description: VGA compatible controller
        product: Core Processor Integrated Graphics Controller
        vendor: Intel Corporation
        physical id: 2
        bus info: pci@0000:00:02.0
        version: 02
        width: 64 bits
        clock: 33MHz
        capabilities: msi pm vga_controller cap_list
        configuration: latency=0
        resources: memory:f7c00000-f7ffffff memory:a0000000-afffffff ioport:ec90(size=8)
        *-display
        description: VGA compatible controller
        product: Baffin [Radeon RX 560]
        vendor: Advanced Micro Devices, Inc. [AMD/ATI]
        physical id: 0
        bus info: pci@0000:09:00.0
        version: cf
        width: 64 bits
        clock: 33MHz
        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
        configuration: driver=amdgpu latency=0
        resources: irq:34 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:bc00(size=256) memory:f74c0000-f74fffff memory:f7500000-f751ffff
      
      # dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode'
      [ 1.315000] [drm] Found UVD firmware Version: 1.57 Family ID: 17
      [ 1.315015] [drm] PSP loading UVD firmware
      [ 1.317896] [drm] Found VCE firmware Version: 53.32 Binary ID: 4
      [ 1.317910] [drm] PSP loading VCE firmware
      [ 2.505075] [drm] Found UVD firmware Version: 1.91 Family ID: 12
      [ 2.521199] [drm] Found VCE firmware Version: 53.14 Binary ID: 3
      [ 3.738210] [drm] Found UVD firmware Version: 1.79 Family ID: 16
      [ 3.740529] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
      
      
      # env LLVM_BIN=/opt/amdgpu-pro/bin /opt/amdgpu-pro/bin/clinfo
      Number of platforms: 1
        Platform Profile: FULL_PROFILE
        Platform Version: OpenCL 2.0 AMD-APP (2442.7)
        Platform Name: AMD Accelerated Parallel Processing
        Platform Vendor: Advanced Micro Devices, Inc.
        Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
      
      
        Platform Name: AMD Accelerated Parallel Processing
      Number of devices: 2
        Device Type: CL_DEVICE_TYPE_GPU
        Vendor ID: 1002h
        Board name: AMD Radeon (TM) R9 Fury Series
        Device Topology: PCI[ B#8, D#0, F#0 ]
        Max compute units: 64
        Max work items dimensions: 3
        Max work items[0]: 256
        Max work items[1]: 256
        Max work items[2]: 256
        Max work group size: 256
        Preferred vector width char: 4
        Preferred vector width short: 2
        Preferred vector width int: 1
        Preferred vector width long: 1
        Preferred vector width float: 1
        Preferred vector width double: 1
        Native vector width char: 4
        Native vector width short: 2
        Native vector width int: 1
        Native vector width long: 1
        Native vector width float: 1
        Native vector width double: 1
        Max clock frequency: 1050Mhz
        Address bits: 64
        Max memory allocation: 3019898880
        Image support: Yes
        Max number of images read arguments: 128
        Max number of images write arguments: 8
        Max image 2D width: 16384
        Max image 2D height: 16384
        Max image 3D width: 2048
        Max image 3D height: 2048
        Max image 3D depth: 2048
        Max samplers within kernel: 16
        Max size of kernel argument: 1024
        Alignment (bits) of base address: 2048
        Minimum alignment (bytes) for any datatype: 128
        Single precision floating point capability
        Denorms: No
        Quiet NaNs: Yes
        Round to nearest even: Yes
        Round to zero: Yes
        Round to +ve and infinity: Yes
        IEEE754-2008 fused multiply-add: Yes
        Cache type: Read/Write
        Cache line size: 64
        Cache size: 16384
        Global memory size: 4278120448
        Constant buffer size: 3019898880
        Max number of constant args: 8
        Local memory type: Scratchpad
        Local memory size: 32768
        Max pipe arguments: 0
        Max pipe active reservations: 0
        Max pipe packet size: 0
        Max global variable size: 0
        Max global variable preferred total size: 0
        Max read/write image args: 0
        Max on device events: 0
        Queue on device max size: 0
        Max on device queues: 0
        Queue on device preferred size: 0
        SVM capabilities:  
        Coarse grain buffer: No
        Fine grain buffer: No
        Fine grain system: No
        Atomics: No
        Preferred platform atomic alignment: 0
        Preferred global atomic alignment: 0
        Preferred local atomic alignment: 0
        Kernel Preferred work group size multiple: 64
        Error correction support: 0
        Unified memory for Host and Device: 0
        Profiling timer resolution: 1
        Device endianess: Little
        Available: Yes
        Compiler available: Yes
        Execution capabilities:  
        Execute OpenCL kernels: Yes
        Execute native function: No
        Queue on Host properties:  
        Out-of-Order: No
        Profiling : Yes
        Queue on Device properties:  
        Out-of-Order: No
        Profiling : No
        Platform ID: 0x7faf3cdff478
        Name: Fiji
        Vendor: Advanced Micro Devices, Inc.
        Device OpenCL C version: OpenCL C 1.2 
        Driver version: 2442.7
        Profile: FULL_PROFILE
        Version: OpenCL 1.2 AMD-APP (2442.7)
        Extensions: cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event 
      
      
        Device Type: CL_DEVICE_TYPE_GPU
        Vendor ID: 1002h
        Board name: 67FF:CF
        Device Topology: PCI[ B#9, D#0, F#0 ]
        Max compute units: 16
        Max work items dimensions: 3
        Max work items[0]: 256
        Max work items[1]: 256
        Max work items[2]: 256
        Max work group size: 256
        Preferred vector width char: 4
        Preferred vector width short: 2
        Preferred vector width int: 1
        Preferred vector width long: 1
        Preferred vector width float: 1
        Preferred vector width double: 1
        Native vector width char: 4
        Native vector width short: 2
        Native vector width int: 1
        Native vector width long: 1
        Native vector width float: 1
        Native vector width double: 1
        Max clock frequency: 1196Mhz
        Address bits: 64
        Max memory allocation: 3019898880
        Image support: Yes
        Max number of images read arguments: 128
        Max number of images write arguments: 8
        Max image 2D width: 16384
        Max image 2D height: 16384
        Max image 3D width: 2048
        Max image 3D height: 2048
        Max image 3D depth: 2048
        Max samplers within kernel: 16
        Max size of kernel argument: 1024
        Alignment (bits) of base address: 2048
        Minimum alignment (bytes) for any datatype: 128
        Single precision floating point capability
        Denorms: No
        Quiet NaNs: Yes
        Round to nearest even: Yes
        Round to zero: Yes
        Round to +ve and infinity: Yes
        IEEE754-2008 fused multiply-add: Yes
        Cache type: Read/Write
        Cache line size: 64
        Cache size: 16384
        Global memory size: 4277456896
        Constant buffer size: 3019898880
        Max number of constant args: 8
        Local memory type: Scratchpad
        Local memory size: 32768
        Max pipe arguments: 0
        Max pipe active reservations: 0
        Max pipe packet size: 0
        Max global variable size: 0
        Max global variable preferred total size: 0
        Max read/write image args: 0
        Max on device events: 0
        Queue on device max size: 0
        Max on device queues: 0
        Queue on device preferred size: 0
        SVM capabilities:  
        Coarse grain buffer: No
        Fine grain buffer: No
        Fine grain system: No
        Atomics: No
        Preferred platform atomic alignment: 0
        Preferred global atomic alignment: 0
        Preferred local atomic alignment: 0
        Kernel Preferred work group size multiple: 64
        Error correction support: 0
        Unified memory for Host and Device: 0
        Profiling timer resolution: 1
        Device endianess: Little
        Available: Yes
        Compiler available: Yes
        Execution capabilities:  
        Execute OpenCL kernels: Yes
        Execute native function: No
        Queue on Host properties:  
        Out-of-Order: No
        Profiling : Yes
        Queue on Device properties:  
        Out-of-Order: No
        Profiling : No
        Platform ID: 0x7faf3cdff478
        Name: Baffin
        Vendor: Advanced Micro Devices, Inc.
        Device OpenCL C version: OpenCL C 1.2 
        Driver version: 2442.7
        Profile: FULL_PROFILE
        Version: OpenCL 1.2 AMD-APP (2442.7)
        Extensions: cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event