- Joined
- Apr 5, 2016
- Messages
- 959
- Motherboard
- GIGABYTE Z170X-Gaming 7
- CPU
- i7-6700K
- Graphics
- GTX TITAN X
- Mac
- Classic Mac
- Mobile Phone
I don't know what's missing. I am looking at Catalina 10.15.1:
There is a LaunchDaemon:
/System/Library/LaunchDaemons/com.apple.displaypolicyd.plist
It runs a program at with parameter -k 1
/usr/libexec/displaypolicyd
It has a stdout log file at:
/var/log/displaypolicyd.stdout.log
This may show errors that exist in override files.
It has help info but is not very detailed and does not describe the -k parameter:
There is a _displaypolicyd user/group which is used to execute the daemon.
There folder containing log files at /private/var/log/displaypolicy. It includes a log file for each GPU. For example, GPUs like this:
have log files like these:
There is a log file called "displaypolicyd.log" in the same folder which shows the version number each time it launches.
The log files for the GPU shows what happens when the two cable display is connected but it doesn't explain the failure. Here's a log when connecting a UP2715K:
Below is a log when connecting the Acer XV273K (power on with both cables already connected). The errors repeats until I power off the display:
There is a LaunchDaemon:
/System/Library/LaunchDaemons/com.apple.displaypolicyd.plist
It runs a program at with parameter -k 1
/usr/libexec/displaypolicyd
It has a stdout log file at:
/var/log/displaypolicyd.stdout.log
This may show errors that exist in override files.
It has help info but is not very detailed and does not describe the -k parameter:
Code:
sudo /usr/libexec/displaypolicyd -h
/usr/libexec/displaypolicyd: [hINFRXln:Dik:]
-h get help
-I dump default configuration information
-N disable display cache
-F flush cached state, restart daemon
-R ask daemon to restart
-X ask daemon to exit and not restart
-l list the AGDC instance IDs
-n <instanceMap> connect to specific AGDP instead of all
-D disable generating resource config set from scanout resource config
-i ignore no accelerator mode
-k <value>
There is a _displaypolicyd user/group which is used to execute the daemon.
There folder containing log files at /private/var/log/displaypolicy. It includes a log file for each GPU. For example, GPUs like this:
Code:
sudo lspci | grep ' VGA '
00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
47:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7)
Code:
ls -l /var/log/displaypolicy/displaypolicyd.[0-9]*
-rw-r--r-- 1 _displaypolicyd _displaypolicyd 107235 Nov 18 08:46 /var/log/displaypolicy/displaypolicyd.0:2:0.log
-rw-r--r-- 1 _displaypolicyd _displaypolicyd 12793397 Nov 18 08:46 /var/log/displaypolicy/displaypolicyd.71:0:0.log
The log files for the GPU shows what happens when the two cable display is connected but it doesn't explain the failure. Here's a log when connecting a UP2715K:
Code:
LinkUpdate: 1.0 event: Insert [0]
LinkUpdate: 2.0 event: Insert [0]
NOTICE: Addr: 1.0 event: Insert [0] source: 0
NOTICE: Populated addr 1.0 10ac:40b6 UUID 53393830 order 1:1 tx 2:2 dsp 1 WL 1 MS 0 edid 384 undef 0 DSC 0
NOTICE: Set 500 ms delay timer for 1.0
NOTICE: Addr: 2.0 event: Insert [0] source: 0
NOTICE: Populated addr 2.0 10ac:40b6 UUID 53393830 order 1:0 tx 2:2 dsp 1 WL 1 MS 0 edid 256 undef 1 DSC 0
NOTICE: Do online device addr 1.0 processCount 1
NOTICE: Do online device addr 1.0 id 10ac:40b6 UUID 53393830 order 1:1 edid 384 undef 0 - not completed. Moved to Wait Q.
NOTICE: Do online device addr 1.0 processCount 2
NOTICE: Sync LinkTrain Port: 2: SST, 4 lanes @ HBR2 FEC disabled
NOTICE: Sync LinkTrain Port: 1: SST, 4 lanes @ HBR2 FEC disabled
NOTICE: Limiting scanout resource count to 1 for complex display with SST on slave link capability
NOTICE: FB AGDC state FB[1] - ON
NOTICE: inject FB[1] change
NOTICE: Do online device addr 1.0 id 10ac:40b6 UUID 53393830 order 1:1 edid 384 undef 0 - completed
NOTICE: kIOFBNotifyOnlineChange 0x0 fb[ 1 ] -> online, Thu Nov 14 20:06:43 2019
NOTICE: Update display map to fb[ 1 ] - online
Below is a log when connecting the Acer XV273K (power on with both cables already connected). The errors repeats until I power off the display:
Code:
LinkUpdate: 1.0 event: Insert [0]
LinkUpdate: 2.0 event: Insert [0]
NOTICE: Addr: 1.0 event: Insert [0] source: 0
NOTICE: Populated addr 1.0 472:6b1 UUID 538f0085 order 1:0 tx 2:2 dsp 1 WL 1 MS 0 edid 384 undef 0 DSC 0
NOTICE: Set 500 ms delay timer for 1.0
NOTICE: Addr: 2.0 event: Insert [0] source: 0
NOTICE: Populated addr 2.0 472:6b1 UUID 538f0085 order 1:1 tx 2:2 dsp 1 WL 1 MS 0 edid 384 undef 0 DSC 0
NOTICE: Do online device addr 1.0 processCount 1
NOTICE: Do online device addr 1.0 id 472:6b1 UUID 538f0085 order 1:0 edid 384 undef 0 - not completed. Moved to Wait Q.
NOTICE: Do online device addr 1.0 processCount 2
NOTICE: Sync LinkTrain Port: 1: SST, 4 lanes @ HBR3 FEC disabled
NOTICE: Sync LinkTrain Port: 2: SST, 4 lanes @ HBR3 FEC disabled
ERROR: Complex display needs to fallback: [0:0:0]
NOTICE: Do LT off on port 1
NOTICE: Port[1] - DP link down
NOTICE: Do LT off on port 2
NOTICE: Port[2] - DP link down
NOTICE: Multi-cable display fallback with code 2, do simple
NOTICE: Sync LinkTrain Port: 1: SST, 4 lanes @ HBR3 FEC disabled
NOTICE: FB AGDC state FB[0] - ON
NOTICE: inject FB[0] change
NOTICE: Do online device addr 1.0 id 472:6b1 UUID 538f0085 order 1:0 edid 384 undef 0 - completed
NOTICE: Do online device addr 2.0 processCount 1
NOTICE: Do online device addr 2.0 id 472:6b1 UUID 538f0085 order 1:1 edid 384 undef 0 - not completed. Moved to Wait Q.
NOTICE: kIOFBNotifyOnlineChange 0x0 fb[ 0 ] -> online, Thu Nov 14 19:58:21 2019
NOTICE: Update display map to fb[ 0 ] - online
NOTICE: Do online device addr 2.0 processCount 2
NOTICE: Do offline device addr 1.0 flags 0x1
NOTICE: FB AGDC state FB[0] - OFF
NOTICE: Reset Device: 1.0 error count All 1 S 0 M 1 L 0 E 0 to 0
NOTICE: inject FB[0] change
NOTICE: kIOFBNotifyOnlineChange 0x1 fb[ 0 ] -> offline, Thu Nov 14 19:58:22 2019
NOTICE: Update display map to fb[ 0 ] - offline
NOTICE: Release fb[ 0 ] resources
NOTICE: Do LT off on port 1
NOTICE: Port[1] - DP link down
NOTICE: Sync LinkTrain Port: 1: SST, 4 lanes @ HBR3 FEC disabled
NOTICE: Sync LinkTrain Port: 2: SST, 4 lanes @ HBR3 FEC disabled
ERROR: Complex display needs to fallback: [0:0:0]