Page 1 of 3

Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 8:53 am
by mad_martn
running Debian testing kernel 5.6 and the opencl bits from the amdgpu-pro driver "Radeon™ Software for Linux® Driver for Ubuntu 18.04.4 HWE" release 20.10, the same setup is already working with a dedicated Vega 56 on my other rig

opencl info:

Code: Select all

root@nostromo:~# clinfo -l
Platform #0: AMD Accelerated Parallel Processing
 `-- Device #0: gfx902
root@nostromo:~# clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3075.10)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx902
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3075.10)
  Driver Version                                  3075.10 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         Unknown AMD GPU
  Device Topology (AMD)                           PCI-E, 07:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               8
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1250MHz
  Graphics IP (AMD)                               9.2
  Device Partition                                (core)
    Max number of sub-devices                     8
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple              64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    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  Yes
  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
  Address bits                                    64, Little-Endian
  Global memory size                              3758096384 (3.5GiB)
  Global free memory (AMD)                        3600288 (3.434GiB)
  Global memory channels (AMD)                    4
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           1825361100 (1.7GiB)
  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                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    1642824960 (1.53GiB)
  Preferred total size of global vars             3758096384 (3.5GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                64
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            1825361100 (1.7GiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory syze per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        1825361100 (1.7GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  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                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  P2P devices (AMD)                               <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1591340649430523868ns (Fri Jun  5 09:04:09 2020)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  4
    Max real-time compute queues (AMD)            0
    Max real-time compute units (AMD)             0
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device 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_khr_gl_depth_images 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_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [AMD]
  clCreateContext(NULL, ...) [default]            Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  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                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2

Code: Select all

root@nostromo:~# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
03:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c9)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
root@nostromo:~# cd /usr/bin/
root@nostromo:/usr/bin# FAHClient --lspci
VendorID:DeviceID:PCI Bus:PCI Slot:PCI function:Vendor Name:Description
0x1022:0x15d0:0:0:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15d1:0:0:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1452:0:1:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15d3:0:1:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15d3:0:1:6:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1452:0:8:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15db:0:8:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15dc:0:8:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x790b:0:20:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x790e:0:20:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15e8:0:24:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15e9:0:24:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15ea:0:24:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15eb:0:24:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15ec:0:24:4:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15ed:0:24:5:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15ee:0:24:6:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15ef:0:24:7:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43d5:1:0:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43c8:1:0:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43c6:1:0:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43c7:2:0:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43c7:2:1:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x43c7:2:4:0:Advanced Micro Devices, Inc. [AMD]:
0x8086:0x2526:3:0:0:Intel Corporation:
0x10ec:0x8168:4:0:0:Realtek Semiconductor Co., Ltd.:
0x126f:0x2263:6:0:0:Silicon Motion, Inc.:
0x1002:0x15d8:7:0:0:Advanced Micro Devices, Inc. [AMD/ATI]:
0x1002:0x15de:7:0:1:Advanced Micro Devices, Inc. [AMD/ATI]:
0x1022:0x15df:7:0:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15e0:7:0:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15e1:7:0:4:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x15e3:7:0:6:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x7901:8:0:0:Advanced Micro Devices, Inc. [AMD]:
FAHClient log.txt

Code: Select all

root@nostromo:/var/lib/fahclient# cat log.txt 
*********************** Log Started 2020-06-05T08:45:14Z ***********************
08:45:14:Trying to access database...
08:45:14:Successfully acquired database lock
08:45:14:Read GPUs.txt
08:45:14:Enabled folding slot 00: PAUSED gpu:0:Radeon RX Vega 10 Mobile (by user)
08:45:14:ERROR:No compute devices matched GPU #0 {
08:45:14:ERROR:  "vendor": 4098,
08:45:14:ERROR:  "device": 5592,
08:45:14:ERROR:  "type": 1,
08:45:14:ERROR:  "species": 5,
08:45:14:ERROR:  "description": "Radeon RX Vega 10 Mobile"
08:45:14:ERROR:}.  You may need to update your graphics drivers.
08:45:14:****************************** FAHClient ******************************
08:45:14:    Version: 7.6.13
08:45:14:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
08:45:14:  Copyright: 2020 foldingathome.org
08:45:14:   Homepage: https://foldingathome.org/
08:45:14:       Date: Apr 28 2020
08:45:14:       Time: 04:20:16
08:45:14:   Revision: 5a652817f46116b6e135503af97f18e094414e3b
08:45:14:     Branch: master
08:45:14:   Compiler: GNU 8.3.0
08:45:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
08:45:14:             -fno-pie
08:45:14:   Platform: linux2 4.19.0-5-amd64
08:45:14:       Bits: 64
08:45:14:       Mode: Release
08:45:14:       Args: /etc/fahclient/config.xml
08:45:14:     Config: /etc/fahclient/config.xml
08:45:14:******************************** CBang ********************************
08:45:14:       Date: Apr 25 2020
08:45:14:       Time: 00:07:53
08:45:14:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
08:45:14:     Branch: master
08:45:14:   Compiler: GNU 8.3.0
08:45:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
08:45:14:             -fno-pie -fPIC
08:45:14:   Platform: linux2 4.19.0-5-amd64
08:45:14:       Bits: 64
08:45:14:       Mode: Release
08:45:14:******************************* System ********************************
08:45:14:        CPU: AMD Ryzen 3 3200G with Radeon Vega Graphics
08:45:14:     CPU ID: AuthenticAMD Family 23 Model 24 Stepping 1
08:45:14:       CPUs: 4
08:45:14:     Memory: 13.66GiB
08:45:14:Free Memory: 12.51GiB
08:45:14:    Threads: POSIX_THREADS
08:45:14: OS Version: 5.6
08:45:14:Has Battery: false
08:45:14: On Battery: false
08:45:14: UTC Offset: 2
08:45:14:        PID: 6722
08:45:14:        CWD: /var/lib/fahclient
08:45:14:         OS: Linux 5.6.0-2-amd64 x86_64
08:45:14:    OS Arch: AMD64
08:45:14:       GPUs: 1
08:45:14:      GPU 0: Bus:7 Slot:0 Func:0 AMD:5 Radeon RX Vega 10 Mobile
08:45:14:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
08:45:14:             libcuda.so: cannot open shared object file: No such file or
08:45:14:             directory
08:45:14:     OpenCL: Not detected: clGetDeviceIDs() returned -1
08:45:14:******************************* libFAH ********************************
08:45:14:       Date: Apr 15 2020
08:45:14:       Time: 21:43:24
08:45:14:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
08:45:14:     Branch: master
08:45:14:   Compiler: GNU 8.3.0
08:45:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
08:45:14:             -fno-pie
08:45:14:   Platform: linux2 4.19.0-5-amd64
08:45:14:       Bits: 64
08:45:14:       Mode: Release
08:45:14:***********************************************************************
08:45:14:<config>
08:45:14:  <!-- HTTP Server -->
08:45:14:  <allow v='127.0.0.1 192.168.1.0/24'/>
08:45:14:
08:45:14:  <!-- Network -->
08:45:14:  <proxy v=':8080'/>
08:45:14:
08:45:14:  <!-- Remote Command Server -->
08:45:14:  <command-allow-no-pass v='127.0.0.1 192.168.1.0/24'/>
08:45:14:
08:45:14:  <!-- User Information -->
08:45:14:  <passkey v='*****'/>
08:45:14:  <team v='236734'/>
08:45:14:  <user v='mad_martn'/>
08:45:14:
08:45:14:  <!-- Folding Slots -->
08:45:14:  <slot id='0' type='GPU'>
08:45:14:    <opencl-index v='0'/>
08:45:14:    <paused v='true'/>
08:45:14:  </slot>
08:45:14:</config>
08:46:07:FS00:Unpaused
08:46:07:WU00:FS00:Starting
08:46:07:WU00:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 706 -lifeline 6722 -checkpoint 15 -gpu-vendor amd -opencl-device 0 -gpu 0
08:46:07:WU00:FS00:Started FahCore on PID 6794
08:46:07:WU00:FS00:Core PID:6798
08:46:07:WU00:FS00:FahCore 0x22 started
08:46:07:WU00:FS00:0x22:*********************** Log Started 2020-06-05T08:46:07Z ***********************
08:46:07:WU00:FS00:0x22:*************************** Core22 Folding@home Core ***************************
08:46:07:WU00:FS00:0x22:       Type: 0x22
08:46:07:WU00:FS00:0x22:       Core: Core22
08:46:07:WU00:FS00:0x22:    Website: https://foldingathome.org/
08:46:07:WU00:FS00:0x22:  Copyright: (c) 2009-2018 foldingathome.org
08:46:07:WU00:FS00:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
08:46:07:WU00:FS00:0x22:             <rafal.wiewiora@choderalab.org>
08:46:07:WU00:FS00:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 6794 -checkpoint 15
08:46:07:WU00:FS00:0x22:             -gpu-vendor amd -opencl-device 0 -gpu 0
08:46:07:WU00:FS00:0x22:     Config: <none>
08:46:07:WU00:FS00:0x22:************************************ Build *************************************
08:46:07:WU00:FS00:0x22:    Version: 0.0.5
08:46:07:WU00:FS00:0x22:       Date: Apr 22 2020
08:46:07:WU00:FS00:0x22:       Time: 03:57:11
08:46:07:WU00:FS00:0x22: Repository: Git
08:46:07:WU00:FS00:0x22:   Revision: 2d69202c898bd9bb3e093f51cd32bf411c2a0388
08:46:07:WU00:FS00:0x22:     Branch: HEAD
08:46:07:WU00:FS00:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
08:46:07:WU00:FS00:0x22:    Options: -std=c++11 -O3 -funroll-loops
08:46:07:WU00:FS00:0x22:   Platform: linux2 4.19.76-linuxkit
08:46:07:WU00:FS00:0x22:       Bits: 64
08:46:07:WU00:FS00:0x22:       Mode: Release
08:46:07:WU00:FS00:0x22:************************************ System ************************************
08:46:07:WU00:FS00:0x22:        CPU: AMD Ryzen 3 3200G with Radeon Vega Graphics
08:46:07:WU00:FS00:0x22:     CPU ID: AuthenticAMD Family 23 Model 24 Stepping 1
08:46:07:WU00:FS00:0x22:       CPUs: 4
08:46:07:WU00:FS00:0x22:     Memory: 13.66GiB
08:46:07:WU00:FS00:0x22:Free Memory: 12.48GiB
08:46:07:WU00:FS00:0x22:    Threads: POSIX_THREADS
08:46:07:WU00:FS00:0x22: OS Version: 5.6
08:46:07:WU00:FS00:0x22:Has Battery: false
08:46:07:WU00:FS00:0x22: On Battery: false
08:46:07:WU00:FS00:0x22: UTC Offset: 2
08:46:07:WU00:FS00:0x22:        PID: 6798
08:46:07:WU00:FS00:0x22:        CWD: /var/lib/fahclient/work
08:46:07:WU00:FS00:0x22:         OS: Linux 5.6.0-2-amd64 x86_64
08:46:07:WU00:FS00:0x22:    OS Arch: AMD64
08:46:07:WU00:FS00:0x22:********************************************************************************
08:46:07:WU00:FS00:0x22:Project: 11761 (Run 0, Clone 2287, Gen 82)
08:46:07:WU00:FS00:0x22:Unit: 0x000000aa80fccb0a5e6d7d3f9ad42df0
08:46:07:WU00:FS00:0x22:Reading tar file core.xml
08:46:07:WU00:FS00:0x22:Reading tar file integrator.xml
08:46:07:WU00:FS00:0x22:Reading tar file state.xml
08:46:07:WU00:FS00:0x22:Reading tar file system.xml
08:46:07:WU00:FS00:0x22:Digital signatures verified
08:46:07:WU00:FS00:0x22:Folding@home GPU Core22 Folding@home Core
08:46:07:WU00:FS00:0x22:Version 0.0.5
08:46:09:WU00:FS00:0x22:ERROR:exception: Error initializing context: clGetDeviceIDs (-1)
08:46:09:WU00:FS00:0x22:Saving result file ../logfile_01.txt
08:46:09:WU00:FS00:0x22:Saving result file science.log
08:46:09:WU00:FS00:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
08:46:09:WARNING:WU00:FS00:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
08:46:09:WU00:FS00:Sending unit results: id:00 state:SEND error:FAULTY project:11761 run:0 clone:2287 gen:82 core:0x22 unit:0x000000aa80fccb0a5e6d7d3f9ad42df0
08:46:10:WU00:FS00:Uploading 7.50KiB to 128.252.203.10
08:46:10:WU00:FS00:Connecting to 128.252.203.10:8080
08:46:10:WU01:FS00:Connecting to assign1.foldingathome.org:80
08:46:10:WARNING:WU01:FS00:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
08:46:10:WU01:FS00:Connecting to assign2.foldingathome.org:80
08:46:10:WU01:FS00:Assigned to work server 128.252.203.10
08:46:10:WU01:FS00:Requesting new work unit for slot 00: READY gpu:0:Radeon RX Vega 10 Mobile from 128.252.203.10
08:46:10:WU01:FS00:Connecting to 128.252.203.10:8080
08:46:15:Saving configuration to /etc/fahclient/config.xml
08:46:15:<config>
08:46:15:  <!-- HTTP Server -->
08:46:15:  <allow v='127.0.0.1 192.168.1.0/24'/>
08:46:15:
08:46:15:  <!-- Network -->
08:46:15:  <proxy v=':8080'/>
08:46:15:
08:46:15:  <!-- Remote Command Server -->
08:46:15:  <command-allow-no-pass v='127.0.0.1 192.168.1.0/24'/>
08:46:15:
08:46:15:  <!-- User Information -->
08:46:15:  <passkey v='*****'/>
08:46:15:  <team v='236734'/>
08:46:15:  <user v='mad_martn'/>
08:46:15:
08:46:15:  <!-- Folding Slots -->
08:46:15:  <slot id='0' type='GPU'>
08:46:15:    <opencl-index v='0'/>
08:46:15:  </slot>
08:46:15:</config>
thank you

Re: Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 11:05 am
by foldy
08:46:07:WU00:FS00:0x22:Folding@home GPU Core22 Folding@home Core
08:46:07:WU00:FS00:0x22:Version 0.0.5
08:46:09:WU00:FS00:0x22:ERROR:exception: Error initializing context: clGetDeviceIDs (-1)

That is not whitelist issue but somehow opencl is not working. So driver issue with that GPU or opencl libs for FAH missing. Which linux distro?

Re: Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 11:32 am
by mad_martn
clinfo says that opencl is working

looks like wrong device identification:
08:45:14:Read GPUs.txt
08:45:14:Enabled folding slot 00: PAUSED gpu:0:Radeon RX Vega 10 Mobile (by user)
08:45:14:ERROR:No compute devices matched GPU #0 {
08:45:14:ERROR: "vendor": 4098,
08:45:14:ERROR: "device": 5592,
08:45:14:ERROR: "type": 1,
08:45:14:ERROR: "species": 5,
08:45:14:ERROR: "description": "Radeon RX Vega 10 Mobile"

Re: Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 2:01 pm
by Joe_H
Clinfo may not be using the same paths, links, etc as F@h Core_22. There can also be permissions issues to resolve depending on how the client is installed and run.

Other users of the integrated Vega graphics present in recent AMD processors have reported needing to use specific drivers to get things working properly.

Finally, the GPU detection in the client is based on the device ID assigned to the hardware by AMD, the device description is cosmetic. The Vega 8 and 10 are basically Vega 11 chips with some of the shaders disabled. The description field in GPUs.txt is based on the first report of the device ID requesting it be whitelisted.

Re: Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 3:36 pm
by bruce
I recommend you force an update of your GPUs.txt file. Go to FAH's data file for your OS and delete GPUs.txt. Reboot.

Post a fresh copy of the first couple pages of the new log.

Re: Ryzen 3200G vega 8 graphics

Posted: Fri Jun 05, 2020 4:02 pm
by mad_martn
done that, FAHClient service is configured not to start at boot automatically so here we go with starting after boot:

Code: Select all

root@nostromo:~# service FAHClient status
● FAHClient.service - Folding@home Client
     Loaded: loaded (/etc/systemd/system/FAHClient.service; static; vendor preset: enabled)
     Active: inactive (dead)
root@nostromo:~# cd /var/lib/fahclient/
root@nostromo:/var/lib/fahclient# ls
configs  cores  logs  log.txt  work
root@nostromo:/var/lib/fahclient# service FAHClient start
root@nostromo:/var/lib/fahclient# ls
configs  cores  GPUs.txt  logs  log.txt  work
root@nostromo:/var/lib/fahclient# cat log.txt 
*********************** Log Started 2020-06-05T15:51:50Z ***********************
15:51:50:Trying to access database...
15:51:50:Successfully acquired database lock
15:51:50:Downloading GPUs.txt from assign1.foldingathome.org:80
15:51:50:Connecting to assign1.foldingathome.org:80
15:51:50:Read GPUs.txt
15:51:50:Enabled folding slot 00: READY gpu:0:Raven [Radeon RX Vega 10 Mobile]
15:51:50:ERROR:No compute devices matched GPU #0 {
15:51:50:ERROR:  "vendor": 4098,
15:51:50:ERROR:  "device": 5592,
15:51:50:ERROR:  "type": 1,
15:51:50:ERROR:  "species": 5,
15:51:50:ERROR:  "description": "Raven [Radeon RX Vega 10 Mobile]"
15:51:50:ERROR:}.  You may need to update your graphics drivers.
15:51:50:****************************** FAHClient ******************************
15:51:50:    Version: 7.6.13
15:51:50:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
15:51:50:  Copyright: 2020 foldingathome.org
15:51:50:   Homepage: https://foldingathome.org/
15:51:50:       Date: Apr 28 2020
15:51:50:       Time: 04:20:16
15:51:50:   Revision: 5a652817f46116b6e135503af97f18e094414e3b
15:51:50:     Branch: master
15:51:50:   Compiler: GNU 8.3.0
15:51:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
15:51:50:             -fno-pie
15:51:50:   Platform: linux2 4.19.0-5-amd64
15:51:50:       Bits: 64
15:51:50:       Mode: Release
15:51:50:       Args: /etc/fahclient/config.xml
15:51:50:     Config: /etc/fahclient/config.xml
15:51:50:******************************** CBang ********************************
15:51:50:       Date: Apr 25 2020
15:51:50:       Time: 00:07:53
15:51:50:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
15:51:50:     Branch: master
15:51:50:   Compiler: GNU 8.3.0
15:51:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
15:51:50:             -fno-pie -fPIC
15:51:50:   Platform: linux2 4.19.0-5-amd64
15:51:50:       Bits: 64
15:51:50:       Mode: Release
15:51:50:******************************* System ********************************
15:51:50:        CPU: AMD Ryzen 3 3200G with Radeon Vega Graphics
15:51:50:     CPU ID: AuthenticAMD Family 23 Model 24 Stepping 1
15:51:50:       CPUs: 4
15:51:50:     Memory: 13.66GiB
15:51:50:Free Memory: 12.74GiB
15:51:50:    Threads: POSIX_THREADS
15:51:50: OS Version: 5.6
15:51:50:Has Battery: false
15:51:50: On Battery: false
15:51:50: UTC Offset: 2
15:51:50:        PID: 1522
15:51:50:        CWD: /var/lib/fahclient
15:51:50:         OS: Linux 5.6.0-2-amd64 x86_64
15:51:50:    OS Arch: AMD64
15:51:50:       GPUs: 1
15:51:50:      GPU 0: Bus:7 Slot:0 Func:0 AMD:5 Raven [Radeon RX Vega 10 Mobile]
15:51:50:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
15:51:50:             libcuda.so: cannot open shared object file: No such file or
15:51:50:             directory
15:51:50:     OpenCL: Not detected: clGetDeviceIDs() returned -1
15:51:50:******************************* libFAH ********************************
15:51:50:       Date: Apr 15 2020
15:51:50:       Time: 21:43:24
15:51:50:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
15:51:50:     Branch: master
15:51:50:   Compiler: GNU 8.3.0
15:51:50:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
15:51:50:             -fno-pie
15:51:50:   Platform: linux2 4.19.0-5-amd64
15:51:50:       Bits: 64
15:51:50:       Mode: Release
15:51:50:***********************************************************************
15:51:50:<config>
15:51:50:  <!-- HTTP Server -->
15:51:50:  <allow v='127.0.0.1 192.168.1.0/24'/>
15:51:50:
15:51:50:  <!-- Network -->
15:51:50:  <proxy v=':8080'/>
15:51:50:
15:51:50:  <!-- Remote Command Server -->
15:51:50:  <command-allow-no-pass v='127.0.0.1 192.168.1.0/24'/>
15:51:50:
15:51:50:  <!-- User Information -->
15:51:50:  <passkey v='*****'/>
15:51:50:  <team v='236734'/>
15:51:50:  <user v='mad_martn'/>
15:51:50:
15:51:50:  <!-- Folding Slots -->
15:51:50:  <slot id='0' type='GPU'/>
15:51:50:</config>
15:51:50:WU00:FS00:Connecting to assign1.foldingathome.org:80
15:51:51:WU00:FS00:Assigned to work server 18.188.125.154
15:51:51:WU00:FS00:Requesting new work unit for slot 00: READY gpu:0:Raven [Radeon RX Vega 10 Mobile] from 18.188.125.154
15:51:51:WU00:FS00:Connecting to 18.188.125.154:8080
15:51:52:WU00:FS00:Downloading 436.75KiB
15:51:53:WU00:FS00:Download complete
15:51:53:WU00:FS00:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:13409 run:299 clone:106 gen:0 core:0x22 unit:0x0000000112bc7d9a5ed4a8a47c9d991a
15:51:53:WU00:FS00:Starting
15:51:53:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
15:51:53:WU00:FS00:Starting
15:51:53:ERROR:WU00:FS00:Failed to start core: OpenCL device matching slot 0 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually
clinfo output again:

Code: Select all

root@nostromo:/var/lib/fahclient# clinfo -l
Platform #0: AMD Accelerated Parallel Processing
 `-- Device #0: gfx902
