u/LivingLinux

▲ 17 r/RISCV

SpacemiT K3 Tips

Bruce Hoult pointed out that my SpacemiT K3 wasn't running at max frequency.

You can check with lscpu. If CPU Scaling is set lower than 100%, you can change the governor.

Available governors: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

Set governor for X100 cores: echo ondemand | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

Set governor for A100 cores: echo ondemand | sudo tee /sys/devices/system/cpu/cpufreq/policy8/scaling_governor

You can read more here: https://www.spacemit.com/community/document/info?nodepath=software/SDK/buildroot/k3_buildroot/device/peripheral_driver/15-Cpufreq.md&lang=en

I have not tested the following things, but I asked SpacemiT about possibility to boot from USB or NVMe. Here are the links with more information. There is a UEFI test image.

https://www.spacemit.com/community/document/info?nodepath=hardware/eco/k3_pico/pico_user_guide.md&lang=en

https://spacemit.com/community/document/info?lang=en&nodepath=tools/user_guide/flasher_user_guide.md

reddit.com
u/LivingLinux — 3 days ago
▲ 35 r/RISCV

My first test of Bianbu 4 (based on Ubuntu 26.04) on the SpacemiT K3

Disclosure: SpacemiT has sent me the SpacemiT K3 Pico-ITX for free.

Some highlights.

  • The GPU now runs at 1.2GHz (was 819MHz)
  • Chromium (patched by SpacemiT?) can play 4K YouTube
  • Felix86 (x86 emulation) has a rootfs available for Ubuntu 26.04
  • PPSSPP can play God of War at original PSP resolution at 60fps

I'm open for suggestions for other tests.

For me the SpacemiT K3 is a better desktop replacement than a Raspberry Pi 5. But I have to add that I'm not a fan of Raspberry Pi.

And as a thank you to SpacemiT, links to buy the SpacemiT K3.

https://www.reddit.com/r/spacemit_riscv/comments/1tcrx4o/collection_of_k3_ecosystem_hardware_partner_store/

youtu.be
u/LivingLinux — 7 days ago
▲ 62 r/Fedora

I was surprised to see that the Fedora 44 ARM mainline image is booting on a Raspberry Pi 5.

https://fedoraproject.org/workstation/download/

Perhaps Fedora 44 mainline server image is working fully on a Raspberry Pi 5.

You can see from the screenshot that the GPU (V3D) isn't working yet (llvmpipe). And audio is only showing dummy output.

For now it's better to use the dedicated Raspberry Pi image for a working desktop, but it is encouraging to see the progress of the mainline image on a Raspberry Pi 5.

Here you can find the Raspberry Pi image: https://rpmfusion.org/Howto/RaspberryPi

u/LivingLinux — 20 days ago
▲ 16 r/spacemit_riscv+1 crossposts

Disclosure: SpacemiT has reviewed the video and promised me a free SpacemiT K3 board.

I have remote access to a SpacemiT K3 board.

clpeak is a simple benchmark for OpenCL. The PowerVR BXM-4-64 iGPU in the SpacemiT K3 is a lot faster than the BXE-2-32 in the SpacemiT K1, but I guess that is no surprise. I tested with the vendor driver (binary blob).

As the BXM-4-64 supports Dynamic Voltage and Frequency Scaling, clpeak reports the clock frequency before it starts the benchmark. The BXM-4-64 starts at 409MHz and goes up to 819MHz.

youtu.be/3-meoBGUREw

bianbu@k3:~$ clpeak --version

clpeak version: 1.1.5

bianbu@k3:~$ clpeak

Platform: PowerVR

Device: PowerVR B-Series BXM-4-64

Driver version : 24.2@6603887 (Linux unknown)

Compute units : 1

Clock frequency : 409 MHz

Global memory bandwidth (GBPS)

float : 1.77

float2 : 3.22

float4 : 9.06

float8 : 4.17

float16 : 6.34

Single-precision compute (GFLOPS)

float : 26.00

float2 : 50.62

float4 : 48.73

float8 : 46.75

float16 : 38.57

Half-precision compute (GFLOPS)

half : 25.91

half2 : 50.74

half4 : 49.04

half8 : 47.64

half16 : 38.64

No double precision support! Skipped

Integer compute (GIOPS)

int : 25.84

int2 : 25.67

int4 : 25.60

int8 : 25.37

int16 : 24.80

Integer compute Fast 24bit (GIOPS)

int : 25.84

int2 : 25.66

int4 : 25.60

int8 : 25.37

int16 : 24.79

Integer char (8bit) compute (GIOPS)

char : 25.84

char2 : 25.77

char4 : 25.66

char8 : 25.59

char16 : 25.40

Integer short (16bit) compute (GIOPS)

short : 25.83

short2 : 25.77

short4 : 25.70

short8 : 25.44

short16 : 24.80

Transfer bandwidth (GBPS)

enqueueWriteBuffer : 6.45

enqueueReadBuffer : 6.64

enqueueWriteBuffer non-blocking : 6.52

enqueueReadBuffer non-blocking : 6.64

enqueueMapBuffer(for read) : 8736.71

memcpy from mapped ptr : 7.01

enqueueUnmap(after write) : 47881.46

memcpy to mapped ptr : 6.68

Kernel launch latency : 33.69 us

And here are the results for the SpacemiT K1, with an older version of clpeak.

clpeak --version

clpeak version: 1.1.2

➜ ~ clpeak

Platform: PowerVR

Device: PowerVR B-Series BXE-2-32

Driver version : 24.2@6603887 (Linux unknown)

Compute units : 1

Clock frequency : 614 MHz

Global memory bandwidth (GBPS)

float : 1.32

float2 : 2.40

float4 : 6.15

float8 : 3.13

float16 : 4.68

Single-precision compute (GFLOPS)

float : 9.76

float2 : 18.88

float4 : 18.51

float8 : 17.38

float16 : 14.80

Half-precision compute (GFLOPS)

half : 9.72

half2 : 18.94

half4 : 18.75

half8 : 17.92

half16 : 14.83

No double precision support! Skipped

Integer compute (GIOPS)

int : 9.69

int2 : 9.64

int4 : 9.60

int8 : 9.49

int16 : 9.42

Integer compute Fast 24bit (GIOPS)

int : 9.69

int2 : 9.64

int4 : 9.60

int8 : 9.50

int16 : 9.40

Transfer bandwidth (GBPS)

enqueueWriteBuffer : 2.56

enqueueReadBuffer : 2.43

enqueueWriteBuffer non-blocking : 2.56

enqueueReadBuffer non-blocking : 2.43

enqueueMapBuffer(for read) : 5141.34

memcpy from mapped ptr : 2.43

enqueueUnmap(after write) : 8350.51

memcpy to mapped ptr : 2.55

Kernel launch latency : 69.23 us

u/LivingLinux — 25 days ago