LinHES Forums
http://forum.linhes.org/

Live tv freezes within 1 second. Using PVR 250 - RA15
http://forum.linhes.org/viewtopic.php?f=6&t=4407
Page 1 of 2

Author:  wasup [ Tue May 03, 2005 2:30 pm ]
Post subject:  Live tv freezes within 1 second. Using PVR 250 - RA15

Hi , I have a chaintech 7nif2 and Just bought a PVR250 . I had RA12 working with a lifeview flyvideo LP card. Then got rid of that card and replaced it with the pvr 250 , then I ran mythbackup and upgraded to RA15. The upgrade went fine and the database was still intact. I installed the nividia drivers using the install-debian-nvidia*.sh script, of course. At first my pvr 250 didn't at all work then I looked at the dmesg and notice that it did not like two lines in /etc/mythtv/modules/ivtv so I commented them out and reload the module . so it looks like this now.

cat /etc/mythtv/modules/ivtv
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=2
options msp3400 once=1 simple=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe --ignore-install ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner


When I run live tv from the frontend the picture freezes within one second.

If cat /dev/video >test.mpg - I get a nice video for how everlong I cat.

There is nothing in the myth logs or messages.

Any Ideas?


P.S dmesg looks like this.

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3i) loading
ivtv: Linux version: 2.6.11.7-chw-3 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 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI interrupt 0000:01:06.0[A] -> GSI 16 (level, high) -> IRQ 16
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
ivtv: i2c attach [client=(tuner unset),ok]
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Apr 20 2005 06:45:08
ivtv: i2c attach [client=MSP3445G-B8,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) 0x48, (1F) 0xc0
ivtv: i2c attach [client=tveeprom,ok]
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7912624
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3445 (type = 12)
ivtv: Tuner Type 39, Tuner formats 0x00001000, Radio: yes, Model 0x008d1612, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 250 card with 5 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: Setting Tuner 39
tuner 2-0061: type set to 39 (LG NTSC (newer TAPC series))
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 2689, itv = 0xdeb98a20
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized WinTV PVR 250, card #0

Author:  elgordo123 [ Tue May 03, 2005 3:02 pm ]
Post subject: 

What CPU, RAM, etc do you have?

Author:  wasup [ Tue May 03, 2005 4:23 pm ]
Post subject: 

opps sorry i forgot , Buffalo 512 ram pc 3200, I believe a AMD sempron 3000 . And the pvr 250 is the model 980.

Author:  wasup [ Tue May 03, 2005 4:50 pm ]
Post subject: 

make that AMD 3000 XP + barton.

Author:  tjc [ Tue May 03, 2005 6:54 pm ]
Post subject: 

Have you...

- Checked your /cache partition to make sure it's mounted, looks healthy, and has space? (Hint - It should be effectively empty if you're not watching something.)

- For that matter check ALL of your partitions...

- Check all the recently modified files in the directories /var/log, /var/log/mythtv, /var/log/mysql, and the file /home/mythtv/.xsession-errors? (Hint - use ls -altr on the directories)

- Tried starting mythfrontend from an xterm with maximum logging enabled?
Code:
root@black:~# mythfrontend --help
Valid options are:
-display X-server              Create GUI on X-server, not localhost
-geometry or --geometry WxH    Override window size settings
--geometry WxH+X+Y             Override window size and position
-l or --logfile filename       Writes STDERR and STDOUT messages to filename
-v or --verbose debug-level    Prints more information
                               Accepts any combination (separated by comma)
                               of all,none,quiet,record,playback,channel,
                               osd,file,schedule,network,commflag,audio,libav
--version                      Version information
<plugin>                       Initialize and run this plugin

Environment Variables:
$MYTHTVDIR                     Set the installation prefix
$MYTHCONFDIR                   Set the config dir (instead of ~/.mythtv)

Author:  wasup [ Tue May 03, 2005 8:19 pm ]
Post subject: 

Now I think we are getting somewhere, here is the output of the logfile from mythfrontend:

