Raspberry Pi 5 GPU Benchmarks

Raspberry Pi 5 vs. Raspberry Pi 4 graphics benchmarks by Michael Larabel for a future article. ARMv8 Cortex-A72 testing with a BCM2835 Raspberry Pi 400 Rev 1.0 and vc4drmfb on Debian 11 via the Phoronix Test Suite.

HTML result view exported from: https://openbenchmarking.org/result/2309287-NE-2309280NE47&rdt.

Raspberry Pi 5 GPU BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionRaspberry Pi 4Raspberry Pi 5ARMv8 Cortex-A72 @ 1.80GHz (4 Cores)BCM2835 Raspberry Pi 400 Rev 1.0Broadcom BCM27114096MB128GB SF128vc4drmfbDELL P2210HDebian 115.15.84-v8+ (aarch64)LXDEX Server 1.20.112.1 Mesa 20.3.5GCC 10.2.1 20210110ext41920x1080ARMv8 Cortex-A76 @ 2.40GHz (4 Cores)BCM2835 Raspberry Pi 5 Model B Rev 1.08GB32GB SL32GV3D 7.1 8GBDELL P2415QDevice 1de4:0001Debian 126.1.0-rpi3-rpi-2712 (aarch64)X Server + Wayland3.1 Mesa 23.2.0~rc3-1+rpt3GCC 12.2.03840x2160OpenBenchmarking.orgKernel Details- Raspberry Pi 4: snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1- Raspberry Pi 5: cfg80211.ieee80211_regdom=USCompiler Details- Raspberry Pi 4: --build=aarch64-linux-gnu --disable-libquadmath --disable-libquadmath-support --disable-werror --enable-bootstrap --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-fix-cortex-a53-843419 --enable-gnu-unique-object --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --enable-libphobos-checking=release --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-link-mutex --enable-multiarch --enable-nls --enable-objc-gc=auto --enable-plugin --enable-shared --enable-threads=posix --host=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --target=aarch64-linux-gnu --with-build-config=bootstrap-lto-lean --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-target-system-zlib=auto -v - Raspberry Pi 5: --build=aarch64-linux-gnu --disable-libquadmath --disable-libquadmath-support --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-fix-cortex-a53-843419 --enable-gnu-unique-object --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --enable-libphobos-checking=release --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc=auto --enable-plugin --enable-shared --enable-threads=posix --host=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --target=aarch64-linux-gnu --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-target-system-zlib=auto -v Processor Details- Scaling Governor: cpufreq-dt ondemandPython Details- Raspberry Pi 4: Python 3.9.2- Raspberry Pi 5: Python 3.11.2Security Details- Raspberry Pi 4: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + mmio_stale_data: Not affected + retbleed: Not affected + spec_store_bypass: Vulnerable + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Vulnerable + srbds: Not affected + tsx_async_abort: Not affected - Raspberry Pi 5: gather_data_sampling: Not affected + itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + mmio_stale_data: Not affected + retbleed: Not affected + spec_rstack_overflow: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Mitigation of CSV2 BHB + srbds: Not affected + tsx_async_abort: Not affected

Raspberry Pi 5 GPU Benchmarksyquake2: OpenGL 3.x - On - On - 1920 x 1080yquake2: OpenGL 3.x - Off - On - 1920 x 1080yquake2: OpenGL 3.x - On - Off - 1920 x 1080yquake2: OpenGL 3.x - Off - Off - 1920 x 1080yquake2: OpenGL ES 3.x - On - On - 1920 x 1080yquake2: OpenGL ES 3.x - Off - On - 1920 x 1080yquake2: OpenGL ES 3.x - On - Off - 1920 x 1080yquake2: OpenGL ES 3.x - Off - Off - 1920 x 1080glmark2: 1920 x 1080ncnn: Vulkan GPU - mobilenetncnn: Vulkan GPU-v2-v2 - mobilenet-v2ncnn: Vulkan GPU-v3-v3 - mobilenet-v3ncnn: Vulkan GPU - shufflenet-v2ncnn: Vulkan GPU - mnasnetncnn: Vulkan GPU - efficientnet-b0ncnn: Vulkan GPU - blazefacencnn: Vulkan GPU - googlenetncnn: Vulkan GPU - vgg16ncnn: Vulkan GPU - resnet18ncnn: Vulkan GPU - alexnetncnn: Vulkan GPU - resnet50ncnn: Vulkan GPU - yolov4-tinyncnn: Vulkan GPU - squeezenet_ssdncnn: Vulkan GPU - regnety_400mncnn: Vulkan GPU - vision_transformerncnn: Vulkan GPU - FastestDetRaspberry Pi 4Raspberry Pi 587.488.288.389.68.68.916.116.549198.5466.1749.3926.1554.9679.399.05123.26564.78131.1780.16273.48223.68137.5967.052008.6240.83230.0239.0236.0237.630.131.271.877.121149.9513.949.633.649.0815.751.6034.42169.7025.2526.9959.1959.3143.6212.49649.126.09OpenBenchmarking.org

