Results 1 to 5 of 5

Thread: [SOLVED] Problem getting X to display on PVR 350 TV-out

  1. #1
    Join Date
    Sep 2007
    Location
    Lititz, PA, USA
    Beans
    51
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    [SOLVED] Problem getting X to display on PVR 350 TV-out

    I have TV-out working for "Watch TV" in Myth ... but X is still displaying on my monitor ... not my TV.

    So, I figured I'd list a bundle of stuff out, see if anyone has any ideas. The one thing I did notice which seemed out of place is my /var/log/syslog has a line:

    ivtv0-fb: Display size 640x400 (640x400 Virtual ) @ 8bpp
    Not sure if that describes a problem, or is a reflection of the problem I'm having.

    Here's my relevant lspci:

    00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
    Here's xorg.conf:

    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "Files"
    EndSection

    Section "Module"
    Load "ivtv"
    Load "vnc"
    Load "dbe"
    Load "v4l"
    Load "extmod"
    Load "type1"
    Load "freetype"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "Device"
    Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
    # the driver we installed.
    Driver "ivtvdev"
    Option "fbdev" "/dev/fb0" # frame buffer we found above
    Option "ivtv" "/dev/fb0"
    # Option "ivtv" "/dev/fb1" # for pal users I believe
    # below settings are optional I believe I've seen lots of people with them commented out.
    Option "TVStandard" "NTSC-M" # sorry pal don't know your settings
    # I believe that pal users should just comment above line out.
    Option "VideoOverlay" "on"
    Option "XVideo" "1"
    BusID "PCI:0x00:0x09:0x00" # BusID we found with lspci converted as shown above

    Screen 0

    EndSection

    Section "Monitor"
    Identifier "TV"
    HorizSync 30-68
    VertRefresh 50-120
    DisplaySize 183 122
    Mode "720x480"
    DotClock 34.564
    HTimings 720 752 840 928
    VTimings 480 484 488 504
    Flags "-HSync" "-VSync"
    EndMode

    EndSection

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

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

    # Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    EndSection

    Section "DRI"
    Mode 0666 # Not specifically needed as far as I know.
    # I think it's specific to my computer's hardware
    # Thar said all my ubuntu boxes have this line.

    EndSection
    Here's dmesg ... hope this is right:

    [ 39.087353] ivtv: ==================== START INIT IVTV ====================
    [ 39.087362] ivtv: version 1.0.0 (2.6.22-14-generic SMP mod_unload 586 ) loading
    [ 39.087490] ivtv0: Autodetected Hauppauge card (cx23415 based)
    [ 39.087544] ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 19
    [ 39.087561] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
    [ 41.506278] ivtv0: loaded v4l-cx2341x-enc.fw firmware (3683211536 bytes)
    [ 41.860774] input: ImPS/2 Generic Wheel Mouse as /class/input/input2
    [ 41.887010] parport_pc 00:0b: reported by Plug and Play ACPI
    [ 41.887062] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    [ 41.900184] input: PC Speaker as /class/input/input3
    [ 42.018647] ivtv0: loaded v4l-cx2341x-dec.fw firmware (3683211544 bytes)
    [ 42.238527] ivtv0: Encoder revision: 0x02050032
    [ 42.238534] ivtv0: Recommended firmware version is 0x02060039.
    [ 42.246532] ivtv0: Decoder revision: 0x02020023
    [ 42.314937] tveeprom 1-0050: Hauppauge model 48132, rev K268, serial# 9956891
    [ 42.314946] tveeprom 1-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47)
    [ 42.314954] tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
    [ 42.314960] tveeprom 1-0050: audio processor is MSP4448 (idx 27)
    [ 42.314967] tveeprom 1-0050: decoder processor is SAA7115 (idx 19)
    [ 42.314973] tveeprom 1-0050: has radio, has IR receiver, has no IR transmitter
    [ 42.314980] ivtv0: Autodetected Hauppauge WinTV PVR-350
    [ 42.447648] tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
    [ 42.447701] tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
    [ 42.450892] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
    [ 42.521218] saa7115 1-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
    [ 42.702346] saa7127 1-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
    [ 42.736382] msp3400 1-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
    [ 42.736390] msp3400 1-0040: MSP4448G-A2 supports radio, mode is autodetect and autoselect
    [ 42.736642] tuner 1-0061: type set to 47 (LG NTSC (TAPE series))
    [ 42.995000] ivtv0: Registered device video0 for encoder MPEG (4 MB)
    [ 42.995319] ivtv0: Registered device video32 for encoder YUV (2 MB)
    [ 42.995660] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
    [ 42.995816] ivtv0: Registered device video24 for encoder PCM audio (1 MB)
    [ 42.996166] ivtv0: Registered device radio0 for encoder radio
    [ 42.996247] ivtv0: Registered device video16 for decoder MPEG (1 MB)
    [ 42.996342] ivtv0: Registered device vbi8 for decoder VBI (1 MB)
    [ 42.996789] ivtv0: Registered device vbi16 for decoder VOUT
    [ 42.996841] ivtv0: Registered device video48 for decoder YUV (1 MB)
    [ 43.050207] ivtv0: loaded v4l-cx2341x-init.mpg firmware (3588446024 bytes)
    [ 43.261582] ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
    [ 43.261688] ivtv: ====================== NEXT CARD ======================
    [ 43.261696] ivtv1: Autodetected Hauppauge card (cx23416 based)
    [ 43.261765] ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 18 (level, low) -> IRQ 18
    [ 43.261783] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
    [ 43.910933] ivtv1: loaded v4l-cx2341x-enc.fw firmware (3588446016 bytes)
    [ 44.124683] ivtv1: Encoder revision: 0x02050032
    [ 44.124690] ivtv1: Recommended firmware version is 0x02060039.
    [ 44.131571] tuner 2-0060: TEA5767 detected.
    [ 44.131578] tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #1)
    [ 44.131601] tuner 2-0060: type set to 62 (Philips TEA5767HN FM Radio)
    [ 44.131849] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
    [ 44.226671] tveeprom 2-0050: Hauppauge model 23552, rev E487, serial# 9777406
    [ 44.226680] tveeprom 2-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
    [ 44.226688] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
    [ 44.226695] tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
    [ 44.226702] tveeprom 2-0050: audio processor is CX25843 (idx 37)
    [ 44.226709] tveeprom 2-0050: decoder processor is CX25843 (idx 30)
    [ 44.226715] tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
    [ 44.226722] ivtv1: Autodetected WinTV PVR 500 (unit #1)
    [ 44.277441] cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #1)
    [ 46.426401] eth0: no IPv6 routers present
    [ 47.805405] cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
    [ 47.914330] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
    [ 47.962689] tuner 2-0061: type set to 70 (Samsung TCPN 2121P30A)
    [ 48.283534] ivtv1: Registered device video1 for encoder MPEG (4 MB)
    [ 48.284211] ivtv1: Registered device video33 for encoder YUV (2 MB)
    [ 48.284888] ivtv1: Registered device vbi1 for encoder VBI (1 MB)
    [ 48.285299] ivtv1: Registered device video25 for encoder PCM audio (1 MB)
    [ 48.285901] ivtv1: Registered device radio1 for encoder radio
    [ 48.310325] ivtv1: Initialized WinTV PVR 500 (unit #1), card #1
    [ 48.310421] ivtv: ====================== NEXT CARD ======================
    [ 48.310429] ivtv2: Autodetected Hauppauge card (cx23416 based)
    [ 48.310506] ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 19 (level, low) -> IRQ 20
    [ 48.310524] ivtv2: Unreasonably low latency timer, setting to 64 (was 32)
    [ 48.960407] ivtv2: loaded v4l-cx2341x-enc.fw firmware (3588446896 bytes)
    [ 49.175733] ivtv2: Encoder revision: 0x02050032
    [ 49.175739] ivtv2: Recommended firmware version is 0x02060039.
    [ 49.181990] tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #2)
    [ 49.211467] cx25840 3-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #2)
    [ 52.727797] cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
    [ 52.805622] wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #2)
    [ 52.883097] tveeprom 3-0050: Hauppauge model 23552, rev E487, serial# 9777406
    [ 52.883107] tveeprom 3-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
    [ 52.883114] tveeprom 3-0050: TV standards NTSC(M) (eeprom 0x08)
    [ 52.883121] tveeprom 3-0050: second tuner model is Philips TEA5768HL FM Radio (idx 101, type 62)
    [ 52.883129] tveeprom 3-0050: audio processor is CX25843 (idx 37)
    [ 52.883135] tveeprom 3-0050: decoder processor is CX25843 (idx 30)
    [ 52.883141] tveeprom 3-0050: has radio, has no IR receiver, has no IR transmitter
    [ 52.883148] ivtv2: Correcting tveeprom data: no radio present on second unit
    [ 52.883154] ivtv2: Autodetected WinTV PVR 500 (unit #2)
    [ 52.972208] tuner 3-0061: type set to 70 (Samsung TCPN 2121P30A)
    [ 53.290107] ivtv2: Registered device video2 for encoder MPEG (4 MB)
    [ 53.290855] ivtv2: Registered device video34 for encoder YUV (2 MB)
    [ 53.291578] ivtv2: Registered device vbi2 for encoder VBI (1 MB)
    [ 53.292124] ivtv2: Registered device video26 for encoder PCM audio (1 MB)
    [ 53.315644] ivtv2: Initialized WinTV PVR 500 (unit #2), card #2
    [ 53.316255] ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
    [ 53.316271] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 21
    [ 53.316423] PCI: Setting latency timer of device 0000:00:11.5 to 64
    [ 53.317701] ivtv: ==================== END INIT IVTV ====================
    [ 54.628171] lp0: using parport0 (interrupt-driven).
    [ 54.710334] ivtv0-fb: Framebuffer at 0xed510000, mapped to 0xdd890000, size 1665k
    [ 54.805084] ivtv0-fb: === Validated display mode ===
    [ 54.805094] ivtv0-fb: Display size 640x400 (640x400 Virtual) @ 8bpp
    [ 54.805099] ivtv0-fb: Display position 41,41
    [ 54.805103] ivtv0-fb: Display filter : on
    [ 54.805107] ivtv0-fb: Color space : RGB
    [ 54.830305] ivtv0-fb: === Display mode change ===
    [ 54.830315] ivtv0-fb: Display size 640x400 (640x400 Virtual) @ 8bpp
    [ 54.830320] ivtv0-fb: Display position 41,41
    [ 54.830324] ivtv0-fb: Display filter : on
    [ 54.830328] ivtv0-fb: Color space : RGB
    [ 54.830413] ivtv0-fb: Framebuffer registered on ivtv card id 0
    [ 55.063459] Adding 1309256k swap on /dev/hda5. Priority:-1 extents:1 across:1309256k
    [ 55.564597] EXT3 FS on hda1, internal journal
    Here's hoping somebody out there knows what I'm looking at

  2. #2
    Join Date
    Dec 2007
    Beans
    37

    Re: Problem getting X to display on PVR 350 TV-out

    Have you checked out the Gutsy HOWTO? That might have a few answers.

    Are you falling back to failsafe X on boot? Your xorg.conf actually shouldn't work in Gutsy. In the Device section for the PVR-350, use "ivtv" not "ivtvdev" for the driver. Also, how did you determine that your framebuffer was /dev/fb0? That may be correct, and looking at your dmesg I'm guessing it is, but what is the output of
    Code:
    cat /proc/fb
    ?

  3. #3
    Join Date
    Sep 2007
    Location
    Lititz, PA, USA
    Beans
    51
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Problem getting X to display on PVR 350 TV-out

    0 cx23415 TV out
    ... is from cat /proc/fb

    That howto did the trick ... every search I've done turns up the Feisty or Edgy howto. Copying the xorg.conf right off that page and changing the PCI numbers did the trick for me.

    I still have some tweaking to do as some things are a tad off the screen.

    The last issue I'm having is one of a lack of sound. I'm running everything through default alsa. I'll have to do some more digging around ... but if you (or anyone else) has any suggestions, I would appreciate it.

    Thanks!

  4. #4
    Join Date
    Dec 2007
    Beans
    37

    Re: Problem getting X to display on PVR 350 TV-out

    Regarding things being off screen, see the (brief) discussion of overscan near the end of the Gutsy HOWTO. (The Gutsy HOWTO is only a couple days old, so it's probably not on Google yet.)

    Regarding sound, are you trying to play sound through the TV? I don't think ALSA will do that (though if I'm wrong, I'd like to know how to do that). You can get the TV sound through the TV speakers by going to Utilities/Setup -> Setup -> TV Settings -> Playback. About the fifth screen is "Hardware Decoding Settings." Make sure "TV audio through PVR-350 only" is checked.

    If you are instead trying to get your TV's sound through your regular sound card, you need to connect the audio out on the PVR-350 TV out to a line-level sound card input. I don't have it set up that way, so I don't really have more details.

  5. #5
    Join Date
    Sep 2007
    Location
    Lititz, PA, USA
    Beans
    51
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Problem getting X to display on PVR 350 TV-out

    Ah! Bingo.

    I thought those cables were for input only (yes ... I know I connected the S-video cable to my TV, but for some reason I recall reading in the documentation that came with the card that the other cables were for input). I had considered changing things around, but hadn't gotten around to it.

    TV is playing normally, now I'm thrilled ... and waiting for my wife to discover what's going on.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •