[mythtv-users] Re: Frontend crash when watching live TV

Doug Bunger dougbunger at yahoo.com
Mon Jan 2 22:23:44 UTC 2006


Does the frontend have MythMusic loaded, and does it
work?  I had similar problems, which were sound
related (you are getting a message "2006-01-02
12:30:32.665 WriteAudio: buffer underrun").  I found
that KDE's sound deamon wouldn't share the audio
device, so I had to kill artsd.  I've not hacked
enough of the code to tell you why, but live audio
(ring buffered) is served differently from recorded,
so one working does not assure the other will work.

--- Fedor Pikus <fpikus at gmail.com> wrote:

> I have some more information which will hopefully
> help to diagnose the
> problem: IVTV problems do not appear to be critical,
> I can record on both
> tuners (one of the tuners now gives be a narrow line
> of blinking pixels
> along the top).
> 
> The only thing I cannot do at all is watch live TV
> (I can even watch a
> recording which is being recorded, only not live
> TV). Mythfrontend freezes
> for a while, then crashes. The log contains this:
> 
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  141
>   Minor opcode:  14
>   Resource id:  0x1ae
> 2006-01-02 12:30:31.925 Couldn't get the color key
> color, and we need it.
> You likely won't get any video.
> 2006-01-02 12:30:32.182 Realtime priority would
> require SUID as root.
> 2006-01-02 12:30:32.183 Changing from None to
> WatchingLiveTV
> 2006-01-02 12:30:32.440 Video timing method: SGI
> OpenGL
> 2006-01-02 12:30:32.662 prebuffering pause
> 2006-01-02 12:30:32.665 WriteAudio: buffer underrun
> 2006-01-02 12:30:52.183 ReadStringList timeout
> (quick).
> Remote encoder not responding.
> 2006-01-02 12:30:52.183 WriteStringList: Bad socket
> 2006-01-02 12:30:52.183 ReadStringList: Bad socket
> Remote encoder not responding.
> 2006-01-02 12:30:52.184 WriteStringList: Bad socket
> 2006-01-02 12:30:52.184 ReadStringList: Bad socket
> Remote encoder not responding.
> ASSERT: "i <= nodes" in
> /usr/lib/qt-3.3/include/qvaluelist.h (373)
> 2006-01-02 12:30:52.186 WriteStringList: Bad socket
> 2006-01-02 12:30:52.186 ReadStringList: Bad socket
> Remote encoder not responding.
> 2006-01-02 12:30:52.191 WriteStringList: Bad socket
> 2006-01-02 12:30:52.191 ReadStringList: Bad socket
> Remote encoder not responding.
> ASSERT: "i <= nodes" in
> /usr/lib/qt-3.3/include/qvaluelist.h (373)
> 
> Any sugestions now?
> 
> Thanks,
> Fedor
> 
> On 1/1/06, Fedor Pikus <fpikus at gmail.com> wrote:
> >
> > After upgrading to the latest MythTV from ATRPMs
> (latest ivtv, kernel,
> > lirc) I'm getting a consistent crash when trying
> to watch live tv and some
> > of ivtv modules don't want to load anymore. I'd
> appreciate any suggestions
> > on how to get the system back.
> >
> > Here are the RPMs I loaded:
> >
> > kernel-2.6.12-1.1381_FC3
> > alsa-kmdl-2.6.12-1.1381_FC3-1.0.10-42.rhfc3.at
> >
>
nvidia-graphics7174-kmdl-2.6.12-1.1381_FC3-1.0_7174-68.rhfc3.at
> > ivtv-kmdl-2.6.12-1.1381_FC3-0.4.1-99.rhfc3.at
> >
>
lirc-kmdl-2.6.12-1.1381_FC3-0.8.0-52_cvs20051114.rhfc3.at
> > ivtv-0.4.1-99.rhfc3.at
> > ivtv-firmware-dec-2.02.023-8.at
> > ivtv-firmware-audio-0.0.1-5.at
> > ivtv-kernheaders-0.4.1-99.rhfc3.at
> > ivtv_xdriver-0.10.6-3.rhfc3.at
> > ivtv-firmware-enc-2.04.024-8.at
> > ivtv-firmware-1.8a-8.at
> >
> > Here is what I get in the system log about ivtv (I
> have PVR-350 and
> > PVR-150):
> >
> > Jan  1 23:00:45 myth kernel: ivtv: 
> ==================== START INIT IVTV
> > ====================
> > Jan  1 23:00:45 myth kernel: ivtv:  version 0.4.1
> (tagged release) loading
> > Jan  1 23:00:45 myth kernel: ivtv:  Linux version:
> 2.6.12-1.1381_FC3 686
> > REGPARM 4KSTACKS gcc-3.4
> > Jan  1 23:00:45 myth kernel: ivtv:  In case of
> problems please include the
> > debug info between
> > Jan  1 23:00:45 myth kernel: ivtv:  the START INIT
> IVTV and END INIT IVTV
> > lines, along with
> > Jan  1 23:00:45 myth kernel: ivtv:  any module
> options, when mailing the
> > ivtv-users mailinglist.
> > Jan  1 23:00:45 myth kernel: ivtv0: Autodetected
> WinTV PVR 350 card
> > (cx23415 based)
> > Jan  1 23:00:45 myth kernel: ACPI: PCI Interrupt
> 0000:00:0a.0[A] -> Link
> > [LNKC] -> GSI 10 (level, low) -> IRQ 10
> > Jan  1 23:00:45 myth kernel: tveeprom: ivtv
> version
> > Jan  1 23:00:45 myth kernel: tveeprom: Hauppauge:
> model = 48132, rev =
> > K168, serial# = 2942510
> > Jan  1 23:00:45 myth kernel: tveeprom: tuner = LG
> TAPE H001F MK3 (idx =
> > 68, type = 47)
> > Jan  1 23:00:45 myth kernel: tveeprom: tuner fmt =
> NTSC(M) (eeprom = 0x08,
> > v4l2 = 0x00001000)
> > Jan  1 23:00:45 myth kernel: tveeprom: audio
> processor = MSP4448 (type =
> > 1b)
> > Jan  1 23:00:45 myth kernel: tveeprom: decoder
> processor = SAA7115 (type =
> > 13)
> > Jan  1 23:00:45 myth netfs: Mounting NFS
> filesystems:  succeeded
> > Jan  1 23:00:45 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=tveeprom, addr=50]
> > Jan  1 23:00:45 myth kernel: tuner (ivtv): chip
> found at addr 0xc2 i2c-bus
> > ivtv i2c driver #0
> > Jan  1 23:00:45 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=(tuner unset), addr=61]
> > Jan  1 23:00:45 myth kernel: saa7115 0-0021: ivtv
> driver
> > Jan  1 23:00:45 myth kernel: saa7115 0-0021:
> saa7115 found @ 0x42 (ivtv
> > i2c driver #0)
> > Jan  1 23:00:45 myth netfs: Mounting other
> filesystems:  succeeded
> > Jan  1 23:00:45 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=saa7115, addr=21]
> > Jan  1 23:00:45 myth kernel: saa7127: Unknown
> parameter `i2c_enable'
> > Jan  1 23:00:45 myth kernel: saa7127 0-0044: ivtv
> driver
> > Jan  1 23:00:46 myth kernel: saa7127 0-0044:
> saa7127 found @ 0x88 (ivtv
> > i2c driver #0)
> > Jan  1 23:00:46 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=saa7127, addr=44]
> > Jan  1 23:00:46 myth kernel: msp3400 0-0040: ivtv
> driver
> > Jan  1 23:00:46 myth kernel: msp3400 0-0040:
> chip=MSP4448G-A2 +nicam
> > +simple +simpler +radio mode=simpler
> > Jan  1 23:00:46 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=MSP4448G-A2, addr=40]
> > Jan  1 23:00:46 myth kernel: msp3400 0-0040:
> msp34xxg daemon started
> > Jan  1 23:00:46 myth kernel: tda9885/6/7: chip
> found @ 0x86
> > Jan  1 23:00:46 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=tda9887, addr=43]
> > Jan  1 23:00:46 myth kernel: ivtv0: loaded
> v4l-cx2341x-enc.fw firmware
> > (262144 bytes)
> > Jan  1 23:00:46 myth kernel: ivtv0: loaded
> v4l-cx2341x-dec.fw firmware
> > (262144 bytes)
> > Jan  1 23:00:46 myth kernel: ivtv0: Encoder
> revision: 0x02040024
> > Jan  1 23:00:46 myth kernel: ivtv0 warning:
> Encoder Firmware can be buggy,
> > use version 0x02040011 or 0x02050032.
> > Jan  1 23:00:46 myth kernel: ivtv0: Decoder
> revision: 0x02020023
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> encoder MPEG stream: 128
> > x 32768 buffers (4096KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> encoder YUV stream: 194 x
> > 10800 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> encoder VBI stream: 120 x
> > 17472 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> encoder PCM audio stream:
> > 455 x 4608 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Create encoder
> radio stream
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> decoder MPEG stream: 16 x
> > 65536 buffers (1024KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> decoder VBI stream: 512 x
> > 2048 buffers (1024KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: Create decoder
> VOUT stream
> > Jan  1 23:00:46 myth kernel: ivtv0: Allocate DMA
> decoder YUV stream: 24 x
> > 43200 buffers (1024KB total)
> > Jan  1 23:00:46 myth kernel: ivtv0: unable to open
> firmware
> > v4l-cx2341x-init-mpeg.bin
> > Jan  1 23:00:46 myth kernel: ivtv0: did you put
> the firmware in the
> > hotplug firmware directory?
> > Jan  1 23:00:46 myth kernel: ivtv0: failed to read
> mpeg decoder
> > initialisation file v4l-cx2341x-init-mpeg.bin
> > Jan  1 23:00:46 myth kernel: tuner: type set to 47
> (LG NTSC (TAPE series))
> > by ivtv i2c driver #0
> > Jan  1 23:00:46 myth kernel: ivtv0: Initialized
> WinTV PVR 350, card #0
> > Jan  1 23:00:46 myth kernel: ivtv: 
> ======================  NEXT CARD
> > ======================
> > Jan  1 23:00:46 myth kernel: ivtv1: Autodetected
> WinTV PVR 150 card
> > (cx23416 based)
> > Jan  1 23:00:46 myth kernel: ACPI: PCI Interrupt
> Link [LNKA] enabled at
> > IRQ 11
> > Jan  1 23:00:46 myth kernel: PCI: setting IRQ 11
> as level-triggered
> > Jan  1 23:00:46 myth kernel: ACPI: PCI Interrupt
> 0000:00:0c.0[A] -> Link
> > [LNKA] -> GSI 11 (level, low) -> IRQ 11
> > Jan  1 23:00:46 myth kernel: tveeprom: The eeprom
> says no radio is
> > present, but the tuner type 68
> > Jan  1 23:00:46 myth kernel: tveeprom: indicates
> otherwise. I will assume
> > that radio is present.
> > Jan  1 23:00:46 myth lm_sensors: Starting
> lm_sensors: loading module
> > Jan  1 23:00:46 myth kernel: tveeprom: ivtv
> version
> > Jan  1 23:00:46 myth kernel: tveeprom: Hauppauge:
> model = 26552, rev =
> > C268, serial# = 2951351
> > Jan  1 23:00:46 myth kernel: tveeprom: tuner = LG
> TAPE H001F MK3 (idx =
> > 68, type = 47)
> > Jan  1 23:00:46 myth kernel: tveeprom: tuner fmt =
> NTSC(M) (eeprom = 0x08,
> > v4l2 = 0x00001000)
> > Jan  1 23:00:46 myth kernel: tveeprom: audio
> processor = CX25843 (type =
> > 25)
> > Jan  1 23:00:46 myth lm_sensors: i2c-isa
> > Jan  1 23:00:46 myth kernel: tveeprom: decoder
> processor = CX25843 (type =
> > 1e)
> > Jan  1 23:00:46 myth kernel: ivtv1: i2c attach to
> card #1 ok
> > [client=tveeprom, addr=50]
> > Jan  1 23:00:46 myth kernel: tuner (ivtv): chip
> found at addr 0xc2 i2c-bus
> > ivtv i2c driver #1
> > Jan  1 23:00:46 myth kernel: ivtv1: i2c attach to
> card #1 ok
> > [client=(tuner unset), addr=61]
> > Jan  1 23:00:46 myth kernel: tda9885/6/7: chip
> found @ 0x86
> > Jan  1 23:00:46 myth kernel: ivtv1: i2c attach to
> card #1 ok
> > [client=tda9887, addr=43]
> > Jan  1 23:00:46 myth kernel: cx25840: Unknown
> parameter `i2c_enable'
> > Jan  1 23:00:46 myth kernel: cx25840 1-0044: ivtv
> driver
> > Jan  1 23:00:46 myth kernel: cx25840 1-0044:
> cx25843-23 found @ 0x88 (ivtv
> > i2c driver #1)
> > Jan  1 23:00:46 myth kernel: cx25840 1-0044:
> loaded v4l-cx25840.fwfirmware (13353 bytes)
> > Jan  1 23:00:46 myth lm_sensors: it87
> > Jan  1 23:00:46 myth kernel: ivtv1: i2c attach to
> card #1 ok
> > [client=cx25840, addr=44]
> > Jan  1 23:00:46 myth kernel: wm8775 1-001b: ivtv
> driver
> > Jan  1 23:00:46 myth kernel: wm8775 1-001b: chip
> found @ 0x36 (ivtv i2c
> > driver #1)
> > Jan  1 23:00:46 myth kernel: ivtv1: i2c attach to
> card #1 ok
> > [client=wm8775, addr=1b]
> > Jan  1 23:00:46 myth kernel: ivtv1: loaded
> v4l-cx2341x-enc.fw firmware
> > (262144 bytes)
> > Jan  1 23:00:46 myth kernel: ivtv1: Encoder
> revision: 0x02040024
> > Jan  1 23:00:46 myth kernel: ivtv1 warning:
> Encoder Firmware can be buggy,
> > use version 0x02040011 or 0x02050032.
> > Jan  1 23:00:46 myth kernel: ivtv1: Allocate DMA
> encoder MPEG stream: 128
> > x 32768 buffers (4096KB total)
> > Jan  1 23:00:46 myth kernel: ivtv1: Allocate DMA
> encoder YUV stream: 194 x
> > 10800 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv1: Allocate DMA
> encoder VBI stream: 120 x
> > 17472 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv1: Allocate DMA
> encoder PCM audio stream:
> > 455 x 4608 buffers (2048KB total)
> > Jan  1 23:00:46 myth kernel: ivtv1: Create encoder
> radio stream
> > Jan  1 23:00:46 myth kernel: tuner: type set to 47
> (LG NTSC (TAPE series))
> > by ivtv i2c driver #1
> > Jan  1 23:00:46 myth kernel: ivtv1: Initialized
> WinTV PVR 150, card #1
> > Jan  1 23:00:46 myth kernel: ivtv: 
> ====================  END INIT IVTV
> > ====================
> > Jan  1 23:00:46 myth kernel: lirc_dev: IR Remote
> Control driver
> > registered, at major 61
> > Jan  1 23:00:46 myth kernel: bttv: disagrees about
> version of symbol
> > tveeprom_hauppauge_analog
> > Jan  1 23:00:46 myth kernel: bttv: Unknown symbol
> > tveeprom_hauppauge_analog
> > Jan  1 23:00:46 myth kernel: cx88xx: disagrees
> about version of symbol
> > tveeprom_hauppauge_analog
> > Jan  1 23:00:46 myth kernel: cx88xx: Unknown
> symbol
> > tveeprom_hauppauge_analog
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_reset
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_call_i2c_clients
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_wakeup
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_risc_stopper
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_print_irqbits
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_set_scale
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_shutdown
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_vdev_init
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_core_put
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_audio_thread
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_core_irq
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_core_get
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_get_stereo
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_set_tvnorm
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_vid_irqs
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_risc_buffer
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_set_stereo
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_sram_channels
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_set_tvaudio
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_sram_channel_dump
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol
> > cx88_sram_channel_setup
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_print_ioctl
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_free_buffer
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_boards
> > Jan  1 23:00:46 myth kernel: cx8800: Unknown
> symbol cx88_newstation
> > Jan  1 23:00:46 myth kernel: lirc_i2c: chip found
> @ 0x18 (Hauppauge IR)
> > Jan  1 23:00:46 myth kernel: ivtv0: i2c attach to
> card #0 ok
> > [client=Hauppauge IR, addr=18]
> > Jan  1 23:00:46 myth kernel: lirc_dev:
> lirc_register_plugin: sample_rate:
> > 10
> >
> >
> > And the crash goes like this: I get live TV for
> half a second, then it
> > freezes (it always did that, but only for a
> second), then the hard drive
> > light starts blinking but the picture is ztill
> frozen. After a while I get
> > the schedule displayed on the bottom part of the
> screen and the small
> > preview TV window in the top right, except TV
> window is black. When I exit,
> > frontend crashes. At some point during this
> process, I get this in the log:
> >
> > Using XvMC version: 1.0
> > XvMC found and using IDCT surface
> > 2006-01-01 23:05:13.429 Using XV port 177
> > X Error: BadMatch (invalid parameter attributes) 8
> >   Major opcode:  141
> >   Minor opcode:  14
> >   Resource id:  0x1ae
> > 2006-01-01 23:05:13.461 Couldn't get the color key
> color, and we need it.
> > You likely won't get any video.
> > 2006-01-01 23:05:13.695 Realtime priority would
> require SUID as root.
> > 2006-01-01 23:05:13.695 Changing from None to
> WatchingPreRecorded
> > XvMC: picture structure FRAME
> > 2006-01-01 23:05:13.905 Video timing method: SGI
> OpenGL
> > 2006-01-01 23:05:28.624 prebuffering pause
> >
> >
> > I also get a couple more strange messages in the
> frontend log:
> >
> > Error loading image file:
> >
>
/usr/share/mythtv/themes/default/1003_20060101230400_20060101233000.nuv.png
> >
> > ASSERT: "i <= nodes" in
> /usr/lib/qt-3.3/include/qvaluelist.h (373)
> >
> > *** glibc detected *** free(): invalid next size
> (normal): 0x0acea908 ***
> >
> >
> >
> > --
> > Fedor G Pikus (fpikus at gmail.com)
> > http://www.pikus.net
> > http://wild-light.com
> 
> 
> 
> 
> --
> Fedor G Pikus (fpikus at gmail.com)
> http://www.pikus.net
> http://wild-light.com
> > _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 


----- Doug Bunger -------------- dougbunger at yahoo.com -----
------------- http://www.dougbunger.com/ ------------------


	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/


More information about the mythtv-users mailing list