yquake2

Renderer: OpenGL 3.x - AF: On - MSAA: On - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL 3.x - AF: On - MSAA: On - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 550100150200250SE +/- 0.66, N = 3SE +/- 1.86, N = 387.4230.01. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL 3.x - AF: Off - MSAA: On - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL 3.x - AF: Off - MSAA: On - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 550100150200250SE +/- 0.46, N = 3SE +/- 2.81, N = 488.2239.01. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL 3.x - AF: On - MSAA: Off - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL 3.x - AF: On - MSAA: Off - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 550100150200250SE +/- 0.32, N = 3SE +/- 1.30, N = 388.3236.01. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL 3.x - AF: Off - MSAA: Off - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL 3.x - AF: Off - MSAA: Off - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 550100150200250SE +/- 0.35, N = 3SE +/- 0.99, N = 389.6237.61. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL ES 3.x - AF: On - MSAA: On - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL ES 3.x - AF: On - MSAA: On - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 5714212835SE +/- 0.03, N = 3SE +/- 0.00, N = 38.630.11. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL ES 3.x - AF: Off - MSAA: On - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL ES 3.x - AF: Off - MSAA: On - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 5714212835SE +/- 0.03, N = 3SE +/- 0.03, N = 38.931.21. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL ES 3.x - AF: On - MSAA: Off - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL ES 3.x - AF: On - MSAA: Off - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 51632486480SE +/- 0.12, N = 3SE +/- 0.00, N = 316.171.81. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

yquake2

Renderer: OpenGL ES 3.x - AF: Off - MSAA: Off - Resolution: 1920 x 1080

OpenBenchmarking.orgFrames Per Second, More Is Betteryquake2 8.10Renderer: OpenGL ES 3.x - AF: Off - MSAA: Off - Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 520406080100SE +/- 0.09, N = 3SE +/- 0.07, N = 316.577.11. (CC) gcc options: -shared -lm -ldl -rdynamic -lSDL2 -O2 -pipe -fomit-frame-pointer -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden -MMD -fPIC

GLmark2

Resolution: 1920 x 1080

OpenBenchmarking.orgScore, More Is BetterGLmark2 2023.01Resolution: 1920 x 1080Raspberry Pi 4Raspberry Pi 55010015020025049211

NCNN

