VirtualKVM
VirtualKVM copied to clipboard
Display Not Toggling Since Updating to Mojave 10.14
Is anyone else having issues since upgrading to Mojave?
I started to see problems after upgrading. Then, found I needed to update VirtualKVM which I did. I think it worked once when I unchecked Prevent Display Sleep and hasn't worked since with a combination of turning settings on and off.
I have an 2012 iMac running Mojave and a 2016 Macbook Pro running Mojave. Thanks for your help and input on the issue!
I forgot to mention that bluetooth toggling is intermittent. It always disconnects from the iMac but the Macbook Pro isn't always turning bluetooth on to grab the peripherals. Thanks!
I am experiencing the same issue. My case, bluetooth seems to be toggling always, but display doesn't.
Some copy/paste of logs from Console app. (searched with 'VirtualKVM')
default 21:02:50.798903 -0700 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : VirtualKVM
default 21:02:50.847236 -0700 launchservicesd CHECKIN:0x0-0x1c91c9 50136 com.fastwombat.VirtualKVM
default 21:02:50.848087 -0700 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : VirtualKVM
default 21:02:50.863139 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c2621450 at /Applications/VirtualKVM.app
default 21:02:50.883185 -0700 VirtualKVM Current system appearance, (HLTB: 2), (SLS: 1)
default 21:02:50.887126 -0700 VirtualKVM Post-registration system appearance: (HLTB: 2)
error 21:02:50.887902 -0700 VirtualKVM Unable to load Info.plist exceptions (eGPUOverrides)
default 21:02:50.897497 -0700 VirtualKVM NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 1
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x600003acdae0
(
"<NSAquaAppearance: 0x600000ccd180>",
"<NSSystemAppearance: 0x600000ccd040>"
)>
default 21:02:51.031263 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c260cdb0 at /Applications/VirtualKVM.app
default 21:02:51.153172 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c252b9a0 at /Applications/VirtualKVM.app
default 21:02:51.625441 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c2521630 at /Applications/VirtualKVM.app
default 21:02:51.927033 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c2459250 at /Applications/VirtualKVM.app
default 21:03:00.939756 -0700 VirtualKVM LSExceptions shared instance invalidated for timeout.
default 21:03:14.213539 -0700 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.fastwombat.VirtualKVM, type: 0: 0x7f92c2720300 at /Applications/VirtualKVM.app
default 21:03:14.828603 -0700 VirtualKVM Disabling Bluetooth.
default 21:03:14.829349 -0700 VirtualKVM (IOBluetoothDeviceConfigUserLib - 0x600001bc0340) establishing new XPC Connection for process VirtualKVM
default 21:03:14.829889 -0700 bluetoothd Adding (<BTDClient: 0x7ffd2c74bde0>) for process VirtualKVM (50136)
default 21:03:14.830722 -0700 VirtualKVM Disabling Bluetooth.
@hytgbn Thank you! I'll try to grab some logs later today, too. I'm curious what machines you are using, just to see if there is slightly different behavior on a different set.
target is iMac (27-inch, Late 2013) , source is MacBook Pro (early 2015).
One thing to note is that it sometimes works if iMac reboots.
I did a little bit dive deep.
When Display is not toggling, KVMThunderboltObserver.isInTargetDisplayMode returns true
even though it's not in TDM. This causes enableTargetDisplayMode do nothing.
As workaround, I could make VirtualKVM work after killing dpd
process.
This is snapshot of Power Assertion, when it's not in TDM. Somehow Virtual KVM couldn't clean up resources when it exits TDM?
Listed by owning process:
pid 8784(VirtualKVM): [0x000082fa00018df3] 00:01:39 PreventUserIdleSystemSleep named: "Checking for connections"
pid 180(dpd): [0x0000071500018155] 35:34:41 PreventUserIdleSystemSleep named: "com.apple.dpd"
pid 180(dpd): [0x0000071500058154] 35:34:41 PreventUserIdleDisplaySleep named: "com.apple.dpd"
pid 97(hidd): [0x00007cf300098caa] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968182.17"
Timeout will fire in 600 secs Action=TimeoutActionRelease
Having the same issue. Disconnects from the iMac but MacBook Pro doesn't pick it up.
It seems that restarting the iMac every time works. But if I try to do it after disconnecting without restarting the iMac it does not work.
sudo killall -9 dpd
seems to reset the state. not sure how safe it is.
@hytgbn's suggestion of sudo killall -9 dpd
does not work for me, nor does rebooting, FWIW. I can't get the display to switch at all.
Same issue here. I am using MacBook Pro 2018 and iMac 2013 (both OS X 10.14). When auto bluetooth toggling is on, then the bluetooth devices are disconnected from the iMac, but the display does not toggle. When is it going to be solved?
I have the same issue. MacBook Pro 2018 and iMac late 2013 on OSX 10.14.2. The iMac will not toggle into TDM. I have not tried on previous OS releases.
I am working on a fix in an upcoming version.