Tue Jun 24 10:13:02 ADT 2003 User has an ATI 8500 and a P4 1.8. Driver in use: Section "Device" BoardName "R200 QL" BusID "1:0:0" Driver "radeon" Identifier "Device[0]" Screen 0 Option "Rotate" "off" VendorName "ATI" EndSection I believe that its the Radeon driver shipped with XFree4.3 and not the driver build by ati, as 6 month ago I tried these and they didn't support Xv at all. Performance (at 16bpp) with shm uploads: robert@borgwatch:~/tmp> x11perf -shmput500 x11perf - X11 performance program, version 1.5 The XFree86 Project, Inc server version 40300000 on :0.0 from borgwatch Mon Jun 23 15:22:03 2003 Sync time adjustment is 0.0449 msecs. 2800 reps @ 1.8881 msec ( 530.0/sec): ShmPutImage 500x500 square 2800 reps @ 1.8884 msec ( 530.0/sec): ShmPutImage 500x500 square 2800 reps @ 1.8877 msec ( 530.0/sec): ShmPutImage 500x500 square 2800 reps @ 1.8883 msec ( 530.0/sec): ShmPutImage 500x500 square 2800 reps @ 1.8877 msec ( 530.0/sec): ShmPutImage 500x500 square 14000 trep @ 1.8880 msec ( 530.0/sec): ShmPutImage 500x500 square Performance with 4:2:2 XVIDEO surfaces is about 1/10th of what it should be, maybe less: > Also, get this application: > http://www.xfree86.org/~mvojkovi/xvtest.tar.gz robert@borgwatch:~/tmp/xvtest> ./xvtest Found 2 Xv adaptors port number 70 133.434730 FPS Performance with 4:2:0 XVIDEO surfaces is also a fraction of what it should be: > On mark's page there's a test app for 4:2:0 surfaces as well. > http://www.xfree86.org/~mvojkovi/suzi.tar.gz ./rotyuv Using Xv extension 2.2 Read files suzi.[Y/U/V] 65.641026 FPS Performance statistics from tvtime, show [top,bot] is time it took to call XvShmPutImage on a 4:2:2 image of size 720x576: tvtime: Stats using 'DScaler: Greedy - High Motion' at 720x576. tvtime: acquire 0.14ms, show bot 47.84ms, build top 3.96ms tvtime: waitbot 0.05ms, show top 48.25ms, build bot 3.98ms tvtime: System->video blit 16.53MB/sec, used 7.62% CPU to deinterlace. tvtime: Last frame times top-to-bot: 52.04, bot-to-top: 52.26 The full log file is here: http://vektor.ca/bugs/radeon-xvideo-XFree86.0.log Output of xvinfo (we tried without the "v4l" extension loaded, same behavior): X-Video Extension version 2.2 screen #0 Adaptor #0: "video4linux" number of ports: 1 port base: 69 operations supported: PutVideo supported visuals: depth 16, visualID 0x23 depth 16, visualID 0x24 depth 16, visualID 0x25 depth 16, visualID 0x26 depth 16, visualID 0x27 depth 16, visualID 0x28 depth 16, visualID 0x29 depth 16, visualID 0x2a number of attributes: 15 "XV_ENCODING" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "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 -157) "XV_SATURATION" (range -1000 to 1000) client settable attribute client gettable attribute (current value is -8) "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 4036) "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 30) "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: 28 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 encoding ID #21: "pal-composite3" size: 768 x 576 rate: 0.020000 encoding ID #22: "ntsc-composite3" size: 640 x 480 rate: 0.016683 encoding ID #23: "secam-composite3" size: 768 x 576 rate: 0.020000 encoding ID #24: "palnc-composite3" size: 640 x 576 rate: 0.020000 encoding ID #25: "palm-composite3" size: 640 x 576 rate: 0.020000 encoding ID #26: "paln-composite3" size: 768 x 576 rate: 0.020000 encoding ID #27: "ntscjp-composite3" size: 640 x 480 rate: 0.016683 Adaptor #1: "ATI Radeon Video Overlay" number of ports: 1 port base: 70 operations supported: PutImage supported visuals: depth 16, visualID 0x23 depth 16, visualID 0x24 depth 16, visualID 0x25 depth 16, visualID 0x26 depth 16, visualID 0x27 depth 16, visualID 0x28 depth 16, visualID 0x29 depth 16, visualID 0x2a depth 16, visualID 0x2b depth 16, visualID 0x2c depth 16, visualID 0x2d depth 16, visualID 0x2e depth 16, visualID 0x2f depth 16, visualID 0x30 depth 16, visualID 0x31 depth 16, visualID 0x32 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 30) "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)