Target: Vulkan GPU - Model: mobilenet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: mobilenetRaspberry Pi 4Raspberry Pi 54080120160200SE +/- 1.94, N = 3SE +/- 0.10, N = 3198.5449.95-O3 -lgomp -lpthread -pthread - MIN: 194.17 / MAX: 219.31-fopenmp - MIN: 49.19 / MAX: 53.81. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU-v2-v2 - Model: mobilenet-v2

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU-v2-v2 - Model: mobilenet-v2Raspberry Pi 4Raspberry Pi 51530456075SE +/- 1.02, N = 3SE +/- 0.05, N = 366.1713.94-O3 -lgomp -lpthread -pthread - MIN: 64.34 / MAX: 97.37-fopenmp - MIN: 13.53 / MAX: 14.411. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU-v3-v3 - Model: mobilenet-v3

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU-v3-v3 - Model: mobilenet-v3Raspberry Pi 4Raspberry Pi 51122334455SE +/- 0.86, N = 3SE +/- 0.04, N = 349.399.63-O3 -lgomp -lpthread -pthread - MIN: 47.7 / MAX: 57.96-fopenmp - MIN: 9.39 / MAX: 10.031. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: shufflenet-v2

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: shufflenet-v2Raspberry Pi 4Raspberry Pi 5612182430SE +/- 0.55, N = 3SE +/- 0.04, N = 326.153.64-O3 -lgomp -lpthread -pthread - MIN: 25.17 / MAX: 38.68-fopenmp - MIN: 3.51 / MAX: 3.911. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: mnasnet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: mnasnetRaspberry Pi 4Raspberry Pi 51224364860SE +/- 0.72, N = 3SE +/- 0.08, N = 354.969.08-O3 -lgomp -lpthread -pthread - MIN: 53.41 / MAX: 82.61-fopenmp - MIN: 8.59 / MAX: 9.491. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: efficientnet-b0

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: efficientnet-b0Raspberry Pi 4Raspberry Pi 520406080100SE +/- 1.00, N = 3SE +/- 0.12, N = 379.3915.75-O3 -lgomp -lpthread -pthread - MIN: 77.6 / MAX: 88.49-fopenmp - MIN: 15.31 / MAX: 16.351. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: blazeface

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: blazefaceRaspberry Pi 4Raspberry Pi 53691215SE +/- 0.18, N = 3SE +/- 0.00, N = 39.051.60-O3 -lgomp -lpthread -pthread - MIN: 8.67 / MAX: 11.18-fopenmp - MIN: 1.54 / MAX: 1.781. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: googlenet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: googlenetRaspberry Pi 4Raspberry Pi 5306090120150SE +/- 2.18, N = 3SE +/- 0.03, N = 3123.2634.42-O3 -lgomp -lpthread -pthread - MIN: 120.08 / MAX: 141.42-fopenmp - MIN: 33.91 / MAX: 34.891. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: vgg16

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: vgg16Raspberry Pi 4Raspberry Pi 5120240360480600SE +/- 2.50, N = 3SE +/- 0.20, N = 3564.78169.70-O3 -lgomp -lpthread -pthread - MIN: 549.85 / MAX: 609.28-fopenmp - MIN: 166.31 / MAX: 177.271. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: resnet18

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: resnet18Raspberry Pi 4Raspberry Pi 5306090120150SE +/- 2.68, N = 3SE +/- 0.10, N = 3131.1725.25-O3 -lgomp -lpthread -pthread - MIN: 127.45 / MAX: 147.5-fopenmp - MIN: 24.66 / MAX: 39.941. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: alexnet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: alexnetRaspberry Pi 4Raspberry Pi 520406080100SE +/- 1.04, N = 3SE +/- 0.06, N = 380.1626.99-O3 -lgomp -lpthread -pthread - MIN: 77.99 / MAX: 94.43-fopenmp - MIN: 26.46 / MAX: 48.251. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: resnet50

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: resnet50Raspberry Pi 4Raspberry Pi 560120180240300SE +/- 0.19, N = 3SE +/- 0.11, N = 3273.4859.19-O3 -lgomp -lpthread -pthread - MIN: 271.84 / MAX: 295.4-fopenmp - MIN: 58.06 / MAX: 68.621. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: yolov4-tiny

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: yolov4-tinyRaspberry Pi 4Raspberry Pi 550100150200250SE +/- 0.29, N = 3SE +/- 0.16, N = 3223.6859.31-O3 -lgomp -lpthread -pthread - MIN: 220.49 / MAX: 246.88-fopenmp - MIN: 58.45 / MAX: 104.551. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: squeezenet_ssd

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: squeezenet_ssdRaspberry Pi 4Raspberry Pi 5306090120150SE +/- 0.21, N = 3SE +/- 0.02, N = 3137.5943.62-O3 -lgomp -lpthread -pthread - MIN: 136.58 / MAX: 156.34-fopenmp - MIN: 42.99 / MAX: 44.471. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: regnety_400m

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: regnety_400mRaspberry Pi 4Raspberry Pi 51530456075SE +/- 0.96, N = 3SE +/- 0.08, N = 367.0512.49-O3 -lgomp -lpthread -pthread - MIN: 65.14 / MAX: 85.91-fopenmp - MIN: 12.19 / MAX: 13.121. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: vision_transformer

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: vision_transformerRaspberry Pi 4Raspberry Pi 5400800120016002000SE +/- 15.11, N = 3SE +/- 0.51, N = 32008.62649.12-O3 -lgomp -lpthread -pthread - MIN: 1900.59 / MAX: 2112.98-fopenmp - MIN: 626.69 / MAX: 668.911. (CXX) g++ options: -rdynamic

NCNN

Target: Vulkan GPU - Model: FastestDet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20230517Target: Vulkan GPU - Model: FastestDetRaspberry Pi 4Raspberry Pi 5918273645SE +/- 0.17, N = 3SE +/- 0.08, N = 340.836.09-O3 -lgomp -lpthread -pthread - MIN: 40.04 / MAX: 62.82-fopenmp - MIN: 5.85 / MAX: 6.71. (CXX) g++ options: -rdynamic


Phoronix Test Suite v10.8.5