seek video can cause vlc to stop responding

*nix specific usage questions
tDk2000
New Cone
New Cone
Posts: 7
Joined: 22 Mar 2019 11:30

seek video can cause vlc to stop responding

Postby tDk2000 » 10 Dec 2019 13:20

FreeBSD 12.1-RELEASE-p1 GENERIC amd64
vlc-3.0.8_2,4
NVidia HW acceleration enabled
(trying different drivers with same result)


vlc --avcodec-hw=any --avcodec-fast --no-avcodec-hurry-up
seek video sometimes can cause vlc to stop responding, picture freezing. Debug log messages reaction on seek/play etc. commands is
main error: input control fifo overflow, trashing type=0
main error: input control fifo overflow, trashing type=1
main error: input control fifo overflow, trashing type=3
main error: input control fifo overflow, trashing type=19
..
and so on

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: seek video can cause vlc to stop responding

Postby Rémi Denis-Courmont » 10 Dec 2019 19:34

Does it reproduce without hardware acceleration? Does it reproduce on Linux with the same input?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tDk2000
New Cone
New Cone
Posts: 7
Joined: 22 Mar 2019 11:30

Re: seek video can cause vlc to stop responding

Postby tDk2000 » 12 Dec 2019 10:01

Without HW acceleration it does not reproduced. Testing about two days with params:
vlc --avcodec-hw=none --avcodec-fast --no-avcodec-hurry-up

So do i need to install linux to test the same?
P.S.
Bescause NVidia's FreeBSD driver is the same linux driver running through FreeBSD linux binary cmpatibility layer
P.P.S.
I was trying 430.x (.40, .50., .64) and 440.x (.31, .36) version branches of driver with nearly the same result. Playing VBR h264 @baseline profile encoded test file. Rock solid stability in software mode and random stop with "main error: input control fifo overflow" in HW mode.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: seek video can cause vlc to stop responding

Postby Rémi Denis-Courmont » 13 Dec 2019 17:16

Are you able to stop the playback cleanly after it gets stuck? looks to me that the display driver just locks up.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tDk2000
New Cone
New Cone
Posts: 7
Joined: 22 Mar 2019 11:30

Re: seek video can cause vlc to stop responding

Postby tDk2000 » 15 Dec 2019 18:45

No i can't. No reaction to stop/play,seek etc. Even choosing ohter file from play list does not work, still stalled movie picture in VLC and nothing is happened.Another copy of VLC can be runned well at the same time.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: seek video can cause vlc to stop responding

Postby Rémi Denis-Courmont » 15 Dec 2019 19:05

Get the debug symbol and check where it gets stuck from the stack traces. But it looks very much like a display driver problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tDk2000
New Cone
New Cone
Posts: 7
Joined: 22 Mar 2019 11:30

Re: seek video can cause vlc to stop responding

Postby tDk2000 » 17 Dec 2019 10:31

Well issue is found and this is driver problem as you mentioned above.
syslog show error message "kernel: NVRM: Xid (PCI:0000:01:00): 68, pid=77679, CCMDs 00000027 0000c2b0"
So there was a therad on nvidia forum about near the same problem [url]https://devtalk.nvidia.com/default/topic/1024285/linux/vdpau-all-h-264-videos-cause-hardware-errors-nvrm-xid-pci-0000-01-00-68-ccmds-00000014-/[/url]
As I undersand after reading problem is in VDPAU video decoding acceleration engine and workaround is moving to mpv and use 'hwdec' option set to 'nvdec' in mpv. This mean (as i understand) there is no solution for VLC because VLC does not support this kind of acceleration.
That's right?

P.S.
Interesting why exactly seeking is so sensitive because regular playing does not produce error?..

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: seek video can cause vlc to stop responding

Postby Rémi Denis-Courmont » 17 Dec 2019 17:31

NVDEC is planned in 4.0.

Presumably, seeking causing some transient corruption of the video bitstream, and the hardware decoder is not robust enough.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests