Hi i have manjaro sway editions, and there are two gpus on my laptop, an intel HD Graphics 520 and AMD Radeon R7 M360. i tried to install some games on my system and everything was fine, i used
DRI_PRIME=1 %command%
to run games with amdgpu in steam. but i saw poor performance from my AMD gpu, so i went to benchmark my AMD and Intel GPUs. i used glmark2
and unigine-heaven
benchmarks for both Intel and AMD, under the same settings. and heres what i got:
=======================================================
glmark2 2021.12
=======================================================
OpenGL Information
GL_VENDOR: Intel
GL_RENDERER: Mesa Intel(R) HD Graphics 520 (SKL GT2)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 21.3.8
=======================================================
[build] use-vbo=false: FPS: 885 FrameTime: 1.130 ms
[build] use-vbo=true: FPS: 2072 FrameTime: 0.483 ms
[texture] texture-filter=nearest: FPS: 1973 FrameTime: 0.507 ms
[texture] texture-filter=linear: FPS: 1956 FrameTime: 0.511 ms
[texture] texture-filter=mipmap: FPS: 1746 FrameTime: 0.573 ms
[shading] shading=gouraud: FPS: 1849 FrameTime: 0.541 ms
[shading] shading=blinn-phong-inf: FPS: 1863 FrameTime: 0.537 ms
[shading] shading=phong: FPS: 2098 FrameTime: 0.477 ms
[shading] shading=cel: FPS: 2135 FrameTime: 0.468 ms
[bump] bump-render=high-poly: FPS: 1631 FrameTime: 0.613 ms
[bump] bump-render=normals: FPS: 1936 FrameTime: 0.517 ms
[bump] bump-render=height: FPS: 2013 FrameTime: 0.497 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2670 FrameTime: 0.375 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1273 FrameTime: 0.786 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1910 FrameTime: 0.524 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1105 FrameTime: 0.905 ms
[desktop] effect=shadow:windows=4: FPS: 775 FrameTime: 1.290 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 124 FrameTime: 8.065 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 253 FrameTime: 3.953 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 135 FrameTime: 7.407 ms
[ideas] speed=duration: FPS: 447 FrameTime: 2.237 ms
[jellyfish] <default>: FPS: 1754 FrameTime: 0.570 ms
[terrain] <default>: FPS: 220 FrameTime: 4.545 ms
[shadow] <default>: FPS: 1059 FrameTime: 0.944 ms
[refract] <default>: FPS: 408 FrameTime: 2.451 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1901 FrameTime: 0.526 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2058 FrameTime: 0.486 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1885 FrameTime: 0.531 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1984 FrameTime: 0.504 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1990 FrameTime: 0.503 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1910 FrameTime: 0.524 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1867 FrameTime: 0.536 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1878 FrameTime: 0.532 ms
=======================================================
glmark2 Score: 1507
=======================================================
=======================================================
glmark2 2021.12
=======================================================
OpenGL Information
GL_VENDOR: AMD
GL_RENDERER: AMD Radeon R7 M360 (ICELAND, DRM 3.44.0, 5.16.18-1-MANJARO, LLVM 13.0.1)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 21.3.8
=======================================================
[build] use-vbo=false: FPS: 289 FrameTime: 3.460 ms
[build] use-vbo=true: FPS: 344 FrameTime: 2.907 ms
[texture] texture-filter=nearest: FPS: 309 FrameTime: 3.236 ms
[texture] texture-filter=linear: FPS: 322 FrameTime: 3.106 ms
[texture] texture-filter=mipmap: FPS: 317 FrameTime: 3.155 ms
[shading] shading=gouraud: FPS: 318 FrameTime: 3.145 ms
[shading] shading=blinn-phong-inf: FPS: 313 FrameTime: 3.195 ms
[shading] shading=phong: FPS: 314 FrameTime: 3.185 ms
[shading] shading=cel: FPS: 313 FrameTime: 3.195 ms
[bump] bump-render=high-poly: FPS: 319 FrameTime: 3.135 ms
[bump] bump-render=normals: FPS: 349 FrameTime: 2.865 ms
[bump] bump-render=height: FPS: 351 FrameTime: 2.849 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 314 FrameTime: 3.185 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 278 FrameTime: 3.597 ms
[pulsar] light=false:quads=5:texture=false: FPS: 324 FrameTime: 3.086 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 269 FrameTime: 3.717 ms
[desktop] effect=shadow:windows=4: FPS: 306 FrameTime: 3.268 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 218 FrameTime: 4.587 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 168 FrameTime: 5.952 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 224 FrameTime: 4.464 ms
[ideas] speed=duration: FPS: 328 FrameTime: 3.049 ms
[jellyfish] <default>: FPS: 288 FrameTime: 3.472 ms
[terrain] <default>: FPS: 92 FrameTime: 10.870 ms
[shadow] <default>: FPS: 238 FrameTime: 4.202 ms
[refract] <default>: FPS: 100 FrameTime: 10.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 324 FrameTime: 3.086 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 325 FrameTime: 3.077 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 325 FrameTime: 3.077 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 324 FrameTime: 3.086 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 323 FrameTime: 3.096 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 324 FrameTime: 3.086 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 324 FrameTime: 3.086 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 323 FrameTime: 3.096 ms
=======================================================
glmark2 Score: 290
=======================================================
you can see the problem, how in the world my AMD GPU score is this lower than Intel !?!?!
unigine-heaven
also gives same results, AMD score is 87 and Intel score is 177
is there something wrong with my GPU ? or its my GPU driver (amdgpu
) ?
i’m also not sure if im running games or benchmarks correctly so they use AMD gpu… for example i ran glmark2
for AMD with this command : DRI_PRIME=1 glmark2 --fullscreen
.
shouldnt i use DRI_PRIME=1
? or theres another way to run a process using AMD gpu?