I couldn't write to that debug file, no matter what. I hope these commands are equivalent:
sudo service mythtv-backend stop sudo modprobe -r cx18 sudo modprobe cx18 debug=15 v4l2-ctl -i 1 mplayer /dev/video0 -cache 16384 mplayer /dev/video0 > How rapidly does the A-V difference grow with unbuffered playback? With > buffered playback, how rapidly does the cache fill sink to 0%? Unbuffered: A-V reaches 10 in as fast as 30 seconds: Too many video packets in the buffer: (4096 in 7965612 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Cannot sync MAD frame A: 45.2 V: 35.0 A-V: 10.198 ct: 1.519 1026/1026 3% 0% 91.9% 266 0 Buffered: cache reaches 0 in 2 min 30 sec: Too many video packets in the buffer: (4096 in 7959616 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Cannot sync MAD frame A: 292.7 V: 282.5 A-V: 10.188 ct: 12.419 8460/8460 3% 0% 24.8% 176 0 0% > With those debug settings I mentioned above, how often in the log to you get > the "Possibly falling behind" messages and messages about putting buffers > back into rotation? I see only two "Possibly falling behind" messages and none about putting buffers back into rotation. I have attached the dmesg log. > I would think that sharing an interrupt with the nvidia hardware/driver is > not what you want to do. Maybe changing to a slot that doesn't use that PCI > IRQ line would help. Note slots 4 and slot 5 in a chassis may not rotate the > interrupt line traces on the motherboard, so changing between those slots > won't help. I moved the card to 18, but don't see any effect on the video. [EMAIL PROTECTED]:~$ grep cx18 /proc/interrupts 18: 4608 4582 IO-APIC-fasteoi uhci_hcd:usb3, ehci_hcd:usb4, uhci_hcd:usb7, cx18-0 What I find strange is how things work fine from the tuner card but not s-video. I mean, its basically the same video stream. Different code I guess? If the quality wasn't so poor on the tuner card, that would be my solution! Thanks again. _________________________________________________________________
[ 140.751487] cx18: Start initialization, version 1.0.3 [ 140.751538] cx18-0: Initializing card #0 [ 140.751539] cx18-0: Autodetected Hauppauge card [ 140.751541] cx18-0 info: base addr: 0xf8000000 [ 140.751543] cx18-0 info: Enabling pci device [ 140.751552] cx18 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 140.751561] cx18-0 info: cx23418 (rev 0) at 05:00.0, irq: 16, latency: 64, memory: 0xf8000000 [ 140.751563] cx18-0 info: attempting ioremap at 0xf8000000 len 0x04000000 [ 140.752394] cx18-0: cx23418 revision 01010000 (B) [ 140.849372] cx18-0 info: GPIO initial dir: 0000cffe/0000ffff out: 00003001/00000000 [ 140.849381] cx18-0 info: activating i2c... [ 140.928052] cx18-0 info: Active card count: 1. [ 140.969354] cx18-0: Autodetected Hauppauge HVR-1600 [ 140.969355] cx18-0 info: NTSC tuner detected [ 140.969356] cx18-0: VBI is not yet supported [ 141.043237] cx18-0 info: Loaded module tuner [ 141.045828] cx18-0 info: Loaded module cs5345 [ 141.046877] tuner 1-0061: chip found @ 0xc2 (cx18 i2c driver #0-1) [ 141.046892] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0) [ 141.049826] cx18-0 info: Allocate encoder MPEG stream: 63 x 32768 buffers (2016kB total) [ 141.049861] cx18-0 info: Allocate TS stream: 32 x 32768 buffers (1024kB total) [ 141.049877] cx18-0 info: Allocate encoder YUV stream: 16 x 131072 buffers (2048kB total) [ 141.049889] cx18-0 info: Allocate encoder PCM audio stream: 63 x 16384 buffers (1008kB total) [ 141.049921] cx18-0: Disabled encoder IDX device [ 141.049989] cx18-0: Registered device video0 for encoder MPEG (2 MB) [ 141.049991] DVB: registering new adapter (cx18) [ 141.090124] cx18-0 info: load segment a00000-a07fff [ 141.100760] cx18-0: DVB Frontend registered [ 141.100782] cx18-0: Registered device video32 for encoder YUV (2 MB) [ 141.100806] cx18-0: Registered device video24 for encoder PCM audio (1 MB) [ 141.100808] cx18-0: Initialized card #0: Hauppauge HVR-1600 [ 141.100821] cx18: End initialization [ 141.115732] cx18-0 info: load segment ae0000-ae00ff [ 141.115910] cx18-0 info: load segment b00000-b1a65f [ 141.189087] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) [ 141.796728] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes) [ 141.801495] cx18-0 info: 1 MiniMe Encoder Firmware 0.0.74.0 (Release 2007/03/12) [ 141.801500] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12) [ 142.002336] cx18-0 info: load segment a00000-a07fff [ 142.024527] cx18-0 info: load segment ae0000-ae00ff [ 142.024702] cx18-0 info: load segment b00000-b1a65f [ 142.710674] cx18-0 info: 1 MiniMe Encoder Firmware 0.0.74.0 (Release 2007/03/12) [ 142.904012] cx18-0 info: Changing input from 1 to 0 [ 142.904016] cx18-0 info: Mute [ 142.904019] cx18-0 info: cmd 4008646f triggered fw load [ 143.087888] cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes) [ 143.087931] cx18-0 info: decoder set video input 7, audio input 8 [ 143.089357] cx18-0 info: decoder set video input 7, audio input 8 [ 143.089435] cx18-0 api: CX18_APU_RESETAI [ 143.090125] cx18-0 api: mailbox error 200800ff for command CX18_APU_RESETAI [ 143.090129] cx18-0 info: Unmute [ 143.090132] cx18-0 info: Switching standard to 1000. [ 143.090134] cx18-0 info: changing video std to fmt 1 [ 143.090150] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4 [ 143.090152] cx18-0 info: PLL = 108.000014 MHz [ 143.090154] cx18-0 info: PLL/8 = 13.500001 MHz [ 143.090156] cx18-0 info: ADC Sampling freq = 14.317384 MHz [ 143.090158] cx18-0 info: Chroma sub-carrier freq = 3.579545 MHz [ 143.090161] cx18-0 info: hblank 122, hactive 720, vblank 26 , vactive 487, vblank656 26, src_dec 543,burst 0x5b, luma_lpf 1, uv_lpf 1, comb 0x66, sc 0x087c1f [ 143.095030] cx18-0 info: Mute [ 143.095033] cx18-0 info: v4l2 ioctl: set frequency 1076 [ 143.096452] cx18-0 info: Unmute [ 495.399277] cx18-0 info: Changing input from 0 to 1 [ 495.399282] cx18-0 info: Mute [ 495.399284] cx18-0 info: decoder set video input 1296, audio input 8 [ 495.400487] cx18-0 info: decoder set video input 1296, audio input 0 [ 495.400562] cx18-0 api: CX18_APU_RESETAI [ 495.400662] cx18-0 api: mailbox error 200800ff for command CX18_APU_RESETAI [ 495.400664] cx18-0 info: Unmute [ 1934.190202] cx18-0 info: Start encoder stream encoder MPEG [ 1934.190207] cx18-0 api: CX18_CPU_SET_VIDEO_MUTE [ 1934.190341] cx18-0 api: CX18_CREATE_TASK [ 1934.190395] cx18-0 api: CX18_CPU_SET_CHANNEL_TYPE [ 1934.190448] cx18-0 api: CX18_CPU_SET_VER_CROP_LINE [ 1934.190501] cx18-0 api: CX18_CPU_SET_MISC_PARAMETERS [ 1934.190554] cx18-0 api: CX18_CPU_SET_MISC_PARAMETERS [ 1934.190626] cx18-0 api: CX18_CPU_SET_MISC_PARAMETERS [ 1934.190679] cx18-0 api: CX18_CPU_SET_MISC_PARAMETERS [ 1934.190729] cx18-0 api: CX18_CPU_SET_CAPTURE_LINE_NO [ 1934.190783] cx18-0 api: CX18_CPU_SET_INDEXTABLE [ 1934.190837] cx18-0 api: CX18_CPU_SET_VIDEO_IN [ 1934.190910] cx18-0 api: CX18_CPU_SET_VIDEO_RESOLUTION [ 1934.190975] cx18-0 api: CX18_CPU_SET_STREAM_OUTPUT_TYPE [ 1934.191031] cx18-0 api: CX18_CPU_SET_ASPECT_RATIO [ 1934.191103] cx18-0 api: CX18_CPU_SET_GOP_STRUCTURE [ 1934.191157] cx18-0 api: CX18_CPU_SET_AUDIO_PARAMETERS [ 1934.191223] cx18-0 api: CX18_CPU_SET_AUDIO_MUTE [ 1934.191287] cx18-0 api: CX18_CPU_SET_VIDEO_RATE [ 1934.191368] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191424] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191479] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191534] cx18-0 api: CX18_CPU_SET_MEDIAN_CORING [ 1934.191594] cx18-0 api: CX18_CPU_SET_SPATIAL_FILTER_TYPE [ 1934.191653] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191707] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191759] cx18-0 api: CX18_CPU_SET_FILTER_PARAM [ 1934.191815] cx18-0 api: CX18_CPU_SET_SKIP_INPUT_FRAME [ 1934.191866] cx18-0 api: CX18_CPU_SET_VIDEO_MUTE [ 1934.191937] cx18-0 api: CX18_CPU_SET_MISC_PARAMETERS [ 1934.191995] cx18-0 api: CX18_CPU_DE_SET_MDL_ACK [ 1934.196333] cx18-0 api: CX18_CPU_CAPTURE_START [ 1936.905693] cx18-0 warning: Possibly falling behind: CPU self-ack'ed our incoming CPU to EPU mailbox (sequence no. 26125) [ 1936.905699] cx18-0 api: incoming: req 0x0000660d ack 0x0000660d cmd 0x02040001 err 0x00000000 args 0x00000000 0x00dc0c48 0x00000001 0x00000000 0x00000000 0x00000000 [ 1942.030431] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1943.628081] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1951.252106] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1953.324145] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1956.375820] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1987.445205] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1992.196778] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 1992.412220] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 2004.621056] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 2022.079030] cx18-0 warning: sending CX18_CPU_DE_SET_MDL timed out waiting 12 msecs for RPU acknowledgement [ 2216.658101] cx18-0 warning: Possibly falling behind: CPU self-ack'ed our incoming CPU to EPU mailbox (sequence no. 37412) [ 2216.658109] cx18-0 api: incoming: req 0x00009224 ack 0x00009224 cmd 0x02040001 err 0x00000000 args 0x00000000 0x00dc0c40 0x00000001 0x00000000 0x00000000 0x00000000 [ 2220.261901] cx18-0 info: close stopping capture [ 2220.261908] cx18-0 info: Stop Capture [ 2220.261911] cx18-0 api: CX18_CPU_CAPTURE_STOP [ 2220.560012] cx18-0 api: CX18_CPU_DE_RELEASE_MDL [ 2220.860007] cx18-0 api: CX18_DESTROY_TASK [ 5593.964025] cx18-0 info: Removing Card #0 [ 5593.964030] cx18-0 info: Stopping all streams [ 5593.964038] cx18-0 info: Preparing for firmware halt. [ 5593.965558] cx18-0: unregister DVB [ 5593.965905] cx18-0 info: releasing enc_mem [ 5593.966146] cx18 0000:05:00.0: PCI INT A disabled [ 5593.966148] cx18-0: Removed Hauppauge HVR-1600, card #0
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
