i finally got my discrete graphics working but still with low performance and i think the problem is with
my card is radeon rx 460, and i think problem with “GL_RENDERER: AMD KAVERI”
here is output of glmark2-wayland :
=======================================================
glmark2 2017.07
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD KAVERI (DRM 3.32.0, 5.2.11-200.fc30.x86_64, LLVM 8.0.0)
GL_VERSION: 4.5 (Compatibility Profile) Mesa 19.1.6
=======================================================
[build] use-vbo=false: FPS: 2445 FrameTime: 0.409 ms
[build] use-vbo=true: FPS: 3058 FrameTime: 0.327 ms
[texture] texture-filter=nearest: FPS: 2333 FrameTime: 0.429 ms
[texture] texture-filter=linear: FPS: 2301 FrameTime: 0.435 ms
[texture] texture-filter=mipmap: FPS: 2531 FrameTime: 0.395 ms
[shading] shading=gouraud: FPS: 1672 FrameTime: 0.598 ms
[shading] shading=blinn-phong-inf: FPS: 1972 FrameTime: 0.507 ms
[shading] shading=phong: FPS: 1972 FrameTime: 0.507 ms
[shading] shading=cel: FPS: 1416 FrameTime: 0.706 ms
[bump] bump-render=high-poly: FPS: 1256 FrameTime: 0.796 ms
[bump] bump-render=normals: FPS: 2309 FrameTime: 0.433 ms
[bump] bump-render=height: FPS: 2456 FrameTime: 0.407 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1584 FrameTime: 0.631 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 968 FrameTime: 1.033 ms
[pulsar] light=false:quads=5:texture=false: FPS: 2168 FrameTime: 0.461 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 590 FrameTime: 1.695 ms
[desktop] effect=shadow:windows=4: FPS: 677 FrameTime: 1.477 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 343 FrameTime: 2.915 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 392 FrameTime: 2.551 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 399 FrameTime: 2.506 ms
[ideas] speed=duration: FPS: 1836 FrameTime: 0.545 ms
[jellyfish] <default>: FPS: 976 FrameTime: 1.025 ms
[terrain] <default>: FPS: 133 FrameTime: 7.519 ms
[shadow] <default>: FPS: 1036 FrameTime: 0.965 ms
[refract] <default>: FPS: 132 FrameTime: 7.576 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2672 FrameTime: 0.374 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2589 FrameTime: 0.386 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 2632 FrameTime: 0.380 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2197 FrameTime: 0.455 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1736 FrameTime: 0.576 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2526 FrameTime: 0.396 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2394 FrameTime: 0.418 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2709 FrameTime: 0.369 ms
=======================================================
glmark2 Score: 1709
=======================================================