root@nostromo:/var/lib/fahclient# clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3075.10)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx902
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3075.10)
  Driver Version                                  3075.10 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         Unknown AMD GPU
  Device Topology (AMD)                           PCI-E, 07:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               8
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1250MHz
  Graphics IP (AMD)                               9.2
  Device Partition                                (core)
    Max number of sub-devices                     8
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple              64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    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  Yes
  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
  Address bits                                    64, Little-Endian
  Global memory size                              3758096384 (3.5GiB)
  Global free memory (AMD)                        3600288 (3.434GiB)
  Global memory channels (AMD)                    4
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           1825361100 (1.7GiB)
  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                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    1642824960 (1.53GiB)
  Preferred total size of global vars             3758096384 (3.5GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                64
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            1825361100 (1.7GiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory syze per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        1825361100 (1.7GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  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                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  P2P devices (AMD)                               <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1591372189289414861ns (Fri Jun  5 17:49:49 2020)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  4
    Max real-time compute queues (AMD)            0
    Max real-time compute units (AMD)             0
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device 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_khr_gl_depth_images 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_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [AMD]
  clCreateContext(NULL, ...) [default]            Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902
  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                                 AMD Accelerated Parallel Processing
    Device Name                                   gfx902

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 9:05 am
by mad_martn
anyway, darktable is happy with opencl on 3200G ... so why not f@h?

i can provide output from darktable-cltest (from user account thats in render and video group like fahclient user) if wanted

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 10:55 am
by BobWilliams757
I'm wondering why it's identified as Vega 10. That is usually the more powerful dedicated GPU's from AMD.

AFAIK all working Vega 8 or 11 APU's are identified as: Raven (Ryzen vega 8 mobile)

I'm not sure what if anything would cause the 3200G to identify as Vega 10, but it might be worth deleting that line from the GPUs.txt file to see if it will then identify as Vega 8.

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 11:54 am
by Joe_H
BobWilliams757 wrote:I'm wondering why it's identified as Vega 10. That is usually the more powerful dedicated GPU's from AMD.
Answered in my post above - posting.php?mode=quote&f=83&p=336782#pr336578 - detected by Device ID assigned by AMD. They reuse the same ID number for multiple GPUs based on the same chip.
mad_martn wrote:anyway, darktable is happy with opencl on 3200G ... so why not f@h?
Getting the drivers and OpenCL all working for folding is from all descriptions a bit finicky. The driver, the OpenCL runtime and for some reason the dev kit package need to be installed. For newer versions of Linux the fahclient account needs to be in the 'video' group and possibly a 'render' group. One person has posted here about needing to set the 'video' group as the primary group for access to the video subsystem to work.

One troubleshooting step people have used is to try running as 'root' instead of fahclient. If folding works then, it is a permissions problem getting to use the GPU and the related drivers and OpenCL support.

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 12:01 pm
by foldy
sudo apt install ocl-icd-opencl-dev

https://linustechtips.com/main/topic/10 ... lding-rig/

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 7:00 pm
by mad_martn
Joe_H wrote:
BobWilliams757 wrote:I'm wondering why it's identified as Vega 10. That is usually the more powerful dedicated GPU's from AMD.
Answered in my post above - posting.php?mode=quote&f=83&p=336782#pr336578 - detected by Device ID assigned by AMD. They reuse the same ID number for multiple GPUs based on the same chip.
and to me somehow that seems the reason 3200G is not working cause being false identified
Joe_H wrote:
mad_martn wrote:anyway, darktable is happy with opencl on 3200G ... so why not f@h?
Getting the drivers and OpenCL all working for folding is from all descriptions a bit finicky. The driver, the OpenCL runtime and for some reason the dev kit package need to be installed. For newer versions of Linux the fahclient account needs to be in the 'video' group and possibly a 'render' group. One person has posted here about needing to set the 'video' group as the primary group for access to the video subsystem to work.

One troubleshooting step people have used is to try running as 'root' instead of fahclient. If folding works then, it is a permissions problem getting to use the GPU and the related drivers and OpenCL support.
this, exactly, been there done that already as i'm running the whole stuff on another two rigs with Vega 56, RX570, RX550 and debian testing and the opencl bits from recent amdgpu-pro for Ubuntu 20.10, fahclient is member of render and video group and i have set up a systemd unit for resolving the permissions problem when not running as root.

TL;DR i'm successfully running a similar setup with two other machines but R7 3700X with Vega 56 and R7 1700 with RX570 and RX550

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 8:05 pm
by Joe_H
mad_martn wrote:and to me somehow that seems the reason 3200G is not working cause being false identified
It has been correctly identified by the Device ID, the description field in GPUs.txt is merely there for cosmetic reasons and has no effect on whether a card works or not. It could even be left blank or have nonsensical info placed there. The driver and the OpenCL support read all necessary data about a GPU based on connecting to a device on the PCIe bus that has a certain PCIe device ID.

To say it more succinctly, the iGPU in the 3200G has not been falsely identified.

From the various info you have posted, this is the entry that your GPU has matched up to:

Code: Select all

0x1002:0x15d8:1:5:Raven [Radeon RX Vega 10 Mobile]
Apparently there are database searches that would show all devices using that vendor and device ID for GPU, that would include your 3200G.

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 9:25 pm
by bruce
True of false. You have an AMD device containing a Raven chip. Take a look at https://www.techpowerup.com/gpu-specs/amd-raven.g816 and you'll find a long list of devices which use EXACtLY that same chip and which identify themselves as 0x1002:0x15d8, (which in decimal is the same as: "vendor": 4098, "device": 5592 as shown in your post above. Is that information accurate or not?

AMD does not differentiate between those various devices and neither does FAH.

Would it make you happy if wie identified them all as Raven [Radeon RX Vega (various)]

Re: Ryzen 3200G vega 8 graphics

Posted: Sun Jun 07, 2020 11:48 pm
by BobWilliams757
Joe H and Bruce,

I fully understand that the description is generic, but was just making an observation that every working Vega 8 I have seen logs, troubleshooting, etc for here at FAH identify as: Raven (Ryzen vega 8 mobile). This also includes the Vega 11 onboard my 2400G. The description in this case as the Vega 10 is usually only showing up on the mid to high end cards, and it seems strange.

3200G is a Picasso chip using Zen+ but AFAIK still uses the original Vega 8 integrated graphics. I'm not sure if the entire die is the 12nm process or not, might take some digging. I also wasn't sure if it identified as Raven just due to the GPU being the same as the 2200G. Even with the understanding that the descriptions encompass groups of similar GPUs, in this case it seemed odd.


Doing a quick search, I see little evidence of a Picasso family APUs running on FAH currently. Strangely the two 3700 series APUs that actually have a Vega 10 graphics core are identified in the logs as: CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx


I have no idea if the device ID assigned by AMD would be impacted my the change to the 12nm process or would be based simply on the GPU side of things, so tossed it out as a possible.

Re: Ryzen 3200G vega 8 graphics

Posted: Mon Jun 08, 2020 12:02 am
by bruce
The description in this case as the Vega 10 is usually only showing up on the mid to high end cards, and it seems strange
Vega 10 is associated with the following devices:
AMD 0x15d8
AMD 0x6860
AMD 0x6861
AMD 0x6862
AMD 0x6863
AMD 0x6867
AMD 0x6868
AMD 0x6869
AMD 0x686c
AMD 0x687f

You'll have to ask AMD how they assign the device codes.