logo       

[ tvtime-Bugs-759804 ] Terrible XVIDEO performance with Radeon driver: msg#00054

video.tvtime.devel

Subject: [ tvtime-Bugs-759804 ] Terrible XVIDEO performance with Radeon driver

Bugs item #759804, was opened at 2003-06-24 09:29
Message generated for change (Comment added) made by vektor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=759804&group_id=64301

Category: Output driver problems
Group: Open bugs in driver/lib deps
Status: Open
Resolution: None
Priority: 9
Submitted By: Billy Biggs (vektor)
Assigned to: Billy Biggs (vektor)
Summary: Terrible XVIDEO performance with Radeon driver

Initial Comment:
I did some detailed investigations into some terrible
performance with a user of a radeon 8500. I posted a
bug with X about this, details are here:

http://bugs.xfree86.org/cgi-bin/bugzilla/show_bug.cgi?id=414

I think nitrogen on IRC had the same issue, I'll look
into that. Hopefully we can figure out what's up.

----------------------------------------------------------------------

>Comment By: Billy Biggs (vektor)
Date: 2004-06-23 23:43

Message:
Logged In: YES
user_id=153320

Just to update this bug, the XFree86 bug is still open but
the URL is different:
http://bugs.xfree86.org/show_bug.cgi?id=414


----------------------------------------------------------------------

Comment By: Kastus Shchuka (kastus)
Date: 2003-10-22 12:57

Message:
Logged In: YES
user_id=209569

For some reason SF logged my comment as from nobody.
Some details I forgot to mention: it is a SuSE 8.2 system,
XFree 4.3.0-111

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2003-10-22 12:37

Message:
Logged In: NO

I am hit by this problem too.
motv use of CPU is negligeable, ogle runs fine without
dropping any frames. It's just tvtime which uses 30% CPU
while running with X taking
the rest 70%

Here is the debug information:

tvtime -v
tvtime: Running tvtime 0.9.10.
tvtime: Can't get realtime priority for better performance,
need root access.
rtctimer: Cannot set periodic interval: Permission denied

*** Failed to get 1024hz resolution from /dev/rtc. This will
*** cause video to be unsmooth. Please run tvtime as root,
or, with
*** linux kernel version 2.4.19 or later, please run:
*** sysctl -w dev.rtc.max-user-freq=1024
*** See our support page at http://tvtime.net/ for more
information

