moonlight 发表于 2023-7-31 10:23:46

AIO3588MQ OpenGL

firefly@firefly:~$cat /proc/version
Linux version 5.10.160 (lvsx@tchip16) (kernel commit id: dc384cc20ddf) (sdk version: rk3588_linux_release_20230704_v1.1.1a) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #111 SMP Tue Jul 4 11:41:59 CST 2023

firefly@firefly:~$ ffgo version
OS:   Ubuntu 20.04.6 LTS
MODEL:   Firefly AIO-3588Q MIPI101(Linux)
FIREFLY: v2.40-7-gaab3442
DATE:   20230629
KERNEL:   Linux version 5.10.160 (lvsx@tchip16) (kernel commit id: dc384cc20ddf) (sdk version: rk3588_linux_release_20230704_v1.1.1a) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #111 SMP Tue Jul 4 11:41:59 CST 2023





firefly@firefly:~$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

firefly@firefly:~$ glxgears
Error: couldn't get an RGB, Double-buffered visual

firefly@firefly:~$ glmark2-es2
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
Error: main: Could not initialize canvas
XIO:fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.

板蓝根 发表于 2023-7-31 11:52:08

arm 嵌入式平台用的是opengles 不是 opengl ,支持 egl不支持 glx。接上显示器运行 DISPLAY=:0glmark2-es2。 没有接的话请加 off-screen 参数

moonlight 发表于 2023-7-31 14:37:45

板蓝根 发表于 2023-7-31 11:52
arm 嵌入式平台用的是opengles 不是 opengl ,支持 egl不支持 glx。接上显示器运行 DISPLAY=:0glmark ...

firefly@firefly:~$ DISPLAY=:0
firefly@firefly:~$ glmark2-es2
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
Error: main: Could not initialize canvas
XIO:fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.
firefly@firefly:~$
firefly@firefly:~$ DISPLAY=:0 glmark2-es2
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
arm_release_ver: g13p0-01eac0, rk_so_ver: 6
Error: eglInitialize() failed with error: 0x3001
Error: main: Could not initialize canvas
XIO:fatal IO error 2 (No such file or directory) on X server ":0"
      after 7 requests (6 known processed) with 0 events remaining.
页: [1]
查看完整版本: AIO3588MQ OpenGL