[MPlayer-users] Process X using too much CPU

Dirk dirk2 at wor.net
Tue Apr 29 06:21:42 CEST 2003


Jason Bishop wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
>i'm on suse 7.3 and xvinfo reports:
>  
>
[...]

>
>whats xvinfo say on your box?
>
>Jason
>

I get:

X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 52
    operations supported: PutVideo
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 13
      "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_VOLUME" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1000)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_FREQ" (range 0 to 16000)
              client settable attribute
              client gettable attribute (current value is 3476)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_DISABLE_GRAPHICS" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_DISABLE_GRAPHICS_LR" (range 0 to 1)
              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: "SIS 300/315/330 series Video Overlay"
    number of ports: 1
    port base: 53
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 10
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range 0 to 7)
              client settable attribute
              client gettable attribute (current value is 4)
      "XV_SATURATION" (range -7 to 7)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -8 to 7)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_DISABLE_GRAPHICS" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_DISABLE_GRAPHICS_LR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SWITCHCRT" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 1920 x 1080
    Number of image formats: 9
      id: 0x32595559 (YUY2)
        guid: 59555932-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: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x35315652 (RV15)
        guid: 52563135-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 15
        red, green, blue masks: 0x7c00, 0x3e0, 0x1f
      id: 0x36315652 (RV16)
        guid: 52563136-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0xf800, 0x7e0, 0x1f
      id: 0x55595659 (YVYU)
        guid: 59565955-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x3231564e (NV12)
        guid: 4e563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x3132564e (NV21)
        guid: 4e563231-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

I hope this will help you to help me ;-)

Thanks.


Dirk


>
>On Mon, 28 Apr 2003, Dirk wrote:
>
>  
>
>>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>>Hello,
>>
>>when playing videos using "mplayer -vo xv" the process X uses about
>>50% CPU (on an athlon XP 1800+) and the video quality is poor.
>>
>>This did not happen before I upgraded my SuSE 8.0 to 8.2. Before, the
>>total CPU usage was less than 5%. I was using -vo xv because this was
>>the only -vo driver to use so litte CPU and giving such a good video - 
>>no drops
>>no hangs - even when recoring withh mencoder at the same time and
>>the total CPU usage was at 95%.
>>
>>I first assumed it was a driver problem (SiS 650 chipset), but the
>>developer tells me that it is working fine for him. I am using
>>mplayer-0.90rc5 before and after the update.
>>
>>I also tried some other -vo drivers. DGA is working a bit better, but
>>still CPU usage of more that 30% and very poor video quality: Image is
>>ok, but it is hanging quite often.
>>
>>I think that some other configuation (not mplayer, not X) on my system that
>>has changed is now causing the problems - but which one?
>>
>>I have been spending a lot of time changing the XF86config-settings,
>>none helped, so far. Maybe changing some mplayer option could
>>help. And can anyone tell me what could make the process X use so much
>>CPU - what is it doing at all?
>>
>>I would appreciate any help, because I am a bit desperate - I already
>>have spent so much time in this...
>>
>>
>>Thank you very much,
>>
>>
>>
>>Dirk
>>
>>
>>P.S. Also many thanks to everyone working for mplayer, it has been
>>working great - and I hope it will again!
>>
>>
>>    
>>
>  
>



More information about the MPlayer-users mailing list