История изменений
Исправление tm4ig, (текущая версия) :
Поставил арчик с пятыми кедами (они кстати оказались очень не плохи, не текут как compiz или gnome-shell, а вся система при запуске в оперативе занимает 500 МиБ).
Короче почему-то для этой карты (AMD Radeon R7 m445) нет никакого аппаратного ускорения викдео.
Поставил пакеты:
127 tm4ig@ctgx ~ % pacman -Q | grep 'vdpau\|va-' :(
libva-intel-driver 1.7.3-1
libva-mesa-driver 13.0.2-2
libvdpau 1.1.1-2
mesa-vdpau 13.0.2-2
vdpauinfo 1.0-2
tm4ig@ctgx ~ % xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x76 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x4f cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 0 name:TOPAZ @ pci:0000:01:00.0
tm4ig@ctgx ~ % export DRI_PRIME=1
tm4ig@ctgx ~ % export LIBVA_DRIVER_NAME=radeonsi
tm4ig@ctgx ~ % export VDPAU_DRIVER=radeonsi
tm4ig@ctgx ~ % vainfo
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'radeonsi'
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
tm4ig@ctgx ~ % vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 1048576 16384 16384
MPEG2_SIMPLE 3 1048576 16384 16384
MPEG2_MAIN 3 1048576 16384 16384
H264_BASELINE --- not supported ---
H264_MAIN --- not supported ---
H264_HIGH --- not supported ---
VC1_SIMPLE --- not supported ---
VC1_MAIN --- not supported ---
VC1_ADVANCED --- not supported ---
MPEG4_PART2_SP --- not supported ---
MPEG4_PART2_ASP --- not supported ---
DIVX4_QMOBILE --- not supported ---
DIVX4_MOBILE --- not supported ---
DIVX4_HOME_THEATER --- not supported ---
DIVX4_HD_1080P --- not supported ---
DIVX5_QMOBILE --- not supported ---
DIVX5_MOBILE --- not supported ---
DIVX5_HOME_THEATER --- not supported ---
DIVX5_HD_1080P --- not supported ---
H264_CONSTRAINED_BASELINE --- not supported ---
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH --- not supported ---
H264_HIGH_444_PREDICTIVE --- not supported ---
HEVC_MAIN --- not supported ---
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
.
.
.
В логе иксов вроде всё хорошо:
tm4ig@ctgx ~ % grep -i amdgpu /var/log/Xorg.0.log
[ 30.633] (II) Applying OutputClass "AMDgpu" to /dev/dri/card1
[ 30.633] loading driver: amdgpu
[ 30.633] (==) Matched amdgpu as autoconfigured driver 1
[ 30.692] (II) LoadModule: "amdgpu"
[ 30.692] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 30.758] (II) Module amdgpu: vendor="X.Org Foundation"
[ 30.791] (II) AMDGPU: Driver for AMD Radeon chipsets: OLAND, HAINAN, TAHITI,
[ 30.825] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32
[ 30.825] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 30.825] (==) AMDGPU(G0): Default visual is TrueColor
[ 30.825] (==) AMDGPU(G0): RGB weight 888
[ 30.825] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)
[ 30.825] (--) AMDGPU(G0): Chipset: "TOPAZ" (ChipID = 0x6900)
[ 32.303] (II) AMDGPU(G0): glamor detected, initialising EGL layer.
[ 32.303] (II) AMDGPU(G0): KMS Pageflipping: enabled
[ 32.313] (II) AMDGPU(G0): mem size init: gart size :ffe7a000 vram size: s:ff7bd000 visible:f7bd000
[ 32.313] (==) AMDGPU(G0): DPI set to (96, 96)
[ 32.313] (==) AMDGPU(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 32.314] (II) AMDGPU(G0): [DRI2] Setup complete
[ 32.314] (II) AMDGPU(G0): [DRI2] DRI driver: radeonsi
[ 32.314] (II) AMDGPU(G0): [DRI2] VDPAU driver: radeonsi
[ 32.315] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes
[ 32.322] (II) AMDGPU(G0): SYNC extension fences enabled
[ 32.323] (II) AMDGPU(G0): Present extension enabled
[ 32.323] (==) AMDGPU(G0): DRI3 enabled
[ 32.323] (==) AMDGPU(G0): Backing store enabled
[ 32.323] (II) AMDGPU(G0): Direct rendering enabled
[ 33.109] (II) AMDGPU(G0): Use GLAMOR acceleration.
[ 33.109] (II) AMDGPU(G0): Acceleration enabled
[ 33.109] (==) AMDGPU(G0): DPMS enabled
[ 33.109] (==) AMDGPU(G0): Silken mouse enabled
[ 33.125] (II) AMDGPU(G0): Set up textured video (glamor)
[ 33.125] (II) AMDGPU(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
Исходная версия tm4ig, :
Поставил арчик с пятыми кедами (они кстати оказались очень не плохи, не текут как compiz или gnome-shell, а вся система при запуске в оперативе занимает 500 МиБ).
Короче почему-то для этой карты (AMD Radeon R7 m445) нет никакого аппаратного ускорения викдео.
Поставил пакеты:
127 tm4ig@ctgx ~ % pacman -Q | grep 'vdpau\|va-' :(
libva-intel-driver 1.7.3-1
libva-mesa-driver 13.0.2-2
libvdpau 1.1.1-2
mesa-vdpau 13.0.2-2
vdpauinfo 1.0-2
tm4ig@ctgx ~ % export DRI_PRIME=1
tm4ig@ctgx ~ % export LIBVA_DRIVER_NAME=radeonsi
tm4ig@ctgx ~ % export VDPAU_DRIVER=radeonsi
tm4ig@ctgx ~ % vainfo
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'radeonsi'
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
tm4ig@ctgx ~ % vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 0 1048576 16384 16384
MPEG2_SIMPLE 3 1048576 16384 16384
MPEG2_MAIN 3 1048576 16384 16384
H264_BASELINE --- not supported ---
H264_MAIN --- not supported ---
H264_HIGH --- not supported ---
VC1_SIMPLE --- not supported ---
VC1_MAIN --- not supported ---
VC1_ADVANCED --- not supported ---
MPEG4_PART2_SP --- not supported ---
MPEG4_PART2_ASP --- not supported ---
DIVX4_QMOBILE --- not supported ---
DIVX4_MOBILE --- not supported ---
DIVX4_HOME_THEATER --- not supported ---
DIVX4_HD_1080P --- not supported ---
DIVX5_QMOBILE --- not supported ---
DIVX5_MOBILE --- not supported ---
DIVX5_HOME_THEATER --- not supported ---
DIVX5_HD_1080P --- not supported ---
H264_CONSTRAINED_BASELINE --- not supported ---
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH --- not supported ---
H264_HIGH_444_PREDICTIVE --- not supported ---
HEVC_MAIN --- not supported ---
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
.
.
.
В логе иксов вроде всё хорошо:
tm4ig@ctgx ~ % grep -i amdgpu /var/log/Xorg.0.log
[ 30.633] (II) Applying OutputClass "AMDgpu" to /dev/dri/card1
[ 30.633] loading driver: amdgpu
[ 30.633] (==) Matched amdgpu as autoconfigured driver 1
[ 30.692] (II) LoadModule: "amdgpu"
[ 30.692] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 30.758] (II) Module amdgpu: vendor="X.Org Foundation"
[ 30.791] (II) AMDGPU: Driver for AMD Radeon chipsets: OLAND, HAINAN, TAHITI,
[ 30.825] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32
[ 30.825] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 30.825] (==) AMDGPU(G0): Default visual is TrueColor
[ 30.825] (==) AMDGPU(G0): RGB weight 888
[ 30.825] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)
[ 30.825] (--) AMDGPU(G0): Chipset: "TOPAZ" (ChipID = 0x6900)
[ 32.303] (II) AMDGPU(G0): glamor detected, initialising EGL layer.
[ 32.303] (II) AMDGPU(G0): KMS Pageflipping: enabled
[ 32.313] (II) AMDGPU(G0): mem size init: gart size :ffe7a000 vram size: s:ff7bd000 visible:f7bd000
[ 32.313] (==) AMDGPU(G0): DPI set to (96, 96)
[ 32.313] (==) AMDGPU(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 32.314] (II) AMDGPU(G0): [DRI2] Setup complete
[ 32.314] (II) AMDGPU(G0): [DRI2] DRI driver: radeonsi
[ 32.314] (II) AMDGPU(G0): [DRI2] VDPAU driver: radeonsi
[ 32.315] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes
[ 32.322] (II) AMDGPU(G0): SYNC extension fences enabled
[ 32.323] (II) AMDGPU(G0): Present extension enabled
[ 32.323] (==) AMDGPU(G0): DRI3 enabled
[ 32.323] (==) AMDGPU(G0): Backing store enabled
[ 32.323] (II) AMDGPU(G0): Direct rendering enabled
[ 33.109] (II) AMDGPU(G0): Use GLAMOR acceleration.
[ 33.109] (II) AMDGPU(G0): Acceleration enabled
[ 33.109] (==) AMDGPU(G0): DPMS enabled
[ 33.109] (==) AMDGPU(G0): Silken mouse enabled
[ 33.125] (II) AMDGPU(G0): Set up textured video (glamor)
[ 33.125] (II) AMDGPU(G0): RandR 1.2 enabled, ignore the following RandR disabled message.