Menu

#501 bttv878+tvtime+any kernel 2.6.10

closed-invalid
5
2005-01-27
2005-01-10
Anonymous
No

Under Kernel 2.6.9 tvtime + bttv uses about 40%
(standard deinterlacer) of cputime on AthlonXP3200+ -
think it s to high -- but now on kernel 2.6.10 it
increased over 80%, no over 90% always - what the hell
tvtime needs so much cpuclock - this sucks - i thoght
40% is high, but doesn't matter, because i thought it's
the Deinterlacer Filter

mfg
horizon

Discussion

  • Carsten Priess

    Carsten Priess - 2005-01-15

    Logged In: YES
    user_id=157713

    Also with Atlon64 3000+
    However the CPU load is assigned to XFree86, not to TvTime.

    DVB-C Fujitsu-Siemens with analog-modul.
    Kernel 2.6.10

     
  • Nobody/Anonymous

    Logged In: NO

    Right by running tvtime under these circumstances
    xorg/tvtime has the high cpu load but however it must depend
    on tvime

     
  • Nobody/Anonymous

    Logged In: NO

    You can run tvtime with the same cpuload as with 2.6.9 on
    2.6.10 if you don't use the new video-modul of ACPI. I got
    now 35% with standard settings of tvtime. so better then before.

    greetings
    jamatik

     
  • Nobody/Anonymous

    Logged In: NO

    I must correct me! This only works on my test-kernel
    gentoo-dev-sources-2.6.10-r5. e.g. for the nitro-sources it
    makes no difference.

    mfg
    jamatik

     
  • Billy Biggs

    Billy Biggs - 2005-01-24

    Logged In: YES
    user_id=153320

    If you are seeing high CPU usage, it may be a problem with
    your X driver. Please run tvtime from a terminal window and
    hit 'd' in the tvtime window. We will print some debug
    statistics. Please post the statistics you see in the
    terminal window into this bug.

     
  • Billy Biggs

    Billy Biggs - 2005-01-24
    • labels: --> Output driver problems
    • milestone: --> Open bugs in CVS tvtime
    • assigned_to: nobody --> vektor
     
  • Carsten Priess

    Carsten Priess - 2005-01-24

    Logged In: YES
    user_id=157713

    Well if you think it helps.

    tvtime: Stats using 'Television: Full resolution' at 720x576
    [RT].
    tvtime: acquire 0,64 ms, show bot 21,53 ms, build top 1,21 ms
    tvtime: waitbot 0,01 ms, show top 21,46 ms, build bot 0,83 ms
    tvtime: average blit time: 21,52 ms, average render time:
    1,03 ms
    tvtime: Last frame times top-to-bot: 28,73 ms, bot-to-top:
    22,69 ms

     
  • Billy Biggs

    Billy Biggs - 2005-01-24

    Logged In: YES
    user_id=153320

    Those stats show that it is taking 21 milliseconds to draw
    one frame. This is at least 10x slower than what I would
    expect from your CPU. Something has destroyed your AGP
    performance.

    Did you forget to load agpgart? Did you compile your kernel
    without support for MTRRs? If you go back to an older
    kernel, does the problem go away?

    The problem here is not tvtime, it is something with your
    kernel and video card driver.

     
  • Carsten Priess

    Carsten Priess - 2005-01-26

    Logged In: YES
    user_id=157713

    I changed my Videocard to a Radeon, Cpu load ist now at 60%
    for Xfree86, however i think its still too much.

    agpgart loaded
    MTRRs enabled

    tvtime: Stats using 'Television: Full resolution' at 720x576.
    tvtime: acquire 13,82 ms, show bot 11,99 ms, build top 1,18 ms
    tvtime: waitbot 0,01 ms, show top 12,19 ms, build bot 0,81 ms
    tvtime: average blit time: 12,03 ms, average render time:
    1,35 ms
    tvtime: Last frame times top-to-bot: 26,78 ms, bot-to-top:
    13,39 ms

    If you think it's no TVtime problem, maybe you've an idea
    how I can solve this.

     
  • Billy Biggs

    Billy Biggs - 2005-01-26

    Logged In: YES
    user_id=153320

    Those stats show that it is taking 12 milliseconds to upload
    one frame of video to your video card. This is
    approximately an upload speed of 70 MB/sec. Minimum that I
    would expect for any AGP card would be 200 MB/sec.
    Something is still broken with your video card driver or
    your kernel.

    Can you post your X log file to the web somewhere
    (/var/log/XFree86.0.log)?

     
  • Carsten Priess

    Carsten Priess - 2005-01-26

    Logged In: YES
    user_id=157713

    http://www.8ung.at/sirtwist/XFree86.0.log

     
  • Marijn van Galen

    Logged In: YES
    user_id=328850

    As far as i can see, you have a problem with either X or your kernel
    as dri/agp is disabled. No wonder your upload speed is this low.

     
  • Carsten Priess

    Carsten Priess - 2005-01-26

    Logged In: YES
    user_id=157713

    DRM/DRI is enabled. AGP too, see below. Could my RAM be a
    Problem? I have 512 MB PC2100 (266) . Maybe it's too slow?

    Jan 26 15:18:48 debian kernel: Linux agpgart interface
    v0.100 (c) Dave Jones
    Jan 26 15:18:48 debian kernel: agpgart: Detected AGP bridge 0
    Jan 26 15:18:48 debian kernel: agpgart: Maximum main memory
    to use for agp memory: 439M
    Jan 26 15:18:48 debian kernel: agpgart: AGP aperture is 64M
    @ 0xe4000000

     
  • Billy Biggs

    Billy Biggs - 2005-01-26

    Logged In: YES
    user_id=153320

    I can't get your log file. The connection keeps timing out.

     
  • Marijn van Galen

    Logged In: YES
    user_id=328850

    Maybe you can add it as attachment to this tracker item

     
  • Carsten Priess

    Carsten Priess - 2005-01-26

    Logged In: YES
    user_id=157713

    Don't know how to add the File. Maybe only admin or
    trackerstarter can add sth.?
    Another URL with the file:
    http://www.rossband.net/priess/XFree86.0.log

     
  • Marijn van Galen

    Logged In: YES
    user_id=328850

    You have definitevely got problems with dri/agp:

    (WW) fglrx(0): ***********************************************
    (WW) fglrx(0): * DRI initialization failed! *
    (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
    (WW) fglrx(0): * 2D acceleraton available (MMIO) *
    (WW) fglrx(0): * no 3D acceleration available *
    (WW) fglrx(0): ********************************************* *

    + a lot of (or alike):

    symbol drmFree from module
    /usr/X11R6/lib/modules/linux/libfglrxdrm.a is unresolved

    I`m not sure what is causing this, but it`s kernel/XFree related.
    and your card is thus not using AGP.

     
  • Billy Biggs

    Billy Biggs - 2005-01-26

    Logged In: YES
    user_id=153320

    That error message about DRI probably explains the problem.
    The driver will likely use DMA to transfer video frames, so
    if there is something wrong with DRI then this capability
    may be disabled or using a slow fallback. You are using the
    driver from ATI, so it might be worth it to ask them why the
    performance is so bad. Besides the bad messages from DRI,
    another line in the file is this one:

    (==) fglrx(0): Overlay disabled
    (**) fglrx(0): Overlay disabled

    This probably does not refer to video overlays, but to a
    pseudocolour overlay, but it might be worth it to ask ATI
    and make sure your video overlays are not being disabled for
    some reason.

     
  • Carsten Priess

    Carsten Priess - 2005-01-26

    Logged In: YES
    user_id=157713

    Ok the problem seems to be solved. I reconfigured XFree86
    with help of fglrxconfig. I'm not sure where the real
    differences are. However I'll try to find them and post them
    here. Maybe ist helps another user.
    Perhaps I this will also solve the same problem with my
    Nvidia-Card.

    Thanks a lot for your time and help.

     
  • Billy Biggs

    Billy Biggs - 2005-01-27
    • status: open --> closed-invalid
     
  • Billy Biggs

    Billy Biggs - 2005-01-27

    Logged In: YES
    user_id=153320

    Glad it's fixed. I'm closing this bug and marking it
    invalid, since there were no changes in tvtime.

     

Log in to post a comment.

MongoDB Logo MongoDB