Re: Asus Pundit (sis 651) : High CPU usage in xv ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm still fighting with high cpu usage in xv extension whem playing media
files (xine, mplayer, vlc) under Suse 9.0 , xfree 4.3.0-29 and sis 651 with
latest sis drivers.

All log outputs seems fine, just xvtest is at low 200 FPS and cpu is hig
(30-50%) when playing video that does rescaling.

Are there any utities to check what is going on in xv extension (xine-check
reports all fine) ?
What should I try to find solution ?

I'm attaching xvinfo (all other relevant logs are attached to my previous
posts) if anything suspicious is in there ?

PS.: system performance was OKsome time ago, then did some upgrades and now
it won't perform as needed - so I guess there is someking of settings
problem...

I kindly ask for any advice, help, cause this is too hard for me as newbie.

Thanks for any help in advance,

regards,

Robert.

----- Original Message ----- 
From: "Robert Rozman" <rozman@xxxxxxxxxxxxx>
To: <xfree86@xxxxxxxxxxx>
Sent: Tuesday, March 16, 2004 10:39 AM
Subject: Re:  Asus Pundit (sis 651) : High CPU usage for X in
mplayer - are these values sane ?


> Hi,
>
> I've tried reduceing memory to 32M in bios.
>
> That particular warning goes away, but high cpu problem persists.
>
> Short answers:
> > > cat /proc/mtrr >
> > > reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
> > > reg01: base=0x1c000000 ( 448MB), size=  64MB: uncachable, count=1
> > > reg02: base=0xdc000000 (3520MB), size=  64MB: write-combining, count=1
> > > reg03: base=0xe8000000 (3712MB), size=  32MB: write-combining, count=1
> > > reg04: base=0xe1400000 (3604MB), size=   4MB: write-combining, count=1
> >
> > Is that from before or after starting X?
> >
> After starting X.
>
> > Do you have a console framebuffer driver running?
> >
>
> Probably is running from bootsplash feature integrated in Suse 9.0
>
> >  > (WW) SIS(0): Failed to set up write-combining range
> > (0xe8000000,0x4000000)
> >
> > The reason for your problem is that, for some reason, MTRR setup fails,
> > although it obviously is supported by your kernel. At the moment I
> > cannot think of a reason for this.
> >
> > Does this warning message go away if you change the amount of video RAM
> > to, say, 32MB in the BIOS setup?
>
> Yes, it goes away.
>
> >
> > (BTW: Why do you set "forcecrt1" to "false" when it appears that you
> > neither have a TV, LCD or secondary VGA connected?)
> There is note in example-config that one can override automatic detection
> with this one. I've commented it our, but no difference.
>
> I'm attaching new Xfree.log in case it helps.
>
> Thanks in advance for all help,
>
> Robert.
>
>
> ----- Original Message ----- 
> From: "Thomas Winischhofer" <thomas@xxxxxxxxxxxxxxxx>
> To: <xfree86@xxxxxxxxxxx>
> Sent: Monday, March 15, 2004 1:12 AM
> Subject: Re:  Asus Pundit (sis 651) : High CPU usage for X in
> mplayer - are these values sane ?
>
>
> > Robert Rozman wrote:
> > > Hi,
> > >
> > > I'm sending files requested to give proper help. Like I said it seems
> like
> > > Xv is not working (I get lower cpu if I set -vo x11 in mplayer).  I
> suspect
> > > that software scaling is going on, but don't know what to do to
correct
> this
> > > ( I get CPU for X 40-50% and for mplayer or mythtv frontend about
20%).
> I
> > > have Asus pundit, with P4 2.4 G.
> > >
> > > I'll appreciate any help, since this is the only major problem left...
> > >
> > > I have:
> > >
> > > uname -a -> Linux pundit 2.4.21-144-default #1 Fri Nov 14 00:01:36 UTC
> 2003
> > > i686 i686 i386 GNU/Linux
> > >
> > > cat /proc/mtrr >
> > > reg00: base=0x00000000 (   0MB), size= 512MB: write-back, count=1
> > > reg01: base=0x1c000000 ( 448MB), size=  64MB: uncachable, count=1
> > > reg02: base=0xdc000000 (3520MB), size=  64MB: write-combining, count=1
> > > reg03: base=0xe8000000 (3712MB), size=  32MB: write-combining, count=1
> > > reg04: base=0xe1400000 (3604MB), size=   4MB: write-combining, count=1
> >
> > Is that from before or after starting X?
> >
> > Do you have a console framebuffer driver running?
> >
> >  > (WW) SIS(0): Failed to set up write-combining range
> > (0xe8000000,0x4000000)
> >
> > The reason for your problem is that, for some reason, MTRR setup fails,
> > although it obviously is supported by your kernel. At the moment I
> > cannot think of a reason for this.
> >
> > Does this warning message go away if you change the amount of video RAM
> > to, say, 32MB in the BIOS setup?
> >
> > (BTW: Why do you set "forcecrt1" to "false" when it appears that you
> > neither have a TV, LCD or secondary VGA connected?)
> >
> > Thomas
> >
> > -- 
> > Thomas Winischhofer
> > Vienna/Austria
> > thomas AT winischhofer DOT net          http://www.winischhofer.net/
> > twini AT xfree86 DOT org
> > _______________________________________________
> > XFree86 mailing list
> > XFree86@xxxxxxxxxxx
> > http://XFree86.Org/mailman/listinfo/xfree86
>
X-Video Extension version 2.2
screen #0
  Adaptor #0: "SIS 300/315/330 series Video Overlay"
    number of ports: 1
    port base: 56
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x22
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
    number of attributes: 62
      "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 10)
      "XV_CONTRAST" (range 0 to 7)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -7 to 7)
              client settable attribute
              client gettable attribute (current value is -6)
      "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_TVXPOSITION" (range -32 to 32)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_TVYPOSITION" (range -32 to 32)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GAMMA_RED" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_GAMMA_GREEN" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_GAMMA_BLUE" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "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_DISABLE_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_USE_CHROMAKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_INSIDE_CHROMAKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CHROMAMIN" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_CHROMAMAX" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66047)
      "XV_QUERYVBFLAGS" (range 0 to -1)
              client gettable attribute (current value is 539492352)
      "XV_SD_GETDRIVERVERSION" (range 0 to -1)
              client gettable attribute (current value is 17039891)
      "XV_SD_GETHARDWAREINFO" (range 0 to -1)
              client gettable attribute (current value is 720899)
      "XV_SD_GETBUSID" (range 0 to -1)
              client gettable attribute (current value is 65536)
      "XV_SD_QUERYVBFLAGSVERSION" (range 0 to -1)
              client gettable attribute (current value is 1)
      "XV_SD_GETSDFLAGS" (range 0 to -1)
              client gettable attribute (current value is 24051770)
      "XV_SD_UNLOCKSISDIRECT" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_SETVBFLAGS" (range 0 to -1)
              client settable attribute
      "XV_SD_QUERYDETECTEDDEVICES" (range 0 to -1)
              client gettable attribute (current value is 0)
      "XV_SD_CRT1STATUS" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SD_CHECKMODEINDEXFORCRT2" (range 0 to -1)
              client settable attribute
      "XV_SD_RESULTCHECKMODEINDEXFORCRT2" (range 0 to -1)
              client gettable attribute (current value is 0)
      "XV_SD_SISANTIFLICKER" (range 0 to 4)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_SISSATURATION" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_SISEDGEENHANCE" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_SISCOLCALIBF" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_SISCOLCALIBC" (range -120 to 120)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_SISCFILTER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_SISYFILTER" (range 0 to 8)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SD_CHCONTRAST" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_CHTEXTENHANCE" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_CHCHROMAFLICKERFILTER" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_CHLUMAFLICKERFILTER" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_CHCVBSCOLOR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_SD_CHOVERSCAN" (range 0 to 3)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_ENABLEGAMMA" (range 0 to 7)
              client settable attribute
              client gettable attribute (current value is 3)
      "XV_SD_TVXSCALE" (range -16 to 16)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_TVYSCALE" (range -4 to 3)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_GETSCREENSIZE" (range 0 to -1)
              client gettable attribute (current value is 67109632)
      "XV_SD_STOREDGAMMABRIR" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMABRIG" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMABRIB" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIR" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIG" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIB" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMABRIR2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMABRIG2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMABRIB2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIR2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIG2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_STOREDGAMMAPBRIB2" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_SD_HIDEHWCURSOR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SD_PANELMODE" (range 0 to 15)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 1920 x 1080
    Number of image formats: 7
      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)

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux