Hi there,

I'm seeing a bit of an odd problem with my MythTV setup. I just upgraded to
Myth 0.18.1, and to the ivtv 0.2.0-rc3k driver.

Everything works beautifully (and all settings for tuner/audio/etc are now
autodetected - woo!), except that when watching live tv or a recording, the
screen will blank after a few seconds. Audio remains fine. Along the edges of
the screen, I can still see one pixel of the image, and it changes as if the
image is still being displayed. It's as if a big black square is laid over
the screen.

Hitting a key on the remote will restore the screen, for a few more seconds.
Never more than 20 seconds.

I see the same problem with the 0.2.0-rc3k driver and with the 0.3.7c driver.

The problem does NOT occur when viewing the MythTV menus; only when the card
is actually decoding a video signal to the TV.

Recordings are fine; the screen will blank during playback but at random
times though. The actual recording is ok.

I suspect I'm missing something pretty obvious. I'm not sure it's the ivtv
driver - but it could be an initialization problem for the card.

Here's my initialization code:

alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
options ivtv ivtv_debug=1

And the output:

Aug 13 10:16:26 debian kernel: ivtv: ==================== START INIT IVTV 
====================
Aug 13 10:16:26 debian kernel: ivtv: version 0.2.0 (rc3j) loading
Aug 13 10:16:26 debian kernel: ivtv: Linux version: 2.6.12.4 preempt K7 gcc-4.0
Aug 13 10:16:26 debian kernel: ivtv: In case of problems please include the 
debug info
Aug 13 10:16:26 debian kernel: ivtv: between the START INIT IVTV and END INIT 
IVTV lines when
Aug 13 10:16:26 debian kernel: ivtv: mailing the ivtv-devel mailinglist.
Aug 13 10:16:26 debian kernel: ivtv: Autodetected WinTV PVR 350 card
Aug 13 10:16:26 debian kernel: ivtv: Found an iTVC15 based chip
Aug 13 10:16:26 debian kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
Aug 13 10:16:26 debian kernel: PCI: setting IRQ 10 as level-triggered
Aug 13 10:16:26 debian kernel: ACPI: PCI Interrupt 0000:00:08.0[A] -> Link 
[LNKA] -> GSI 10 (level, low) -> IRQ 10
Aug 13 10:16:26 debian kernel: ivtv: Unreasonably low latency timer, setting to 
64 (was 32)
Aug 13 10:16:26 debian kernel: ivtv: VIA PCI device: 0x0305 vendor: 0x1106
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=unset,ok]
Aug 13 10:16:26 debian kernel: ir-kbd-i2c: i2c IR (Hauppauge) detected at 
i2c-0/0-0018/ir0 [ivtv i2c driver #0]
Aug 13 10:16:26 debian kernel: tveeprom: Hauppauge: model = 48134, rev = I321, 
serial# = 6283360
Aug 13 10:16:26 debian kernel: tveeprom: tuner = Philips FM1216 (idx = 21, type 
= 5)
Aug 13 10:16:26 debian kernel: tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, 
v4l2 = 0x00000007)
Aug 13 10:16:26 debian kernel: tveeprom: audio_processor = CS5331 (type = 9)
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=tveeprom,ok]
Aug 13 10:16:26 debian kernel: ivtv: Tuner Type 5, Tuner formats 0x00000007, 
Radio: yes, Model 0x00a53491, Revision 0x00000001
Aug 13 10:16:26 debian kernel: ivtv: PAL tuner detected
Aug 13 10:16:26 debian kernel: ivtv: Radio detected
Aug 13 10:16:26 debian kernel: tuner: Ignoring new-style parameters in presence 
of obsolete ones
Aug 13 10:16:26 debian kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c 
driver #0
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=(tuner unset),ok]
Aug 13 10:16:26 debian kernel: saa7115: starting probe for adapter ivtv i2c 
driver #0 (0x10005)
Aug 13 10:16:26 debian kernel: saa7115: detecting saa7115 client on address 0x42
Aug 13 10:16:26 debian kernel: saa7115: writing init values
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=saa7115,ok]
Aug 13 10:16:26 debian kernel: saa7115: status: (1E) 0x00, (1F) 0xc0
Aug 13 10:16:26 debian kernel: saa7127: Ignoring new-style parameters in 
presence of obsolete ones
Aug 13 10:16:26 debian kernel: saa7127: video encoder driver version V 0.3 
loaded
Aug 13 10:16:26 debian kernel: saa7127: detecting saa7127 client on address 0x88
Aug 13 10:16:26 debian kernel: saa7127: Selecting NTSC video Standard
Aug 13 10:16:26 debian kernel: saa7127: Selecting S-Video+Composite
Aug 13 10:16:26 debian kernel: saa7127: Turn WSS off
Aug 13 10:16:26 debian kernel: saa7127: Widescreen Mode 4:3 Full Format
Aug 13 10:16:26 debian kernel: saa7127: Selecting Normal Encoder Input
Aug 13 10:16:26 debian kernel: saa7127: Enable Video Output
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=saa7127,ok]
Aug 13 10:16:26 debian kernel: msp34xx: ivtv version
Aug 13 10:16:26 debian kernel: msp34xx: init: chip=MSP3418W-A2, has NICAM 
support, simple (D) mode, simpler (G) no-thread mode
Aug 13 10:16:26 debian kernel: msp34xx: $Id$ compiled on: Aug 13 2005 09:37:10
Aug 13 10:16:26 debian kernel: ivtv: i2c attach [client=MSP3418W-A2,ok]
Aug 13 10:16:26 debian kernel: ivtv: Encoder revision: 0x02040011
Aug 13 10:16:26 debian kernel: ivtv: Decoder revision: 0x02020023
Aug 13 10:16:26 debian kernel: ivtv: Configuring WinTV PVR 350 card with 9 
streams
Aug 13 10:16:26 debian kernel: ivtv: Create DMA stream 0 using 256 16384 byte 
buffers  4194304 kbytes total
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0
Aug 13 10:16:26 debian kernel: ivtv: Create DMA stream 1
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 1 minor 
32
Aug 13 10:16:26 debian kernel: ivtv: Create stream 2 using 40 52224 byte 
buffers  2097152 kbytes total
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 2 minor 
224
Aug 13 10:16:26 debian kernel: ivtv: Create DMA stream 3 using 455 4608 byte 
buffers  2097152 kbytes total
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 3 minor 
24
Aug 13 10:16:26 debian kernel: ivtv: Create stream 4
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 4 minor 
64
Aug 13 10:16:26 debian kernel: ivtv: Create DMA stream 5 using 16 65536 byte 
buffers  1048576 kbytes total
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 5 minor 
16
Aug 13 10:16:26 debian kernel: ivtv: Create stream 6 using 1024 2048 byte 
buffers  262144 kbytes total
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 6 minor 
228
Aug 13 10:16:26 debian kernel: ivtv: Create stream 7
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 7 minor 
232
Aug 13 10:16:26 debian kernel: ivtv: Create DMA stream 8
Aug 13 10:16:26 debian kernel: ivtv: Registered v4l2 device, streamtype 8 minor 
48
Aug 13 10:16:26 debian kernel: ivtv: Setting Tuner 5
Aug 13 10:16:26 debian kernel: tuner: type set to 5 (Philips PAL_BG (FI1216 and 
compatibles)) by ivtv i2c driver #0
Aug 13 10:16:26 debian kernel: saa7115: decoder set input (4)
Aug 13 10:16:26 debian kernel: saa7115: now setting Composite input
Aug 13 10:16:26 debian kernel: ivtv: Setting audio matrix to input 3, output 1
Aug 13 10:16:26 debian kernel: ivtv: Switching standard to PAL.
Aug 13 10:16:26 debian kernel: ivtv: ivtv_enc_thread: pid = 943, itv = 
0xe0916660
Aug 13 10:16:26 debian kernel: ivtv: ivtv_dec_thread: pid = 944, itv = 
0xe0916660
Aug 13 10:16:26 debian kernel: saa7115: decoder set norm PAL
Aug 13 10:16:26 debian kernel: saa7115: set audio: 0x01
Aug 13 10:16:26 debian kernel: saa7127: Setting Encoder Video Standard
Aug 13 10:16:26 debian kernel: saa7127: Set PAL Video Mode
Aug 13 10:16:26 debian kernel: saa7127: Selecting PAL video Standard
Aug 13 10:16:26 debian kernel: ivtv: Initialized WinTV PVR 350, card #0
Aug 13 10:16:26 debian kernel: ivtv: ====================  END INIT IVTV 
====================

And then when actually starting X/the frontend:

Aug 13 10:16:26 debian kernel: ivtv-osd: Framebuffer module loaded (attached to 
ivtv card id 0)
Aug 13 10:16:26 debian kernel: ivtv-osd: Framebuffer is at decoder-relative 
address 0x00510000 and has 1704960 bytes.
Aug 13 10:16:27 debian kernel: ivtv-osd: screen coords: [0 0] -> [720 576]
Aug 13 10:16:27 debian kernel: ivtv-osd: original global alpha = 208
Aug 13 10:16:27 debian kernel: ivtv-osd: current OSD state = 39
Aug 13 10:16:27 debian kernel: ivtv-osd: new global alpha = 208 (1 255 0)
Aug 13 10:16:27 debian kernel: ivtv-osd: framebuffer at 0xdd510000, mapped to 
0xe1790000, size 1620k
Aug 13 10:16:27 debian kernel: ivtv-osd: mode is 720x576x32, linelength=2880
Aug 13 10:16:27 debian kernel: ivtv-osd: fb1: iTVC15 TV out frame buffer device
Aug 13 10:16:34 debian kernel: saa7115: decoder set picture bright=128 
contrast=63 saturation=64 hue=0
Aug 13 10:16:34 debian kernel: saa7115: decoder set picture bright=128 
contrast=63 saturation=63 hue=0
Aug 13 10:16:34 debian kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Aug 13 10:16:34 debian kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Aug 13 10:16:34 debian kernel: saa7115: decoder disable output
Aug 13 10:16:34 debian kernel: saa7115: decoder enable output
Aug 13 10:18:10 debian kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Aug 13 10:18:10 debian last message repeated 3 times
Aug 13 10:18:10 debian kernel: saa7115: decoder set size
Aug 13 10:18:11 debian kernel: saa7115: decoder disable output
Aug 13 10:18:11 debian kernel: saa7115: decoder enable output
Aug 13 10:18:22 debian kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Aug 13 10:18:23 debian last message repeated 3 times
Aug 13 10:18:23 debian kernel: saa7115: decoder disable output
Aug 13 10:18:23 debian kernel: saa7115: decoder enable output
Aug 13 10:18:23 debian kernel: saa7115: decoder disable output
Aug 13 10:18:23 debian kernel: saa7115: decoder enable output
Aug 13 10:18:38 debian kernel: saa7115: decoder set picture bright=127 
contrast=63 saturation=63 hue=0
Aug 13 10:18:38 debian last message repeated 3 times
Aug 13 10:18:38 debian kernel: saa7115: decoder disable output
Aug 13 10:18:38 debian kernel: saa7115: decoder enable output
Aug 13 10:18:39 debian kernel: saa7115: decoder disable output
Aug 13 10:18:39 debian kernel: saa7115: decoder enable output

