[mythtv-users] PVR-350 - B&W video and X issues
dnjohannes at gmail.com
dnjohannes at gmail.com
Tue Oct 4 18:27:50 UTC 2005
Greetings,
I have followed Jarod Willson's guide and things appear to work as
stated in section 10. I can capture video (on the 350 and 500) to a
file and play it back. Things look good on my monitor. Now I follow
the guide to test the output of my video via the pvr350. I use the
following to get rid of the horizontal lines:
/usr/bin/ivtvfbctl /dev/fb1 -alpha -on -globalalpha -nolocalalpha
I have sound and an image, but the video is in black and white! I
searched mythtv e-mails and Google'd, and tried a few things I found,
but I still have B&W video. Plus there appears to be a little bit of
'snow' int he video too.
With B&W video I continue anyway (perhaps a mistake) with "Running X
on the PVR-350's TV-Out." Here also I have no luck, following Jarod's
guide, once I get everything set up and running, my result when i look
at it on the TV is 'hundreds of mini horizontal lines on the screen.'
Which makes it pretty much useless, thank God for SSH.
I have tried several things over the last several nights, various
suggestions/tips from PVR blogs, mailings, etc. but nothing seems to
fix any of my issues. Any help would be appreciated. I have included
various command and log outputs below, I also noticed some bttv
warnings in the dmesg.
*************************************************************************
* System set up
*************************************************************************
Asus P5GDC-V Deluxe
- CPU P4/3 GHz 800M LGA775 530J
- 1GB RAM
- WinTV PVR 350
- WinTV PVR 500
Fedora Core 4
- Linux version 2.6.12-1.1447_FC4smp (bhcompile at decompose.build.redhat.com)
(gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Fri Aug 26
20:57:13 EDT 2005
Analog cable
*************************************************************************
* cat /etc/modprobe.conf
*************************************************************************
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
#options saa7134 oss=1 dsp_nr=1 mixer_nr=1 oss_rate=32000 i2c_debug=1
#options tda9887 qss=1 port1=0 port2=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || :
; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
alias char-major-61 lirc_i2c
alias usb-controller uhci-hcd
alias ieee1394-controller ohci1394
alias eth0 sk98lin
#
# ivtv modules setup
#
alias char-major-81 videodev
#alias char-major-81 ivtv
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv
# ivtv 0.2 specific options
alias tveeprom tveeprom-ivtv
#alias tuner tuner-ivtv
alias msp3400 msp3400-ivtv
#
# enable TV-out
#
install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
#
# lirc
#
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
*************************************************************************
* End of Xorg.0.log
*************************************************************************
<...snip...>
(II) Module keyboard: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) IVTVDEV: driver for framebuffer: PVR-350
(II) Primary Device is: PCI 05:00:0
(WW) ivtvdev: No matching Device section for instance (BusID PCI:1:9:0) found
(WW) ivtvdev: No matching Device section for instance (BusID PCI:2:8:0) found
(WW) ivtvdev: No matching Device section for instance (BusID PCI:2:9:0) found
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
*************************************************************************
* xorg.conf
*************************************************************************
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
# ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"
# ModulePath "/usr/X11R6/lib/modules/extensions"
# ModulePath "/usr/X11R6/lib/modules"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
#BusID "PCI:5:0.0" # from Xorg.0.log file
BusID "PCI:1:9.0" # lspci says 01:09.0
#BusID "PCI:2:8.0"
#BusID "PCI:2:9.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
*************************************************************************
* IVTV output
*************************************************************************
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.8 (tagged release) loading
ivtv: Linux version: 2.6.12-1.1447_FC4smp SMP 686 REGPARM 4KSTACKS gcc-4.0
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 (iTVC15 based)
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 8229704
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Sep 12 2005 19:15:42
ivtv: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21]
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv: i2c attach to card #0 ok [client=saa7127, addr=44]
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: loading /lib/modules/ivtv-fw-dec.bin
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Create encoder radio stream
ivtv: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv: Create decoder VOUT stream
ivtv: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================== NEXT CARD ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2995597
tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50]
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=60]
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #1)
ivtv: This is the first unit of a PVR500
ivtv warning: i2c client addr: 0x44 not found for command 0x800464cb!
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner 1-0060: type set to 57 (Philips FQ1236A MK4)
ivtv warning: i2c client addr: 0x44 not found for command 0x40046403!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046404!
ivtv warning: i2c client addr: 0x1b not found for command 0x40047767!
ivtv warning: i2c client addr: 0x44 not found for command 0x4004646e!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046403!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046406!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046406!
ivtv: Initialized WinTV PVR 500 (unit #1), card #1
ivtv: ====================== NEXT CARD ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2995597
tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv: i2c attach to card #2 ok [client=tveeprom[50], addr=50]
ivtv: i2c attach to card #2 ok [client=(tuner unset), addr=61]
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #2)
ivtv: This is the second unit of a PVR500
ivtv: Correcting tveeprom data: no radio present on second unit
ivtv warning: i2c client addr: 0x44 not found for command 0x800464cb!
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
tuner 2-0061: type set to 57 (Philips FQ1236A MK4)
ivtv warning: i2c client addr: 0x44 not found for command 0x40046403!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046404!
ivtv warning: i2c client addr: 0x1b not found for command 0x40047767!
ivtv warning: i2c client addr: 0x44 not found for command 0x4004646e!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046403!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046406!
ivtv warning: i2c client addr: 0x44 not found for command 0x40046406!
ivtv: Initialized WinTV PVR 500 (unit #2), card #2
ivtv: ==================== END INIT IVTV ====================
*************************************************************************
* /sbin/lspci -v
*************************************************************************
01:09.0 Multimedia video controller: Internext Compression Inc iTVC15
MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc. WinTV PVR-350
Flags: bus master, medium devsel, latency 64, IRQ 137
Memory at d0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
02:08.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device e807
Flags: bus master, medium devsel, latency 64, IRQ 169
Memory at d4000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
02:09.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device e817
Flags: bus master, medium devsel, latency 64, IRQ 177
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2
*************************************************************************
* /bin/dmesg |grep Initialized
*************************************************************************
ivtv: Initialized WinTV PVR 350, card #0
ivtv: Initialized WinTV PVR 500 (unit #1), card #1
ivtv: Initialized WinTV PVR 500 (unit #2), card #2
ieee1394: Initialized config rom entry `ip1394'
*************************************************************************
* cat /var/log/messages |grep "iTVC15 TV out"
*************************************************************************
Oct 3 22:42:46 mordor kernel: ivtv-osd: fb1: iTVC15 TV out frame buffer device
*************************************************************************
* ivtv-detect
*************************************************************************
driver ivtv-0.3.8 (tagged release), card WinTV PVR 350, bus info
0000:01:09.0, ivtv card #0
/dev/video0: MPG encoding (links: /dev/video)
/dev/radio0: Radio (links: /dev/radio)
/dev/vbi0: VBI encoding (links: /dev/vbi)
/dev/vbi4: VBI from MPG
/dev/vbi8: VBI decoding
/dev/video16: MPG decoding
/dev/video24: PCM encoding
/dev/video32: YUV encoding
/dev/video48: YUV decoding
driver ivtv-0.3.8 (tagged release), card WinTV PVR 500 (unit #1), bus
info 0000:02:08.0, ivtv card #1
/dev/video1: MPG encoding
/dev/vbi1: VBI encoding
/dev/video25: PCM encoding
/dev/video33: YUV encoding
driver ivtv-0.3.8 (tagged release), card WinTV PVR 500 (unit #2), bus
info 0000:02:09.0, ivtv card #2
/dev/video2: MPG encoding
/dev/vbi2: VBI encoding
/dev/video26: PCM encoding
/dev/video34: YUV encoding
*************************************************************************
* ls -l /dev/vid*
*************************************************************************
lrwxrwxrwx 1 root root 6 Oct 3 17:42 /dev/video -> video0
crw-rw---- 1 root video 81, 0 Oct 3 17:42 /dev/video0
crw-rw---- 1 root video 81, 1 Oct 3 17:42 /dev/video1
crw-rw---- 1 root video 81, 16 Oct 3 17:42 /dev/video16
crw-rw---- 1 root video 81, 2 Oct 3 17:42 /dev/video2
crw-rw---- 1 root video 81, 24 Oct 3 17:42 /dev/video24
crw-rw---- 1 root video 81, 25 Oct 3 17:42 /dev/video25
crw-rw---- 1 root video 81, 26 Oct 3 17:42 /dev/video26
crw-rw---- 1 root video 81, 32 Oct 3 17:42 /dev/video32
crw-rw---- 1 root video 81, 33 Oct 3 17:42 /dev/video33
crw-rw---- 1 root video 81, 34 Oct 3 17:42 /dev/video34
crw-rw---- 1 root video 81, 48 Oct 3 17:42 /dev/video48
*************************************************************************
* /sbin/lsmod | grep snd
*************************************************************************
snd_hda_intel 20385 0
snd_hda_codec 58817 1 snd_hda_intel
snd_seq_dummy 7749 0
snd_seq_oss 36161 0
snd_seq_midi_event 11841 1 snd_seq_oss
snd_seq 54609 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 12877 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 54513 0
snd_mixer_oss 22081 1 snd_pcm_oss
snd_pcm 92485 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 28613 2 snd_seq,snd_pcm
snd 58661 9
snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 13473 1 snd
snd_page_alloc 14021 2 snd_hda_intel,snd_pcm
*************************************************************************
* dmesg - noticed several bttv errors (related?)
*************************************************************************
<...snip...>
ivtv: ==================== END INIT IVTV ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd warning: 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 0xd1510000, mapped to 0xf9a90000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb1: iTVC15 TV out frame buffer device
ivtv: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
floppy0: no floppy controllers found
sk98lin: Network Device Driver v8.23.1.3
(C)Copyright 1999-2005 Marvell(R).
PCI: Setting latency timer of device 0000:03:00.0 to 64
eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
PrefPort:A RlmtMode:Check Link State
PCI: Setting latency timer of device 0000:00:1b.0 to 64
lirc_dev: IR Remote Control driver registered, at major 61
bttv: disagrees about version of symbol tveeprom_hauppauge_analog
bttv: Unknown symbol tveeprom_hauppauge_analog
cx88xx: disagrees about version of symbol tveeprom_hauppauge_analog
cx88xx: Unknown symbol tveeprom_hauppauge_analog
cx8800: Unknown symbol cx88_reset
cx8800: Unknown symbol cx88_call_i2c_clients
cx8800: Unknown symbol cx88_wakeup
cx8800: Unknown symbol cx88_risc_stopper
cx8800: Unknown symbol cx88_print_irqbits
cx8800: Unknown symbol cx88_set_scale
cx8800: Unknown symbol cx88_shutdown
cx8800: Unknown symbol cx88_vdev_init
cx8800: Unknown symbol cx88_core_put
cx8800: Unknown symbol cx88_audio_thread
cx8800: Unknown symbol cx88_core_irq
cx8800: Unknown symbol cx88_core_get
cx8800: Unknown symbol cx88_get_stereo
cx8800: Unknown symbol cx88_set_tvnorm
cx8800: Unknown symbol cx88_vid_irqs
cx8800: Unknown symbol cx88_risc_buffer
cx8800: Unknown symbol cx88_set_stereo
cx8800: Unknown symbol cx88_sram_channels
cx8800: Unknown symbol cx88_set_tvaudio
cx8800: Unknown symbol cx88_sram_channel_dump
cx8800: Unknown symbol cx88_sram_channel_setup
cx8800: Unknown symbol cx88_print_ioctl
cx8800: Unknown symbol cx88_free_buffer
cx8800: Unknown symbol cx88_boards
cx8800: Unknown symbol cx88_newstation
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
ivtv: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
lirc_dev: lirc_register_plugin: sample_rate: 10
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
hw_random hardware driver 1.0.0 loaded
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
USB Universal Host Controller Interface driver v2.2
<...snip...>
More information about the mythtv-users
mailing list