[mythtv-users] X Freezes blank on 'watch tv'

Darren Boyd dboyd at its.to
Wed Sep 29 11:11:50 EDT 2004


This is my first post so let me start by thanking everyone who has put 
in countless hours into this project.  While my setup isn't quite 
working (yet), I am so far very impressed.

I am just putting together my first Myth box by following Jarod's guide 
on FC2.  The TV card being used is a PVR-350 and as it turns out it is 
one with the 'new' tuner type (47).  Basically, I suffered the same 
problem detailed here (nothing but snow from the tuner)...

http://www.gossamer-threads.com/lists/mythtv/users/85687#85687

I then upgraded my video4linux module...

root at gwenno:~# rpm -q kernel-module-video4linux-$MYKERNEL
kernel-module-video4linux-2.6.8-1.521-20040922_114711-48.rhfc2.at

This gave me the video I wanted to see, but I still do not have any 
sound coming from the tuner.  From what I gather from this list, this 
has something to do with the msp3400 module not being up to date in the 
video4linux RPM above.  I don't quite understand how this all works, so 
bear with me.  In short, I get this error:

kernel: msp3400: Unknown symbol msleep_interruptible

At this point Myth is working, except for the sound issue.  I decided 
yesterday to compile the IVTV drivers from source to see if I could get 
everything working.  I downloaded this file:

ivtv-0.1.10-pre2-ck113e.tgz

Everything compiled and installed.  And, it looks like the modules are 
loading properly (output from the logs are attached).  When I try and 
watch TV from mplayer everything is working fine.

$ mplayer /dev/video0

I can watch TV in either a window, or in fullscreen with audio.

In MythTV, however, it is quite a different story.  If I choose 'watch 
TV' I get a blank screen.  The audio is working, as I can hear the same 
channel that was in mplayer.  Using the remote, I can also change 
channels.  The screen remains blank though.  After several seconds the 
remote becomes unresponsive as well, and the audio will fail.

X, at this point, is basically frozen.  Running top from an SSH session 
on a different machine shows me that X is at 99% CPU usage.  The only 
way to regain control of the machine at this point is to 'kill -9' X.

Attached are the logs from the frontend, backend and from the IVTV 
module initialization sequence from /var/log/messages.

If anyone could provide a hint of what I'm doing wrong, it would be very 
much appreciated.

Thanks,
Darren

-------------- next part --------------
Starting up as the master server.
2004-09-29 09:02:54 mythbackend version: 0.16.20040906-1 www.mythtv.org
2004-09-29 09:02:54 Enabled verbose msgs : important general
2004-09-29 09:02:56 Found changes in the todo list.
2004-09-29 09:02:56 Scheduled 32 items in 0.228063 seconds.
2004-09-29 09:02:57 Seem to be woken up by USER
2004-09-29 09:04:13 MainServer::HandleAnnounce Playback
2004-09-29 09:04:13 adding: gwenno.its.to as a client (events: 0)
2004-09-29 09:04:13 MainServer::HandleAnnounce Playback
2004-09-29 09:04:13 adding: gwenno.its.to as a client (events: 1)
2004-09-29 09:04:13 MainServer::HandleAnnounce Playback
2004-09-29 09:04:13 adding: gwenno.its.to as a client (events: 0)
2004-09-29 09:04:13 MainServer::HandleAnnounce Playback
2004-09-29 09:04:13 adding: gwenno.its.to as a client (events: 0)
2004-09-29 09:04:13 adding: gwenno.its.to as a remote ringbuffer
2004-09-29 09:04:13 Changing from None to WatchingLiveTV
2004-09-29 09:04:36 Changing from WatchingLiveTV to None

-------------- next part --------------
2004-09-29 09:04:01 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-09-29 09:04:01 Enabled verbose msgs : important general
2004-09-29 09:04:02 Registering Internal as a media playback plugin.
2004-09-29 09:04:02 Registering MythDVD DVD Media Handler as a media handler
2004-09-29 09:04:02 Registering MythDVD VCD Media Handler as a media handler
2004-09-29 09:04:03 Registering MythMusic Media Handler as a media handler
SIP listening on IP Address 192.168.2.200:5060 NAT address 192.168.2.200
Error loading image file: /usr/share/mythtv/themes/default/NOTHING.png
SIP: Cannot register; proxy, username or password not set
2004-09-29 09:04:13 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-09-29 09:04:13 Using protocol version 13
2004-09-29 09:04:13 Using protocol version 13
2004-09-29 09:04:13 Using protocol version 13
2004-09-29 09:04:16 Opening OSS audio device '/dev/dsp'.
2004-09-29 09:04:16 Audio fragment size: 4096
2004-09-29 09:04:16 Using XV port 53
2004-09-29 09:04:16 Changing from None to WatchingLiveTV
2004-09-29 09:04:17 Using realtime priority.
[mpeg2video @ 0x777690]Warning MVs not available
2004-09-29 09:04:37 Changing from WatchingLiveTV to None
2004-09-29 09:04:37 Changing from None to None
mythfrontend: Fatal IO error: client killed

-------------- next part --------------


