E. Ann Black-Ziegelbein wrote:
> All has been going well - have mythtv settup and X working.  I can capture
> video ... and play it back with mplayer.  However I can not play it from
> MythTV - just get an error stating "Unable to initialize video".  When I
> tail the myth tv logs I see the following:

I'm pretty much in the same situation as the original poster.  I have X
working on my PVR-350's TV out, but not MythTV playback or Live TV.  I
get the same error message when I try to playback, "Unable to initialize
video", but my logs show different errors:

2007-10-29 21:50:49.046 TV: Attempting to change from None to
WatchingPreRecorded
2007-10-29 21:50:49.052 DPMS Deactivated
2007-10-29 21:50:49.124 Opening ALSA audio device 'default'.
2007-10-29 21:50:49.148 Mixer unable to find control Master
2007-10-29 21:50:49.148 Mixer unable to find control Master
2007-10-29 21:50:49.148 NVP: Enabling Audio
2007-10-29 21:50:49.148 IVD Error: Framebuffer number query failed.
                         eno: Invalid argument (22)
                         Did you load the ivtv-fb Linux kernel module?
2007-10-29 21:51:05.902 TV Error: StartPlayer(): NVP is not playing
after 20000 msec
2007-10-29 21:51:05.903 TV: Changing from None to WatchingPreRecorded
2007-10-29 21:51:05.904 TV: Attempting to change from
WatchingPreRecorded to None
2007-10-29 21:51:05.920 IVD Error: Failed to stop decoder
                         eno: Invalid argument (22)
2007-10-29 21:51:05.924 TV: Changing from WatchingPreRecorded to None
2007-10-29 21:51:05.925 TV: Attempting to change from None to None
2007-10-29 21:51:06.184 DPMS Reactivated.
0: start_time: 0.036 duration: 323.507
1: start_time: 0.026 duration: 323.482
stream: start_time: 0.289 duration: 3594.635 bitrate=5189 kb/s
2007-10-29 21:51:06.723 AFD: Opened codec 0x82a6980, id(MPEG2VIDEO)
type(Video)
2007-10-29 21:51:06.723 AFD: Opened codec 0x8208cd0, id(MP2) type(Audio)
0: start_time: 0.036 duration: 323.507
1: start_time: 0.026 duration: 323.482
stream: start_time: 0.289 duration: 3594.635 bitrate=5189 kb/s
2007-10-29 21:51:07.923 AFD: Opened codec 0x82a6980, id(MPEG2VIDEO)
type(Video)
2007-10-29 21:51:07.923 AFD: Opened codec 0x8208cd0, id(MP2) type(Audio)

I'm using Ubuntu with kernel 2.6.22-14.  I actually had everything
working on feisty, but the playback broke when I upgraded to gutsy.

I believe I have ivtv-fb loaded.  It's listed in /etc/modules and I have
"options ivtv-fb osd_compat=1" in /etc/modprobe.d/aliases.  And ivtv_fb
shows up when I do lsmod.

Here's my IVTV dmesg output:

[   13.988000] ivtv:  ==================== START INIT IVTV
====================
[   13.988000] ivtv:  version 1.0.0 (2.6.22-14-generic SMP mod_unload
586 ) loading
[   14.052000] ivtv0: Autodetected Hauppauge card (cx23415 based)
[   14.712000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (4155196880 bytes)
[   14.740000] ivtv0: loaded v4l-cx2341x-dec.fw firmware (4155196888 bytes)
[   14.964000] ivtv0: Encoder revision: 0x02060039
[   14.972000] ivtv0: Decoder revision: 0x02020023
[   15.032000] tveeprom 2-0050: Hauppauge model 48132, rev K268, serial#
9945181
[   15.032000] tveeprom 2-0050: tuner model is LG TAPE H001F MK3 (idx
68, type 47)
[   15.032000] tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
[   15.032000] tveeprom 2-0050: audio processor is MSP4448 (idx 27)
[   15.032000] tveeprom 2-0050: decoder processor is SAA7115 (idx 19)
[   15.032000] tveeprom 2-0050: has radio, has IR receiver, has no IR
transmitter
[   15.032000] ivtv0: Autodetected Hauppauge WinTV PVR-350
[   15.060000] tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
[   15.060000] tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
[   15.064000] tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   15.112000] saa7115 2-0021: saa7115 found (1f7115d0e100000) @ 0x42
(ivtv i2c driver #0)
[   15.292000] saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
[   15.316000] msp3400 2-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
[   15.316000] msp3400 2-0040: MSP4448G-A2 supports radio, mode is
autodetect and autoselect
[   15.316000] tuner 2-0061: type set to 47 (LG NTSC (TAPE series))
[   15.568000] ivtv0: Registered device video0 for encoder MPEG (4 MB)
[   15.568000] ivtv0: Registered device video32 for encoder YUV (2 MB)
[   15.568000] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
[   15.568000] ivtv0: Registered device video24 for encoder PCM audio (1 MB)
[   15.568000] ivtv0: Registered device radio0 for encoder radio
[   15.568000] ivtv0: Registered device video16 for decoder MPEG (1 MB)
[   15.568000] ivtv0: Registered device vbi8 for decoder VBI (1 MB)
[   15.568000] ivtv0: Registered device vbi16 for decoder VOUT
[   15.568000] ivtv0: Registered device video48 for decoder YUV (1 MB)
[   15.636000] ivtv0: loaded v4l-cx2341x-init.mpg firmware (4155197272
bytes)
[   15.828000] ivtv0: Initialized Hauppauge WinTV PVR-350, card #0
[   15.828000] ivtv:  ====================  END INIT IVTV
====================

Here's dmesg output related to ivtv-fb.  I don't know why the same
messages appear twice.  Is that a problem?

[   16.532000] ivtv0-fb: Framebuffer at 0xed510000, mapped to
0xfa790000, size 1665k
[   16.608000] ivtv0-fb: === Validated display mode  ===
[   16.608000] ivtv0-fb: Display size 720x480 (720x480 Virtual) @ 32bpp
[   16.608000] ivtv0-fb: Display position 1,1
[   16.608000] ivtv0-fb: Display filter : on
[   16.608000] ivtv0-fb: Color space : RGB
[   16.640000] ivtv0-fb: === Display mode change ===
[   16.640000] ivtv0-fb: Display size 720x480 (720x480 Virtual) @ 32bpp
[   16.640000] ivtv0-fb: Display position 1,1
[   16.640000] ivtv0-fb: Display filter : on
[   16.640000] ivtv0-fb: Color space : RGB
[   16.648000] ivtv0-fb: Running in compatibility mode. Display resize &
mode change disabled
[   16.648000] ivtv0-fb: Framebuffer registered on ivtv card id 0
...
[   22.916000] ivtv0-fb: === Validated display mode  ===
[   22.916000] ivtv0-fb: Display size 720x480 (720x480 Virtual) @ 32bpp
[   22.916000] ivtv0-fb: Display position 1,1
[   22.916000] ivtv0-fb: Display filter : on
[   22.916000] ivtv0-fb: Color space : RGB
[   22.916000] ivtv0-fb: === Validated display mode  ===
[   22.916000] ivtv0-fb: Display size 720x480 (720x480 Virtual) @ 32bpp
[   22.916000] ivtv0-fb: Display position 1,1
[   22.916000] ivtv0-fb: Display filter : on
[   22.916000] ivtv0-fb: Color space : RGB
[   22.940000] ivtv0-fb: === Display mode change ===
[   22.940000] ivtv0-fb: Display size 720x480 (720x480 Virtual) @ 32bpp
[   22.940000] ivtv0-fb: Display position 1,1
[   22.940000] ivtv0-fb: Display filter : on
[   22.940000] ivtv0-fb: Color space : RGB

And some relevant X log outputs:

(II) LoadModule: "ivtv"
(II) Loading /usr/lib/xorg/modules/drivers//ivtv_drv.so
(II) Module ivtv: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 1.2
[snip]
(II) IVTV: driver for ivtv framebuffer: PVR-350
(II) Primary Device is: PCI 00:0d:0
(--) Chipset PVR-350 found
(II) IVTV(0): using /dev/fb0
(II) resource ranges after probing:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0xfd9f0000 - 0xfd9fffff (0x10000) MX[B]
        [5] -1  0       0xfe02c000 - 0xfe02cfff (0x1000) MX[B]
        [6] -1  0       0xfe02d000 - 0xfe02dfff (0x1000) MX[B]
        [7] -1  0       0xfe028000 - 0xfe02bfff (0x4000) MX[B]
        [8] -1  0       0xfe02e000 - 0xfe02e0ff (0x100) MX[B]
        [9] -1  0       0xfe02f000 - 0xfe02ffff (0x1000) MX[B]
        [10] -1 0       0xec000000 - 0xefffffff (0x4000000) MX[B](B)
        [11] -1 0       0xfc000000 - 0xfcffffff (0x1000000) MX[B](B)
        [12] -1 0       0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
        [13] -1 0       0xfb000000 - 0xfbffffff (0x1000000) MX[B](B)
        [14] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0       0x0000d800 - 0x0000d80f (0x10) IX[B]
        [17] -1 0       0x00000b70 - 0x00000b73 (0x4) IX[B]
        [18] -1 0       0x00000970 - 0x00000977 (0x8) IX[B]
        [19] -1 0       0x00000bf0 - 0x00000bf3 (0x4) IX[B]
        [20] -1 0       0x000009f0 - 0x000009f7 (0x8) IX[B]
        [21] -1 0       0x0000ec00 - 0x0000ec07 (0x8) IX[B]
        [22] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [23] -1 0       0x0000f400 - 0x0000f43f (0x40) IX[B]
        [24] -1 0       0x00001c00 - 0x00001c3f (0x40) IX[B]
        [25] -1 0       0x0000fc00 - 0x0000fc3f (0x40) IX[B]
(--) IVTV(0): Framebuffer id from dev /dev/fb0 is 0
(II) IVTV(0): IVTV driver version 1.0.0
(II) IVTV(0): Using new API
(II) IVTV(0): Linked framebuffer 'dev/fb0' to yuv device '/dev/video48'
(**) IVTV(0): Depth 24, (**) framebuffer bpp 32
(==) IVTV(0): RGB weight 888
(==) IVTV(0): Default visual is TrueColor
(==) IVTV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) IVTV(0): Hardware: cx23415 TV out (vidmem: 1665k)
(II) IVTV(0): Checking Modes against framebuffer device...
(II) IVTV(0):   mode "720x480" ok
(II) IVTV(0): Checking Modes against monitor...
(--) IVTV(0): Virtual size is 720x480 (pitch 720)
(**) IVTV(0):  Mode "720x480": 34.6 MHz (scaled from 0.0 MHz), 37.2 kHz,
73.9 Hz
(II) IVTV(0): Modeline "720x480"   34.56  720 752 840 928  480 484 488
504 -hsync -vsync
(**) IVTV(0): Display dimensions: (183, 122) mm
(**) IVTV(0): DPI set to (99, 99)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.3
(**) IVTV(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules//libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.1.0
        ABI class: X.Org ANSI C Emulation, version 0.3
[snip]
(II) IVTV(0): bitsPerPixel=32, depth=24, defaultVisual=TrueColor
        mask: ff0000,ff00,ff, offset: 16,8,0
(II) IVTV(0): Screen init width 720 height 480 virtual 720 480
(==) IVTV(0): Backing store disabled
(II) IVTV(0): Init Video
(II) IVTV(0): Enabling Xv support for PVR350
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)
(EE) IVTV(0): FBIOPAN_DISPLAY: Invalid argument

I'm not sure how to fix those 2 X errors.  Do I need to load "glx" in my
xorg.conf?

And to superm1_ from #ubuntu-mythtv on IRC, I did install ivtv-utils and
that didn't help.

Thanks for any help.

Eric





_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to