Wrong aspect ratio with vdpau on i965
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvdpau-va-gl (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
After upgrading from Wily to Xenial, vlc scaling and zooming is now incorrect for h264 videos playing on i965. See attached screenshot "vlc-vaapi.png" for a clear depiction of the problem.
Four test cases:
1. With libvdpau-va-gl1 and i965-va-driver installed, video is displayed with the wrong aspect ratio and does not scale properly. Screenshot is vlc-vaapi.png and terminal output looks like this:
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000758148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
2. With libvdpau-va-gl1 but not i965-va-driver installed, video is the same as #1 (vlc-vaapi.png) but terminal output is a little different:
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000758148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
3. Without libvdpau-va-gl1 (and regardless of installation status of i965-va-driver), playback works perfectly. See vlc-vaapi-
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[0000000000c29148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Package versions used for this test:
||/ Name Version Architecture Description
+++-===
ii ffmpeg 7:2.8.6-1ubu amd64 Tools for transcoding, streaming
ii i965-va-driver 1.7.0-1 amd64 VAAPI driver for Intel G45 & HD G
ii libva-x11-1:am 1.7.0-1 amd64 Video Acceleration (VA) API for L
ii libvdpau-va-gl 0.3.6-1 amd64 VDPAU driver with OpenGL/VAAPI ba
ii vdpau-va-drive 0.7.4-5 amd64 VDPAU-based backend for VA API
ii vlc 2.2.2-4 amd64 multimedia player and streamer
Changed in libvdpau-va-gl (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → Medium |
Because of bug 1568531, just changing the ffmpeg backend doesn't seem to help/change things.