dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 110850] Vlc fails to decode video using vaapi
@ 2019-06-07  7:05 bugzilla-daemon
  2019-09-03 13:25 ` bugzilla-daemon
  2019-09-25 18:50 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-06-07  7:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2179 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110850

            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 wayland)

Steps to reproduce:

1) After selecting vaapi video decoder in vlc, run vlc on a terminal with the
-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 failed
[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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3610 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 110850] Vlc fails to decode video using vaapi
  2019-06-07  7:05 [Bug 110850] Vlc fails to decode video using vaapi bugzilla-daemon
@ 2019-09-03 13:25 ` bugzilla-daemon
  2019-09-25 18:50 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-09-03 13:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1152 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110850

--- Comment #1 from C. Leu <kle@bluewin.ch> ---
(In reply to Akarshan Biswas from comment #0)

I can confirm a similar issue. In my case, the problem occurs on older Radeon
hardware (HD 3650) which uses the r600 driver. The result is the same, no
hardware acceleration is possible through the integrated unified video decoder
(UVD). CPU has around 100% load.

It seems that the VA-API is broken, at least for certain systems.

Mesa version: 19.0.8

OS: Kubuntu 18.04.3 LTS with kernel 5.0.0-27

Kaffeine: 2.0.18

Error message:

libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
[00007fabb0002bd0] glconv_vaapi_x11 gl error: vaDeriveImage: invalid
VAImageFormat
[00007fabbc1cbe10] main video output error: video output creation failed
[00007fabe8031800] main decoder error: failed to create video output

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1940 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 110850] Vlc fails to decode video using vaapi
  2019-06-07  7:05 [Bug 110850] Vlc fails to decode video using vaapi bugzilla-daemon
  2019-09-03 13:25 ` bugzilla-daemon
@ 2019-09-25 18:50 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-09-25 18:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110850

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #2 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1413.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2409 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-25 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-07  7:05 [Bug 110850] Vlc fails to decode video using vaapi bugzilla-daemon
2019-09-03 13:25 ` bugzilla-daemon
2019-09-25 18:50 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).