Can't use hardware decoding (vaapi) with fglrx: Assertion `buffers' failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
mpv --hwdec=auto movie.mkv gives this:
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
Using hardware decoding (vaapi).
VO: [opengl] 1904x1036 vaapi
mpv: dri2_util.c:132: dri2GetRenderin
(SIGABRT) (core dumped)
I have hybrid graphics Intel Haswell and AMD Radeon R5 M255.
I have installed fglrx-updates and in AMD Catalyst control center switched to dedicated GPU.
I seems to me that this setting is ignored and hardware decoding is tried on Intel instead.
fglrxinfo:
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon R5 M255
OpenGL version string: 4.5.13399 Compatibility Profile Context 15.201.1151
amdconfig --pxl :
PowerXpress: Discrete GPU is active (High-Performance mode).
lspci | grep VGA:
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
vainfo:
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.6.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.6.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: xorg 1:7.7+7ubuntu4
ProcVersionSign
Uname: Linux 4.2.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: KDE
Date: Sun Dec 13 23:04:06 2015
DistUpgraded: Fresh install
DistroCodename: wily
DistroVariant: kubuntu
DkmsStatus: fglrx-updates-core, 15.201, 4.2.0-19-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device [103c:2248]
Subsystem: Hewlett-Packard Company Device [103c:224a]
InstallationDate: Installed on 2015-10-23 (51 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: Hewlett-Packard HP ProBook 450 G2
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UdevLog: Error: [Errno 2] Adresář nebo soubor neexistuje: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/20/2014
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: M74 Ver. 01.05
dmi.board.name: 2248
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 67.22
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP ProBook 450 G2
dmi.product.
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz N/A
version.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.64-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Sun Dec 13 00:32:49 2015
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
Screen 1 deleted because of no matching config section.
AIGLX error: failed to open /usr/X11R6/
AIGLX error: failed to open /usr/lib64/
AIGLX error: failed to open /usr/X11R6/
fglrx(0): XMM: Fail to unregister UVDFWVIRQ! (EE) fglrx(0):
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.2-1ubuntu9.1
xserver.
tags: | added: bios-outdated-1.16 |
Changed in xorg (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Incomplete |
Thank you for your replay. After BIOS update:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date says:
M74 Ver. 01.16
11/26/2015
Unfortunately no improvement, it doesn't work anyway. The only change is, that mpv doesn't give "SIGABRT" but "Aborted".
Whole message:
libva info: VA-API version 0.38.0 x86_64- linux-gnu/ dri/i965_ drv_video. so gBuffer: Assertion `buffers' failed.
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
AO: [pulse] 48000Hz 5.1(side) 6ch float
Using hardware decoding (vaapi).
VO: [opengl] 1920x796 vaapi
mpv: dri2_util.c:132: dri2GetRenderin
Aborted (core dumped)