I'd like to test the dedicated GPU in my notebook using e.g. glxgears but it's always picking the integrated GPU on bus 7 instead of the dedicsted GPU on bus 3.
lspci -k | grep -EA3 'VGA|3D|Display'
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M] (rev cf)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1316
Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c4)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1316
Kernel driver in use: amdgpu
Kernel modules: amdgpu
According to my understanding,
DRI_PRIME=1 glxgears
should run glxgears on the dedicated GPU but it doesn't.
How could I trigger the use of the dedicated GPU on bus 3?