[mythtv-commits] Re: Ticket #774: Dropped frames on playback while playing DVB

MythTV mythtv at cvs.mythtv.org
Tue Dec 20 17:47:12 EST 2005


#774: Dropped frames on playback while playing DVB
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  danielk 
     Type:  defect     |       Status:  reopened
 Priority:  minor      |    Milestone:  unknown 
Component:  mythtv     |      Version:  head    
 Severity:  medium     |   Resolution:          
-----------------------+----------------------------------------------------
Changes (by sberlo9 at neo.rr.com):

  * resolution:  invalid =>
  * status:  closed => reopened

Comment:

 I too am having this problem.  I use FC4 kernel 2.6.13 - nVidia GeForce
 6200 (tried 7676 and newest drivers), SVN 8331, HD5000 capture card.  The
 problem seems to occur MUCH more on 720p channels than 1080i, and if I
 tell Mythtv setup that there is no sound device (leave it blank), the
 video seems like it is in slow motion.  Very strange.  This is my first
 attempt at profiling before, so hopefully this is what you need.  If there
 is any other info I can provide, let me know!!

 CPU: CPU with timer interrupt, speed 0 MHz (estimated)
 Profiling through timer interrupt
 samples  %        app name                 symbol name
 5560     53.4513  vmlinux                  mwait_idle
 735       7.0659  libmythtv-0.19.so.0.19.0 mmxext_idct
 648       6.2296  libmythtv-0.19.so.0.19.0 get_non_intra_block
 344       3.3071  libmythtv-0.19.so.0.19.0 MC_put_o_8_mmxext
 310       2.9802  libmythtv-0.19.so.0.19.0 MC_put_xy_16_mmxext
 296       2.8456  libmythtv-0.19.so.0.19.0 MC_put_o_16_mmxext
 209       2.0092  libmythtv-0.19.so.0.19.0 slice_intra_DCT
 207       1.9900  libmythtv-0.19.so.0.19.0 mpeg2_slice
 158       1.5189  libmythtv-0.19.so.0.19.0 mpeg2_idct_add_mmxext
 147       1.4132  libmythtv-0.19.so.0.19.0 motion_fr_frame_420
 115       1.1056  libmythtv-0.19.so.0.19.0 MC_put_y_16_mmxext
 104       0.9998  nvidia_drv.so            _nv001143X
 86        0.8268  libc-2.3.5.so            memcpy
 83        0.7979  libmythtv-0.19.so.0.19.0 MC_put_x_16_mmxext
 80        0.7691  libmythtv-0.19.so.0.19.0 MC_avg_xy_16_mmxext
 79        0.7595  libmythtv-0.19.so.0.19.0
 AvFormatDecoder::MpegPreProcessPkt(AVStream*, AVPacket*)
 71        0.6826  libmythtv-0.19.so.0.19.0 mpeg2_parse
 56        0.5384  libqt-mt.so.3.3.4        (no symbols)
 56        0.5384  vmlinux                  flexcop_pci_isr
 54        0.5191  libmythtv-0.19.so.0.19.0 MC_put_xy_8_mmxext
 49        0.4711  vmlinux                  handle_IRQ_event
 48        0.4614  libmythavcodec-0.19.so.0.19.0 ff_mpeg1_find_frame_end
 41        0.3942  libmythtv-0.19.so.0.19.0 MC_put_x_8_mmxext
 41        0.3942  nvidia                   (no symbols)
 40        0.3845  libmythtv-0.19.so.0.19.0 MC_avg_o_8_mmxext
 40        0.3845  libmythtv-0.19.so.0.19.0 MC_put_y_8_mmxext
 38        0.3653  libc-2.3.5.so            _int_malloc
 36        0.3461  libmythtv-0.19.so.0.19.0 motion_reuse_420
 31        0.2980  libmythtv-0.19.so.0.19.0 MC_avg_x_16_mmxext
 29        0.2788  libmythtv-0.19.so.0.19.0 __i686.get_pc_thunk.bx
 28        0.2692  libc-2.3.5.so            free
 26        0.2500  libmythtv-0.19.so.0.19.0 MC_avg_o_16_mmxext
 26        0.2500  libmythtv-0.19.so.0.19.0 motion_zero_420
 24        0.2307  libmythtv-0.19.so.0.19.0 MC_avg_y_16_mmxext
 20        0.1923  libmythtv-0.19.so.0.19.0 mpeg2_idct_copy_mmxext
 19        0.1827  libmythtv-0.19.so.0.19.0 MC_avg_xy_8_mmxext
 19        0.1827  libstdc++.so.6.0.5       (no symbols)
 18        0.1730  libmythtv-0.19.so.0.19.0 MC_avg_x_8_mmxext
 18        0.1730  vmlinux                  get_offset_pmtmr
 15        0.1442  vmlinux                  __copy_to_user_ll
 14        0.1346  libmythtv-0.19.so.0.19.0 MC_avg_y_8_mmxext
 13        0.1250  libc-2.3.5.so            memalign
 11        0.1057  libc-2.3.5.so            malloc
 11        0.1057  libc-2.3.5.so            malloc_consolidate
 9         0.0865  libc-2.3.5.so            _int_memalign
 9         0.0865  libmythtv-0.19.so.0.19.0 .plt
 9         0.0865  reiserfs                 (no symbols)
 8         0.0769  uhci_hcd                 (no symbols)
 8         0.0769  vmlinux                  ide_end_request
 7         0.0673  ivtv                     (no symbols)
 7         0.0673  libc-2.3.5.so            _int_free
 7         0.0673  libmythtv-0.19.so.0.19.0
 DTVRecorder::FindKeyframes(TSPacket const*)
 7         0.0673  vmlinux                  schedule
 6         0.0577  libpthread-2.3.5.so      pthread_mutex_lock
 6         0.0577  libpthread-2.3.5.so      pthread_mutex_unlock
 6         0.0577  vmlinux                  __copy_from_user_ll
 5         0.0481  libata                   (no symbols)
 5         0.0481  libc-2.3.5.so            __tzfile_compute
 5         0.0481  libmythavformat-0.19.so.0.19.0 mpegts_push_data
 5         0.0481  vmlinux                  delay_pmtmr
 4         0.0385  bash                     (no symbols)
 4         0.0385  jbd                      (no symbols)
 4         0.0385  libmythavcodec-0.19.so.0.19.0 av_parser_parse
 4         0.0385  libmythavformat-0.19.so.0.19.0 av_read_frame_internal
 4         0.0385  libmythavformat-0.19.so.0.19.0 url_fseek
 3         0.0288  libc-2.3.5.so            __i686.get_pc_thunk.bx
 3         0.0288  libmyth-0.19.so.0.19.0   .plt
 3         0.0288  libmythavcodec-0.19.so.0.19.0 ff_combine_frame
 3         0.0288  libmythavcodec-0.19.so.0.19.0 mpegvideo_parse
 3         0.0288  libmythavformat-0.19.so.0.19.0 read_packet
 3         0.0288  libmythtv-0.19.so.0.19.0
 ProgramInfo::UpdateInUseMark(bool)
 3         0.0288  libmythtv-0.19.so.0.19.0 std::_Rb_tree<VideoFrame_
 const*, std::pair<VideoFrame_ const* const, unsigned int>,
 std::_Select1st<std::pair<VideoFrame_ const* const, unsigned int> >,
 std::less<VideoFrame_ const*>, std::allocator<std::pair<VideoFrame_ const*
 const, unsigned int> > >::lower_bound(VideoFrame_ const* const&)
 3         0.0288  snd_emu10k1              (no symbols)
 3         0.0288  snd_pcm                  (no symbols)
 3         0.0288  vmlinux                  __d_lookup
 3         0.0288  vmlinux                  __do_softirq
 3         0.0288  vmlinux                  add_wait_queue
 3         0.0288  vmlinux                  do_select
 3         0.0288  vmlinux                  fget
 3         0.0288  vmlinux                  inode_update_time
 3         0.0288  vmlinux                  ioread8
 3         0.0288  vmlinux                  pci_bus_read_config_word
 2         0.0192  ext3                     (no symbols)
 2         0.0192  libX11.so.6.2            (no symbols)
 2         0.0192  libc-2.3.5.so            getenv
 2         0.0192  libc-2.3.5.so            memset
 2         0.0192  libmythavformat-0.19.so.0.19.0 .plt
 2         0.0192  libmythavformat-0.19.so.0.19.0 av_destruct_packet
 2         0.0192  libmythavformat-0.19.so.0.19.0 compute_pkt_fields
 2         0.0192  libmythavformat-0.19.so.0.19.0 get_buffer
 2         0.0192  libmythavformat-0.19.so.0.19.0 handle_packet
 2         0.0192  libmythavformat-0.19.so.0.19.0 url_ftell
 2         0.0192  libmythtv-0.19.so.0.19.0 AvFormatDecoder::GetFrame(int)
 2         0.0192  libmythtv-0.19.so.0.19.0
 DeviceReadBuffer::fill_ringbuffer()
 2         0.0192  libmythtv-0.19.so.0.19.0
 NuppelVideoPlayer::ReleaseNextVideoFrame(VideoFrame_*, long long)
 2         0.0192  libmythtv-0.19.so.0.19.0
 VideoBuffers::ReleaseFrame(VideoFrame_*)
 2         0.0192  libmythtv-0.19.so.0.19.0 VideoBuffers::size(BufferType)
 const
 2         0.0192  libmythtv-0.19.so.0.19.0 mpeg2_init_fbuf
 2         0.0192  nvidia_drv.so            _nv000970X
 2         0.0192  via_rhine                (no symbols)
 2         0.0192  vmlinux                  __block_prepare_write
 2         0.0192  vmlinux                  __link_path_walk
 2         0.0192  vmlinux                  __wake_up
 2         0.0192  vmlinux                  __wake_up_bit
 2         0.0192  vmlinux                  bit_waitqueue
 2         0.0192  vmlinux                  buffered_rmqueue
 2         0.0192  vmlinux                  dput
 2         0.0192  vmlinux                  fget_light
 2         0.0192  vmlinux                  find_vma
 2         0.0192  vmlinux                  path_lookup
 2         0.0192  vmlinux                  sock_poll
 2         0.0192  vmlinux                  system_call
 2         0.0192  vmlinux                  unlock_page
 2         0.0192  vmlinux                  vfs_read
 1         0.0096  ISO8859-1.so             (no symbols)
 1         0.0096  Xorg                     BlockHandler
 1         0.0096  Xorg                     Dispatch
 1         0.0096  dm_mod                   (no symbols)
 1         0.0096  ipv6                     (no symbols)
 1         0.0096  ld-2.3.5.so              do_lookup_x
 1         0.0096  ld-2.3.5.so              process_envvars
 1         0.0096  libc-2.3.5.so            __libc_enable_asynccancel
 1         0.0096  libc-2.3.5.so            __mktime_internal
 1         0.0096  libc-2.3.5.so            __offtime
 1         0.0096  libc-2.3.5.so            __tz_convert
 1         0.0096  libc-2.3.5.so            _dl_addr
 1         0.0096  libc-2.3.5.so            _int_realloc
 1         0.0096  libc-2.3.5.so            fwrite
 1         0.0096  libc-2.3.5.so            gettimeofday
 1         0.0096  libc-2.3.5.so            mblen
 1         0.0096  libc-2.3.5.so            memmove
 1         0.0096  libc-2.3.5.so            mktime
 1         0.0096  libc-2.3.5.so            putc
 1         0.0096  libc-2.3.5.so            strcmp
 1         0.0096  libdl-2.3.5.so           .fini
 1         0.0096  libgcc_s-4.0.1-20050727.so.1 (no symbols)
 1         0.0096  libm-2.3.5.so            feholdexcept
 1         0.0096  libmyth-0.19.so.0.19.0   AudioOutputBase::GetAudiotime()
 1         0.0096  libmyth-0.19.so.0.19.0
 AudioOutputBase::_AddSamples(void*, bool, int, long long)
 1         0.0096  libmyth-0.19.so.0.19.0
 AudioOutputBase::audiofree(bool)
 1         0.0096  libmythavcodec-0.19.so.0.19.0 a52_syncinfo
 1         0.0096  libmythavcodec-0.19.so.0.19.0 av_fast_realloc
 1         0.0096  libmythavformat-0.19.so.0.19.0 av_read_packet
 1         0.0096  libmythavformat-0.19.so.0.19.0 mpegts_read_packet
 1         0.0096  libmythtv-0.19.so.0.19.0
 BusyWaitVideoSync::AdvanceTrigger()
 1         0.0096  libmythtv-0.19.so.0.19.0
 DVBRecorder::ProcessTSPacket(TSPacket const&)
 1         0.0096  libmythtv-0.19.so.0.19.0
 DeviceReadBuffer::HandlePausing()
 1         0.0096  libmythtv-0.19.so.0.19.0
 NuppelVideoPlayer::AutoCommercialSkip()
 1         0.0096  libmythtv-0.19.so.0.19.0
 NuppelVideoPlayer::GetNextVideoFrame(bool)
 1         0.0096  libmythtv-0.19.so.0.19.0 OSD::Display()
 1         0.0096  libmythtv-0.19.so.0.19.0 QMap<int,
 PIDFilterManager>::operator[](int const&)
 1         0.0096  libmythtv-0.19.so.0.19.0 QMap<unsigned int, unsigned
 int>::operator[](unsigned int const&)
 1         0.0096  libmythtv-0.19.so.0.19.0 RingBuffer::ReadBufAvail()
 const
 1         0.0096  libmythtv-0.19.so.0.19.0 RingBuffer::ReadFromBuf(void*,
 int)
 1         0.0096  libmythtv-0.19.so.0.19.0
 SectionTracker::AddSection(tablehead const*)
 1         0.0096  libmythtv-0.19.so.0.19.0 VideoBuffers::queue(BufferType)
 const
 1         0.0096  libmythtv-0.19.so.0.19.0
 VideoOutput::ShowPip(VideoFrame_*, NuppelVideoPlayer*)
 1         0.0096  libmythtv-0.19.so.0.19.0
 VideoOutputXv::hasIDCTAcceleration() const
 1         0.0096  libmythtv-0.19.so.0.19.0 VideoSync::UpdateNexttrigger()
 1         0.0096  libmythtv-0.19.so.0.19.0 finalize_matrix
 1         0.0096  libmythtv-0.19.so.0.19.0 mpeg2_header_picture_finalize
 1         0.0096  libmythtv-0.19.so.0.19.0 mpeg2_header_slice_start
 1         0.0096  libmythtv-0.19.so.0.19.0 mpeg2_parse_header
 1         0.0096  libmythtv-0.19.so.0.19.0 std::_Rb_tree<unsigned char
 const*, std::pair<unsigned char const* const, void*>,
 std::_Select1st<std::pair<unsigned char const* const, void*> >,
 std::less<unsigned char const*>, std::allocator<std::pair<unsigned char
 const* const, void*> > >::lower_bound(unsigned char const* const&)
 1         0.0096  libpthread-2.3.5.so      __i686.get_pc_thunk.bx
 1         0.0096  libpthread-2.3.5.so
 pthread_cond_broadcast@@GLIBC_2.3.2
 1         0.0096  libpthread-2.3.5.so      pthread_mutex_trylock
 1         0.0096  libpthread-2.3.5.so      pthread_rwlock_rdlock
 1         0.0096  libpthread-2.3.5.so      read
 1         0.0096  mysqld                   (no symbols)
 1         0.0096  mythfrontend             QMapPrivate<int,
 int>::clear(QMapNode<int, int>*)
 1         0.0096  oprofiled                (no symbols)
 1         0.0096  vmlinux                  __alloc_pages
 1         0.0096  vmlinux                  __find_get_block
 1         0.0096  vmlinux                  __generic_file_aio_write_nolock
 1         0.0096  vmlinux                  __might_sleep
 1         0.0096  vmlinux                  __mod_page_state
 1         0.0096  vmlinux                  __mod_timer
 1         0.0096  vmlinux                  __set_page_dirty_nobuffers
 1         0.0096  vmlinux                  _atomic_dec_and_lock
 1         0.0096  vmlinux                  activate_page
 1         0.0096  vmlinux                  blk_rq_map_sg
 1         0.0096  vmlinux                  cfq_kick_queue
 1         0.0096  vmlinux                  copy_to_user
 1         0.0096  vmlinux                  cpu_idle
 1         0.0096  vmlinux                  del_timer
 1         0.0096  vmlinux                  do_page_fault
 1         0.0096  vmlinux                  do_poll
 1         0.0096  vmlinux                  do_pollfd
 1         0.0096  vmlinux                  do_wp_page
 1         0.0096  vmlinux                  dvb_dmxdev_buffer_read
 1         0.0096  vmlinux                  find_lock_page
 1         0.0096  vmlinux                  find_or_create_page
 1         0.0096  vmlinux                  free_hot_cold_page
 1         0.0096  vmlinux                  generic_file_buffered_write
 1         0.0096  vmlinux                  inotify_inode_queue_event
 1         0.0096  vmlinux                  kfree
 1         0.0096  vmlinux                  kmem_cache_alloc
 1         0.0096  vmlinux                  kmem_cache_free
 1         0.0096  vmlinux                  math_state_restore
 1         0.0096  vmlinux                  mempool_alloc
 1         0.0096  vmlinux                  permission
 1         0.0096  vmlinux                  pte_alloc_map
 1         0.0096  vmlinux                  remove_wait_queue
 1         0.0096  vmlinux                  rw_verify_area
 1         0.0096  vmlinux                  schedule_timeout
 1         0.0096  vmlinux                  shrink_cache
 1         0.0096  vmlinux                  shrink_list
 1         0.0096  vmlinux                  sock_sendmsg
 1         0.0096  vmlinux                  sys_gettimeofday
 1         0.0096  vmlinux                  sys_poll
 1         0.0096  vmlinux                  sys_write
 1         0.0096  vmlinux                  test_set_page_writeback
 1         0.0096  vmlinux                  tty_ldisc_deref
 1         0.0096  vmlinux                  unix_poll
 1         0.0096  vmlinux                  unix_stream_sendmsg
 1         0.0096  vmlinux                  unqueue_me
 1         0.0096  vmlinux                  usb_hcd_irq
 1         0.0096  vmlinux                  zap_pte_range

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/774>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list