https://gitcode.csdn.net/65ec3f9e1a836825ed794fed.html
这里主要是以orange pi 5 plus为对象作一个简单的笔记
首先看rk3588的gpu介绍,它用的是ARM的GPU,支持openGL ES和openCL(支持什么其实跟GPU驱动有关,arm官方闭源GPU驱动就只支持这两个)
opi官方提供了debian的xfce和kde桌面的镜像,提供了ubuntu的xfce和gnome桌面的镜像。
以上镜像,除了gnome之外,用的GPU驱动都是arm官方的闭源驱动libmali,只支持openGL ES和openCL。由于wayland方式需要openGL支持,而openGL ES仅仅是openGL的子集,所以官方驱动其实并不支持wayland方式。也就是说,使用官方驱动的镜像都只能使用xorg的显示服务器。
有困难就会有人解决,据网友willzen所说,有大佬做了rk3588的开源GPU驱动panfrost,这个驱动支持完整的openGL,opi官方就是用的这个开源驱动去做的gnome桌面,但由于这个开源驱动不支持openCL(或者说有bug,反正就是不支持xorg),所以也只能选择wayland的显示方式,如果选xorg则会出问题。
总结:
官方闭源驱动——支持openGL ES和openCL——只能使用xorg显示服务器
某开源驱动——支持完整的openGL但不支持openCL——只能使用wayland显示服务器
参考资料:
RK3588 安装 Panfork 开源 GPU 驱动 | Radxa Docs
香橙派5(OrangePi5)-开源GPU驱动panfrost测试_哔哩哔哩_bilibili
rk3588-gaming-step-by-step/gpu-envs.md at main · ChisBread/rk3588-gaming-step-by-step · GitHub
跑分附录
我的香橙派5 pro (XFCE)
OpenGL Information GL_VENDOR: Mesa/X.org GL_RENDERER: llvmpipe (LLVM 15.0.6, 128 bits) GL_VERSION: 4.5 (Compatibility Profile) Mesa 22.3.6 Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0 Surface Size: 800x600 windowed ... glmark2: 128
瑞莎 Rock 3C (KDE)
glmark2-es
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali-G52 r1 (Panfrost)
GL_VERSION: OpenGL ES 3.1 Mesa 22.3.6
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 317 FrameTime: 3.162 ms
[build] use-vbo=true: FPS: 323 FrameTime: 3.102 ms
[texture] texture-filter=nearest: FPS: 577 FrameTime: 1.733 ms
[texture] texture-filter=linear: FPS: 575 FrameTime: 1.740 ms
[texture] texture-filter=mipmap: FPS: 582 FrameTime: 1.721 ms
[shading] shading=gouraud: FPS: 221 FrameTime: 4.526 ms
[shading] shading=blinn-phong-inf: FPS: 225 FrameTime: 4.457 ms
[shading] shading=phong: FPS: 224 FrameTime: 4.474 ms
[shading] shading=cel: FPS: 232 FrameTime: 4.315 ms
[bump] bump-render=high-poly: FPS: 96 FrameTime: 10.421 ms
[bump] bump-render=normals: FPS: 691 FrameTime: 1.449 ms
[bump] bump-render=height: FPS: 669 FrameTime: 1.496 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 400 FrameTime: 2.505 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 168 FrameTime: 5.954 ms
[pulsar] light=false:quads=5:texture=false: FPS: 496 FrameTime: 2.017 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 155 FrameTime: 6.475 ms
[desktop] effect=shadow:windows=4: FPS: 445 FrameTime: 2.251 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 61 FrameTime: 16.462 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 62 FrameTime: 16.367 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 72 FrameTime: 14.042 ms
[ideas] speed=duration: FPS: 211 FrameTime: 4.748 ms
[jellyfish] <default>: FPS: 268 FrameTime: 3.732 ms
[terrain] <default>: FPS: 22 FrameTime: 45.509 ms
[shadow] <default>: FPS: 167 FrameTime: 6.008 ms
[refract] <default>: FPS: 23 FrameTime: 43.720 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 368 FrameTime: 2.719 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 378 FrameTime: 2.650 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 380 FrameTime: 2.638 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 379 FrameTime: 2.640 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 373 FrameTime: 2.685 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 378 FrameTime: 2.648 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 378 FrameTime: 2.648 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 370 FrameTime: 2.703 ms
=======================================================
glmark2 Score: 310
glmark2
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali-G52 r1 (Panfrost)
GL_VERSION: 3.1 Mesa 22.3.6
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 308 FrameTime: 3.248 ms
[build] use-vbo=true: FPS: 313 FrameTime: 3.205 ms
[texture] texture-filter=nearest: FPS: 509 FrameTime: 1.966 ms
[texture] texture-filter=linear: FPS: 508 FrameTime: 1.969 ms
[texture] texture-filter=mipmap: FPS: 514 FrameTime: 1.946 ms
[shading] shading=gouraud: FPS: 224 FrameTime: 4.469 ms
[shading] shading=blinn-phong-inf: FPS: 225 FrameTime: 4.459 ms
[shading] shading=phong: FPS: 217 FrameTime: 4.621 ms
[shading] shading=cel: FPS: 225 FrameTime: 4.457 ms
[bump] bump-render=high-poly: FPS: 94 FrameTime: 10.650 ms
[bump] bump-render=normals: FPS: 634 FrameTime: 1.578 ms
[bump] bump-render=height: FPS: 608 FrameTime: 1.647 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 392 FrameTime: 2.554 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 167 FrameTime: 6.024 ms
[pulsar] light=false:quads=5:texture=false: FPS: 486 FrameTime: 2.061 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 152 FrameTime: 6.586 ms
[desktop] effect=shadow:windows=4: FPS: 436 FrameTime: 2.297 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 61 FrameTime: 16.542 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 62 FrameTime: 16.354 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 72 FrameTime: 13.967 ms
[ideas] speed=duration: FPS: 206 FrameTime: 4.870 ms
[jellyfish] <default>: FPS: 238 FrameTime: 4.204 ms
[terrain] <default>: FPS: 23 FrameTime: 44.061 ms
[shadow] <default>: FPS: 162 FrameTime: 6.211 ms
[refract] <default>: FPS: 23 FrameTime: 44.963 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 367 FrameTime: 2.731 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 366 FrameTime: 2.733 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 368 FrameTime: 2.723 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 367 FrameTime: 2.726 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 361 FrameTime: 2.776 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 366 FrameTime: 2.737 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 366 FrameTime: 2.734 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 360 FrameTime: 2.778 ms
=======================================================
glmark2 Score: 295
=======================================================
![[转]RK3588的GPU驱动和桌面环境](https://www.coder4.com/wp-content/uploads/2025/04/7b8edec3427b1236dfa47d11d787378f.png)