Code Monkey home page Code Monkey logo

Comments (4)

rockowitz avatar rockowitz commented on September 26, 2024 1
  1. $current_brightness ?? Seems like a reference to some script using ddcutil. Not my domain.
  2. There's no need to expire capabilities cache entries. For any given model of monitor, the capabilities string is constant.
  3. Keep in mind that display caching is an unsupported feature, as there were too many edge cases and given all the other performance enhancements display characteristics caching turned out to provide little additional performance gain. The --help option does not show it.

from ddcutil.

postcert avatar postcert commented on September 26, 2024

I saw in another issue you had mentioned trying --trace i2c so I've attached that for both of my monitors that are supported.

❯ ddcutil --bus $NUMBER --tid --trace i2c setvcp 10 100 > i2c_trace_bus$NUMBER.log
i2c_trace_bus2.log
i2c_trace_bus3.log

Otherwise the application works great 👍

from ddcutil.

rockowitz avatar rockowitz commented on September 26, 2024
  1. I don't see any mechanism by which DDC communication would affect FPS.
  2. What I see in the interrogate log is the the Dell U2719D doesn't properly report an invalid feature. You might try option --skip-ddc-checks which improve performance slightly since you're probably only checking on features such as x10 known to be valid.
  3. I think what you want to show in the logs is an invalid response coming back for getvcp 10. Is that correct? If ddcutil is having to do a lot of retries to get a valid response you might try --disable-dynamic-sleep. To see how many DDC retries are required, use --stats.

from ddcutil.

postcert avatar postcert commented on September 26, 2024

It's just a momentary drop of less than 10% fps but wanted to bring it up as I haven't seen it documented elsewhere and most simple/recommended taskbar scripts call ddcutil every X seconds for the brightness value 😆. For the logs I just provided them as they seemed possibly relevant checking other past issues.
For my usage I've added caching for the $current_brightness now to avoid the lag when polling but I'll test out those flags, especially the skip-checks.
Also I was curious if there was any information on the capabilities/display cache and their expiry as I didn't see any documentation on it. I was thinking that the features (invalid or present) statuses would be cached as I was seeing an execution time improvement with the newest dev branch.

Thanks for the info!

from ddcutil.

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.