From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110850] Vlc fails to decode video using vaapi Date: Fri, 07 Jun 2019 07:05:18 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1029252391==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AF89B8999C for ; Fri, 7 Jun 2019 07:05:18 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1029252391== Content-Type: multipart/alternative; boundary="15598911180.1dDAFc61a.29286" Content-Transfer-Encoding: 7bit --15598911180.1dDAFc61a.29286 Date: Fri, 7 Jun 2019 07:05:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110850 Bug ID: 110850 Summary: Vlc fails to decode video using vaapi Product: Mesa Version: 19.1 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: akarshanbiswas@fedoraproject.org QA Contact: dri-devel@lists.freedesktop.org Tested Mesa version: 19.1.0 rc4, 19.0.5 Operating System: Fedora 30 with kernel 5.1.6 VLC version: 3.0.7 Vetinari (revision 3.0.6-223-g5fc4822ace) GPU's tested: Both on Radeon RX550 and AMD APU a9-9410(stoney series) Testing on both Xorg and Wayland This bug is present since long time, selecting either vaapi video decoder or vaapi video decoder via drm in vlc--> toos --> preferences--> Input/Codecs = --> hardware accelerated decoding fails and vlc switches to either vdpau or software decoding. (vdpau driver can't decode some hevc videos, vdpau is not supported on wayl= and) Steps to reproduce: 1) After selecting vaapi video decoder in vlc, run vlc on a terminal with t= he -v flag (for verbose) 2) play any media 3) Check the terminal ( Meanwhile vlc will try to switch to vdpau) Actual results: vlc's vaapi decoder fails with: ``` libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: User requested driver 'radeonsi' libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_4 libva info: va_openDriver() returns 0 [00007f4c78001f60] glconv_vaapi_x11 gl error: vaDeriveImage: operation fail= ed [00007f4c7c062b30] main video output error: video output creation failed [00007f4c88056060] main decoder error: failed to create video output ``` Expected result: Vlc should play vaapi as it does in Intel GPUs. I have a vlc bug ticket which says that the driver is buggy here: https://trac.videolan.org/vlc/ticket/21194 --=20 You are receiving this mail because: You are the assignee for the bug.= --15598911180.1dDAFc61a.29286 Date: Fri, 7 Jun 2019 07:05:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 110850
Summary Vlc fails to decode video using vaapi
Product Mesa
Version 19.1
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter akarshanbiswas@fedoraproject.org
QA Contact dri-devel@lists.freedesktop.org

Tested Mesa version: 19.1.0 rc4, 19.0.5

Operating System: Fedora 30 with kernel 5.1.6

VLC version: 3.0.7 Vetinari (revision 3.0.6-223-g5fc4822ace)

GPU's tested: Both on Radeon RX550 and AMD APU a9-9410(stoney series)

Testing on both Xorg and Wayland


This bug is present since long time, selecting either vaapi video decoder or
vaapi video decoder via drm in vlc--> toos --> preferences--> Inpu=
t/Codecs -->
hardware accelerated decoding fails and vlc switches to either vdpau or
software decoding.
(vdpau driver can't decode some hevc videos, vdpau is not supported on wayl=
and)

Steps to reproduce:

1) After selecting vaapi video decoder in vlc, run vlc on a terminal with t=
he
-v flag (for verbose)
2) play any media
3) Check the terminal ( Meanwhile vlc will try to switch to vdpau)



Actual results:
vlc's vaapi decoder fails with:
```
libva info: VA-API version 1.4.1
libva info: va_getDriverName() returns 0
libva info: User requested driver 'radeonsi'
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
[00007f4c78001f60] glconv_vaapi_x11 gl error: vaDeriveImage: operation fail=
ed
[00007f4c7c062b30] main video output error: video output creation failed
[00007f4c88056060] main decoder error: failed to create video output
```

Expected result:
Vlc should play vaapi as it does in Intel GPUs.



I have a vlc bug ticket which says that the driver is buggy here:
https://trac.videola=
n.org/vlc/ticket/21194


You are receiving this mail because:
  • You are the assignee for the bug.
= --15598911180.1dDAFc61a.29286-- --===============1029252391== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1029252391==--