Re: HVR 1600 Distortion

2010-09-19 Thread Josh Borke
On Sat, Sep 18, 2010 at 11:06 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Sat, Sep 18, 2010 at 9:09 PM, Josh Borke joshbo...@gmail.com wrote:
 It could be the tuner card, it is over 2 years old...Why would the
 analog tuner stop functioning while the digital tuner continues to
 work?  Is it because the analog portion goes through a different set
 of chips?

 Yes, the analog portion of the card has a completely separate tuner
 and demodulator.

 Don't get me wrong, it's possible that this is a driver issue, but
 given Andy has the exact same can tuner on his board it probably makes
 sense for you to do a sanity test of the hardware before any more time
 is spent investigating the software.

 Cheers,

 Devin

 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com


I plugged it in to a windows machine and it has the same effect :(
I'm going to say the card is fubar and I'll need to find a
replacement.

Thanks for the help everyone!

-josh
--
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: HVR 1600 Distortion

2010-09-19 Thread Andy Walls
Try a DTV STB or VCR with an RF out on channel 3.  Your card might not be bad.

Your signal looks overdriven from the new MPEG you sent.  I'll discuss more 
when I'm not typing on my smartphone's tiny little keyboard.

R,
Andy

Josh Borke joshbo...@gmail.com wrote:

On Sat, Sep 18, 2010 at 11:06 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Sat, Sep 18, 2010 at 9:09 PM, Josh Borke joshbo...@gmail.com wrote:
 It could be the tuner card, it is over 2 years old...Why would the
 analog tuner stop functioning while the digital tuner continues to
 work?  Is it because the analog portion goes through a different set
 of chips?

 Yes, the analog portion of the card has a completely separate tuner
 and demodulator.

 Don't get me wrong, it's possible that this is a driver issue, but
 given Andy has the exact same can tuner on his board it probably makes
 sense for you to do a sanity test of the hardware before any more time
 is spent investigating the software.

 Cheers,

 Devin

 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com


I plugged it in to a windows machine and it has the same effect :(
I'm going to say the card is fubar and I'll need to find a
replacement.

Thanks for the help everyone!

-josh
--
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: HVR 1600 Distortion

2010-09-19 Thread Josh Borke
On Sun, Sep 19, 2010 at 11:54 AM, Andy Walls awa...@md.metrocast.net wrote:
 Try a DTV STB or VCR with an RF out on channel 3.  Your card might not be bad.

 Your signal looks overdriven from the new MPEG you sent.  I'll discuss more 
 when I'm not typing on my smartphone's tiny little keyboard.

 R,
 Andy

 Josh Borke joshbo...@gmail.com wrote:

On Sat, Sep 18, 2010 at 11:06 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Sat, Sep 18, 2010 at 9:09 PM, Josh Borke joshbo...@gmail.com wrote:
 It could be the tuner card, it is over 2 years old...Why would the
 analog tuner stop functioning while the digital tuner continues to
 work?  Is it because the analog portion goes through a different set
 of chips?

 Yes, the analog portion of the card has a completely separate tuner
 and demodulator.

 Don't get me wrong, it's possible that this is a driver issue, but
 given Andy has the exact same can tuner on his board it probably makes
 sense for you to do a sanity test of the hardware before any more time
 is spent investigating the software.

 Cheers,

 Devin

 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com


I plugged it in to a windows machine and it has the same effect :(
I'm going to say the card is fubar and I'll need to find a
replacement.

Thanks for the help everyone!

-josh
--
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


I tried with the output from a SNES (most convenient thing) and it
comes out with the same distortion :(

Thanks,
-josh
--
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: HVR 1600 Distortion

2010-09-19 Thread Andy Walls
On Sun, 2010-09-19 at 15:10 -0400, Josh Borke wrote:
 On Sun, Sep 19, 2010 at 11:54 AM, Andy Walls awa...@md.metrocast.net wrote:
  Try a DTV STB or VCR with an RF out on channel 3.  Your card might not be 
  bad.
  Your signal looks overdriven from the new MPEG you sent. 

  R,
  Andy
 
  Josh Borke joshbo...@gmail.com wrote:
 

 I plugged it in to a windows machine and it has the same effect :(
 I'm going to say the card is fubar and I'll need to find a
 replacement.

 
 I tried with the output from a SNES (most convenient thing) and it
 comes out with the same distortion :(

Yeah, the analog tuner assembly is dying or part of the analog front end
of the CX23418 is bad.

You can still use the card for ATSC/QAM digital TV and analog base band
(CVBS and S-Video) capture.

Regards,
Andy

 Thanks,
 -josh


--
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: HVR 1600 Distortion

2010-09-19 Thread Josh Borke
On Sun, Sep 19, 2010 at 4:20 PM, Andy Walls awa...@md.metrocast.net wrote:
 On Sun, 2010-09-19 at 15:10 -0400, Josh Borke wrote:
 On Sun, Sep 19, 2010 at 11:54 AM, Andy Walls awa...@md.metrocast.net wrote:
  Try a DTV STB or VCR with an RF out on channel 3.  Your card might not be 
  bad.
  Your signal looks overdriven from the new MPEG you sent.

  R,
  Andy
 
  Josh Borke joshbo...@gmail.com wrote:
 

 I plugged it in to a windows machine and it has the same effect :(
 I'm going to say the card is fubar and I'll need to find a
 replacement.


 I tried with the output from a SNES (most convenient thing) and it
 comes out with the same distortion :(

 Yeah, the analog tuner assembly is dying or part of the analog front end
 of the CX23418 is bad.

 You can still use the card for ATSC/QAM digital TV and analog base band
 (CVBS and S-Video) capture.

 Regards,
 Andy

 Thanks,
 -josh




Thanks for all your help, it's really appreciated.

-josh
--
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: HVR 1600 Distortion

2010-09-18 Thread Andy Walls
On Fri, 2010-09-17 at 18:23 -0400, Josh Borke wrote:
 Thanks for the response!  Replies are in line.
 
 On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net wrote:
  On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
  I've recently noticed some distortion coming from my hvr1600 when
  viewing analog channels.  It happens to all analog channels with some
  slightly better than others.  I am running Fedora 12 linux with kernel
  version 2.6.32.21-166.
 
 
  I know I need to include more information but I'm not sure what to
  include.  Any help would be appreciated.
 
  1. Would you say the distortion is something you would possibly
  encounter on an analog television set, or does it look uniquely
  digital?  On systems with a long uptime and lots of usage, MPEG encoder
  firmware could wind up in a screwed up state giving weird output image.
  Simple solution in this case is to reboot.
 
 I'm not sure if I would classify it as uniquely digital.  The
 distortion happens across most of the screen with it being
 concentrated in the top third.  Additionally shows that include black
 bars the top black bar is seemingly stretched and the image seems like
 the colors are over-saturated where they colors are brighter.
 Rebooting had no effect :(

OK.

  2. Have you ensured your cable plant isn't affecting signal integrity?
  http://ivtvdriver.org/index.php/Howto:Improve_signal_quality
 
 The cable plant hasn't changed the signal strength or integrity as far
 as I know.

OK.  Keep it in the back of your mind though.

  3. Does this happen with only the RF tuner or only CVBS or only SVideo
  or more than one of them?  If the problem is only with RF, then it could
  be an incoming signal distortion problem.  Do you have cable or an over
  the air antenna for analog RF?
 
 I only have input for the RF tuner.  I have cable for analog RF.

Please try and test the output of a VCR or DVD play plugged into the
HVR-1600.  (We don't need sound, just the video.)

This will tell us if the problem happens before the CX23418 chip's
analog front end (i.e. in the RF and analog tuner) or not.


$ v4l2-ctl -d /dev/video0 -n
(List of possible inputs displayed)

$ v4l2-ctl -d /dev/video0 -i 2
Video input set to 2 (Composite 1)

# v4l2-ctl -d /dev/video0 -s ntsc-m
Standard set to 1000

$ cat /dev/video0  foo.mpg
^C


  4. What does v4l2-ctl --log-status show as your analog tuner?
 
 Not sure what you mean so I've included the full output:
 # v4l2-ctl -d /dev/hvr1600 --log-status
 
 Status Log:
 
cx18-0: =  START STATUS CARD #0  =
cx18-0: Version: 1.2.0  Card: Hauppauge HVR-1600
tveeprom 3-0050: Hauppauge model 74041, rev C6B2, serial# 898361
tveeprom 3-0050: MAC address is 00-0D-FE-0D-B5-39
tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
 ^^
OK.  You have a board with the same tuner as I have.

All I have for an analog RF source is a DTV STB, so a very clean channel
3 is all I have to try and duplicate the problem.


tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 3-0050: audio processor is CX23418 (idx 38)
tveeprom 3-0050: decoder processor is CX23418 (idx 31)
tveeprom 3-0050: has no radio, has IR receiver, has IR transmitter
cx18-0 843: Video signal:  present
cx18-0 843: Detected format:   NTSC-M
cx18-0 843: Specified standard:NTSC-M
cx18-0 843: Specified video input: Composite 7
cx18-0 843: Specified audioclock freq: 48000 Hz
cx18-0 843: Detected audio mode:   mono
cx18-0 843: Detected audio standard:   BTSC
cx18-0 843: Audio muted:   no
cx18-0 843: Audio microcontroller: running
cx18-0 843: Configured audio standard: automatic detection
cx18-0 843: Configured audio system:   BTSC
cx18-0 843: Specified audio input: Tuner (In8)
cx18-0 843: Preferred audio mode:  stereo
cx18-0 gpio-reset-ctrl: GPIO:  direction 0x3001, value 0x3001
tuner 4-0061: Tuner mode:  analog TV
tuner 4-0061: Frequency:   175.25 MHz
^^
This is the freq for both US Broadcast and US Cable channel 7 BTW.


tuner 4-0061: Standard:0xb000
cs5345 3-004c: Input:  1
cs5345 3-004c: Volume: 0 dB
cx18-0: Video Input: Tuner 1
cx18-0: Audio Input: Tuner 1
cx18-0: GPIO:  direction 0x3001, value 0x3001
cx18-0: Tuner: TV
cx18-0: Stream: MPEG-2 Program Stream
cx18-0: VBI Format: Private packet, IVTV format
cx18-0: Video:  720x480, 30 fps
cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 660, Peak 660
cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 384 kbps, Stereo, No
 Emphasis, No CRC
cx18-0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal,  0
cx18-0: Temporal Filter: Manual, 8
cx18-0: 

Re: HVR 1600 Distortion

2010-09-18 Thread Josh Borke
On Sat, Sep 18, 2010 at 8:20 AM, Andy Walls awa...@md.metrocast.net wrote:
 On Fri, 2010-09-17 at 18:23 -0400, Josh Borke wrote:
 Thanks for the response!  Replies are in line.

 On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net wrote:
  On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
  I've recently noticed some distortion coming from my hvr1600 when
  viewing analog channels.  It happens to all analog channels with some
  slightly better than others.  I am running Fedora 12 linux with kernel
  version 2.6.32.21-166.
 
 
  I know I need to include more information but I'm not sure what to
  include.  Any help would be appreciated.
 
  1. Would you say the distortion is something you would possibly
  encounter on an analog television set, or does it look uniquely
  digital?  On systems with a long uptime and lots of usage, MPEG encoder
  firmware could wind up in a screwed up state giving weird output image.
  Simple solution in this case is to reboot.

 I'm not sure if I would classify it as uniquely digital.  The
 distortion happens across most of the screen with it being
 concentrated in the top third.  Additionally shows that include black
 bars the top black bar is seemingly stretched and the image seems like
 the colors are over-saturated where they colors are brighter.
 Rebooting had no effect :(

 OK.

  2. Have you ensured your cable plant isn't affecting signal integrity?
  http://ivtvdriver.org/index.php/Howto:Improve_signal_quality

 The cable plant hasn't changed the signal strength or integrity as far
 as I know.

 OK.  Keep it in the back of your mind though.

  3. Does this happen with only the RF tuner or only CVBS or only SVideo
  or more than one of them?  If the problem is only with RF, then it could
  be an incoming signal distortion problem.  Do you have cable or an over
  the air antenna for analog RF?

 I only have input for the RF tuner.  I have cable for analog RF.

 Please try and test the output of a VCR or DVD play plugged into the
 HVR-1600.  (We don't need sound, just the video.)

 This will tell us if the problem happens before the CX23418 chip's
 analog front end (i.e. in the RF and analog tuner) or not.


 $ v4l2-ctl -d /dev/video0 -n
 (List of possible inputs displayed)

 $ v4l2-ctl -d /dev/video0 -i 2
 Video input set to 2 (Composite 1)

 # v4l2-ctl -d /dev/video0 -s ntsc-m
 Standard set to 1000

 $ cat /dev/video0  foo.mpg
 ^C


I only have S-Video but doing this produced a perfect picture.


  4. What does v4l2-ctl --log-status show as your analog tuner?

 Not sure what you mean so I've included the full output:
 # v4l2-ctl -d /dev/hvr1600 --log-status

 Status Log:

    cx18-0: =  START STATUS CARD #0  =
    cx18-0: Version: 1.2.0  Card: Hauppauge HVR-1600
    tveeprom 3-0050: Hauppauge model 74041, rev C6B2, serial# 898361
    tveeprom 3-0050: MAC address is 00-0D-FE-0D-B5-39
    tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
                                     ^^
 OK.  You have a board with the same tuner as I have.

 All I have for an analog RF source is a DTV STB, so a very clean channel
 3 is all I have to try and duplicate the problem.


    tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
    tveeprom 3-0050: audio processor is CX23418 (idx 38)
    tveeprom 3-0050: decoder processor is CX23418 (idx 31)
    tveeprom 3-0050: has no radio, has IR receiver, has IR transmitter
    cx18-0 843: Video signal:              present
    cx18-0 843: Detected format:           NTSC-M
    cx18-0 843: Specified standard:        NTSC-M
    cx18-0 843: Specified video input:     Composite 7
    cx18-0 843: Specified audioclock freq: 48000 Hz
    cx18-0 843: Detected audio mode:       mono
    cx18-0 843: Detected audio standard:   BTSC
    cx18-0 843: Audio muted:               no
    cx18-0 843: Audio microcontroller:     running
    cx18-0 843: Configured audio standard: automatic detection
    cx18-0 843: Configured audio system:   BTSC
    cx18-0 843: Specified audio input:     Tuner (In8)
    cx18-0 843: Preferred audio mode:      stereo
    cx18-0 gpio-reset-ctrl: GPIO:  direction 0x3001, value 0x3001
    tuner 4-0061: Tuner mode:      analog TV
    tuner 4-0061: Frequency:       175.25 MHz
                                    ^^
 This is the freq for both US Broadcast and US Cable channel 7 BTW.


    tuner 4-0061: Standard:        0xb000
    cs5345 3-004c: Input:  1
    cs5345 3-004c: Volume: 0 dB
    cx18-0: Video Input: Tuner 1
    cx18-0: Audio Input: Tuner 1
    cx18-0: GPIO:  direction 0x3001, value 0x3001
    cx18-0: Tuner: TV
    cx18-0: Stream: MPEG-2 Program Stream
    cx18-0: VBI Format: Private packet, IVTV format
    cx18-0: Video:  720x480, 30 fps
    cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 660, Peak 660
    cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
    cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 384 kbps, Stereo, No

Re: HVR 1600 Distortion

2010-09-18 Thread Devin Heitmueller
On Sat, Sep 18, 2010 at 8:42 PM, Josh Borke joshbo...@gmail.com wrote:
 On Sat, Sep 18, 2010 at 8:20 AM, Andy Walls awa...@md.metrocast.net wrote:
 On Fri, 2010-09-17 at 18:23 -0400, Josh Borke wrote:
 Thanks for the response!  Replies are in line.

 On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net wrote:
  On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
  I've recently noticed some distortion coming from my hvr1600 when
  viewing analog channels.  It happens to all analog channels with some
  slightly better than others.  I am running Fedora 12 linux with kernel
  version 2.6.32.21-166.
 
 
  I know I need to include more information but I'm not sure what to
  include.  Any help would be appreciated.
 
  1. Would you say the distortion is something you would possibly
  encounter on an analog television set, or does it look uniquely
  digital?  On systems with a long uptime and lots of usage, MPEG encoder
  firmware could wind up in a screwed up state giving weird output image.
  Simple solution in this case is to reboot.

 I'm not sure if I would classify it as uniquely digital.  The
 distortion happens across most of the screen with it being
 concentrated in the top third.  Additionally shows that include black
 bars the top black bar is seemingly stretched and the image seems like
 the colors are over-saturated where they colors are brighter.
 Rebooting had no effect :(

 OK.

  2. Have you ensured your cable plant isn't affecting signal integrity?
  http://ivtvdriver.org/index.php/Howto:Improve_signal_quality

 The cable plant hasn't changed the signal strength or integrity as far
 as I know.

 OK.  Keep it in the back of your mind though.

  3. Does this happen with only the RF tuner or only CVBS or only SVideo
  or more than one of them?  If the problem is only with RF, then it could
  be an incoming signal distortion problem.  Do you have cable or an over
  the air antenna for analog RF?

 I only have input for the RF tuner.  I have cable for analog RF.

 Please try and test the output of a VCR or DVD play plugged into the
 HVR-1600.  (We don't need sound, just the video.)

 This will tell us if the problem happens before the CX23418 chip's
 analog front end (i.e. in the RF and analog tuner) or not.


 $ v4l2-ctl -d /dev/video0 -n
 (List of possible inputs displayed)

 $ v4l2-ctl -d /dev/video0 -i 2
 Video input set to 2 (Composite 1)

 # v4l2-ctl -d /dev/video0 -s ntsc-m
 Standard set to 1000

 $ cat /dev/video0  foo.mpg
 ^C


 I only have S-Video but doing this produced a perfect picture.

Before debugging any further, it might make sense to install the tuner
into a Windows box and make sure it's not just a hardware failure in
the can tuner.

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: HVR 1600 Distortion

2010-09-18 Thread Josh Borke
On Sat, Sep 18, 2010 at 8:58 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Sat, Sep 18, 2010 at 8:42 PM, Josh Borke joshbo...@gmail.com wrote:
 On Sat, Sep 18, 2010 at 8:20 AM, Andy Walls awa...@md.metrocast.net wrote:
 On Fri, 2010-09-17 at 18:23 -0400, Josh Borke wrote:
 Thanks for the response!  Replies are in line.

 On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net 
 wrote:
  On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
  I've recently noticed some distortion coming from my hvr1600 when
  viewing analog channels.  It happens to all analog channels with some
  slightly better than others.  I am running Fedora 12 linux with kernel
  version 2.6.32.21-166.
 
 
  I know I need to include more information but I'm not sure what to
  include.  Any help would be appreciated.
 
  1. Would you say the distortion is something you would possibly
  encounter on an analog television set, or does it look uniquely
  digital?  On systems with a long uptime and lots of usage, MPEG encoder
  firmware could wind up in a screwed up state giving weird output image.
  Simple solution in this case is to reboot.

 I'm not sure if I would classify it as uniquely digital.  The
 distortion happens across most of the screen with it being
 concentrated in the top third.  Additionally shows that include black
 bars the top black bar is seemingly stretched and the image seems like
 the colors are over-saturated where they colors are brighter.
 Rebooting had no effect :(

 OK.

  2. Have you ensured your cable plant isn't affecting signal integrity?
  http://ivtvdriver.org/index.php/Howto:Improve_signal_quality

 The cable plant hasn't changed the signal strength or integrity as far
 as I know.

 OK.  Keep it in the back of your mind though.

  3. Does this happen with only the RF tuner or only CVBS or only SVideo
  or more than one of them?  If the problem is only with RF, then it could
  be an incoming signal distortion problem.  Do you have cable or an over
  the air antenna for analog RF?

 I only have input for the RF tuner.  I have cable for analog RF.

 Please try and test the output of a VCR or DVD play plugged into the
 HVR-1600.  (We don't need sound, just the video.)

 This will tell us if the problem happens before the CX23418 chip's
 analog front end (i.e. in the RF and analog tuner) or not.


 $ v4l2-ctl -d /dev/video0 -n
 (List of possible inputs displayed)

 $ v4l2-ctl -d /dev/video0 -i 2
 Video input set to 2 (Composite 1)

 # v4l2-ctl -d /dev/video0 -s ntsc-m
 Standard set to 1000

 $ cat /dev/video0  foo.mpg
 ^C


 I only have S-Video but doing this produced a perfect picture.

 Before debugging any further, it might make sense to install the tuner
 into a Windows box and make sure it's not just a hardware failure in
 the can tuner.

 Devin


 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com


It could be the tuner card, it is over 2 years old...Why would the
analog tuner stop functioning while the digital tuner continues to
work?  Is it because the analog portion goes through a different set
of chips?

Thanks,
-josh
--
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: HVR 1600 Distortion

2010-09-18 Thread Andy Walls
Yes it does.  Which is nice actually: capture both digital and RF analog at the 
same time. :)

Josh Borke joshbo...@gmail.com wrote:

On Sat, Sep 18, 2010 at 8:58 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Sat, Sep 18, 2010 at 8:42 PM, Josh Borke joshbo...@gmail.com wrote:
 On Sat, Sep 18, 2010 at 8:20 AM, Andy Walls awa...@md.metrocast.net wrote:
 On Fri, 2010-09-17 at 18:23 -0400, Josh Borke wrote:
 Thanks for the response!  Replies are in line.

 On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net 
 wrote:
  On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
  I've recently noticed some distortion coming from my hvr1600 when
  viewing analog channels.  It happens to all analog channels with some
  slightly better than others.  I am running Fedora 12 linux with kernel
  version 2.6.32.21-166.
 
 
  I know I need to include more information but I'm not sure what to
  include.  Any help would be appreciated.
 
  1. Would you say the distortion is something you would possibly
  encounter on an analog television set, or does it look uniquely
  digital?  On systems with a long uptime and lots of usage, MPEG encoder
  firmware could wind up in a screwed up state giving weird output image.
  Simple solution in this case is to reboot.

 I'm not sure if I would classify it as uniquely digital.  The
 distortion happens across most of the screen with it being
 concentrated in the top third.  Additionally shows that include black
 bars the top black bar is seemingly stretched and the image seems like
 the colors are over-saturated where they colors are brighter.
 Rebooting had no effect :(

 OK.

  2. Have you ensured your cable plant isn't affecting signal integrity?
  http://ivtvdriver.org/index.php/Howto:Improve_signal_quality

 The cable plant hasn't changed the signal strength or integrity as far
 as I know.

 OK.  Keep it in the back of your mind though.

  3. Does this happen with only the RF tuner or only CVBS or only SVideo
  or more than one of them?  If the problem is only with RF, then it could
  be an incoming signal distortion problem.  Do you have cable or an over
  the air antenna for analog RF?

 I only have input for the RF tuner.  I have cable for analog RF.

 Please try and test the output of a VCR or DVD play plugged into the
 HVR-1600.  (We don't need sound, just the video.)

 This will tell us if the problem happens before the CX23418 chip's
 analog front end (i.e. in the RF and analog tuner) or not.


 $ v4l2-ctl -d /dev/video0 -n
 (List of possible inputs displayed)

 $ v4l2-ctl -d /dev/video0 -i 2
 Video input set to 2 (Composite 1)

 # v4l2-ctl -d /dev/video0 -s ntsc-m
 Standard set to 1000

 $ cat /dev/video0  foo.mpg
 ^C


 I only have S-Video but doing this produced a perfect picture.

 Before debugging any further, it might make sense to install the tuner
 into a Windows box and make sure it's not just a hardware failure in
 the can tuner.

 Devin


 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com


It could be the tuner card, it is over 2 years old...Why would the
analog tuner stop functioning while the digital tuner continues to
work?  Is it because the analog portion goes through a different set
of chips?

Thanks,
-josh
N�r��yb�X��ǧv�^�)޺{.n�+{���bj)w*jg����ݢj/���z�ޖ��2�ޙ�)ߡ�a�����G���h��j:+v���w��٥

Re: HVR 1600 Distortion

2010-09-18 Thread Devin Heitmueller
On Sat, Sep 18, 2010 at 9:09 PM, Josh Borke joshbo...@gmail.com wrote:
 It could be the tuner card, it is over 2 years old...Why would the
 analog tuner stop functioning while the digital tuner continues to
 work?  Is it because the analog portion goes through a different set
 of chips?

Yes, the analog portion of the card has a completely separate tuner
and demodulator.

Don't get me wrong, it's possible that this is a driver issue, but
given Andy has the exact same can tuner on his board it probably makes
sense for you to do a sanity test of the hardware before any more time
is spent investigating the software.

Cheers,

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: HVR 1600 Distortion

2010-09-17 Thread Josh Borke
Thanks for the response!  Replies are in line.

On Thu, Sep 16, 2010 at 6:48 PM, Andy Walls awa...@md.metrocast.net wrote:
 On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
 I've recently noticed some distortion coming from my hvr1600 when
 viewing analog channels.  It happens to all analog channels with some
 slightly better than others.  I am running Fedora 12 linux with kernel
 version 2.6.32.21-166.


 I know I need to include more information but I'm not sure what to
 include.  Any help would be appreciated.

 1. Would you say the distortion is something you would possibly
 encounter on an analog television set, or does it look uniquely
 digital?  On systems with a long uptime and lots of usage, MPEG encoder
 firmware could wind up in a screwed up state giving weird output image.
 Simple solution in this case is to reboot.

I'm not sure if I would classify it as uniquely digital.  The
distortion happens across most of the screen with it being
concentrated in the top third.  Additionally shows that include black
bars the top black bar is seemingly stretched and the image seems like
the colors are over-saturated where they colors are brighter.
Rebooting had no effect :(

 2. Have you ensured your cable plant isn't affecting signal integrity?
 http://ivtvdriver.org/index.php/Howto:Improve_signal_quality

The cable plant hasn't changed the signal strength or integrity as far
as I know.


 3. Does this happen with only the RF tuner or only CVBS or only SVideo
 or more than one of them?  If the problem is only with RF, then it could
 be an incoming signal distortion problem.  Do you have cable or an over
 the air antenna for analog RF?

I only have input for the RF tuner.  I have cable for analog RF.


 4. What does v4l2-ctl --log-status show as your analog tuner?

Not sure what you mean so I've included the full output:
# v4l2-ctl -d /dev/hvr1600 --log-status

Status Log:

   cx18-0: =  START STATUS CARD #0  =
   cx18-0: Version: 1.2.0  Card: Hauppauge HVR-1600
   tveeprom 3-0050: Hauppauge model 74041, rev C6B2, serial# 898361
   tveeprom 3-0050: MAC address is 00-0D-FE-0D-B5-39
   tveeprom 3-0050: tuner model is TCL M2523_5N_E (idx 112, type 50)
   tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
   tveeprom 3-0050: audio processor is CX23418 (idx 38)
   tveeprom 3-0050: decoder processor is CX23418 (idx 31)
   tveeprom 3-0050: has no radio, has IR receiver, has IR transmitter
   cx18-0 843: Video signal:  present
   cx18-0 843: Detected format:   NTSC-M
   cx18-0 843: Specified standard:NTSC-M
   cx18-0 843: Specified video input: Composite 7
   cx18-0 843: Specified audioclock freq: 48000 Hz
   cx18-0 843: Detected audio mode:   mono
   cx18-0 843: Detected audio standard:   BTSC
   cx18-0 843: Audio muted:   no
   cx18-0 843: Audio microcontroller: running
   cx18-0 843: Configured audio standard: automatic detection
   cx18-0 843: Configured audio system:   BTSC
   cx18-0 843: Specified audio input: Tuner (In8)
   cx18-0 843: Preferred audio mode:  stereo
   cx18-0 gpio-reset-ctrl: GPIO:  direction 0x3001, value 0x3001
   tuner 4-0061: Tuner mode:  analog TV
   tuner 4-0061: Frequency:   175.25 MHz
   tuner 4-0061: Standard:0xb000
   cs5345 3-004c: Input:  1
   cs5345 3-004c: Volume: 0 dB
   cx18-0: Video Input: Tuner 1
   cx18-0: Audio Input: Tuner 1
   cx18-0: GPIO:  direction 0x3001, value 0x3001
   cx18-0: Tuner: TV
   cx18-0: Stream: MPEG-2 Program Stream
   cx18-0: VBI Format: Private packet, IVTV format
   cx18-0: Video:  720x480, 30 fps
   cx18-0: Video:  MPEG-2, 4x3, Variable Bitrate, 660, Peak 660
   cx18-0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
   cx18-0: Audio:  48 kHz, MPEG-1/2 Layer II, 384 kbps, Stereo, No
Emphasis, No CRC
   cx18-0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D Horizontal, 0
   cx18-0: Temporal Filter: Manual, 8
   cx18-0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   cx18-0: Status flags: 0x0021
   cx18-0: Stream encoder MPEG: status 0x, 0% of 2048 KiB (64
buffers) in use
   cx18-0: Stream encoder YUV: status 0x, 0% of 2048 KiB (16 buffers) in use
   cx18-0: Stream encoder VBI: status 0x, 0% of 1015 KiB (20 buffers) in use
   cx18-0: Stream encoder PCM audio: status 0x, 0% of 1024 KiB
(256 buffers) in use
   cx18-0: Read MPEG/VBI: 3507263488/15001920 bytes
   cx18-0: ==  END STATUS CARD #0  ==


 5. Do you have a kernel with the new concurrency managed workqueues?
 On these kernels 'ps axf' will *not* show kernel threads with names like
 [cx18-0-in], [cx18-0-out/0], [cx18-0-out/1].  This is a major kernel
 change which could cause some MPEG buffers to be lost or reordered, if
 the new workqueue implementation has bugs.

ps axf shows [cx18-0-in], [cx18-0-out/0], [cx18-0-out/1],
[cx18-0-out/2], [cx18-0-out/3]

 6. Have you recently installed new 

Re: HVR 1600 Distortion

2010-09-16 Thread Andy Walls
On Wed, 2010-09-15 at 22:54 -0400, Josh Borke wrote:
 I've recently noticed some distortion coming from my hvr1600 when
 viewing analog channels.  It happens to all analog channels with some
 slightly better than others.  I am running Fedora 12 linux with kernel
 version 2.6.32.21-166.


 I know I need to include more information but I'm not sure what to
 include.  Any help would be appreciated.

1. Would you say the distortion is something you would possibly
encounter on an analog television set, or does it look uniquely
digital?  On systems with a long uptime and lots of usage, MPEG encoder
firmware could wind up in a screwed up state giving weird output image.
Simple solution in this case is to reboot.

2. Have you ensured your cable plant isn't affecting signal integrity?
http://ivtvdriver.org/index.php/Howto:Improve_signal_quality


3. Does this happen with only the RF tuner or only CVBS or only SVideo
or more than one of them?  If the problem is only with RF, then it could
be an incoming signal distortion problem.  Do you have cable or an over
the air antenna for analog RF?

4. What does v4l2-ctl --log-status show as your analog tuner?

5. Do you have a kernel with the new concurrency managed workqueues?
On these kernels 'ps axf' will *not* show kernel threads with names like
[cx18-0-in], [cx18-0-out/0], [cx18-0-out/1].  This is a major kernel
change which could cause some MPEG buffers to be lost or reordered, if
the new workqueue implementation has bugs.

6. Have you recently installed new hardware in the subject computer?  Of
most interest are adapter cards with cables coming off of them and cards
very close to the HVR-1600.  EMI can be picked up by the HVR-1600's
board traces that are not shielded.

7. Does the distortion look like loss of horizontal line sync and happen
only near very bright parts of the image on the left edge?  If it does,
the baseband video signal level is too high.

8. Care to post a short image in a paste bin or email a small MPEG to
me?

Regards,
Andy


--
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


HVR 1600 Distortion

2010-09-15 Thread Josh Borke
I've recently noticed some distortion coming from my hvr1600 when
viewing analog channels.  It happens to all analog channels with some
slightly better than others.  I am running Fedora 12 linux with kernel
version 2.6.32.21-166.

Output of lspci -v:

02:0a.0 Multimedia video controller: Conexant Systems, Inc. CX23418
Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast
Audio Decoder
Subsystem: Hauppauge computer works Inc. WinTV HVR-1600
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at c000 (32-bit, non-prefetchable) [size=64M]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Kernel driver in use: cx18
Kernel modules: cx18

I know I need to include more information but I'm not sure what to
include.  Any help would be appreciated.

Thanks,
-josh
--
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