[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905424: Issues with CPUs that do not support VA-API



Package: vlc
Version: 3.0.3-1-2
Severity: important

Hi!

Trying to play webm videos encoded with the following ffmpeg parameters
results in garbled videos. It seems the issue is caused by a lack of
support for VA-API on older CPUs.

-----
ffmpeg -loglevel warning -y -f concat -safe 0 -i concat.txt -c:v
libvpx-vp9 -b:v 1024k -minrate 512k -maxrate 1484.8k -r:v 30/1 -crf 32
-speed 4 -pass 1 -passlogfile passlogfile -c:a libopus -b:a 128k -ar
48000 -t 2923.138 -pix_fmt yuv420p file.webm
-----

(concat.txt is a file with paths to multiple mkv files to be concatenated.)

If you can find an old Core duo computer (an old Thinkpad X200 should
do) or a computer with a CPU that doesn't support VA-API, you can try
reproducing with this video:

https://meetings-archive.debian.net/pub/debian-meetings/2018/DebConf18/2018-07-30/building-a-debian-derivative-lessons-lea.webm

Here's what VLC tells me when I run that video:

libva info: VA-API version 1.2.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_1_0
libva info: va_openDriver() returns 0

On another computer, also without VA-API support.

libva info: VA-API version 1.2.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_1_0
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
[00007f8f14002cc0] glconv_vaapi_drm gl error: vaInitialize: unknown
libva errorf4pV3UiGyFuxVg5EPz6v

MPV plays the video just fine, but I guess that doesn't help :9

-- 
      ,''`.
     : :'  :     Louis-Philippe Véronneau
     `. `'`      pollo@debian.org / veronneau.org
       `-

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: