Public bug reported:

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/x86_64-linux-gnu/dri/i965_drv_video.so
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/x86_64-linux-gnu/dri/i965_drv_video.so
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-no-vdpau.png. Terminal 
output looks like this:
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

** Affects: vlc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dist-upgrade regression-release xenial

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568536

Title:
  Wrong aspect ratio with vdpau on i965

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1568536/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to