Сам по себе DRI_PRIME=1 <пакет> работает
openSUSE@linux-dm9l:~> DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS (DRM 2.42.0, LLVM 3.7.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.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.0.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.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
openSUSE@linux-dm9l:~>
xrandr --setprovideroutputsource radeon Intel
В конфиг /etc/X11/xorg.conf.d/10-gpu.conf положил следующее :
Section "ServerLayout"
Identifier "layout"
Screen 0 "radeon"
Inactive "intel"
EndSection
Section "Device"
Identifier "radeon"
Driver "radeon"
BusID "PCI:x:x:x" # Sample: "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "radeon"
Device "radeon"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:x:x:x" # Sample: "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
В итоге черный экран