Code Monkey home page Code Monkey logo

Comments (5)

rockowitz avatar rockowitz commented on June 21, 2024

Some monitors misuse the DDC Null Response to indicate that a feature is unsupported. You've encountered a bug in the code that handles that situation. To help me understand the problem properly and and assess its severity, please submit the output from the following commands as attachments:

ddcutuil detect --verbose for both 1.4.1 and 0.9.9 (or some earlier version that doesn't have the problem)
ddcutil interrogate for 1.4.1 and, if that fails for 0.9.9 (or some earlier version that doesn't have the problem)
a ddcutil command exhibiting the problem

Thank you.

from ddcutil.

koko-ng avatar koko-ng commented on June 21, 2024

Hi, sorry for the late answer, I don't always have this monitor at hand.
Anyways, here are the logs: https://gist.github.com/koko-ng/a681a792206137b8bbc94d8b5a580aa7
Let me know if there is anything else I can do to help! :)

Thanks

from ddcutil.

rockowitz avatar rockowitz commented on June 21, 2024

I have just uploaded an extensive set of changes to branch 1.5.0-dev. Included in them are changes that are intended to address the problems you've encountered.

The root problem you hit is that the detection phase of ddcutil (apparently) incorrectly determined that your monitor misuses a DDC Null Message to indicate unsupported features. There was special recovery code in the retry logic (recall that DDC communication is unreliable) for DDC Null Messages, and it was no longer working properly.

Please try using the development branch. It may be that, with the default settings, things just work. However, the monitor may return a DDC Null Message during probing, leading to the monitor being marked invalid and a message that monitor communication failed. In that case, first try using option --sleep-multiplier 2.0 to give the monitor more time to formulate proper responses. Second, try using option --dsa2. This is a new dynamic sleep algorithm that adjusts the sleep multiplier up (as needed) and down (insofar as possible) on a per monitor basis. (Note: if you specify both --sleep-multiplier and --dsa2 on the same command, ddcutil discards what it knows about the monitor and starts its adjustment from the sleep multiplier specified.)

If you encounter problems, as a first step, please submit the output of for failed program executions. Thank you.

from ddcutil.

koko-ng avatar koko-ng commented on June 21, 2024

Thanks for the update, it works well with the latest version (commit 0b6971c) without any special parameters.

from ddcutil.

rockowitz avatar rockowitz commented on June 21, 2024

@koko-ng Thank you for letting me know that the recent changes have addressed your problem.

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.