Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-02 Thread Steve Adeff
On Monday 02 January 2006 18:00, Steve Adeff wrote:
> On Monday 02 January 2006 17:01, John P Poet wrote:
> > On 1/2/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > > On Sunday 01 January 2006 16:17, John P Poet wrote:
> > > > On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > > > > On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> > > > >
> > > > > I'm really getting frustrated, there must be something I'm missing.
> > > > > I went all the way back to 8199 and I'm still getting stuttering! I
> > > > > even rebooted the machine. I've tried both gcc-4.0 and gcc-3.3. I
> > > > > do a make uninstall and make distclean before each compile but they
> > > > > still have stuttering for 1080i output.
> > > > >
> > > > > Help!
> > > >
> > > > Steve,
> > > >
> > > > Try doing a clean check-out of the latest svn (svn co
> > > > http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.
> > > >
> > > > Then, try adding the attached patch to it: patch -p0 <
> > > > RingBuffer.patch.
> > > >
> > > > I still get an occational stutter, but they are very infrequent.
> > > >
> > > > John
> > >
> > > no go, but like I said, its stuttering on 8306 which was fine for me
> > > for 2 weeks. I don't think this is directly Myth's fault, I just don't
> > > know what else it could be other than perhaps the version of the
> > > compilers I'm using since thats all I updated.
> > >
> > > It also only occurs with 1080i content, 720p and below is fine
> > > (now...). 1080i content is now peaking my CPU where it stutters where
> > > before it wasn't.
> > >
> > > --
> > > Steve
> >
> > A new version of ALSA came out not too long ago.  If you are using it,
> > maybe it is the cause?  If you are not using it maybe it will help?
> >
> > John
>
> I don't remember upgrading libasound2, just g++, but I noticed the hiccup
> in xine too (mplayer might have it but it looses audio on ac3 tracks before
> it happens so maybe it is having the same issue) so I'm going to try
> downgrading to 1.0.8... But it looks like it *is* something outside of Myth
> since xine is showing it too...

nevermind, no hiccup in xine, so its definitely a MythTV thing 

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-02 Thread Steve Adeff
On Monday 02 January 2006 17:01, John P Poet wrote:
> On 1/2/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 January 2006 16:17, John P Poet wrote:
> > > On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > > > On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> > > >
> > > > I'm really getting frustrated, there must be something I'm missing. I
> > > > went all the way back to 8199 and I'm still getting stuttering! I
> > > > even rebooted the machine. I've tried both gcc-4.0 and gcc-3.3. I do
> > > > a make uninstall and make distclean before each compile but they
> > > > still have stuttering for 1080i output.
> > > >
> > > > Help!
> > >
> > > Steve,
> > >
> > > Try doing a clean check-out of the latest svn (svn co
> > > http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.
> > >
> > > Then, try adding the attached patch to it: patch -p0 <
> > > RingBuffer.patch.
> > >
> > > I still get an occational stutter, but they are very infrequent.
> > >
> > > John
> >
> > no go, but like I said, its stuttering on 8306 which was fine for me for
> > 2 weeks. I don't think this is directly Myth's fault, I just don't know
> > what else it could be other than perhaps the version of the compilers I'm
> > using since thats all I updated.
> >
> > It also only occurs with 1080i content, 720p and below is fine (now...).
> > 1080i content is now peaking my CPU where it stutters where before it
> > wasn't.
> >
> > --
> > Steve
>
> A new version of ALSA came out not too long ago.  If you are using it,
> maybe it is the cause?  If you are not using it maybe it will help?
>
> John

I don't remember upgrading libasound2, just g++, but I noticed the hiccup in 
xine too (mplayer might have it but it looses audio on ac3 tracks before it 
happens so maybe it is having the same issue) so I'm going to try downgrading 
to 1.0.8... But it looks like it *is* something outside of Myth since xine is 
showing it too...
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-02 Thread John P Poet
On 1/2/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> On Sunday 01 January 2006 16:17, John P Poet wrote:
> > On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > > On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> > >
> > > I'm really getting frustrated, there must be something I'm missing. I
> > > went all the way back to 8199 and I'm still getting stuttering! I even
> > > rebooted the machine. I've tried both gcc-4.0 and gcc-3.3. I do a make
> > > uninstall and make distclean before each compile but they still have
> > > stuttering for 1080i output.
> > >
> > > Help!
> >
> > Steve,
> >
> > Try doing a clean check-out of the latest svn (svn co
> > http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.
> >
> > Then, try adding the attached patch to it: patch -p0 < RingBuffer.patch.
> >
> > I still get an occational stutter, but they are very infrequent.
> >
> > John
>
> no go, but like I said, its stuttering on 8306 which was fine for me for 2
> weeks. I don't think this is directly Myth's fault, I just don't know what
> else it could be other than perhaps the version of the compilers I'm using
> since thats all I updated.
>
> It also only occurs with 1080i content, 720p and below is fine (now...). 1080i
> content is now peaking my CPU where it stutters where before it wasn't.
>
> --
> Steve

A new version of ALSA came out not too long ago.  If you are using it,
maybe it is the cause?  If you are not using it maybe it will help?

John
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-02 Thread Steve Adeff
On Sunday 01 January 2006 16:17, John P Poet wrote:
> On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> >
> > I'm really getting frustrated, there must be something I'm missing. I
> > went all the way back to 8199 and I'm still getting stuttering! I even
> > rebooted the machine. I've tried both gcc-4.0 and gcc-3.3. I do a make
> > uninstall and make distclean before each compile but they still have
> > stuttering for 1080i output.
> >
> > Help!
>
> Steve,
>
> Try doing a clean check-out of the latest svn (svn co
> http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.
>
> Then, try adding the attached patch to it: patch -p0 < RingBuffer.patch.
>
> I still get an occational stutter, but they are very infrequent.
>
> John

no go, but like I said, its stuttering on 8306 which was fine for me for 2 
weeks. I don't think this is directly Myth's fault, I just don't know what 
else it could be other than perhaps the version of the compilers I'm using 
since thats all I updated.

It also only occurs with 1080i content, 720p and below is fine (now...). 1080i 
content is now peaking my CPU where it stutters where before it wasn't.

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-02 Thread Steve Adeff
On Sunday 01 January 2006 16:17, John P Poet wrote:
> On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> > On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> >
> > I'm really getting frustrated, there must be something I'm missing. I
> > went all the way back to 8199 and I'm still getting stuttering! I even
> > rebooted the machine. I've tried both gcc-4.0 and gcc-3.3. I do a make
> > uninstall and make distclean before each compile but they still have
> > stuttering for 1080i output.
> >
> > Help!
>
> Steve,
>
> Try doing a clean check-out of the latest svn (svn co
> http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.
>
> Then, try adding the attached patch to it: patch -p0 < RingBuffer.patch.
>
> I still get an occational stutter, but they are very infrequent.
>
> John

I've been using clean check outs  (ie: svn -r 8350 co http://.), but I'll 
get a latest svn and apply your patch and see what happens, though like I 
said before, I'm getting it even with a verified working version of SVN, but 
at this point I'll try anything short of reformatting my system...

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-01 Thread John P Poet
On 1/1/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> On Sunday 01 January 2006 12:19, Steve Adeff wrote:
>
> I'm really getting frustrated, there must be something I'm missing. I went all
> the way back to 8199 and I'm still getting stuttering! I even rebooted the
> machine. I've tried both gcc-4.0 and gcc-3.3. I do a make uninstall and make
> distclean before each compile but they still have stuttering for 1080i
> output.
>
> Help!


Steve,

Try doing a clean check-out of the latest svn (svn co
http://cvs.mythtv.org/svn/trunk/mythtv), not a svn update.

Then, try adding the attached patch to it: patch -p0 < RingBuffer.patch.

I still get an occational stutter, but they are very infrequent.

John
Index: libs/libmythtv/RingBuffer.cpp
===
--- libs/libmythtv/RingBuffer.cpp	(revision 8456)
+++ libs/libmythtv/RingBuffer.cpp	(working copy)
@@ -34,7 +34,7 @@
 #define O_LARGEFILE 0
 #endif
 
-const uint RingBuffer::kBufferSize = 10 * 256000;
+const uint RingBuffer::kBufferSize = 30 * 256000;
 
 #define PNG_MIN_SIZE   20 /* header plus one empty chunk */
 #define NUV_MIN_SIZE  204 /* header size? */
@@ -433,7 +433,8 @@
 wantseek   = false;
 readsallowed   = false;
 fill_min   = 1;
-readblocksize  = (estbitrate > 12000) ? 256000 : 128000;
+//readblocksize  = (estbitrate > 12000) ? 512000 : 128000;
+readblocksize  = (estbitrate > 12000) ? 512000 : 128000;
 
 #if 1
 fill_threshold = 0;
@@ -448,7 +449,7 @@
 fill_threshold += 256000;
 
 if (estbitrate > 12000)
-fill_threshold += 256000;
+fill_threshold += 512000;
 
 fill_threshold = (fill_threshold) ? fill_threshold : -1;
 #else
@@ -723,7 +724,7 @@
 pthread_rwlock_unlock(&rwlock);
 
 if ((used >= fill_threshold || wantseek) && !pausereadthread)
-usleep(500);
+usleep(50);
 }
 
 delete [] readAheadBuffer;
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: New issue affect old previously unaffected build [WAS Re: [mythtv] Re: Ticket #900: HDTV at greater than 1.0 speed stutters

2006-01-01 Thread Steve Adeff
On Sunday 01 January 2006 12:19, Steve Adeff wrote:
> On Sunday 01 January 2006 01:04, Steve Adeff wrote:
> > On Saturday 31 December 2005 20:52, Mark Spieth wrote:
> > > >> was this stuttering showing face in regular playback? I just updated
> > > >> to 8453
> > > >> and am noticing 1080i is stuttering on 1080i playback where I never
> > > >> had issue
> > > >> before.
> > > >
> > > > I am seeing stuttering at normal playback speeds with the latest svn.
> > > > Changing that read size did help, but does not eliminate it.
> > >
> > > if you are using my multi channel patch, I was seeing this with the 6
> > > channel audio.
> > > try upping the value 768000 in audiooutputbase.h. was ok for 2 channels
> > > originally and had to substantially increase it to eliminate stuttering
> > > for 6 channels. you should see audio data lost message if this is
> > > happening. mark
> >
> > the issue isn't related to this (offlist emails), I was running 8306 and
> > [EMAIL PROTECTED] was fine, so I'm going to try and find what commit "broke"
> > [EMAIL PROTECTED] If anyone has an idea of what commit might be causing the
> > stuttering let me know so I can test.
>
> ok, I reverted back to 8306, did a distclean, made sure to do a make
> uninstall before make install, checked that libraries and such were
> actually deleted, and now 8306 is stuttering when it was fine before!
>
> anyone have any ideas on whats going on?

I'm really getting frustrated, there must be something I'm missing. I went all 
the way back to 8199 and I'm still getting stuttering! I even rebooted the 
machine. I've tried both gcc-4.0 and gcc-3.3. I do a make uninstall and make 
distclean before each compile but they still have stuttering for 1080i 
output.

Help!

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users