Yesterday I took more than one hour to persuade my X86_64 Debian GNU/Linux Sid/Experimental system to play back a DVD. VLC 2.2.2 on that machine didn´t scale the video to the screen size. Also any manual zoom options did not have any effect. After trying a bunch of other media players which have broken DVD menu support or other serious issues, I finally rebooted into a 4.5 kernel and there scaling in VLC 2.2.2 worked out of the box and we were finally able to watch the movie. martin@merkaba:~> apt-show-versions | egrep "libva-|libva1|va-driver" i965-va-driver:amd64/sid 1.7.0-1 uptodate i965-va-driver:i386/sid 1.7.0-1 uptodate libva-drm1:amd64/sid 1.7.0-1 uptodate libva-drm1:i386 not installed libva-glx1:amd64/sid 1.7.0-1 uptodate libva-glx1:i386 not installed libva-wayland1:amd64/sid 1.7.0-1 uptodate libva-wayland1:i386 not installed libva-x11-1:amd64/sid 1.7.0-1 uptodate libva-x11-1:i386/sid 1.7.0-1 uptodate libva1:amd64/sid 1.7.0-1 uptodate libva1:i386/sid 1.7.0-1 uptodate va-driver-all:amd64 not installed va-driver-all:i386/sid 1.7.0-1 uptodate vdpau-va-driver:amd64 not installed vdpau-va-driver:i386/sid 0.7.4-4 uptodate This happened on ThinkPad T520 on internal and external display. martin@merkaba:~> phoronix-test-suite system-info Phoronix Test Suite v5.2.1 System Information Hardware: Processor: Intel Core i5-2520M @ 3.20GHz (4 Cores), Motherboard: LENOVO 42433WG, Chipset: Intel 2nd Generation Core Family DRAM, Memory: 16384MB, Disk: 300GB INTEL SSDSA2CW30 + 480GB Crucial_CT480M50, Graphics: Intel HD 3000 (1300MHz), Audio: Conexant CX20590, Monitor: P24T-7 LED, Network: Intel 82579LM Gigabit Connection + Intel Centrino Advanced-N 6205 Software: OS: Debian unstable, Kernel: 4.5.0-tp520-btrfstrim+ (x86_64), Desktop: KDE Frameworks 5, Display Server: X Server 1.18.3, Display Driver: intel 2.99.917, OpenGL: 3.3 Mesa 11.1.2, Compiler: GCC 5.3.1 20160409, File-System: btrfs, Screen Resolution: 3840x1080 Kernels are both self-compiled. I can attach config if needed.
Any idea about this one? Thanks, Martin
Hmmm, just found vainfo command, maybe the information in there help: # vainfo 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 vainfo: VA-API version: 0.39 (libva 1.7.0) vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.7.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc
Do you mean these scaling in your VLC work fine with a 4.5 kernel ? If so, I don't think it is libva issue. It would be better to check what is changed in other components. BTW are you sure scaling in VLC is done by libva? I know some players just use libva for HW accelerated decoding.
(In reply to haihao from comment #3) > Do you mean these scaling in your VLC work fine with a 4.5 kernel ? If so, > I don't think it is libva issue. It would be better to check what is changed > in other components. Well it could be something in the 4.6-rc2 kernel. > BTW are you sure scaling in VLC is done by libva? I know some players just > use libva for HW accelerated decoding. I am not sure. I wondered whether to report this on bugzilla.kernel.org or to LKML and intel-gfx-ml, but then I thought it likely would use hardware accelerated video and thus reported it here. Where do you suggest to report it? Thank you, Martin
With 4.6 kernel (as released by Linus), vlc 2.2.3-1 and libva 1.7.0-2 scaling to fullscreen works properly again. I see nothing obvious in Debian changelogs of vlc and libva, so… it might have been the kernel. Anyway, closing. Thanks, Martin
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.