Linux Media Controller development
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: James Harper <james@ejbdigital.com.au>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: buffer delivery stops with cx23885
Date: Sat, 20 Sep 2014 13:15:35 +0200	[thread overview]
Message-ID: <541D61D7.3080202@xs4all.nl> (raw)
In-Reply-To: <9cc65ceabd05475d89a92c5df04cc492@SIXPR04MB304.apcprd04.prod.outlook.com>

On 09/20/2014 01:05 PM, James Harper wrote:
>>> I was looking through the patches and saw a date of August 14 on the
>>> cx23885 to vb2 patch and thought that could have been around when it
>>> started breaking, but then the
>>> 73d8102298719863d54264f62521362487f84256 is dated September 3 and I'm
>>> pretty sure it had started playing up before then. About what date
>>> would I have seen the 453afdd9ce33293f640e84dc17e5f366701516e8
>>> "cx23885: convert to vb2" patch?
>>
>> That patch was merged in the master branch September 8.
>>
>> If you've seen it earlier, then it may not be related to vb2 after all.
>>
> 
> I'd say not.
> 
>> If it is polling related, then it might be commit
>> 9241650d62f79a3da01f1d5e8ebd195083330b75
>> (Don't return POLLERR during transient buffer underruns) which was added
>> to
>> the master branch on July 17th and was merged for 3.17. Or it could be
>> something entirely different.
>>
>> You could try reverting that commit and see if that helps.
> 
> That sounds plausible wrt timeframe, but if cx23885 only started using vb2 after Sept 8 then it couldn't have affected me before then right?

You are right about that. You are using DVB right? Not analog video? (Just to
be 100% certain).

> 
>>> In any case it should be easy enough to revert and build so I'll do
>>> that tomorrow once I can prove it still fails with the current
>>> regression patch applied.
>>
>> Which patch are you using? There have been several versions posted. This
>> is the one you should use:
>>
>> https://patchwork.linuxtv.org/patch/25992/
>>
> 
> That's the one I applied - you can even see my questions below in that link :) Based on what you have said I think that's not going to solve anything for me though.

If you are streaming DVB, then that patch has no effect since the vb2_poll call will
never be called for DVB anyway, so that can be ruled out.

> 
> So I guess my plan is:
> . Revert to 73d8102298719863d54264f62521362487f84256 and test (not likely to fix but easy to test)

And important for me, because if it IS related to the vb2 conversion then I need to know asap.

My own streaming test is still running strong (not using MythTV BTW).

> . Revert to sometime around June when I submitted my patch for Fusion Dual Express 2 driver when I know it was reliable and test
> 
> Other possibilities are:
> . MythTV bug
> . Defective card
> 
> Time to google a command line dvb stream to rule out mythtv I guess...

Regards,

	Hans


  reply	other threads:[~2014-09-20 11:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-20  3:32 buffer delivery stops with cx23885 James Harper
2014-09-20  9:19 ` Hans Verkuil
2014-09-20  9:26   ` James Harper
2014-09-20 10:03     ` Mauro Carvalho Chehab
2014-09-20 10:08     ` Hans Verkuil
2014-09-20 10:30       ` James Harper
2014-09-20 10:54         ` Hans Verkuil
2014-09-20 11:05           ` James Harper
2014-09-20 11:15             ` Hans Verkuil [this message]
2014-09-20 11:36               ` James Harper
2014-09-21  8:15                 ` James Harper
2014-09-22  8:30                   ` James Harper
2014-09-22  8:37                     ` Hans Verkuil
2014-09-22  9:46                       ` James Harper
2014-09-22  9:52                         ` Hans Verkuil
2014-09-22  9:58                           ` James Harper
2014-09-22 10:03                             ` Hans Verkuil
2014-09-22 12:01                               ` James Harper
2014-09-29  9:06                                 ` James Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=541D61D7.3080202@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=james@ejbdigital.com.au \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox