View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 05, 2005 9:02 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
I've read what there is to read about the Green/Purple issue but I don't think my problem is similar.

I was working fine for a couple days before this happened. WAF went up to about 95% since we weren't getting the lockups while skipping ahead anymore. I've been messing with my alsa drivers and may have hosed them but I hadn't done anything in a day when, while watching a show the screen shifted to the left with a blue line on the right side of the image followed by black. I tried shifting the image over using the frontend appearance settings but it would just dissapear into the blue line.

I rebooted and it came up fine (after removing ALSA from the rc.5 startup directory since I broke it and it froze the boot process). After a few minutes the screen shifted to the right this time and turned green and purple. This happened several times, sometimes switching to green and purple sometimes not. Sometimes shifting to the left some times to the right. Some times it stays the way it is for a while, some times it keeps changing.

I've tried running ivtvctl with several setting from different posts I've read. I can get the colors back and move it around (no idea how to do this with any accuracy) but I can never get it back to normal. Nothing's coming up on the logs. Here's some vitals let me know what else I should post.

/etc/mythtv/modules/ivtv:
Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=47
options saa7127 enable_output=1 output_select=1
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video16 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video32 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video224 -u 0x3000


/etc/X11/XF86Config-4 (partial)
Code:
Section "Device"
        Identifier      "Happauge PVR 350 iTVC15 Framebuffer"
        Driver          "ivtvdev"
        Option          "fbdev" "/dev/fb1"
        Option          "ivtv" "/dev/fb1"
        BusID "PCI:1:08:0"
EndSection

Section "Screen"
        Identifier "TV Screen"
        Device "Happauge PVR 350 iTVC15 Framebuffer"
        Monitor "NTSC Monitor"
        DefaultDepth 24
        DefaultFbbpp 32
        SubSection "Display"
                Depth 24
                FbBpp 32
                Modes "720x480"
        EndSubSection
EndSection


ivtv init from dmesg:
Code:
lirc_dev: IR Remote Control driver registered, at major 61
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3b) loading
ivtv: Linux version: 2.6.9-chw-4 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 18 (level, high) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach [client=Hauppauge IR,ok]
lirc_dev: lirc_register_plugin:sample_rate: 10
tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 7378609
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad1598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x00, (1F) 0xc0
saa7127: video encoder driver version V 0.3 loaded
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Mar 10 2005 07:59:49
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers  1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers  262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Setting Tuner 47
ivtv: ivtv_enc_thread: pid = 1293, itv = 0xe0edb920
ivtv: ivtv_dec_thread: pid = 1294, itv = 0xe0edb920
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set NTSC Video Mode
saa7127: Selecting NTSC video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================  END INIT IVTV  ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes.
ivtv-osd: screen coords: [0 0] -> [720 480]
ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xd5510000, mapped to 0xe1d10000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device


ivtv version: ivtv-0.2.0-rc3b

not sure which version of firmare I'm using but I updated it about 2 months ago.

The WAF is around 50% now and dropping every time this happens. Help me Jebus!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2005 9:46 am 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
Not sure but it could be a heat problem. I have the case totally open in the middle of my living room so the CPU is running at 25C. The Hauppauge is incredibly hot. If I had to guess I'd say well over 70C. I'm gonna get an IR thermometer. I'll post results later tonight.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2005 12:49 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
might also be that I'm using fbdev and ivtv at the same time in XF86Config-4:
Code:
        Option          "fbdev" "/dev/fb1"
        Option          "ivtv" "/dev/fb1"


I'll comment out ivtv tonight and test


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 06, 2005 6:27 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
Tried going back to just using fbdev: total x lock-up. No crash, no log info. It just hung using 98% of the cpu. Switched to just ivtv. Seemed to work but after a couple hours the image shifted left without the color change. I'm sure it'll give me color change sooner or later. Sears was out of thier infrared thermometers :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 11, 2005 9:19 am 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
I've resolved this by upgrading to a new version of ivtv. Anything above 0.3.2b doesn't work because of John Harvey's new ivtvdev X driver so I'm using 0.3.2a. I'm sure there's just a change I need to make to the X config to get it to work and since I'll be getting a pvr-150 any day now and will probably need newer drivers to get it to work. I'll post results as I get them.

UPDATE: this did not fix the problem after all. Just didn't reoccur for 24 hours.


Last edited by Thermopyle on Mon May 02, 2005 1:27 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 11, 2005 6:41 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
ivtv0.3.2a does not appear to be working either. I got a screen shift tongight then my recording went all wonky withhorizontal lines of various color (quite pretty actually). I'll post when I find a stable driver or determine that my card is toast.

Could be a firmware issue
Could be related to the fact that my record and live tv resolution is set to 720x480.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 1:20 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
Still no response from ivtv-devel, or mythtv-users. I've tried several versions of the firmware and about 13 different IVTV drivers. I've gotten the new ivtvdev drivers working by changing the BusID line in XF86Config-4 to BusID "PCI:1:8:0" None of this has worked.

I've been able to determine that the decoder registers 6c, 6d, and 6e are randomly shifting. I can correct these problems by manually resetting these registers, in fact I've written a script to reset them every 5 seconds. This is tollerable only as a temporary band-aid. It seems like this is a hardware issue, as I can't imagine a reason for the driver to be randomly changing these values. Here are my findings so far:
Code:
Register   Orig-Val   Shifted-Val   Result
6c         f9         51            Image shifts to the left
6c         f9         00            Image turns green/purple
6d         00         unknown       Image shifts down
6e         90         50            Image turns completely black


I've emailed hauppauge, but I'm not holding my breath. I'll probably just buy a new one and return the old one.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 25, 2005 1:41 pm 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
I've built a temperature controlled fan system, and shoved the thermistor into the heatsink of the 350. It's pretty sweet, because everytime I access mythbackend I can hear the fans ramp up slightly if the room is quiet. Long story short this has apparently fixed the problem. All smiles from this end.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2005 11:19 am 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
UPDATE: This was not the cure. I recently went back to ivtv 0.2.0j and within 20 minutes started getting register shifting again. So, somewhere between 0.2.0j and 0.3.4s something was changed to eliminate the shifting. I'm going to figure out which version of ivtvdev is causing the problem.

ivtvdev(xserver) updates:
0.3.4s (not yet implemented in the 0.2.0 branch)
0.3.2b 0.2.0-rc3d (not working until 0.2.0-rc3f)
0.3.1d 0.2.0-rc2h

I know I was getting no register shifting with the previous ivtvdev so I'll find which version, I'm guessing the change problem will occur with anything between 0.3.1d and 0.3.4s because I had a long stretch of problems that were fixed after 0.3.4s. I'm having other problems in 0.3.4s so I'll probably end up trying an older ivtv driver with a newer xserver driver. I'll report my findings as they come.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 11:38 am 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
IVTVDEV was not causing the problem. I went back to 0.2.0j with the newer version of IVTVDEV and still got the shifting. I upgraded to 0.3.5z and all is well. Thanks for everyone replying to this thread, it was much appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 9:39 am 
Offline
Joined: Mon Oct 04, 2004 12:56 pm
Posts: 57
This is still unresolved but happening less frequently after installing large case fans controlled by the heat of the 350 heat sink using a thermistor and mosfet. I'm pretty sure heat is the issue, causing memory failures in the PVR-350 registers. Oh well. I probably permanently damaged it when I closed the case and put it in an unventilated cabinet. My suggestion to anyone having similar oddities: send the card back if it's still under warrantee.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu