Pavel Sanda wrote:
>> Pavel Sanda wrote:
>>>>> Pavel Sanda wrote:
>>>>>>> e16-1.0.16 is available for download:
>>>>>>> http://sourceforge.net/projects/enlightenment/files/
>>>>>>>
>>>>>>> Nothing wildly exciting here except maybe
>>>>>>> - Fix animation bug
>>>>>>>       Could cause major stalls and maybe lockup, e.g. in area slides.
>>>>>>
>>>>>> Hi Kim,
>>>>>>
>>>>>> I updated to version 1.0.16 and after loading it my CPU load drastically
>>>>>> changed to 80% when my box is just idling. I figured out that the main
>>>>>> reason is some small textarea within music player in one of my desktops.
>>>>>> Even after killing it the load still quite higher compared to previous
>>>>>> version (might by updates of changing gkrellm window or whatver).
>>>>>>
>>>>>> Seems related to 'Fix animation bug' but do you have idea what's going 
>>>>>> on?
>>>>>>
>>>>> Well, I haven't seen anything like that and I don't really have an idea
>>>>> about what might be going on.
>>>>> I wouldn't expect the "fix animation bug" change to cause something like
>>>>> that but not much else has been changed between 1.0.15 and 1.0.16.
>>>>>
>>>>> Any chance you could bisect the problem?
>>>>
>>>> Bisect leads here:
>>>>
>>>> f2e2e1bae42f73003f6fe8756db862632e9a5aef is the first bad commit
>>>> commit f2e2e1bae42f73003f6fe8756db862632e9a5aef
>>>> Author: Kim Woelders <[email protected]>
>>>> Date:   Sun Nov 9 14:58:23 2014 +0100
>>>>
>>>> Use XRenderCreateSolidFill() if available.
>>>>
>>>> top shows that the main consumer is Xorg, not e16.
>>>>
>>>>> And please give me some more info like e16 configuration, Xorg version,
>>>>
>>>> xorg-server 1.7.7, audacious-1.3.2 (no, i'm not going to upgrade;)
>>>
>>> Looking at the patch you might want to know that my libXext is 1.2.0.
>>>
>>>> e16 has many options, which ones are of interest to you?
>>
>> Well, for now just, you have enabled compositing, right?
>> Otherwise this commit shouldn't make any difference
>
> Yes compositing is on.
>
>> What does "e16 -v" say?
>
> [27810]    0.000001: Extension SHAPE           version 1.1 - req/evt/err base 
> = 138/ 76/  0
> [27810]    0.000150: Extension SYNC            version 3.0 - req/evt/err base 
> = 143/ 95/151
> [27810]    0.000208:  Sync counter  0: SERVERTIME 0x6e 0:0x4
> [27810]    0.000224:  Sync counter  1:   IDLETIME 0x6f 0:0x4
> [27810]    0.000342: Extension RANDR           version 1.3 - req/evt/err base 
> = 148/100/160
> [27810]    0.174759: Screen refresh rate = 60(60) Hz
> [27810]    0.183727: Extension Composite       version 0.4 - req/evt/err base 
> = 150/  0/  0
> [27810]    0.183861: Extension DAMAGE          version 1.1 - req/evt/err base 
> = 151/102/163
> [27810]    0.183987: Extension XFIXES          version 4.0 - req/evt/err base 
> = 146/ 98/154
> [27810]    0.184128: Extension RENDER          version 0.10 - req/evt/err 
> base = 147/  0/155
>
>>
>> Which libXrender version are you using?
>
> 0.9.7
>
>> What do you get from "grep -e RENDER_M -e XRenderCreateSolidFill
>>    /usr/include/X11/extensions/*render.h"
>
> /usr/include/X11/extensions/render.h:#define RENDER_MAJOR       0
> /usr/include/X11/extensions/render.h:#define RENDER_MINOR       11
> /usr/include/X11/extensions/Xrender.h:Picture XRenderCreateSolidFill (Display 
> *dpy,
>
>> (I'm interested build-time have XRenderCreateSolidFill and
>> RENDER_MAJOR/RENDER_MINOR)?
>
> Jul  8  2012 /usr/include/X11/extensions/Xrender.h
>
> Sorry for delayed response,
> Pavel
>

Hmm.. I see no problems there.

If reverting f2e2e1bae42f73003f6fe8756db862632e9a5aef or disabling use 
of XRenderCreateSolidFill() like with the patch below makes your 
troubles go away I suspect there is a problem in your Xorg or driver.

/Kim


diff --git src/x.c src/x.c
index 9e80bad..4283c1e 100644
--- src/x.c
+++ src/x.c
@@ -2103,7 +2103,7 @@ EPictureCreateSolid(EX_Window xwin, int argb, 
unsigned int a, unsigned int rgb)
     c.green = (unsigned short)(_G(rgb) * 0x101);
     c.blue = (unsigned short)(_B(rgb) * 0x101);

-#if RENDER_VERSION >= VERS(0, 10)
+#if RENDER_VERSION >= VERS(1, 10)
     if (ExtVersion(XEXT_RENDER) >= VERS(0, 10))
       {
         pict = XRenderCreateSolidFill(dpy, &c);



------------------------------------------------------------------------------
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to