Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vlc using vdpau, no decoding #54

Open
promeneur opened this issue Mar 28, 2016 · 6 comments
Open

Vlc using vdpau, no decoding #54

promeneur opened this issue Mar 28, 2016 · 6 comments

Comments

@promeneur
Copy link

opensuse 13.1 x86_64
vlc 2.2.2
libvdpau-va-gl1 0.3.6
Mesa 11.1
Xorg X11 7.6 (no sure where to find the version)

Asus 24 " screen

vlc pref > input/codecs > hardware decoding = automatic

vlc launch vdpau then no image

see vainfo, vdpauinfo and vlc log

vlc.txt
vainfo.txt
vdpauinfo.txt

vlc pref > input/codecs > hardware decoding = VA-API via X11

video is displayed but no full screen , you can't change the image ratio

if i uninstall libvdpau-va-gl then no more pb

@i-rinat
Copy link
Owner

i-rinat commented Jun 12, 2016

Hi. Could you check again with VLC of version 2.2.3 or later, please? I believe that VLC 2.2.2 had an issue with creating/destroying/using VDPAU decoder resource.

@promeneur
Copy link
Author

opensuse 13.1 x86_64
vlc 2.2.4
libvdpau-va-gl1 0.3.6

  • vlc pref > input/codecs > hardware decoding = automatic

there is progress

this time video is displayed but no full screen , you can't change the image ratio
hardware decoding is used:


...

core debug: using hw decoder module "vdpau_avcodec"

avcodec info: Using OpenGL/VAAPI/libswscale backend for VDPAU for hardware decoding.

...
vdpau_display debug: using back-end OpenGL/VAAPI/libswscale backend for VDPAU

...


i can suspend the video but if i stop the video then vlc crashes

@i-rinat
Copy link
Owner

i-rinat commented Jul 10, 2016

Could you try with libvdpau-va-gl from master branch? I've pushed changes regarding fullscreen scaling some time ago. But that was long after v0.3.6, so there's no point in testing with that version. Also, does it still crash with newer libvdpau-va-gl?

@promeneur
Copy link
Author

promeneur commented Jul 12, 2016

with master branch version 0.39

with vlc pref > input/codecs > hardware decoding = automatic

it seems there is no hw decoding

see the log


...

core debug: Buffering 0%

avcodec debug: available hardware decoder output format 109 (vdpau)

faad warning: decoded zero sample

core debug: Buffering 0%

core debug: Buffering 7%

...

...

core debug: Buffering 40%

core debug: reusing audio output

core debug: Buffering 49%

...

core debug: Buffering 99%

core debug: Stream buffering done (320 ms in 0 ms)

avcodec debug: available hardware decoder output format 53 (vaapi_vld)

avcodec debug: available software decoder output format 0 (yuv420p)

core debug: looking for hw decoder module matching "any": 4 candidates

dbus debug: Getting property CanSeek
dbus debug: Getting property Position
dbus debug: Getting property CanSeek
dbus debug: Getting property Position

core debug: no hw decoder modules matched

...


it is very different from the previous test where we see clearly that hw decoding is used

with vlc pref > input/codecs > hardware decoding = VA-API via X11
we get

...
core debug: using hw decoder module "vaapi_x11"
avcodec info: Using Intel i965 driver for Intel(R) Haswell Desktop - 1.7.1 for hardware decoding.
...


how to uninstall ?

@promeneur
Copy link
Author

opensuse 13.1 x86_64
vlc 2.2.4
libvdpau-va-gl1 0.4.0

vlc pref > input/codecs > hardware decoding = automatic

first test with a flv video
result: vlc crash

second test with a ts video
result : sound but no picture

vlc_crash.log.txt
vlc_nopicture.log.txt

@promeneur
Copy link
Author

promeneur commented Mar 15, 2017

opensuse 42.2 x86_64
VLC 2.2.4
opengl 3.0
intel graphical adapter

libvdpau_va_gl1 is installed by default(not very sure if it is me or the opensuse installer).
what is sure is that libvdpau_va_gl1 is supplied in standard opensuse repo openSUSE-leap-42.2-oss

there is no more problem with Vlc: no more crash or video sizing problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants