I'm using Gentoo on a notebook with two AMD GPUs: an integrated and a discrete card. Here's what lspci
is returning:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] [1002:990b]
Subsystem: Micro-Star International Co., Ltd. [MSI] Richland [Radeon HD 8650G] [1462:10ef]
Kernel driver in use: radeon
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] [1002:6801] (rev ff)
Kernel driver in use: radeon
What is the correct way to setup the open source driver now? According to the feature support table on Gentoo Wiki, I set in make.conf
:
VIDEO_CARDS="radeon r600 radeonsi"
so both drivers are present to support both GPUs. What bothers me is the glxinfo
output:
$ DRI_PRIME=0 glxinfo | grep -i opengl # integrated gpu
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL version string: 2.1 Mesa 10.3.7
OpenGL shading language version string: 1.30
$ DRI_PRIME=1 glxinfo | grep -i opengl # discrete gpu
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
OpenGL version string: 2.1 Mesa 10.3.7
OpenGL shading language version string: 1.30
Again, according to the feature table from above, the drivers for both GPUs support at least OpenGL 3.3 which is obviously not the case here. Am I doing something wrong?