DDC-CI-Tools-for-OS-X icon indicating copy to clipboard operation
DDC-CI-Tools-for-OS-X copied to clipboard

ddcgui: System freeze on readControlValue

Open torstenlehmann opened this issue 9 years ago • 3 comments

  • OS X 10.9.5 (13F34)
  • MacBook Air 13-inch, Mid 2013
  • Dell U2414H

As a workaround I commented out this line

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
//  [controller_object setControlsToCurrentValues];
}

which prevents the initial calls to readControlValue:.

Setting the brightness works flawlessly.

torstenlehmann avatar Feb 28 '15 05:02 torstenlehmann

FIXED Removed line https://github.com/jontaylor/DDC-CI-Tools-for-OS-X/blob/master/ddc/ddc.c#L103.

On my system this delay is in seconds and was not needed at all.

torstenlehmann avatar Mar 01 '15 01:03 torstenlehmann

@torstenlehmann, thanks for your input! I mean your latest feedback about commenting https://github.com/jontaylor/DDC-CI-Tools-for-OS-X/blob/master/ddc/ddc.c#L103.

I had the same issue with OS freezing completely when using https://github.com/kfix/ddcctl to increase or decrease brightness/contrast, which requires reading of current values. Any DDC read operations were leading to the issue. The project I have linked appears to be using some code from this project and your fix helped in my case too.

[OS X 10.11 Beta (15A278b), Mac Book Pro, Dell U3415W]

adeg avatar Sep 10 '15 17:09 adeg

@adeg I have the same issue as you, whole OS freezing (OS X 10.10.5) with a pair of Dell U2715H monitors. I also traced the issue to DDC read operations and can in fact use kfix/ddcctl without problems when only setting the value (not performing any reads).

mafredri avatar Sep 11 '15 06:09 mafredri