AMD "Gladius"

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

Moderators: Site Moderators, FAHC Science Team

AMD "Gladius"

Postby roothorick » Tue Apr 28, 2020 2:07 am

This is the GPU end of the PS4 Pro SoC. Extremely similar to the RX 480 -- GCN4, same core configuration, just a bit lower clock.

FAHClient --lspci
Code: Select all
VendorID:DeviceID:PCI Bus:PCI Slot:PCI function:Vendor Name:Description
0x1022:0x1436:0:0:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1437:0:0:2:Advanced Micro Devices, Inc. [AMD]:
0x1002:0x9924:0:1:0:Advanced Micro Devices, Inc. [AMD/ATI]:
0x1002:0x9921:0:1:1:Advanced Micro Devices, Inc. [AMD/ATI]:
0x1022:0x1438:0:2:0:Advanced Micro Devices, Inc. [AMD]:
0x104d:0x90c8:0:20:0:Sony Corporation:
0x104d:0x90c9:0:20:1:Sony Corporation:
0x104d:0x90ca:0:20:2:Sony Corporation:
0x104d:0x90cb:0:20:3:Sony Corporation:
0x104d:0x90cc:0:20:4:Sony Corporation:
0x104d:0x90cd:0:20:5:Sony Corporation:
0x104d:0x90ce:0:20:6:Sony Corporation:
0x104d:0x90cf:0:20:7:Sony Corporation:
0x1022:0x142e:0:24:0:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x142f:0:24:1:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1430:0:24:2:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1431:0:24:3:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1432:0:24:4:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1433:0:24:5:Advanced Micro Devices, Inc. [AMD]:
0x1022:0x1434:0:24:6:Advanced Micro Devices, Inc. [AMD]:

lspci -nnv -s 00:01.0
Code: Select all
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Gladius [1002:9924] (rev 12) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Gladius [1002:9924]
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at e0000000 (64-bit, prefetchable) [size=64M]
        Memory at e4000000 (64-bit, prefetchable) [size=8M]
        I/O ports at 6000 [size=256]
        Memory at e4800000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [270] Secondary PCI Express
        Kernel driver in use: amdgpu
lspci: Unable to load libkmod resources: error -12

clinfo
Code: Select all
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (2906.7)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
  Platform Host timer resolution                  1000000ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Spooky
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2 AMD-APP (2906.7)
  Driver Version                                  2906.7
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon Graphics
  Device Topology (AMD)                           PCI-E, 00:01.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               4
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             914MHz
  Graphics IP (AMD)                               7.1
  Device Partition                                (core)
    Max number of sub-devices                     4
    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        (n/a)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 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                              3739070464 (3.482GiB)
  Global free memory (AMD)                        5199192 (4.958GiB)
  Global memory channels (AMD)                    2
  Global memory banks per channel (AMD)           16
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           1809189068 (1.685GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  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                8
  Local memory type                               Local
  Local memory size                               32768 (32KiB)
  Local memory syze per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        1809189068 (1.685GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties                               
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1588031664360461618ns (Tue Apr 28 01:54:24 2020)
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  2
    Max real-time compute queues (AMD)            0
    Max real-time compute units (AMD)             0
    SPIR versions                                 1.2
  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_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

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                                   Spooky
  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                                   Spooky
  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                                   Spooky

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
roothorick
 
Posts: 2
Joined: Tue Apr 28, 2020 1:33 am

Re: AMD "Gladius"

Postby PantherX » Tue Apr 28, 2020 4:59 am

Welcome to the F@H Forum roothorick,

Please note that in order for F@H to utilize the PS4 console, they would need collaboration and resources from Sony. The last time this happened was for PS3 but after a while, Sony decided to end support for F@H.

I would suggest that you contact Sony and ask for F@H to run on their platform. If enough customers ask, we may Play Stations folding again :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
User avatar
PantherX
Site Moderator
 
Posts: 6555
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

Re: AMD "Gladius"

Postby roothorick » Tue Apr 28, 2020 12:50 pm

I don't think that's true. Given, due to firmware requirements, availability is limited, but there are public unofficial tools to take over the console's firmware and replace the running kernel. Homebrew developers have used this foot in the door to port entire Linux distros. I'm folding on the CPU right now. The GPU is so similar to the Bonaire (for base model) or Polaris (for Pro) series that amdgpu was ported with its entire featureset intact, OpenCL and all. Even AMD's proprietary "AMDGPU Pro" extensions work.

I'm pretty certain that if the workservers treated 1002:9924 as a Polaris, I'd be up and running.
roothorick
 
Posts: 2
Joined: Tue Apr 28, 2020 1:33 am

Re: AMD "Gladius"

Postby muziqaz » Tue Apr 28, 2020 4:14 pm

roothorick wrote:I don't think that's true. Given, due to firmware requirements, availability is limited, but there are public unofficial tools to take over the console's firmware and replace the running kernel. Homebrew developers have used this foot in the door to port entire Linux distros. I'm folding on the CPU right now. The GPU is so similar to the Bonaire (for base model) or Polaris (for Pro) series that amdgpu was ported with its entire featureset intact, OpenCL and all. Even AMD's proprietary "AMDGPU Pro" extensions work.

I'm pretty certain that if the workservers treated 1002:9924 as a Polaris, I'd be up and running.


Any homebrewing or other means of violating Sony's terms of use is also violation of F@H terms of use. If Sony officially does not support the project with official client, it will not be supported here either.
Sony is running Linux based OS, and whole world knows AMD does not play nice with Linux, especially for folding. That would open up another billion questions on why my PS4 is not working, and another additional 5million questions on why my PS4 does not switch on anymore.

It is nice to see enthusiasts try to help, but this option unfortunately does not have happy ending, especially at the tail end of PS4 existence.
Now PS5...
If Sony signed up for this with PS5, that would be worth looking into, as PS5 hardware will be miles ahead of what is in PS4
User avatar
muziqaz
 
Posts: 684
Joined: Sun Dec 16, 2007 7:22 pm
Location: London


Return to New GPUs (whitelist)

Who is online

Users browsing this forum: No registered users and 0 guests

cron