config: Reading configuration from /etc/tvtime/tvtime.xml
config: Reading configuration from /home/pike/.tvtime/tvtime.xml
cpuinfo: CPU Intel(R) Celeron(TM) CPU
1300MHz, family 6, model 11, stepping 1.
cpuinfo: CPU measured at 1303.371MHz.
tvtime: Can't renice to -19.
tvtime: Sending frames to interlaced output devices.
xcommon: Display :0.0, vendor The XFree86 Project, Inc,
XFree86 4.3.0
xfullscreen: Single-head detected, pixel aspect will be
calculated.
xfullscreen: Pixel aspect ratio on the primary head is: 1.00.
xfullscreen: Using the XFree86-VidModeExtension to calculate
fullscreen size.
xfullscreen: Fullscreen to 0,0 with size 1024x768.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Sample aspect ratio 1040/1041.
xcommon: No window properties found for EWMH.
xcommon: Window manager is not EWMH compliant.
xcommon: Sample aspect ratio 1040/1041.
xcommon: Displaying in a 767x575 window inside 767x576 space.
xvoutput: Using XVIDEO adaptor 62: ATI Radeon Video Overlay.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from
/home/pike/.tvtime/stationlist.xml
station: # Band Channel Freq Active Name
station: 1 US Cable 1 73250 false 1
station: 2 US Cable 2 55250 false 2
station: 3 US Cable 3 61250 true 3
station: 4 US Cable 4 67250 false 4
station: 5 US Cable 5 77250 true 5
station: 6 US Cable 6 83250 true 6
station: 7 US Cable 7 175250 true 7
station: 8 US Cable 8 181250 true 8
station: 9 US Cable 9 187250 true 9
station: 10 US Cable 10 193250 true 10
station: 11 US Cable 11 199250 true 11
station: 12 US Cable 12 205250 true 12
station: 13 US Cable 13 211250 true 13
station: 14 US Cable 14 121250 true 14
station: 15 US Cable 15 127250 true 15
station: 16 US Cable 16 133250 true 16
station: 17 US Cable 17 139250 true 17
station: 18 US Cable 18 145250 false 18
station: 19 US Cable 19 151250 true 19
station: 20 US Cable 20 157250 true 20
station: 21 US Cable 21 163250 true 21
station: 22 US Cable 22 169250 true 22
station: 23 US Cable 23 217250 true 23
station: 24 US Cable 24 223250 true 24
station: 25 US Cable 25 229250 true 25
station: 26 US Cable 26 235250 true 26
station: 27 US Cable 27 241250 true 27
station: 28 US Cable 28 247250 true 28
station: 29 US Cable 29 253250 true 29
station: 30 US Cable 30 259250 true 30
station: 31 US Cable 31 265250 true 31
station: 32 US Cable 32 271250 true 32
station: 33 US Cable 33 277250 true 33
station: 34 US Cable 34 283250 true 34
station: 35 US Cable 35 289250 true 35
station: 36 US Cable 36 295250 true 36
station: 37 US Cable 37 301250 true 37
station: 38 US Cable 38 307250 true 38
station: 39 US Cable 39 313250 true 39
station: 40 US Cable 40 319250 true 40
station: 41 US Cable 41 325250 true 41
station: 42 US Cable 42 331250 true 42
station: 43 US Cable 43 337250 true 43
station: 44 US Cable 44 343250 true TNT
station: 45 US Cable 45 349250 true 45
station: 46 US Cable 46 355250 true 46
station: 47 US Cable 47 361250 true 47
station: 48 US Cable 48 367250 true 48
station: 49 US Cable 49 373250 true 49
station: 50 US Cable 50 379250 true 50
station: 51 US Cable 51 385250 true 51
station: 52 US Cable 52 391250 true 52
station: 53 US Cable 53 397250 true 53
station: 54 US Cable 54 403250 true 54
station: 55 US Cable 55 409250 true 55
station: 56 US Cable 56 415250 true 56
station: 57 US Cable 57 421250 true 57
station: 58 US Cable 58 427250 false 58
station: 59 US Cable 59 433250 false 59
station: 60 US Cable 60 439250 true 60
station: 61 US Cable 61 445250 false 61
station: 62 US Cable 62 451250 false 62
station: 63 US Cable 63 457250 false 63
station: 64 US Cable 64 463250 false 64
station: 65 US Cable 65 469250 false 65
station: 66 US Cable 66 475250 false 66
station: 67 US Cable 67 481250 false 67
station: 68 US Cable 68 487250 false 68
station: 69 US Cable 69 493250 false 69
station: 70 US Cable 70 499250 false 70
station: 71 US Cable 71 505250 false 71
station: 72 US Cable 72 511250 false 72
station: 73 US Cable 73 517250 false 73
station: 74 US Cable 74 523250 false 74
station: 75 US Cable 75 529250 false 75
station: 76 US Cable 76 535250 false 76
station: 77 US Cable 77 541250 false 77
station: 78 US Cable 78 547250 false 78
station: 79 US Cable 79 553250 false 79
station: 80 US Cable 80 559250 false 80
station: 81 US Cable 81 565250 false 81
station: 82 US Cable 82 571250 false 82
station: 83 US Cable 83 577250 false 83
station: 84 US Cable 84 583250 false 84
station: 85 US Cable 85 589250 false 85
station: 86 US Cable 86 595250 false 86
station: 87 US Cable 87 601250 false 87
station: 88 US Cable 88 607250 false 88
station: 89 US Cable 89 613250 false 89
station: 90 US Cable 90 619250 false 90
station: 91 US Cable 91 625250 false 91
station: 92 US Cable 92 631250 false 92
station: 93 US Cable 93 637250 false 93
station: 94 US Cable 94 643250 false 94
station: 95 US Cable 95 91250 false 95
station: 96 US Cable 96 97250 false 96
station: 97 US Cable 97 103250 false 97
station: 98 US Cable 98 109250 true 98
station: 99 US Cable 99 115250 false 99
videoinput: Using video4linux driver 'BT878(AVerMedia
TVCapture 98)'.
videoinput: Card type is eb, audio 4.
videoinput: tuner.tuner = 0
videoinput: tuner.name = Television
videoinput: tuner.rangelow = 0
videoinput: tuner.rangehigh = -1
videoinput: tuner.signal = 65535
videoinput: tuner.flags = PAL NTSC SECAM
videoinput: tuner.mode = NTSC
videoinput: Audio supports Mutable
videoinput: Brightness 32768, hue 32768, colour 32112,
contrast 27524
videoinput: Whiteness 0, depth 16, palette 7.
videoinput: Window set to (0,0/720x480), chromakey 0, flags
1, clips 0.
videoinput: tuner.tuner = 0
videoinput: tuner.name = Television
videoinput: tuner.rangelow = 0
videoinput: tuner.rangehigh = -1
videoinput: tuner.signal = 65535
videoinput: tuner.flags = PAL NTSC SECAM
videoinput: tuner.mode = NTSC
tvtime: V4L sampling 720 pixels per scanline.
vbiscreen: In blank.
vbiscreen: In blank.
xcommon: Received a map, marking window as visible (48).
tvtime: Stats using 'Progressive: Top Field First' at 720x480.
tvtime: acquire 13.66ms, show bot 20.41ms, build top 3.36ms
tvtime: waitbot 0.09ms, show top 21.88ms, build bot 4.09ms
tvtime: average blit time: 21.49ms, average render time: 4.12ms
tvtime: Last frame times top-to-bot: 23.83ms, bot-to-top:
25.33ms
tvtime: Stats using 'Progressive: Top Field First' at 720x480.
tvtime: acquire 0.21ms, show bot 21.52ms, build top 6.99ms
tvtime: waitbot 0.12ms, show top 23.42ms, build bot 7.09ms
tvtime: average blit time: 21.73ms, average render time: 6.22ms
tvtime: Last frame times top-to-bot: 46.02ms, bot-to-top:
30.53ms
tvtime: Cleaning up.


xvinfo:
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 61
operations supported: PutVideo
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
number of attributes: 15
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_FREQ" (range 0 to 16000)
client settable attribute
client gettable attribute (current value is 5684)
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is
16740766)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
number of encodings: 21
encoding ID #0: "pal-television"
size: 768 x 576
rate: 0.020000
encoding ID #1: "ntsc-television"
size: 640 x 480
rate: 0.016683
encoding ID #2: "secam-television"
size: 768 x 576
rate: 0.020000
encoding ID #3: "palnc-television"
size: 640 x 576
rate: 0.020000
encoding ID #4: "palm-television"
size: 640 x 576
rate: 0.020000
encoding ID #5: "paln-television"
size: 768 x 576
rate: 0.020000
encoding ID #6: "ntscjp-television"
size: 640 x 480
rate: 0.016683
encoding ID #7: "pal-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #8: "ntsc-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #9: "secam-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #10: "palnc-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #11: "palm-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #12: "paln-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #13: "ntscjp-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #14: "pal-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #15: "ntsc-svideo"
size: 640 x 480
rate: 0.016683
encoding ID #16: "secam-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #17: "palnc-svideo"
size: 640 x 576
rate: 0.020000
encoding ID #18: "palm-svideo"
size: 640 x 576
rate: 0.020000
encoding ID #19: "paln-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #20: "ntscjp-svideo"
size: 640 x 480
rate: 0.016683
Adaptor #1: "ATI Radeon Video Overlay"
number of ports: 1
port base: 62
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 12
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is
16740766)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)

xvtest:

Found 2 Xv adaptors
port number 62
222.854417 FPS

x11perf -shmput500

x11perf - X11 performance program, version 1.5
The XFree86 Project, Inc server version 40300000 on :0.0
from fizia
Wed Oct 22 09:34:05 2003

Sync time adjustment is 0.0303 msecs.

800 reps @ 8.0175 msec ( 125.0/sec): ShmPutImage
500x500 square
800 reps @ 8.0750 msec ( 124.0/sec): ShmPutImage
500x500 square
800 reps @ 8.0493 msec ( 124.0/sec): ShmPutImage
500x500 square
800 reps @ 8.0178 msec ( 125.0/sec): ShmPutImage
500x500 square
800 reps @ 8.0134 msec ( 125.0/sec): ShmPutImage
500x500 square
4000 trep @ 8.0346 msec ( 124.0/sec): ShmPutImage
500x500 square



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=759804&group_id=64301


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise