[mythtv-users] Help running X on the PVR-350

dnjohannes at gmail.com dnjohannes at gmail.com
Wed Oct 12 04:18:21 UTC 2005


Greetings,

One problem down and now onto the rest.  I have followed Jarod
Willson's guide, 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 that appeared when
playing live TV through the card:

/usr/bin/ivtvfbctl /dev/fb1 -alpha -on -globalalpha -nolocalalpha

(1) The minor annoynace I have is that I have sound and a color image,
but there is a bit of snow on the screen.

(2) Following Jarod's guide for "Running X on the PVR-350's TV-Out,"
once I get everything set up and running. My results 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 searched mythtv e-mails and Google'd and tried a few things I found,
I have tried several things over the last several nights, various
suggestions from PVR blogs, mailings but nothing seems to fix either
of these problems. Any help would be appreciated. I have included
various command and log outputs below, I also noticed some bttv
warnings in the dmesg.



   < /var/log/messages   ...snip...>
Oct 11 21:34:43 mordor kernel: ivtv: ====================  END INIT
IVTV  ====================
Oct 11 21:34:43 mordor kernel: ivtv-osd: Framebuffer module loaded
(attached to ivtv card id 0)
Oct 11 21:34:43 mordor kernel: ivtv-osd warning: Framebuffer is at
decoder-relative address 0x00510000 and has 1704960 bytes.
Oct 11 21:34:43 mordor kernel: ivtv-osd: screen coords: [0 0] -> [720 480]
Oct 11 21:34:43 mordor kernel: ivtv-osd: original global alpha = 208
Oct 11 21:34:43 mordor kernel: ivtv-osd: current OSD state = 39
Oct 11 21:34:43 mordor kernel: ivtv-osd: new global alpha = 208 (1 255 0)
Oct 11 21:34:43 mordor kernel: ivtv-osd: framebuffer at 0xd5510000,
mapped to 0xf9b10000, size 1350k
Oct 11 21:34:43 mordor kernel: ivtv-osd: mode is 720x480x32, linelength=2880
Oct 11 21:34:43 mordor kernel: ivtv-osd: fb1: iTVC15 TV out frame buffer device
Oct 11 21:34:43 mordor kernel: ivtv: Allocate DMA decoder OSD stream:
16 x 65536 buffers (1024KB total)
   <...snip...>
Oct 11 21:34:43 mordor kernel: bttv: disagrees about version of symbol
tveeprom_hauppauge_analog
Oct 11 21:34:43 mordor kernel: bttv: Unknown symbol tveeprom_hauppauge_analog
Oct 11 21:34:43 mordor kernel: cx88xx: disagrees about version of
symbol tveeprom_hauppauge_analog
Oct 11 21:34:43 mordor kernel: cx88xx: Unknown symbol tveeprom_hauppauge_analog
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_reset
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_call_i2c_clients
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_wakeup
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_risc_stopper
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_print_irqbits
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_set_scale
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_shutdown
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_vdev_init
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_core_put
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_audio_thread
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_core_irq
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_core_get
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_get_stereo
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_set_tvnorm
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_vid_irqs
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_risc_buffer
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_set_stereo
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_sram_channels
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_set_tvaudio
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_sram_channel_dump
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_sram_channel_setup
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_print_ioctl
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_free_buffer
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_boards
Oct 11 21:34:43 mordor kernel: cx8800: Unknown symbol cx88_newstation
Oct 11 21:34:43 mordor kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Oct 11 21:34:43 mordor kernel: ivtv: i2c attach to card #0 ok
[client=Hauppauge IR, addr=18]
Oct 11 21:34:43 mordor kernel: lirc_dev: lirc_register_plugin: sample_rate: 10
   <...snip...>
Oct 11 21:34:46 mordor gpm[2626]: *** info [startup.c(95)]:
Oct 11 21:34:46 mordor gpm[2626]: Started gpm successfully. Entered daemon mode.
Oct 11 21:34:46 mordor gpm[2626]: *** info [mice.c(1766)]:
Oct 11 21:34:46 mordor gpm[2626]: imps2: Auto-detected intellimouse PS/2
Oct 11 21:34:51 mordor gdm[2927]: gdm_slave_xioerror_handler: Fatal X
error - Restarting :0
Oct 11 21:34:55 mordor gdm[2968]: gdm_slave_xioerror_handler: Fatal X
error - Restarting :0
Oct 11 21:34:59 mordor gdm[3007]: gdm_slave_xioerror_handler: Fatal X
error - Restarting :0
Oct 11 21:34:59 mordor gdm[2867]: deal_with_x_crashes: Running the
XKeepsCrashing script
Oct 11 21:35:00 mordor gpm[2626]: *** info [client.c(137)]:
Oct 11 21:35:00 mordor gpm[2626]: Connecting at fd 6
   <...snip...>



[root at mordor mythtv]# 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
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-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



[root at mordor mythtv]# cat /etc/X11/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      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        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"
        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:0:2.0" # from Xorg.0.log file
        BusID "0x01:0x09.0" # lspci says 01:09.0
        #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: ==================== 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  ====================



[root at mordor mythtv]# /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 d4000000 (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 d8000000 (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 dc000000 (32-bit, prefetchable) [size=64M]
Capabilities: [44] Power Management version 2



[root at mordor mythtv]# /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'



[root at mordor mythtv]# cat /var/log/messages|grep "iTVC15 TV out"
Oct 11 21:34:43 mordor kernel: ivtv-osd: fb1: iTVC15 TV out frame buffer device


More information about the mythtv-users mailing list