2005-05-03 22:04:04.494 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2005-05-03 22:04:04.501 Using protocol version 15
2005-05-03 22:04:04.613 Using protocol version 15
2005-05-03 22:04:08.318 Opening audio device '/dev/dsp'.
2005-05-03 22:04:08.318 Opening OSS audio device '/dev/dsp'.
2005-05-03 22:04:08.330 Using XV port 105
2005-05-03 22:04:08.449 Realtime priority would require SUID as root.
2005-05-03 22:04:08.472 Changing from None to WatchingLiveTV
2005-05-03 22:04:08.743 Video timing method: SGI OpenGL
2005-05-03 22:04:10.346 prebuffering pause
2005-05-03 22:04:28.473 ReadStringList timeout (quick).
Remote encoder not responding.
2005-05-03 22:04:28.473 WriteStringList: Bad socket
2005-05-03 22:04:28.473 ReadStringList: Bad socket
Remote encoder not responding.
2005-05-03 22:04:28.473 WriteStringList: Bad socket
2005-05-03 22:04:28.473 ReadStringList: Bad socket
Remote encoder not responding.
ASSERT: "i <= nodes" in /usr/include/qt3/qvaluelist.h (372)
2005-05-03 22:04:28.523 WriteStringList: Bad socket
2005-05-03 22:04:28.523 ReadStringList: Bad socket
Remote encoder not responding.

Author:  miraclemaker [ Wed May 04, 2005 5:58 am ]
Post subject: 

Sounds similar to the problem I'm having - outlined here: http://mysettopbox.tv/phpBB2/viewtopic.php?t=4397

Can you Ctrl+Alt+Tab away from MythTV after the picture freezes?

Author:  wasup [ Wed May 04, 2005 12:11 pm ]
Post subject: 

Yes, I usually I ctrl-alt-f1 to see whats going , the system is fine there is no cpu load .

Author:  miraclemaker [ Wed May 04, 2005 12:21 pm ]
Post subject: 

Ah, probably not the same problem as me then.

Thanks.

Author:  wasup [ Wed May 04, 2005 5:49 pm ]
Post subject: 

As of last nigth it doesn't display anything and just goes blackand and then goes to myth screen with message unable to intialize video .

Compiled new ivtv drivers, I cat /dev/video > test.mpg wa able to view it just fine. Still have the same problem .

Author:  Red5 [ Sun May 08, 2005 10:05 pm ]
Post subject: 

I am having the same problem with a pvr150. I upgraded from R5A12 to R5A15.

Did you fiqure it out?

Author:  wasup [ Mon May 09, 2005 11:32 am ]
Post subject: 

Nope!

Author:  tjimenez87 [ Mon May 09, 2005 3:24 pm ]
Post subject: 

When I upgraded the last time, my live tv directory was set to something like /var/... instead of the proper /cache directory. I believe cesman said something like it was the result of an incomplete upgrade. I don't know if this is your problem, but when that happened to me, live tv would crash after 1 second. Check your mythtv-setup

Author:  Red5 [ Mon May 09, 2005 9:05 pm ]
Post subject: 

Yeah, I just checked and all the directories for storing media were messed up. I set the LiveTV buffer to /cache/cache and the rest to what they should be.

Unfortunately, Live TV is still having the same problem.

I did find something odd in the Backend Status. It shows staus for two tuners(I only have one installed). It says that Tuner1 is unavailable and Tuner2 is not recording. Any ideas?

Author:  Red5 [ Mon May 09, 2005 9:48 pm ]
Post subject: 

Well I killed two birds with one stone. tjc suggested I run the setup program again and answer yes to both purge questions(he was helping me on a different thread with a different problem). That fixed it for me.

Here is exactly what fixed it in the end:
Code:
#/etc/init.d/mythtv-backend stop
#mythtv-setup

Clear the capture card settings and the channel settings.
Reconfigure the backend settings.
Exit setup.
Code:
#/etc/init.d/mythtv-backend start
#mythfilldatabase


Start the frontend and enjoy.

It may have all been related to the fact that the directories were messed up after upgrading (/var/lib... problem). I fixed all of paths, then this must have pulled it all back together.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/