Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-21 Thread Robert Longfield
Well it gets even better.
So on the weekend I was able to steal a few minutes to properly
trouble shoot the issue now that I know it was in the mythbuntu box.
As a long shot I pulled out the Promise Tech Ultra133 TX2 / ATA card I
am using for the backup drive. With this card removed the sync issue
went away, when I put the card back in the issue returned. Now this
card was in the slot right next to the PVR-150 card. I moved the
controller card as far away as I could get from the PVR-150 and the
sync issue was gone.

So it would appear that the Promise Tech card was causing some EM
interference with the PVR-150 card. I will keep an eye on this to make
sure that this was indeed the issue.

Does it seem reasonable that this card would kick out interference like this?

-Rob

On Fri, Dec 18, 2009 at 3:13 PM, Steven Toth st...@kernellabs.com wrote:
 So it looks like the problem is restricted to my mythbuntu box.

 Congrats, that's better news.

 --
 Steven Toth - Kernel Labs
 http://www.kernellabs.com

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-21 Thread Devin Heitmueller
On Mon, Dec 21, 2009 at 3:09 PM, Robert Longfield
robert.longfi...@gmail.com wrote:
 Well it gets even better.
 So on the weekend I was able to steal a few minutes to properly
 trouble shoot the issue now that I know it was in the mythbuntu box.
 As a long shot I pulled out the Promise Tech Ultra133 TX2 / ATA card I
 am using for the backup drive. With this card removed the sync issue
 went away, when I put the card back in the issue returned. Now this
 card was in the slot right next to the PVR-150 card. I moved the
 controller card as far away as I could get from the PVR-150 and the
 sync issue was gone.

 So it would appear that the Promise Tech card was causing some EM
 interference with the PVR-150 card. I will keep an eye on this to make
 sure that this was indeed the issue.

 Does it seem reasonable that this card would kick out interference like this?

Having worked at a lab that did EMI compliance testing, I can
definitely tell some stories of cases far stranger than that.  But
yeah, if the card works in a different slot, then it's unlikely any
sort of PCI bus congestion issue but rather an EMI problem.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-21 Thread Andy Walls
On Mon, 2009-12-21 at 15:09 -0500, Robert Longfield wrote:
 Well it gets even better.
 So on the weekend I was able to steal a few minutes to properly
 trouble shoot the issue now that I know it was in the mythbuntu box.
 As a long shot I pulled out the Promise Tech Ultra133 TX2 / ATA card I
 am using for the backup drive. With this card removed the sync issue
 went away, when I put the card back in the issue returned. Now this
 card was in the slot right next to the PVR-150 card. I moved the
 controller card as far away as I could get from the PVR-150 and the
 sync issue was gone.
 
 So it would appear that the Promise Tech card was causing some EM
 interference with the PVR-150 card. I will keep an eye on this to make
 sure that this was indeed the issue.
 
 Does it seem reasonable that this card would kick out interference like this?

Yes, it is plausible.

Perhaps you may also wish to consider an external (USB connected)
capture device.  A PC can internally have many sources of square waves
that have either fundamental or harmonic frequencies in UHF.  The metal
case of a PC can greatly reduce the EMI on outside of the case.

Regards,
Andy

 -Rob
 
 On Fri, Dec 18, 2009 at 3:13 PM, Steven Toth st...@kernellabs.com wrote:
  So it looks like the problem is restricted to my mythbuntu box.
 
  Congrats, that's better news.
 
  --
  Steven Toth - Kernel Labs
  http://www.kernellabs.com


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-18 Thread Robert Longfield
Ok so I ran a live CD on my windows box and there were no sync
problems. I installed the latest Ubuntu CD and dual booted my windows
machine and there was no sync problems but there was other issues,
many tiny black lines on edges during fast movement when I did a $ cat
/dev/video0  foo.mpg.
I'm going to reboot into windows and see if this problem persists in Windows.

So it looks like the problem is restricted to my mythbuntu box.

What analog tuner assembly type does the tveeprom module show for your
card in dmesg?

Here is the data from dmesg for tveeprom:

[   27.806567] tveeprom 0-0050: Hauppauge model 26032, rev C199, serial# 8011004
[   27.806571] tveeprom 0-0050: tuner model is TCL 2002N 5H (idx 99, type 50)
[   27.806574] tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
[   27.806576] tveeprom 0-0050: audio processor is CX25841 (idx 35)
[   27.806579] tveeprom 0-0050: decoder processor is CX25841 (idx 28)
[   27.806581] tveeprom 0-0050: has no radio, has IR receiver, has IR
transmitter

Also what video standard are you capturing: NTSC or something else?

I'm capturing NTSC.

On Fri, Dec 11, 2009 at 4:32 AM, Andy Walls awa...@radix.net wrote:
 On Thu, 2009-12-10 at 11:56 -0500, Robert Longfield wrote:
 Ok I've been able to do some troubleshooting with some interesting results.
 I removed the one splitter being used, connected to the main cable
 coming into the house, isolated the grounds with no change in sync
 issues.
 I pulled the pvr-150 card out of the linux machine and put it into my
 window box, hooked it up to the original setup splitter and no ground
 isolation and the video is crystal clear with no sync issues.

 I can only come up with a few possible problems, but I am sure there are 
 more.
 Could this be a driver issue on my linux box?

 Given your results, yes it is most likely a linux driver issue.  The
 suspects would be the cx25840 module, or the modules for the analog
 tuner.

 What analog tuner assembly type does the tveeprom module show for your
 card in dmesg?

 Also what video standard are you capturing: NTSC or something else?


 Could a bad or failing PCI slot cause this problem?

 No.  A *very* busy PCI bus may cause some I2C transactions that set up
 the tuner or CX25843 to fail, but it is more likely simply a suboptimal
 tuner or CX25843 configuration issue.


 However the sync
 problem is not on every channel.

 I'm going to try moving the linux box across the house to see if there
 is a source of EMI near by, but since the windows box doesn't have
 this issue I assume this is a problem with the linux box.

 I suppose you could try a linux liveCD in the Windows box and use

        $ cat /dev/video0  foo.mpg

 to capture video.  Then move foo.mpg to a USB flash disk and play back
 foo.mpg where ever it is convenient.  If foo.mpg shows artifacts then
 you can be somewhat sure of a linux driver issue.


 -Rob

 On Tue, Nov 24, 2009 at 6:43 PM, Andy Walls awa...@radix.net wrote:
  On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
  I have a PVR-150 card running on mythbuntu 9 and it appears that my
  card is suffering a vertical (and possibly a horizontal) sync issue.
 
  The video jumps around, shifts from side to side, up and down and when
  it shifts the video wraps. I'm including a link to a screen shot
  showing the vertical sync problem
 
  http://imagebin.ca/view/6fS-14Yi.html
 
  It looks like you have strong singal reflections in your cable due to
  impedance mismatches, a bad splitter, a bad cable or connector, etc.
 
  Please read:
 
  http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality
 
  and take steps to ensure you've got a good cabling plant in your home.
 
  Regards,
  Andy
 
  This is pretty tame to what happens sometimes. I haven't noticed this
  on all channels as we are mostly using this to record shows for my
  son.
 
  Here is my setup. Pentium 4 2 Ghz with a gig of ram. 40 gig OS drive,
  150 gig drive for recording, 250 gig drive for backup and storage, a
  dvd-burner.
  The 150 gig drive is on a Promise Ultra133 TX2 card but exhibits no
  issues on reads or writes.
  I have cable connected to the internal tuner of my PVR-150 card and
  S-video from an Nvidia card (running Nvidea drivers) out to the TV.
 
  I don't know what else I can provide to help out but let me know and
  I'll get it.
 
  Thanks,
  -Rob



--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-18 Thread Steven Toth
 So it looks like the problem is restricted to my mythbuntu box.

Congrats, that's better news.

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-18 Thread BOUWSMA Barry
On Fri, 18 Dec 2009, Robert Longfield wrote:

 Ok so I ran a live CD on my windows box and there were no sync
 problems. I installed the latest Ubuntu CD and dual booted my windows
 machine and there was no sync problems but there was other issues,
 many tiny black lines on edges during fast movement when I did a $ cat
 /dev/video0  foo.mpg.

This sounds like an interlacing issue -- I suspect you are using
some player that delivers 25 full frames per second to your 
display instead of somehow getting 50 partial fields from them
or interpolating the fields into 50 frames per second.

This is fairly normal when not dealing with progressive material 
(720p HD video, or 1080i HD or even SD video taken from source 
material such as film shot at 24 fps).  Most players have options 
to enable one of any number of deinterlacers, some of which work 
better than others for selected movement.  (There are many 
different commandline options for `mplayer', one of which will 
present the fields of a 576i video as 288-line images which helps 
decipher fast-scrolling text, for example.)

If you are reproducing your video at your display's native 
resolution without zooming it to fullscreen, you can see each
of the jagged lines matching one pixel vertical resolution.


barrry bouwsma
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-18 Thread Robert Longfield
Hey Barry,

Well that is certainly could be part of the problem, I was using
mplayer to play back the video recorded onto the computer monitor.
I wasn't too overly concerned with it as I thought it might be a playback issue.
I certainly have a lot more trouble shooting to do before I figure out
where the issue lies with this hardware.

-Rob

On Fri, Dec 18, 2009 at 3:17 PM, BOUWSMA Barry
freebeer.bouw...@gmail.com wrote:
 On Fri, 18 Dec 2009, Robert Longfield wrote:

 Ok so I ran a live CD on my windows box and there were no sync
 problems. I installed the latest Ubuntu CD and dual booted my windows
 machine and there was no sync problems but there was other issues,
 many tiny black lines on edges during fast movement when I did a $ cat
 /dev/video0  foo.mpg.

 This sounds like an interlacing issue -- I suspect you are using
 some player that delivers 25 full frames per second to your
 display instead of somehow getting 50 partial fields from them
 or interpolating the fields into 50 frames per second.

 This is fairly normal when not dealing with progressive material
 (720p HD video, or 1080i HD or even SD video taken from source
 material such as film shot at 24 fps).  Most players have options
 to enable one of any number of deinterlacers, some of which work
 better than others for selected movement.  (There are many
 different commandline options for `mplayer', one of which will
 present the fields of a 576i video as 288-line images which helps
 decipher fast-scrolling text, for example.)

 If you are reproducing your video at your display's native
 resolution without zooming it to fullscreen, you can see each
 of the jagged lines matching one pixel vertical resolution.


 barrry bouwsma

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-11 Thread Andy Walls
On Thu, 2009-12-10 at 11:56 -0500, Robert Longfield wrote:
 Ok I've been able to do some troubleshooting with some interesting results.
 I removed the one splitter being used, connected to the main cable
 coming into the house, isolated the grounds with no change in sync
 issues.
 I pulled the pvr-150 card out of the linux machine and put it into my
 window box, hooked it up to the original setup splitter and no ground
 isolation and the video is crystal clear with no sync issues.
 
 I can only come up with a few possible problems, but I am sure there are more.
 Could this be a driver issue on my linux box?

Given your results, yes it is most likely a linux driver issue.  The
suspects would be the cx25840 module, or the modules for the analog
tuner.

What analog tuner assembly type does the tveeprom module show for your
card in dmesg?

Also what video standard are you capturing: NTSC or something else?


 Could a bad or failing PCI slot cause this problem?

No.  A *very* busy PCI bus may cause some I2C transactions that set up
the tuner or CX25843 to fail, but it is more likely simply a suboptimal
tuner or CX25843 configuration issue.


 However the sync
 problem is not on every channel.
 
 I'm going to try moving the linux box across the house to see if there
 is a source of EMI near by, but since the windows box doesn't have
 this issue I assume this is a problem with the linux box.

I suppose you could try a linux liveCD in the Windows box and use

$ cat /dev/video0  foo.mpg

to capture video.  Then move foo.mpg to a USB flash disk and play back
foo.mpg where ever it is convenient.  If foo.mpg shows artifacts then
you can be somewhat sure of a linux driver issue.


 -Rob
 
 On Tue, Nov 24, 2009 at 6:43 PM, Andy Walls awa...@radix.net wrote:
  On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
  I have a PVR-150 card running on mythbuntu 9 and it appears that my
  card is suffering a vertical (and possibly a horizontal) sync issue.
 
  The video jumps around, shifts from side to side, up and down and when
  it shifts the video wraps. I'm including a link to a screen shot
  showing the vertical sync problem
 
  http://imagebin.ca/view/6fS-14Yi.html
 
  It looks like you have strong singal reflections in your cable due to
  impedance mismatches, a bad splitter, a bad cable or connector, etc.
 
  Please read:
 
  http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality
 
  and take steps to ensure you've got a good cabling plant in your home.
 
  Regards,
  Andy
 
  This is pretty tame to what happens sometimes. I haven't noticed this
  on all channels as we are mostly using this to record shows for my
  son.
 
  Here is my setup. Pentium 4 2 Ghz with a gig of ram. 40 gig OS drive,
  150 gig drive for recording, 250 gig drive for backup and storage, a
  dvd-burner.
  The 150 gig drive is on a Promise Ultra133 TX2 card but exhibits no
  issues on reads or writes.
  I have cable connected to the internal tuner of my PVR-150 card and
  S-video from an Nvidia card (running Nvidea drivers) out to the TV.
 
  I don't know what else I can provide to help out but let me know and
  I'll get it.
 
  Thanks,
  -Rob


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-12-10 Thread Robert Longfield
Ok I've been able to do some troubleshooting with some interesting results.
I removed the one splitter being used, connected to the main cable
coming into the house, isolated the grounds with no change in sync
issues.
I pulled the pvr-150 card out of the linux machine and put it into my
window box, hooked it up to the original setup splitter and no ground
isolation and the video is crystal clear with no sync issues.

I can only come up with a few possible problems, but I am sure there are more.
Could this be a driver issue on my linux box?
Could a bad or failing PCI slot cause this problem? However the sync
problem is not on every channel.

I'm going to try moving the linux box across the house to see if there
is a source of EMI near by, but since the windows box doesn't have
this issue I assume this is a problem with the linux box.

-Rob

On Tue, Nov 24, 2009 at 6:43 PM, Andy Walls awa...@radix.net wrote:
 On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
 I have a PVR-150 card running on mythbuntu 9 and it appears that my
 card is suffering a vertical (and possibly a horizontal) sync issue.

 The video jumps around, shifts from side to side, up and down and when
 it shifts the video wraps. I'm including a link to a screen shot
 showing the vertical sync problem

 http://imagebin.ca/view/6fS-14Yi.html

 It looks like you have strong singal reflections in your cable due to
 impedance mismatches, a bad splitter, a bad cable or connector, etc.

 Please read:

 http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality

 and take steps to ensure you've got a good cabling plant in your home.

 Regards,
 Andy

 This is pretty tame to what happens sometimes. I haven't noticed this
 on all channels as we are mostly using this to record shows for my
 son.

 Here is my setup. Pentium 4 2 Ghz with a gig of ram. 40 gig OS drive,
 150 gig drive for recording, 250 gig drive for backup and storage, a
 dvd-burner.
 The 150 gig drive is on a Promise Ultra133 TX2 card but exhibits no
 issues on reads or writes.
 I have cable connected to the internal tuner of my PVR-150 card and
 S-video from an Nvidia card (running Nvidea drivers) out to the TV.

 I don't know what else I can provide to help out but let me know and
 I'll get it.

 Thanks,
 -Rob
 ___
 linux-dvb users mailing list
 For V4L/DVB development, please use instead linux-media@vger.kernel.org
 linux-...@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-11-25 Thread Robert Longfield
Hopefully tonight I will get a chance to isolate the machine and hook
the incoming cable directly to the mythbox. If it still happens I'll
try isolating the ground.
As far as the history of the machine. This only seemed to appear when
I installed the new Mythbuntu, in previous versions and in windows
(when the machine had windows installed on it) the card worked
perfectly.
I haven't tested the other inputs and I haven't noticed if it's a time
issue (how long the machine is running).

Thanks for the ideas thus far,
-Rob

On Tue, Nov 24, 2009 at 8:36 PM, Steven Toth st...@kernellabs.com wrote:
 On Tue, Nov 24, 2009 at 6:43 PM, Andy Walls awa...@radix.net wrote:
 On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
 I have a PVR-150 card running on mythbuntu 9 and it appears that my
 card is suffering a vertical (and possibly a horizontal) sync issue.

 The video jumps around, shifts from side to side, up and down and when
 it shifts the video wraps. I'm including a link to a screen shot
 showing the vertical sync problem

 http://imagebin.ca/view/6fS-14Yi.html

 It looks like you have strong singal reflections in your cable due to
 impedance mismatches, a bad splitter, a bad cable or connector, etc.

 Please read:

 http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality

 and take steps to ensure you've got a good cabling plant in your home.

 Was it previously working well then went bad?

 Does the problem occur when using the svideo/composite inputs?

 Does the problem only occur after the unit has been running for sometime?

 If the problem repro's under windows call Hauppauge tech support.

 --
 Steven Toth - Kernel Labs
 http://www.kernellabs.com
 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-11-24 Thread Andy Walls
On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
 I have a PVR-150 card running on mythbuntu 9 and it appears that my
 card is suffering a vertical (and possibly a horizontal) sync issue.
 
 The video jumps around, shifts from side to side, up and down and when
 it shifts the video wraps. I'm including a link to a screen shot
 showing the vertical sync problem
 
 http://imagebin.ca/view/6fS-14Yi.html

It looks like you have strong singal reflections in your cable due to
impedance mismatches, a bad splitter, a bad cable or connector, etc.

Please read:

http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality

and take steps to ensure you've got a good cabling plant in your home.

Regards,
Andy

 This is pretty tame to what happens sometimes. I haven't noticed this
 on all channels as we are mostly using this to record shows for my
 son.
 
 Here is my setup. Pentium 4 2 Ghz with a gig of ram. 40 gig OS drive,
 150 gig drive for recording, 250 gig drive for backup and storage, a
 dvd-burner.
 The 150 gig drive is on a Promise Ultra133 TX2 card but exhibits no
 issues on reads or writes.
 I have cable connected to the internal tuner of my PVR-150 card and
 S-video from an Nvidia card (running Nvidea drivers) out to the TV.
 
 I don't know what else I can provide to help out but let me know and
 I'll get it.
 
 Thanks,
 -Rob
 ___
 linux-dvb users mailing list
 For V4L/DVB development, please use instead linux-media@vger.kernel.org
 linux-...@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [linux-dvb] Hauppauge PVR-150 Vertical sync issue?

2009-11-24 Thread Steven Toth
On Tue, Nov 24, 2009 at 6:43 PM, Andy Walls awa...@radix.net wrote:
 On Tue, 2009-11-24 at 13:05 -0500, Robert Longfield wrote:
 I have a PVR-150 card running on mythbuntu 9 and it appears that my
 card is suffering a vertical (and possibly a horizontal) sync issue.

 The video jumps around, shifts from side to side, up and down and when
 it shifts the video wraps. I'm including a link to a screen shot
 showing the vertical sync problem

 http://imagebin.ca/view/6fS-14Yi.html

 It looks like you have strong singal reflections in your cable due to
 impedance mismatches, a bad splitter, a bad cable or connector, etc.

 Please read:

 http://www.ivtvdriver.org/index.php/Howto:Improve_signal_quality

 and take steps to ensure you've got a good cabling plant in your home.

Was it previously working well then went bad?

Does the problem occur when using the svideo/composite inputs?

Does the problem only occur after the unit has been running for sometime?

If the problem repro's under windows call Hauppauge tech support.

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html