... etc ...

When the screen blanks, no extra lines are added.

Since this could also be an X issue, I've attached the X logs and the X
config file.

I've googled but couldn't find many relevant clues. Any ideas?

Thanks,
Ward.

-- 
Pong.be         -(           "HTML needs a rant tag" - Alan Cox            )-
Virtual hosting -(                                                         )-
http://pong.be  -(                                                         )-
GnuPG public key: http://gpg.dtype.org
# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
#       FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
#       Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
#       Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       28-50
        VertRefresh     43-75
        Option          "DPMS"
EndSection

Section "Device"
    Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
    Driver      "ivtvdev"
    Option      "fbdev" "/dev/fb1"      # <-- modify if using another device
    BusID "0:08:0"
EndSection

Section "Monitor"
        Identifier      "PAL TV"
        HorizSync       30-68
        VertRefresh     50-120
        Mode "720x576"
            # D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
            DotClock 41.476
            HTimings 720 752 840 928
            VTimings 576 580 584 600
            Flags    "-HSync" "-VSync"
        EndMode
EndSection

Section "Screen"
  Identifier  "TV Screen"
  Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
  Monitor     "PAL TV"
  DefaultDepth 24
  DefaultFbbpp 32
  Subsection "Display"
    Depth 24
    FbBpp 32
    Modes "720x576"
  EndSubsection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "TV Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

Attachment: XFree86.0.log.gz
Description: Binary data

Reply via email to