Привет,
у меня снова вопрос. Есть ноутбук с Gentoo Linux:
$ uname -a
Linux msi_gx70 4.4.4-gentoo #1 SMP Sat Mar 5 10:33:11 CET 2016 x86_64 AMD A10-5750M APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux
$ sudo lspci | grep -i vga
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] (rev ff)
$ DRI_PRIME=0 glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA (DRM 2.43.0, LLVM 3.7.1)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.3.0-devel (git-4f028bf)
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.3.0-devel (git-4f028bf)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.3.0-devel (git-4f028bf)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
$ DRI_PRIME=1 glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.7.1)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.3.0-devel (git-4f028bf)
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.3.0-devel (git-4f028bf)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.3.0-devel (git-4f028bf)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
DRI_PRIME=1 %command%
Недавно я собрал wine, установил стим для Windows и пробую запускать игры под Windows. Проблема в том, что wine, запущенный с флагом DRI_PRIME=1, все равно выбирает интегрированную видеокарту, так же не помогает прописывать флаг в параметрах запуска стима для конкретной игры. Как запустить wine с DRI_PRIME=1? Заранее благодарю за советы!