Does anyone have a hint for John? I've run into the same thing and would love to hear any suggestions.

My PVR-350 *was* working fine, live tv, recording, and everything. I tried to add an saa7133 based card which I am now going to give up on. But now my PVR-350 gives a black screen when selecting 'Watch TV'.

I've removed and added the card several times in myth-setup. I have the correct input selected -- I get video when doing the "cat /dev/video0 > file.mpg" test.

Is there something I've missed in MythTV that I can reset or clear?

Kirk

John Cartwright wrote:
Hello all,

Sorry to put up another blank screen post. I've been following Jared's MythTV how to guide for Fedora 4 with the following setup:

Fedora 4
kernel - 2.6.13-1.1526_FC4
Capture Card - Hauppauge WinTV PVR 150
Video Card - ATI Radeon 7500
System - P4 2.4 Ghz, D850EMV2L Motherboard , 512 MB RAM, onboard audio

Currently, when I try to watch live tv I get a blank screen with audio. I'm pretty new to MythTv and am unsure where the problem may lie. I saw one thread that seemed to say this could be because of the audio drivers being used. Any feedback on how I can confirm that would be greatly appreciated. I thinks it's worth it to note that when I try to watch tv using the following command:

mplayer -vo  x11 /dev/video0

I get really good video playback and audio. Using the xv as the -vo option produces a blank screen with audio like mythtv does. Below is some output that may be helpful.

ct 10 21:19:21 localhost kernel: ivtv: ==================== START INIT IVTV ==================== Oct 10 21:19:21 localhost kernel: ivtv: version 0.3.8 (tagged release) loading Oct 10 21:19:21 localhost kernel: ivtv: Linux version: 2.6.13-1.1526_FC4 686 REGPARM 4KSTACKS gcc-4.0 Oct 10 21:19:21 localhost kernel: ivtv: In case of problems please include the debug info Oct 10 21:19:21 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Oct 10 21:19:21 localhost kernel: ivtv: mailing the ivtv-devel mailinglist.
Oct 10 21:19:21 localhost kernel: ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
Oct 10 21:19:21 localhost kernel: PCI: setting IRQ 5 as level-triggered
Oct 10 21:19:21 localhost kernel: ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5 Oct 10 21:19:21 localhost kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32) Oct 10 21:19:21 localhost kernel: tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8238318 Oct 10 21:19:21 localhost kernel: tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50) Oct 10 21:19:21 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Oct 10 21:19:21 localhost kernel: tveeprom: audio processor = CX25841 (type = 23) Oct 10 21:19:21 localhost kernel: tveeprom: decoder processor = CX25841 (type = 1c) Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] Oct 10 21:19:21 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
Oct 10 21:19:21 localhost kernel: cx25840: loading /lib/modules/HcwMakoA.ROM
Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=cx25840[50], addr=44] Oct 10 21:19:21 localhost kernel: ivtv: i2c attach to card #0 ok [client=wm8775[50], addr=1b]
Oct 10 21:19:21 localhost kernel: ivtv: loading /lib/modules/ivtv-fw-enc.bin
Oct 10 21:19:21 localhost kernel: ivtv: Encoder revision: 0x02040024
Oct 10 21:19:21 localhost kernel: ivtv warning: Encoder Firmware can be buggy, use version 0x02040011!!!! Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) Oct 10 21:19:21 localhost kernel: ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) Oct 10 21:19:21 localhost kernel: tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
Oct 10 21:19:21 localhost kernel: ivtv: Initialized WinTV PVR 150, card #0
Oct 10 21:19:21 localhost kernel: ivtv: ==================== END INIT IVTV ====================

# lspci -vv

02:0b.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR 150
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (32000ns min, 2000ns max), Cache Line Size 08
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

# ivtvctl -a

ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type    : 0
framerate   : 0
framespergop: 15
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
        Type   : Video Capture
        Width  : 720
        Height : 480
ioctl VIDIOC_QUERYCAP ok
        Driver name   : ivtv
        Card type     : WinTV PVR 150
        Bus info      : 0000:02:0b.0
        Driver version: 776
        Capabilities  : 0x01030011
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 5
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 6
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

        Input   : 7
        Name    : Tuner 1
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0
ioctl VIDIOC_G_INPUT ok
Video input = 6
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line 1

        Input   : 2
        Name    : Audio Line 2

        Input   : 3
        Name    : Audio Line 3

        Input   : 4
        Name    : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 980
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525

        index       : 1
        ID          : 0x00000000000000FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625

        index       : 2
        ID          : 0x00000000007F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl VIDIOC_G_STD ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 1

MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1

# mplayer -vo  xv /dev/video0

Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /dev/video0.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth
.dll
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12

$ mythtv

