liudidi 你看信息,是调用了gpu的。我换了loongnix25又测了一遍这次的分数是127.具体如下:
leesin@az:~/文档$ glmark2
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: LoongGPU(TM) LG110 (DRM 1.0.0 / 6.6.52-loong64, LLVM 8.0.1)
GL_VERSION: 2.1 Mesa 18.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: 159 FrameTime: 6.292 ms
[build] use-vbo=true: FPS: 183 FrameTime: 5.478 ms
[texture] texture-filter=nearest: FPS: 150 FrameTime: 6.672 ms
[texture] texture-filter=linear: FPS: 151 FrameTime: 6.665 ms
[texture] texture-filter=mipmap: FPS: 143 FrameTime: 7.002 ms
[shading] shading=gouraud: FPS: 151 FrameTime: 6.629 ms
[shading] shading=blinn-phong-inf: FPS: 151 FrameTime: 6.650 ms
[shading] shading=phong: FPS: 151 FrameTime: 6.629 ms
[shading] shading=cel: FPS: 151 FrameTime: 6.623 ms
[bump] bump-render=high-poly: FPS: 150 FrameTime: 6.668 ms
[bump] bump-render=normals: FPS: 154 FrameTime: 6.501 ms
[bump] bump-render=height: FPS: 151 FrameTime: 6.660 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 94 FrameTime: 10.676 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 51 FrameTime: 19.737 ms
[pulsar] light=false:quads=5:texture=false: FPS: 153 FrameTime: 6.579 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 51 FrameTime: 19.975 ms
[desktop] effect=shadow:windows=4: FPS: 87 FrameTime: 11.612 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 150 FrameTime: 6.692 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 101 FrameTime: 9.994 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 150 FrameTime: 6.677 ms
[ideas] speed=duration: FPS: 101 FrameTime: 9.913 ms
[jellyfish] <default>: FPS: 98 FrameTime: 10.206 ms
[terrain] <default>: FPS: 12 FrameTime: 86.718 ms
[shadow] <default>: FPS: 101 FrameTime: 9.966 ms
[refract] <default>: FPS: 24 FrameTime: 42.729 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 152 FrameTime: 6.622 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 152 FrameTime: 6.611 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 151 FrameTime: 6.623 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 152 FrameTime: 6.602 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 151 FrameTime: 6.641 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 151 FrameTime: 6.625 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 152 FrameTime: 6.609 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 152 FrameTime: 6.586 ms
=======================================================
glmark2 Score: 127
=======================================================
使用glxinfo查看
leesin@az:~$ glxinfo | grep "OpenGL renderer"
Xlib: sequence lost (0x1001e > 0x20) in reply type 0x0!
Xlib: sequence lost (0x10023 > 0x25) in reply type 0x0!
Xlib: sequence lost (0x10028 > 0x2a) in reply type 0x0!
Xlib: sequence lost (0x1002d > 0x2f) in reply type 0x0!
Xlib: sequence lost (0x10032 > 0x34) in reply type 0x0!
OpenGL renderer string: LoongGPU(TM) LG110 (DRM 1.0.0 / 6.6.52-loong64, LLVM 8.0.1)
leesin@az:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
498 frames in 5.0 seconds = 99.557 FPS
500 frames in 5.0 seconds = 99.941 FPS
500 frames in 5.0 seconds = 99.961 FPS