Contribute
Register

Controlling Your Monitor with OSX: DDC Panel

Nej

Joined
Sep 1, 2012
Messages
19
Motherboard
Thinkpad X1 Extreme - Clover
CPU
i7-8850H/C240
Graphics
UHD 630/GTX 1050 Ti - 3840x2160
Mac
iMac, MacBook Pro
Mobile Phone
Android
I've had the same freeze problem with my GTX670, here's what I found in the console, don't know if it's of any help:


syspolicyd[1990]: assessment denied for app but overridden
com.apple.message.domain: com.apple.security.assessment.outcome
com.apple.message.signature2: bundle:net.sourceforge.DDC-Panel
com.apple.message.signature4: 1
com.apple.message.signature: override:no usable signature
com.apple.message.signature3: app
 

SJ_UnderWater

Moderator
Joined
Dec 3, 2010
Messages
707
Motherboard
Gigabyte GA-H55M-S2V
CPU
Intel i3-530
Graphics
HIS HD 6570
Mac
iMac
Classic Mac
Mobile Phone
Android
until someone with NVidia steps through the source and identifies the specific command which causes the freeze, I can't really do anything. Certainly syspolicyd isn't the issue, which just scans quarantined (newly-downloaded) files when they are opened.
 
Joined
Feb 1, 2012
Messages
278
Motherboard
Gigabyte Z77X-UD5H
CPU
Intel Core i7 3770k
Graphics
Asus GTX 780 DC2
Mac
MacBook Pro, Mac mini
Classic Mac
iBook, Power Mac
Mobile Phone
iOS
Just downloaded your latest update and it works great with my other two screens that are 1.3 but its doing the same with my 1.4 with the screen not setting the values i'm sending. To be honest I'm not sure if DDC/CL can be used on this screen since there is no option to turn it on or off in the menu as i have with my 2 dells that do work. Anybody else have a 1.4 screen to test with?
 

SJ_UnderWater

Moderator
Joined
Dec 3, 2010
Messages
707
Motherboard
Gigabyte GA-H55M-S2V
CPU
Intel i3-530
Graphics
HIS HD 6570
Mac
iMac
Classic Mac
Mobile Phone
Android
a couple of users have tested it on 1.4 and provided me with the results, but if you don't have a DDC/CI menu option, you probably don't have write-access as you presumed.
 

SJ_UnderWater

Moderator
Joined
Dec 3, 2010
Messages
707
Motherboard
Gigabyte GA-H55M-S2V
CPU
Intel i3-530
Graphics
HIS HD 6570
Mac
iMac
Classic Mac
Mobile Phone
Android
Updated to v1.4
  • App now responds to volume hotkeys
 

SJ_UnderWater

Moderator
Joined
Dec 3, 2010
Messages
707
Motherboard
Gigabyte GA-H55M-S2V
CPU
Intel i3-530
Graphics
HIS HD 6570
Mac
iMac
Classic Mac
Mobile Phone
Android
my point was there's more going on, on other threads, that's how KVO works; when the notification transaction is complete ("did" change) another thread is spawned on -observe which then reads the EDID and generates the DDC objects which are what cause the KP.
at any rate, it doesn't matter anymore, PJALM very graciously set up an NVidia MacPro for me to test remotely, and we managed to get it working on NVidia. There are definitely some more features to add, namely enumerating the I2C interfaces in IOReg to get their data before making requests, but that shouldn't matter much right now. Interestingly, NVidia cards support a second, private communications flag which I can't find anywhere in the documentation. At the very least it helps identify NVidia cards within the app.
The biggest issue is NVidia seems to interpret minReplyDelay differently; where a value of 30 * kMillisecondScale is appropriate for ATI/AMD and doesn't require running the same request several times, 30 is a more appropriate value for NVidia, and 0 still returns a garbage response. If true, this means that DDC Panel never actually KPed an NVidia machine, the kernel was simply waiting 1000 * 1000 times longer for the DDC/CI reply.
Timing is very important for I2C buses as I've been reading, so a "good" value here is critical. If the reply is taken too early, the data will be garbage and fail to checksum, too long and it may mimic a Kernel Panic. Running several successful requests in series is the only real test. Feel free to try different values and report back.
I've also started polishing the app, removing unnecessary entries, and following code guidelines.

--edit
For reference, I tried a very large delay on my AMD 6570 and the result was very much like a KP, except for the time() output i placed around the request call. 30 * kSecondScale does produce a 30sec delay per-request (calculated using time()), and during the delay there was no activity except my CPU fan spun up. In fact, there appears to be a gap in my system log.
 

SJ_UnderWater

Moderator
Joined
Dec 3, 2010
Messages
707
Motherboard
Gigabyte GA-H55M-S2V
CPU
Intel i3-530
Graphics
HIS HD 6570
Mac
iMac
Classic Mac
Mobile Phone
Android
Updated to v1.5
  • General cleanup
  • Removal of unnecessary notifications
  • Unboxing of some primitives
  • Better integer choices
  • Move to subAddressing
  • Experimental NVidia support
  • Reading I2C to determine delay mode
 
Joined
Jul 25, 2012
Messages
18
Motherboard
x
CPU
x
Graphics
x
Mac
Classic Mac
Mobile Phone
Great work on the experimental NVidia update! I've gotten v1.5 it to work with my 15" Retina Macbook Pro + Dell U2312HM

Here are a few quirks I've noticed.

- App doesn't detect external monitor unless external monitor is set as primary display [with dock]
- Brightness slider is a little bit buggy and doesn't always work.
- Contrast doesn't update with current value when changed.

Other than that, it's pretty awesome. I can't wait to see your finished product. Would be really cool to have a menu bar item that has preset settings and quick adjustment sliders.
 
Top