Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post requests to add new GPUs to the official whitelist here.

Moderators: Site Moderators, FAHC Science Team

Post Reply
ManuelOsdoba
Posts: 2
Joined: Sun Mar 29, 2020 5:59 am

Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by ManuelOsdoba »

Hi,

Could you add the Integrated VEGA graphics in Ryzen 2400G?

Code: Select all

38:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c6) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 73
        Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at f0000000 (64-bit, prefetchable) [size=2M]
        Region 4: I/O ports at e000 [size=256]
        Region 5: Memory at fe500000 (32-bit, non-prefetchable) [size=512K]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

Code: Select all

05:47:36:WU00:FS00:0xa7:Folding@home Core Shutdown: INTERRUPTED
05:47:36:WU00:FS00:FahCore returned: INTERRUPTED (102 = 0x66)
05:47:37:WU00:FS00:Starting
05:47:37:WARNING:WU00:FS00:Changed SMP threads from 7 to 8 this can cause some work units to fail
05:47:37:WARNING:WU00:FS00:AS lowered CPUs from 8 to 7
05:47:37:WU00:FS00:Running FahCore: /opt/fah/FAHCoreWrapper /opt/fah/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 00 -suffix 01 -version 705 -lifeline 102680 -checkpoint 15 -np 7
05:47:37:WU00:FS00:Started FahCore on PID 104450
05:47:37:WU00:FS00:Core PID:104454
05:47:37:WU00:FS00:FahCore 0xa7 started
05:47:37:WU00:FS00:0xa7:*********************** Log Started 2020-03-29T05:47:37Z ***********************
05:47:37:WU00:FS00:0xa7:************************** Gromacs Folding@home Core ***************************
05:47:37:WU00:FS00:0xa7:       Type: 0xa7
05:47:37:WU00:FS00:0xa7:       Core: Gromacs
05:47:37:WU00:FS00:0xa7:       Args: -dir 00 -suffix 01 -version 705 -lifeline 104450 -checkpoint 15 -np
05:47:37:WU00:FS00:0xa7:             7
05:47:37:WU00:FS00:0xa7:************************************ CBang *************************************
05:47:37:WU00:FS00:0xa7:       Date: Nov 5 2019
05:47:37:WU00:FS00:0xa7:       Time: 06:06:57
05:47:37:WU00:FS00:0xa7:   Revision: 46c96f1aa8419571d83f3e63f9c99a0d602f6da9
05:47:37:WU00:FS00:0xa7:     Branch: master
05:47:37:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
05:47:37:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie -fPIC
05:47:37:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
05:47:37:WU00:FS00:0xa7:       Bits: 64
05:47:37:WU00:FS00:0xa7:       Mode: Release
05:47:37:WU00:FS00:0xa7:************************************ System ************************************
05:47:37:WU00:FS00:0xa7:        CPU: AMD Ryzen 5 2400G with Radeon Vega Graphics
05:47:37:WU00:FS00:0xa7:     CPU ID: AuthenticAMD Family 23 Model 17 Stepping 0
05:47:37:WU00:FS00:0xa7:       CPUs: 8
05:47:37:WU00:FS00:0xa7:     Memory: 61.83GiB
05:47:37:WU00:FS00:0xa7:Free Memory: 42.79GiB
05:47:37:WU00:FS00:0xa7:    Threads: POSIX_THREADS
05:47:37:WU00:FS00:0xa7: OS Version: 5.5
05:47:37:WU00:FS00:0xa7:Has Battery: false
05:47:37:WU00:FS00:0xa7: On Battery: false
05:47:37:WU00:FS00:0xa7: UTC Offset: 2
05:47:37:WU00:FS00:0xa7:        PID: 104454
05:47:37:WU00:FS00:0xa7:        CWD: /opt/fah/work
05:47:37:WU00:FS00:0xa7:******************************** Build - libFAH ********************************
05:47:37:WU00:FS00:0xa7:    Version: 0.0.18
05:47:37:WU00:FS00:0xa7:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
05:47:37:WU00:FS00:0xa7:  Copyright: 2019 foldingathome.org
05:47:37:WU00:FS00:0xa7:   Homepage: https://foldingathome.org/
05:47:37:WU00:FS00:0xa7:       Date: Nov 5 2019
05:47:37:WU00:FS00:0xa7:       Time: 06:13:26
05:47:37:WU00:FS00:0xa7:   Revision: 490c9aa2957b725af319379424d5c5cb36efb656
05:47:37:WU00:FS00:0xa7:     Branch: master
05:47:37:WU00:FS00:0xa7:   Compiler: GNU 8.3.0
05:47:37:WU00:FS00:0xa7:    Options: -std=c++11 -O3 -funroll-loops -fno-pie
05:47:37:WU00:FS00:0xa7:   Platform: linux2 4.19.0-5-amd64
05:47:37:WU00:FS00:0xa7:       Bits: 64
05:47:37:WU00:FS00:0xa7:       Mode: Release
05:47:37:WU00:FS00:0xa7:************************************ Build *************************************
05:47:37:WU00:FS00:0xa7:       SIMD: avx_256
05:47:37:WU00:FS00:0xa7:********************************************************************************
05:47:37:WU00:FS00:0xa7:Project: 14308 (Run 9, Clone 155, Gen 49)
05:47:37:WU00:FS00:0xa7:Unit: 0x000000399bf7a4d55e66c2cba957f750
05:47:37:WU00:FS00:0xa7:Digital signatures verified
05:47:37:WU00:FS00:0xa7:Reducing thread count from 7 to 6 to avoid domain decomposition by a prime number > 3
05:47:37:WU00:FS00:0xa7:Calling: mdrun -s frame49.tpr -o frame49.trr -cpi state.cpt -cpt 15 -nt 6
05:47:37:WU00:FS00:0xa7:Steps: first=24500000 total=500000
05:47:38:WU00:FS00:0xa7:Completed 21212 out of 500000 steps (4%)
05:49:29:WU00:FS00:0xa7:Completed 25000 out of 500000 steps (5%)
05:51:59:WU00:FS00:0xa7:Completed 30000 out of 500000 steps (6%)
05:54:25:WU00:FS00:0xa7:Completed 35000 out of 500000 steps (7%)
05:56:55:WU00:FS00:0xa7:Completed 40000 out of 500000 steps (8%)
05:59:23:WU00:FS00:0xa7:Completed 45000 out of 500000 steps (9%)
06:01:54:WU00:FS00:0xa7:Completed 50000 out of 500000 steps (10%)
06:04:23:WU00:FS00:0xa7:Completed 55000 out of 500000 steps (11%)
06:06:49:WU00:FS00:0xa7:Completed 60000 out of 500000 steps (12%)

Code: Select all

processor	: 7
vendor_id	: AuthenticAMD
cpu family	: 23
model		: 17
model name	: AMD Ryzen 5 2400G with Radeon Vega Graphics
stepping	: 0
microcode	: 0x810100b
cpu MHz		: 3692.844
cache size	: 512 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca
bugs		: sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips	: 7189.68
TLB size	: 2560 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
Kind regards,
Manuel
Joe_H
Site Admin
Posts: 7867
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by Joe_H »

Already present in the GPUs.txt file, this shares the same device ID, 1002:15dd, as the Vega 8 Mobile and should be configurable.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
ManuelOsdoba
Posts: 2
Joined: Sun Mar 29, 2020 5:59 am

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by ManuelOsdoba »

Hi, for completeness, the clinfo from Razen 5 2400g:

Code: Select all

[ossy@engineering ~]$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3004.6)
  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 (3004.6)
  Driver Version                                  3004.6 (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, 38:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               11
  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                     11
    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                              2684354560 (2.5GiB)
  Global free memory (AMD)                        2551712 (2.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                           912680550 (870.4MiB)
  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                    821412352 (783.4MiB)
  Preferred total size of global vars             2684354560 (2.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                            912680550 (870.4MiB)
  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                        912680550 (870.4MiB)
  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)        1585390551571452631ns (Sat Mar 28 11:15:51 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
BobWilliams757
Posts: 497
Joined: Fri Apr 03, 2020 2:22 pm
Hardware configuration: ASRock X370M PRO4
Ryzen 2400G APU
16 GB DDR4-3200
MSI GTX 1660 Super Gaming X

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by BobWilliams757 »

Joe_H wrote:Already present in the GPUs.txt file, this shares the same device ID, 1002:15dd, as the Vega 8 Mobile and should be configurable.
My 2400G detected as the Vega 8 Mobile and has been folding just fine. Well, slow obviously, but better than nothing!
Fold them if you get them!
iceman1992
Posts: 527
Joined: Fri Mar 23, 2012 5:16 pm

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by iceman1992 »

Out of curiosity, what kind of PPD do you get from that?
Joe_H
Site Admin
Posts: 7867
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by Joe_H »

Someone else reported about 16,000 PPD - YMMV
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
iceman1992
Posts: 527
Joined: Fri Mar 23, 2012 5:16 pm

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by iceman1992 »

Oh, not bad actually for integrated graphics
BobWilliams757
Posts: 497
Joined: Fri Apr 03, 2020 2:22 pm
Hardware configuration: ASRock X370M PRO4
Ryzen 2400G APU
16 GB DDR4-3200
MSI GTX 1660 Super Gaming X

Re: Please add AMD Ryzen 5 2400G with Radeon Vega Graphics

Post by BobWilliams757 »

Mine varies from high 16s to low 17s with the GPU only.

It's not much, but it's something.
Fold them if you get them!
Post Reply