clvk icon indicating copy to clipboard operation
clvk copied to clipboard

OpenCL-Benchmark & clpeak & Geekbench5 not working on Raspberry Pi

Open void-512 opened this issue 2 months ago • 3 comments

OpenCL-Benchmark

.-----------------------------------------------------------------------------.
|----------------.------------------------------------------------------------|
| Device ID    0 | V3D 7.1.10.2                                               |
| Device ID    1 | llvmpipe (LLVM 19.1.7, 128 bits)                           |
|----------------'------------------------------------------------------------|
|----------------.------------------------------------------------------------|
| Device ID      | 0                                                          |
| Device Name    | V3D 7.1.10.2                                               |
| Device Vendor  | Unknown vendor                                             |
| Device Driver  | 3.0 CLVK on Vulkan v1.3.318 driver 104865797 (Linux)       |
| OpenCL Version | OpenCL C 3.0                                               |
| Compute Units  | 1 at 0 MHz (1 cores, 0.000 TFLOPs/s)                       |
| Memory, Cache  | 4096 MB RAM, 0 KB global / 16 KB local                     |
| Buffer Limits  | 1024 MB global, 64 KB constant                             |
|----------------'------------------------------------------------------------|
| Warning: Device does not support SPIR-V capability 22                       |
|          (spv::CapabilityInt16).                                            |
| Error: OpenCL C code compilation failed with error code -11. Make sure      |
|        there are no errors in kernel.cpp.                                   |
'-----------------------------------------------------------------------------'

clpeak

clGetPlatformIDs (-1001)
no platforms found

Geekbench5

Geekbench 5.5.1 Preview : https://www.geekbench.com/

Geekbench 5 for Linux/AArch64 is a preview build. Preview builds require an
active Internet connection and automatically upload benchmark results to the
Geekbench Browser.

  Running Gathering system informationgSystem Information
  Operating System              Debian GNU/Linux forky/sid
  Kernel                        Linux 6.12.47+rpt-rpi-2712 aarch64
  Model                         Raspberry Pi 5 Model B Rev 1.0
  Motherboard                   N/A

Processor Information
  Name                          ARM ARMv8
  Topology                      1 Processor, 1 Core, 4 Threads
  Identifier                    ARM implementer 65 architecture 8 variant 4 part 3339 revision 1
  Base Frequency                2.60 GHz

Memory Information
  Size                          7.87 GB

OpenCL Information
  Platform Vendor               clvk
  Platform Name                 clvk
  Device Vendor                 Unknown vendor
  Device Name                   V3D 7.1.10.2
  Device Driver Version         3.0 CLVK on Vulkan v1.3.318 driver 104865797
  Maximum Frequency             0 MHz
  Compute Units                 1
  Device Memory                 4.00 GB

gOpenCLg  Running Sobelg[1028/230430:ERROR:src/interface/console/consolemain.cpp(818)] Geekbench encountered an internal error and cannot continue. Please contact [email protected] for assistance.

Internal error message: basic_filebuf::_M_convert_to_external conversion error: iostream error.

void-512 avatar Oct 29 '25 03:10 void-512

Looks like we are working on and encountering similar problems: https://github.com/krrishnarraj/clpeak/issues/132

russnes avatar Oct 31 '25 07:10 russnes

Looks like we are working on and encountering similar problems: krrishnarraj/clpeak#132

Seems your problem is consumption of RAM, but my problem is that clpeak doesn't recognize any platform at all. Have you tried other workloads listed in support list?

void-512 avatar Nov 01 '25 01:11 void-512

Yes, I had problems with all of the individual workloads I tried. But I'm starting to realize directly using Vulkan might be a better option for the Raspberry Pi 5 GPU so I will forget about trying OpenCL for now

russnes avatar Nov 03 '25 10:11 russnes