Hi there. Im using laptop with hybrid graphics. Intel Core i5-2450m with
integrated videocard and AMD Radeon HD 6650m as discrete.
My glxinfo output
glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.4
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.0.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
And output with DRI_PRIME set.
DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.4
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.0.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
So, i guess when im using DRI_PRIME environmental variable as one - kernel
tries to use discrete videocard. And when im trying to launch applications
(glxgears, etracer, steam) i got many messages in dmesg like this
[ 1376.309602] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup
failed 0xe
[ 1376.309620] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse
relocation -2!
[ 1376.822639] [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup
failed 0xe
[ 1376.822661] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse
relocation -2!
Looking forward to some discussion.