Cursor Tracking Lag Caused by system_profiler

We’ve noticed problems with mouse cursor tracking, on Thunderbolt Macs attached to displays.

In the middle of moving the cursor with mouse or trackpad, the cursor jumps or skips making it difficult to control.

We tracked down the problem to background runs of system_profiler.  Specifically, when system_profiler queries the display for information.

Running system_profiler without flags or with the SPDisplaysDataType data type triggers the problem.

To reproduce the problem at its worst, run the following in Terminal on a Thunderbolt Mac attached to a display and attempt to use the tracking device:

while [ 1 ]; do system_profiler SPDisplaysDataType; done

Apple is aware of the issue, but has stated that this is expected behavior.

Many tools that rely on system_profiler trigger the issue including JAMF Casper Suite, Puppet, and Apple Remote Desktop.  These and other tools routinely inventory the Mac using system_profiler.

There is currently no workaround for getting display information such as Display serial number.  And the only way to avoid the trigger is to run system profiler with each data type excluding SPDisplaysDataType.

If you think Apple should address the issue, please let them know.

6 thoughts on “Cursor Tracking Lag Caused by system_profiler

  1. Pingback: AFP548 – Covering Apple IT – Cursor Tracking Lag Caused by system_profiler

  2. I tried obtaining the display serial number through other means with ioreg, but the best I could come up with was all zeros.

  3. Since one week i have a similar issue. On my iMac i
    connected through TB a Promise R4, from the R4 to the 3. Display.
    2. Display is connected through the second TB port. If the R4 is
    enabled and running the cursor tracking is lagging, you can’t
    control it through the mouse. Disableing R4 turns my monitor off as
    awaited and the cursor lag is gone, i can continue to work without
    any problem but also without my 3. Monitor

  4. I am having the same issue on a 2012 15″ MacBook Pro Retina
    connected to a 30″ Cinema Display. At home I use a Magic Mouse but
    in work I use a Logitech mouse with it’s own receiver. It is only
    happening on the Cinema Display not on the built-in

  5. After some further testing I found that if I closed all windows in Safari that were displaying PDF documents then the problem went away. So I think the AdobePDFViewerNPAPI is causing the problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s