slowest video output and decoder choosen by default
VLC-3.0.17.3 chooses video output "OpenGL" and video decoder "VA-API" by default, which seem to be the slowest and most buggy options.
[...]
[00007fd8bc321760] avcodec decoder debug: available hardware decoder output format 100 (vdpau)
[00007fd8bc321760] avcodec decoder debug: available hardware decoder output format 46 (vaapi_vld)
[00007fd8bc321760] avcodec decoder debug: available software decoder output format 0 (yuv420p)
[00007fd8bc321760] avcodec decoder debug: trying format vaapi_vld
[...]
[00007fd8a8004190] main gl debug: looking for opengl module matching "any": 3 candidates
[...]
[00007fd8a8004190] main gl debug: using opengl module "egl_x11"
[...]
[00007fd8a86dac20] main generic debug: using glconv module "glconv_vaapi_x11"
[...]
[00007fd8ac0affd0] main generic debug: using hw decoder module "vaapi"
[...]
Full HD (1920x1080) H264 videos don't render smoothly on my notebook using these options.
I get the same results when setting OpenGL and VA-API explicitly or leaving both on Automatic.
Try these videos:
https://www.ardmediathek.de/video/seehund-puma-und-co/fuenf-mann-ueber-bord-215/das-erste/Y3JpZDovL2Rhc2Vyc3RlLmRlL3NlZWh1bmQsIHB1bWEgJmFtcDsgY28uLzI1MDdkNTZlLWI0ZjYtNDAxNS1iYTI1LTE1N2FjOWNjZTE3NA
https://pdvideosdaserste-a.akamaihd.net/int/2021/06/10/6528b8d0-72d0-45b4-9e7c-29dce5bb796a/1920-1_917111.mp4
(caution: the baby seals being shown compete hard with baby kittens ;-))
The VA-API video decoder via DRM
(or simply Disable
) is already much smoother, without changing video output
.
But to get the best experience, you may switch to XVideo output (XCB)
.
Hardware:
HP Notebook with hybrid graphics
Product: LR294EA#ABD
Model: Pavilion g6-1024sg
CPU + integrated graphics: Intel® Core™ i5 ("i915" driver)
Dedicated GPU: Radeon HD 6470M ("radeon" driver)
https://icecat.biz/de-at/p/hp/lr294ea/pavilion-notebooks-0886111633067-g6-1024sg-8025113.html
OS:
Tested Debian-11 (Linux-5.10.106)
manjaro-xfce-21.2.5-minimal-220314-linux515.iso (Linux-5.15.28)
(both running X)
Maybe related:
#16209 (closed)
#16741 (closed)
Side notes:
Alternatively on my hybrid graphics notebook (see above) setting the DRI_PRIME=1 environment variable and using output=OpenGL
and decoder=VA-API video decoder via DRM
also resulted in a very smooth experience.
With DRI_PRIME=1, output=OpenGL
and decoder=VA-API
(without DRM) I ran into a "radeon" driver issue on my notebook.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/6326
https://bugzilla.kernel.org/show_bug.cgi?id=215839