Giter Club home page Giter Club logo

Comments (4)

siliconsniffer avatar siliconsniffer commented on June 18, 2024

#1745 fixed the issue from #1742 for me, as stated in #1748 .

from conky.

Caellian avatar Caellian commented on June 18, 2024

@siliconsniffer So conky no longer uses 50% of your CPU?

If you have xcb-util-errors installed, your local build will be different from official arch package (which is compiled without it). Building from source even without the PRs completely avoids problematic code if you have xcb-util-errors as conky detects it at compile time.

from conky.

siliconsniffer avatar siliconsniffer commented on June 18, 2024

Nope, no 50% CPU usage anymore, except only if I move my mouse very quickly between the windows, but that's probably my compositor or wm, not a conky issue (I think).

I don't have this installed, how does it avoid problematic code?

from conky.

Caellian avatar Caellian commented on June 18, 2024

Because conky detects xcb-util-errors at compile time and uses it for error reporting (nice, descriptive error messages) instead of a manual implementation (raw error codes) which previously used wrong buffer sizes for formatting (thus buffer overflow).

It might be just that the error callback was slow.

from conky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.