Sep 29 08:26:50 gwenno kernel: ivtv: ==================== START INIT IVTV ====================
Sep 29 08:26:50 gwenno kernel: ivtv: version 0.1.10 (0.1.10pre2-ck113e) loading
Sep 29 08:26:50 gwenno kernel: ivtv: Linux version: 2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3
Sep 29 08:26:50 gwenno kernel: ivtv: In case of problems please include the debug info
Sep 29 08:26:50 gwenno kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Sep 29 08:26:50 gwenno kernel: ivtv: mailing the ivtv-devel mailinglist.
Sep 29 08:26:50 gwenno kernel: ivtv: Autodetected WinTV PVR 350 card
Sep 29 08:26:50 gwenno kernel: ivtv: Found an iTVC15 based chip
Sep 29 08:26:50 gwenno kernel: ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 11 (level, low) -> IRQ 11
Sep 29 08:26:50 gwenno kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
Sep 29 08:26:51 gwenno kernel: ivtv: VIA PCI device: 0x3099 vendor: 0x1106
Sep 29 08:26:51 gwenno kernel: tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2836885
Sep 29 08:26:51 gwenno kernel: tveeprom: tuner = LG NTSC (TAPE series) (idx = 68, type = 47)
Sep 29 08:26:51 gwenno kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
Sep 29 08:26:51 gwenno kernel: tveeprom: audio_processor = MSP3440 (type = 11)
Sep 29 08:26:51 gwenno kernel: ivtv: i2c attach [client=tveeprom[0],ok]
Sep 29 08:26:51 gwenno kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad1598, Revi
sion 0x00000001
Sep 29 08:26:51 gwenno kernel: ivtv: NTSC tuner detected
Sep 29 08:26:51 gwenno kernel: ivtv: Radio detected
Sep 29 08:26:51 gwenno kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Sep 29 08:26:51 gwenno kernel: ivtv: i2c attach [client=(tuner unset),ok]
Sep 29 08:26:51 gwenno kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
Sep 29 08:26:51 gwenno kernel: saa7115: detecting saa7115 client on address 0x42
Sep 29 08:26:51 gwenno kernel: saa7115: writing init values
Sep 29 08:26:51 gwenno kernel: ivtv: i2c attach [client=saa7115[0],ok]
Sep 29 08:26:51 gwenno kernel: saa7115: status: (1E) 0x09, (1F) 0xc0
Sep 29 08:26:51 gwenno kernel: saa7127: video encoder driver version V 0.3 loaded
Sep 29 08:26:51 gwenno kernel: saa7127: Selecting NTSC video Standard
Sep 29 08:26:51 gwenno kernel: saa7127: Selecting S-Video+Composite
Sep 29 08:26:51 gwenno kernel: saa7127: Turn WSS off
Sep 29 08:26:51 gwenno kernel: saa7127: Widescreen Mode 4:3 Full Format
Sep 29 08:26:51 gwenno kernel: saa7127: Selecting Normal Encoder Input
Sep 29 08:26:51 gwenno kernel: saa7127: Enable Video Output
Sep 29 08:26:51 gwenno kernel: ivtv: i2c attach [client=saa7127[0],ok]
Sep 29 08:26:51 gwenno kernel: msp34xx: ivtv version
Sep 29 08:26:51 gwenno kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G)
no-thread mode
Sep 29 08:26:51 gwenno kernel: msp34xx: $Id$ compiled on: Sep 28 2004 22:24:32
Sep 29 08:26:51 gwenno kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Sep 29 08:26:51 gwenno kernel: ivtv: Encoder revision: 0x02040011
Sep 29 08:26:51 gwenno kernel: ivtv: Decoder revision: 0x02020023
Sep 29 08:26:51 gwenno kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams
Sep 29 08:26:51 gwenno kernel: ivtv: Create DMA stream 0 using 32 131072 byte buffers  4194304 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0
Sep 29 08:26:51 gwenno kernel: ivtv: Create DMA stream 1 using 32 131072 byte buffers  4194304 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32
Sep 29 08:26:51 gwenno kernel: ivtv: Create stream 2 using 512 4096 byte buffers  2097152 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224
Sep 29 08:26:51 gwenno kernel: ivtv: Create DMA stream 3 using 16 131072 byte buffers  2097152 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24
Sep 29 08:26:51 gwenno kernel: ivtv: Create stream 4
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64
Sep 29 08:26:51 gwenno kernel: ivtv: Create DMA stream 5 using 8 131072 byte buffers  1048576 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16
Sep 29 08:26:51 gwenno kernel: ivtv: Create stream 6 using 512 4096 byte buffers  2097152 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 6 minor 228
Sep 29 08:26:51 gwenno kernel: ivtv: Create stream 7
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 7 minor 232
Sep 29 08:26:51 gwenno kernel: ivtv: Create DMA stream 8 using 8 131072 byte buffers  1048576 kbytes total
Sep 29 08:26:51 gwenno kernel: ivtv: Registered v4l2 device, streamtype 8 minor 48
Sep 29 08:26:51 gwenno kernel: ivtv: Setting Tuner 47
Sep 29 08:26:51 gwenno kernel: tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
Sep 29 08:26:51 gwenno kernel: ivtv: Setting audio matrix to input 3, output 1
Sep 29 08:26:51 gwenno kernel: ivtv: Switching standard to NTSC.
Sep 29 08:26:51 gwenno kernel: saa7115: decoder set norm NTSC
Sep 29 08:26:51 gwenno kernel: saa7115: set audio: 0x01
Sep 29 08:26:51 gwenno kernel: saa7127: Setting Encoder Video Standard
Sep 29 08:26:51 gwenno kernel: saa7127: Set NTSC Video Mode
Sep 29 08:26:51 gwenno kernel: saa7127: Selecting NTSC video Standard
Sep 29 08:26:51 gwenno kernel: ivtv: Initialized WinTV PVR 350, card #0
Sep 29 08:26:47 gwenno sysctl: net.ipv4.conf.default.rp_filter = 1
Sep 29 08:26:51 gwenno kernel: ivtv: ====================  END INIT IVTV  ====================



More information about the mythtv-users mailing list