2

I'm using a R7 240 graphic card on a Debian Jessie.

VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240]

According to the Xorg foundation, hardware decoding with this card is supported by the free radeon driver (RadeonFeature).

I installed mesa-vdpau-drivers to allow hardware decoding. I'm using vlc and it uses hardware decoding automatically if possible.

Issue 1 - Seeking in the file

The video reads fine, but I have issues seeking (fast-forwarding) in the file.

I have tried with different video formats:

H264 - MPEG-4 AVC (part10)(avc1)
MPEG-4 Video (XVID)

After I seek to a different time in the video file (either via a mouse click on the timeline or using Alt+arrow), the image stops for a while (about a second, sometimes more) and sometimes has artefacts for a few seconds (until the next keyframe, I guess).

Typical logs:

[00007f5b20c9d468] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
[00000000020d0418] pulse audio output warning: starting late (-9161 us)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 979 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 937 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 896 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 854 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 995 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 954 ms)
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 912 ms)
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b20c9d468] avcodec decoder warning: More than 4 late frames, dropping frame
[00007f5b18072018] core video output warning: picture is too late to be displayed (missing 44 ms)

Issue 2 - Drag'n dropping a new file

Also, if I read a file and drop another one in vlc window, I sometimes get a black output with the terminal spitting this error line continuously:

[00007fcc78027158] vdpau_display vout display error: presentation queue display failure: An invalid handle value was provided. Either the handle does not exist at all, or refers to an object of an incorrect type.

Software versions

Debian Jessie

vlc:2.2.4-1~deb8u1

I tried backported versions of vdpau drivers from Stretch, but it didn't help:

libdrm2:amd64 2.4.70-1~bpo8+1
mesa-vdpau-drivers:amd64 11.1.3-1~bpo8+1

Using processor decoding works fine

Removing mesa-vdpau-drivers, disables hardware decoding. In this case, I get the usual warning

Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory

and the videos seeks fine.

The processor can handle the decoding, so it is not too much of an issue, but it's a shame not to be able to use the GPU and I don't know where to report this usefully.

Edit: using proprietary firmware

I just installed the proprietary firmware. I can't reproduce issue 2 (drag'n drop). Not sure it is related.

Issue 1 (seeking in the file) still there.

 Edit: Problem seems to have vanished

Debian Stretch

vlc:3.0.3-1-2
libdrm2:2.4.92-1
mesa-vdpau-drivers:17.3.9-1~bpo9+1

Most probably, mesa-vdpau-drivers got installed without me noticing when upgrading to Stretch. I don't observe above symptoms anymore.

I guess this question ought to be closed.

closed as off-topic by Jérôme, Jeff Schaller, schily, Thomas, Centimane Aug 1 '18 at 16:48

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jérôme, Jeff Schaller, schily, Thomas, Centimane
If this question can be reworded to fit the rules in the help center, please edit the question.

0

On Linux Mint 19 (Ubuntu 18.04) just install vdpau-driver-all will solve this issue.

Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory

Solution:

$ apt install vdpau-driver-all
  • Sure. vdpau-driver-all depends on mesa-vdpau-drivers. But this does not answer the question. – Jérôme Jul 31 '18 at 22:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.