Пожалуйста помогите разобрать, не понимаю что к чему. Поставил Ubuntu 16.04.1 и не могу понять о состоянии драйвера для дискретной видеокарты Radeon R7 M265. Работает он или нет? Не могу понять правильно стоит драйвер для Radeon и работает или нет дискретная видеокарта.
Вот что говорят выводы команд, пожалуйста подскажите что к чему:
# lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265] [1002:6604] (rev ff) (prog-if ff)
====================================================
# xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x68 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 2 name:Intel
Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 2 name:OLAND @ pci:0000:08:00.0
Provider 2: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 2 name:OLAND @ pci:0000:08:00.0
3 - говорит о том что у меня 3 видеокарты ? одна Intel и две Radeon ?
====================================================
# lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
DeviceName: Onboard IGD
Subsystem: Dell Broadwell-U Integrated Graphics
--
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265] (rev ff)
Kernel driver in use: radeon
Kernel modules: radeon
====================================================
# inxi -Gxx
Graphics: Card-1: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:1616
Card-2: Advanced Micro Devices [AMD/ATI] Opal XT [Radeon R7 M265] bus-ID: 08:00.0 chip-ID: 1002:6604
Display Server: X.org 1.18.3 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
tty size: 148x38 Advanced Data: N/A for root
====================================================
# lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller])
DeviceName: Onboard IGD
Subsystem: Dell Broadwell-U Integrated Graphics
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915
====================================================
# lspci -v -s 08:00.0
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: radeon
Kernel modules: radeon
====================================================
# DRI_PRIME=0 glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
OpenGL core profile version string: 4.4 (Core Profile) Mesa 12.1.0-devel
OpenGL core profile shading language version string: 4.40
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 12.1.0-devel
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 12.1.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
====================================================
# DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD OLAND (DRM 2.43.0 / 4.4.0-38-generic, LLVM 3.9.0)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 12.1.0-devel
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 12.1.0-devel
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.1.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
====================================================
# DRI_PRIME=1 glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
52075 frames in 5.0 seconds = 10414.867 FPS
53198 frames in 5.0 seconds = 10639.496 FPS
НО, когда появляется окно оно черное, шестеренок не видно, если попробовать изменить размер окна уменьшить или наоборот увеличить, шестеренки появляются, но FPS падает до уровня 2000.000 FPS
====================================================
# DRI_PRIME=0 glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.546 FPS
301 frames in 5.0 seconds = 60.001 FPS
А здесь шестеренки видны сразу.
====================================================
# cat /var/log/Xorg.0.log | grep radeon
[ 4.514] (II) LoadModule: "radeon"
[ 4.514] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[ 4.516] (II) Module radeon: vendor="X.Org Foundation"
[ 4.641] (II) RADEON(G0): [DRI2] DRI driver: radeonsi
[ 4.641] (II) RADEON(G0): [DRI2] VDPAU driver: radeonsi
====================================================
# lsmod | grep radeon
radeon 1515520 1
ttm 94208 1 radeon
i2c_algo_bit 16384 2 i915,radeon
drm_kms_helper 147456 2 i915,radeon
drm 364544 8 ttm,i915,drm_kms_helper,radeon
====================================================
# cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
====================================================