Score:0

VLC with VDPAU does not display the video : hardware accelerator failed to decode picture

de flag

VLC with VDPAU does not display the video : hardware accelerator failed to decode picture.

The audio works fine.

The vdpau drivers are installed :

$ dpkg -l | grep vdpau
ii  libvdpau1:amd64                                             1.3-1ubuntu2                                amd64        Video Decode and Presentation API for Unix (libraries)
ii  mesa-vdpau-drivers:amd64                                    21.0.3-0ubuntu0.3~20.04.3                   amd64        Mesa VDPAU video acceleration drivers
ii  vdpau-driver-all:amd64                                      1.3-1ubuntu2                                amd64        Video Decode and Presentation API for Unix (driver metapackage)
ii  vdpauinfo                                                   1.0-3build1                                 amd64        Video Decode and Presentation API for Unix (vdpauinfo utility)

Here is the vlc output :

 VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d)
[000056494338a060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
Invalid Type= "fixed" line for icon theme:  "/usr/share/icons/MacBuntu-OSX/places/symbolic/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the --global-isel-abort option: may only occur zero or one times!
mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
mesa: for the --structurizecfg-skip-uniform-regions option: may only occur zero or one times!
[00007f50d0002780] glconv_vaapi_x11 gl error: vaCreateSurfaces: resource allocation failed
[00007f50cc050250] main video output error: video output creation failed
[00007f5130d6e350] main decoder error: failed to create video output
[00007f5130d6e350] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[00007f5130d6e350] main decoder error: buffer deadlock prevented
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e14000] hardware accelerator failed to decode picture
[h264 @ 0x7f5130e30800] hardware accelerator failed to decode picture
[h264 @ 0x7f5130d9f440] hardware accelerator failed to decode picture
[h264 @ 0x7f5130daf280] hardware accelerator failed to decode picture
[h264 @ 0x7f5130df7900] hardware accelerator failed to decode picture

Here is the format of video I'm playing :

$ ffprobe -hide_banner Atelier_poterie.mp4 
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Atelier_poterie.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.29.100
  Duration: 00:04:32.90, start: 0.000000, bitrate: 1538 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1148 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 386 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.

And my graphic controller :

$ lspci -nn | grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] [1002:9850]
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.