[CentOS] ati fglrx vs amdgpu absolutely mad on R5 m255 vs IRIS P520

Thu May 19 20:24:35 UTC 2016
Andreas Benzler <andreas at benzlerweb.de>

Hello guys,

native drivers are mad for my laptop:

Downgrade to native centos kernel vmlinuz-3.10.0-327.18.2.el7.x86_64.

fglrx glxgears around ~800 in 5 seconds my test with amdgpu kernel 4.6
(intel vs amdgpu):

[andy at localhost ~]$ cat /proc/version 
Linux version 4.6.0-1.el7.centos.x86_64 (andy at localhost.localdomain)
(gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Thu May 19
18:48:16 CEST 2016

AMD ICELAND R5 M255
[andy at localhost ~]$ vblank_mode=0 DRI_PRIME=1 ./glxinfo.sh
ATTENTION: default value of option vblank_mode overridden by
environment.
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ICELAND (DRM 3.1.0, LLVM
3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.2
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES
3.00
OpenGL ES profile extensions:
[andy at localhost ~]$ vblank_mode=0 DRI_PRIME=1 glxgears
ATTENTION: default value of option vblank_mode overridden by
environment.
10657 frames in 5.0 seconds = 2131.338 FPS
10748 frames in 5.0 seconds = 2149.570 FPS
10774 frames in 5.0 seconds = 2154.730 FPS
10774 frames in 5.0 seconds = 2154.669 FPS
10772 frames in 5.0 seconds = 2154.385 FPS

Intel(R) HD Graphics 5500 (Broadwell GT2)

[andy at localhost ~]$ vblank_mode=0 DRI_PRIME=0 ./glxinfo.sh
ATTENTION: default value of option vblank_mode overridden by
environment.
ATTENTION: default value of option vblank_mode overridden by
environment.
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell
GT2) 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 11.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES
3.10
OpenGL ES profile extensions
[andy at localhost ~]$ vblank_mode=0 DRI_PRIME=0 glxgears
ATTENTION: default value of option vblank_mode overridden by
environment.
ATTENTION: default value of option vblank_mode overridden by
environment.
35639 frames in 5.0 seconds = 7127.733 FPS
36456 frames in 5.0 seconds = 7291.007 FPS
37647 frames in 5.0 seconds = 7529.270 FPS
35838 frames in 5.0 seconds = 7167.497 FPS
35601 frames in 5.0 seconds = 7120.093 FPS
35087 frames in 5.0 seconds = 7017.222 FPS

Sincerely
Andy