2005-10-11 00:40:16.617 New DB connection, total: 1
Total desktop width=1280, height=1024, numscreens=1
2005-10-11 00:40:16.627 Running in a window
2005-10-11 00:40:16.627 Using screen 0, 1280x969 at 0,0
2005-10-11 00:40:16.638 Switching to square mode (blue)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-10-11 00:40:16.954 Joystick disabled.
2005-10-11 00:40:17.084 New DB connection, total: 2
2005-10-11 00:40:17.140 Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543/> (try 1 of 5)
2005-10-11 00:40:17.149 Using protocol version 15
2005-10-11 00:40:17.217 Using protocol version 15
2005-10-11 00:40:19.494 AVFD
2005-10-11 00:40:19.495 AVFD: Opening Stream #0: codec id 2
2005-10-11 00:40:19.496 Using libmpeg2 for video decoding
2005-10-11 00:40:19.496 detectInterlace(Detect Scan, Detect Scan, 29.97, 480) ->Interlaced Scan 2005-10-11 00:40:19.496 Interlaced: Interlaced Scan video_height: 480 fps: 29.97
2005-10-11 00:40:19.496 AVFD: Looking for decoder for 2
2005-10-11 00:40:19.496 AVFD
2005-10-11 00:40:19.496 AVFD: Opening Stream #1: codec id 86016
2005-10-11 00:40:19.496 AVFD: Looking for decoder for 86016
2005-10-11 00:40:19.502 Estimated bitrate = 6384
2005-10-11 00:40:19.545 Filling position map from 0 to 34
2005-10-11 00:40:19.569 Position map filled from Encoder to: 2
2005-10-11 00:40:19.569 SyncPositionMap liveTV, from Encoder: 3 entries
2005-10-11 00:40:19.569 SyncPositionMap, new totframes: 30, new length: 1, posMap size: 3
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/video/buffers/ringbuf1.nuv':
  Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, 6000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2005-10-11 00:40:19.570 Partial position map found
2005-10-11 00:40:19.583 Opening audio device '/dev/dsp'.
2005-10-11 00:40:19.583 Opening OSS audio device '/dev/dsp'.
2005-10-11 00:40:19.589 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2005-10-11 00:40:19.595 Using XV port 69
2005-10-11 00:40:19.600 Snapping height to avoid scaling: disphoff 480, dispyoff: 0 2005-10-11 00:40:19.600 Image size. dispxoff 42, dispyoff: 0, dispwoff: 635, disphoff: 480
2005-10-11 00:40:19.600 Image size. imgx 0, imgy: 0, imgw: 720, imgh: 480
2005-10-11 00:40:19.960 Realtime priority would require SUID as root.
2005-10-11 00:40:20.021 Changing from None to WatchingLiveTV
2005-10-11 00:40:20.110 nVidiaVideoSync: Could not open device /dev/nvidia0, No such file or directory
2005-10-11 00:40:20.179 Using audio as timebase
2005-10-11 00:40:20.180 Video timing method: DRM
2005-10-11 00:40:20.180 Refresh rate: 33366, frame interval: 33366
2005-10-11 00:40:20.255 HandleGopStart: gopset not set, syncing positionMap
2005-10-11 00:40:20.261 Filling position map from 3 to 3
2005-10-11 00:40:20.315 Position map filled from Encoder to: 3
2005-10-11 00:40:20.316 SyncPositionMap liveTV, from Encoder: 4 entries
2005-10-11 00:40:20.316 SyncPositionMap, new totframes: 45, new length: 1, posMap size: 4
2005-10-11 00:40:20.316 Stream initial keyframedist: 15.
2005-10-11 00:40:20.518 positionMap[ 3 ] == 1095718.
2005-10-11 00:40:20.617 A/V diverged by 3.2843 frames, extending frame to keep audio in sync 2005-10-11 00:40:20.641 A/V diverged by 3.73698 frames, extending frame to keep audio in sync 2005-10-11 00:40:20.673 A/V diverged by 4.14392 frames, extending frame to keep audio in sync 2005-10-11 00:40:20.685 A/V diverged by 4.47159 frames, extending frame to keep audio in sync 2005-10-11 00:40:20.701 A/V diverged by 4.8672 frames, extending frame to keep audio in sync......More of the same

$ mythfrontend (Watch TV)

2005-10-11 00:42:29.450 New DB connection, total: 1
Total desktop width=1280, height=1024, numscreens=1
2005-10-11 00:42:29.460 Running in a window
2005-10-11 00:42:29.460 Using screen 0, 1280x969 at 0,0
2005-10-11 00:42:29.463 mythfrontend version: 0.18.1.20050523-1 www.mythtv.org <http://www.mythtv.org/>
2005-10-11 00:42:29.464 Enabled verbose msgs : important general
2005-10-11 00:42:29.870 Switching to square mode (blue)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-10-11 00:42:30.137 Joystick disabled.
2005-10-11 00:42:30.196 Registering Internal as a media playback plugin.
2005-10-11 00:42:30.242 Registering MythDVD DVD Media Handler as a media handler 2005-10-11 00:42:30.242 Registering MythDVD VCD Media Handler as a media handler 2005-10-11 00:42:30.449 Registering MythMusic Media Handler as a media handler SIP listening on IP Address 192.168.0.100:5060 <http://192.168.0.100:5060/> NAT address 192.168.0.100 <http://192.168.0.100/>
SIP: Cannot register; proxy, username or password not set
2005-10-11 00:42:32.843 New DB connection, total: 2
2005-10-11 00:42:32.899 Connecting to backend server: 127.0.0.1:6543 <http://127.0.0.1:6543/> (try 1 of 5)
2005-10-11 00:42:32.935 Using protocol version 15
2005-10-11 00:42:33.008 Using protocol version 15
2005-10-11 00:42:35.244 Opening audio device '/dev/dsp'.
2005-10-11 00:42:35.244 Opening OSS audio device '/dev/dsp'.
2005-10-11 00:42:35.291 Using XV port 69
2005-10-11 00:42:35.650 Realtime priority would require SUID as root.
2005-10-11 00:42:35.712 Changing from None to WatchingLiveTV
2005-10-11 00:42:35.785 Video timing method: DRM
2005-10-11 00:42:36.489 prebuffering pause
2005-10-11 00:42:37.439 prebuffering pause
2005-10-11 00:42:38.355 prebuffering pause...........More of the same


Thanks for any help you can give.


------------------------------------------------------------------------

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to