Opened 3 years ago

Closed 7 months ago

#14456 closed defect (fixed)

[2.2.x] Unable to take snapshot (when using VDPAU)

Reported by: Evangelos Foutras Owned by: Rémi Denis-Courmont
Priority: normal Milestone: 3.0 FF
Component: Video: X11 Version: 2.2.x git
Severity: normal Keywords: vdpau snapshot
Cc: Carl Eugen Hoyos Difficulty: unknown
Platform(s): GNU/Linux Work status: Not started

Description

This feature used to work in VLC 2.1.5 but stopped working in 2.2.0 and remains broken in 2.2.1.

When attempting to take a snapshot, the following error messages are printed to the console:

vdpau_chroma filter error: corrupt VDPAU video surface 0x7fa5e4022f30
core video output error: Failed to convert image for snapshot

I'm using the Mesa 10.5.3 VDPAU driver with a Radeon HD 6870 GPU.

Change History (21)

comment:1 Changed 3 years ago by Rémi Denis-Courmont

Component: UnknownVideo: X11
Owner: set to Rémi Denis-Courmont

comment:2 Changed 3 years ago by Rémi Denis-Courmont

Owner: Rémi Denis-Courmont deleted

Patch or sponsor welcome.

comment:3 Changed 3 years ago by rgacogne

Same error with a GeForce? GT 545 using NVIDIA VDPAU Driver Shared Library 349.16.

comment:4 Changed 3 years ago by Nikita Baksalyar

Can confirm this bug on GT 750M + VLC 2.2.1 (from Fedora 21 packages).

comment:5 Changed 3 years ago by Carl Eugen Hoyos

Cc: Carl Eugen Hoyos added

comment:6 Changed 3 years ago by Germano

Leaving a comment to be added in CC

comment:7 Changed 3 years ago by Jib

Looks like nobody cares...

comment:8 Changed 2 years ago by Xyzdragon

I have the same problem after installing the nvidia drivers (GTX 760)

Last edited 2 years ago by Xyzdragon (previous) (diff)

comment:9 Changed 2 years ago by krakapuk

Confirm this bug with:
GeForceGT 430
NVIDIA Driver Version: 340.96
Ubuntu 15.04
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)

Error report:
avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 340.96 Sun Nov 8 22:09:55 PST 2015 for hardware decoding.
vdpau_chroma filter error: corrupt VDPAU video surface 0x7fdb680344d0
core video output error: Failed to convert image for snapshot

comment:10 Changed 20 months ago by Xing Chen

suffering from the same problem. Trying to get to the cc'ed list.

comment:11 Changed 19 months ago by Germano

Confirming on Fedora 23

comment:12 Changed 19 months ago by Germano

The bug has been fixed in VLC 2.2.4. I do not have privileges to close this bugreport

comment:13 Changed 19 months ago by Rémi Denis-Courmont

Pretty sure this is not fixed in 2.2.4.

comment:14 Changed 19 months ago by Jib

Not fixed: core filter error: Failed to create video filter2 vdpau_chroma filter error: corrupt VDPAU video surface 0x7f395c0421f0

Arch - vlc-2.2.4-1 with libva-vdpau-driver 0.7.4-2

comment:15 in reply to:  14 Changed 19 months ago by Germano

Replying to jib002:

Not fixed: core filter error: Failed to create video filter2 vdpau_chroma filter error: corrupt VDPAU video surface 0x7f395c0421f0

Arch - vlc-2.2.4-1 with libva-vdpau-driver 0.7.4-2

True, I was not right. The bug has NOT been fixed. I can reproduce the bug with all H264 video files

comment:16 Changed 19 months ago by Shea

I am also experiencing this bug with:

  • GeForce? GT 750M
  • NVIDIA binary driver version 361.42 from nvidia-361
  • Ubuntu 16.04 LTS, using GNOME desktop
  • VLC media player 2.2.4 Weatherwax

comment:17 Changed 12 months ago by Christian Weiske

This does not only happen on nvidia cards; my AMD Radeon R7 370 has the same problem.

comment:18 Changed 12 months ago by mmu_man

I had this bug for long. I thought it was only in the packaged (Debian Sid) version, as I noticed it worked when running my own HEAD build. But today I noticed launching the packaged version from terminal also worked. I checked for possible environment differences, but didn't find anything noticeable. Then I saw that quitting all instances and restarting one from terminal also failed. Somehow a second instance is more likely to work, although it's not always the case.

I checked the number of maps of the /dev/nvidia* files, maybe there is a limit for this or something similar, but I didn't get further yet.

comment:19 Changed 7 months ago by Rémi Denis-Courmont

Owner: set to Rémi Denis-Courmont
Status: newassigned

comment:20 Changed 7 months ago by Rémi Denis-Courmont

Milestone: Bugs paradize3.0 FF

Patch sent to vlc-devel.

comment:21 Changed 7 months ago by Rémi Denis-Courmont

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.