Contribute
Register

External Display Weird Connect/disconnect loop problem - Acer Monitor - Opencore - Bigsur

Status
Not open for further replies.
Joined
Apr 24, 2018
Messages
11
Motherboard
HP Laptop 15-ay542tu
CPU
i3 6006U
Graphics
Intel HD 520 [Skylake GT2]
  • My external monitor won't connect to my hackbookpro.
  • Connection-type : HDMI
  • It gets connected to my laptop properly in linux. And it gets connected properly to other laptops in general. It got connected properly to a original MacBook also through a type-c to HDMI dongle.
  • But when I connect my hack book to it, here is what happens. Both the laptop and the monitor go into some weird connect/disconnect loop, that. is hard to explain. The monitor keeps cycling through all input types DP, DVI, HDMI, and it won't be able find any signal. But my laptop is still in multi display mode. When the monitor cycling reaches HDMI, for a few seconds both the displays work and then immediately back to cycling from the DP, DVI, HDMI. My laptop also keeps weirdly switching in and out of multi-display mode.
  • My framebuffer patching details:
    • Currently I don't have any framebuffer/platform-id patching because my laptop (one and only) graphic card's device-id=0x1916 which should be default supported by whatevergreen (Right?). The outcome is the same with and without each of the following changes.
    • Nevertheless, I patched device-id=<16190000> & AAPL,ig-platform-id=<00001619>. Still same outcome.
    • I patched the device-id=<3B190000>, AAPL,ig-platform-id=<00003B19>. Same Outcome.
    • In a 1% chance sometimes my monitor gets connected, then I looked at the "connector-type" value from the IORegExplorer, for this Framebuffer. And it is <00080000>, which is correct only for HDMI type, from my understanding.
    • But sill I patched in the connector-type with "framebuffer-con1-type" from device-properties in config file. Still the same outcome.
    • So I removed all the changes in config.
Here are some logs (There are so much more logs in just hardly 1min of connecting HDMI. All repetitive. So trimmed down.):
Code:
~ % sudo log show --debug --last boot | grep -y appleintelskl
2021-03-19 18:42:17.048062+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][INFO   ] Hot Plug Handler port = 1 fb->fCRTCIndex = 1
2021-03-19 18:42:17.048069+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] fb->fDPCDParams.SinkCount = 0
2021-03-19 18:42:17.048079+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] HPD is high
2021-03-19 18:42:17.049437+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.061711+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.075233+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.087522+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.100848+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.113187+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.126629+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.126635+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.126640+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.126644+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] isHPDLow = 0 emptyDongle = 0 sinkCount = 0 sinkCountChanged = 0
2021-03-19 18:42:17.138995+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 0 with Status = 0xe00002d6
2021-03-19 18:42:17.151310+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 60 with Status = 0xe00002d6
2021-03-19 18:42:17.163610+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 80 with Status = 0xe00002d6
2021-03-19 18:42:17.163615+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] Event insert
2021-03-19 18:42:17.163639+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][INFO   ] FB1: Hot plug on port1
2021-03-19 18:42:17.163641+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] Clear EDID cache flags flags=0
2021-03-19 18:42:17.163647+0530 0x6c2      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [Hot_Plug] AGDC managing Display: Start listening to AGDC
2021-03-19 18:42:17.213935+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Port enable
2021-03-19 18:42:17.213941+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Port Enable for fb1 with state=1
2021-03-19 18:42:17.214152+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.214158+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.214169+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.226476+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.240073+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.252395+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.265835+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.278275+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.291725+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.291729+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.291732+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.291735+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.291737+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.291740+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
2021-03-19 18:42:17.302726+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.302730+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.302740+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.315009+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.328617+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.340928+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.354550+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.366849+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.380456+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.380460+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.380463+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.380465+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.380468+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.380470+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
2021-03-19 18:42:17.391372+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.391377+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.391386+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.403708+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.417311+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.429627+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.443260+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.455540+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.469080+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.469084+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.469087+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.469089+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.469092+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.469095+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
2021-03-19 18:42:17.481312+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.481320+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.481331+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.493491+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.506940+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.519268+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.532774+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.545056+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.558479+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.558483+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.558485+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.558487+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.558490+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.558492+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
2021-03-19 18:42:17.570024+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.570029+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.570038+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.582245+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.595794+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.608077+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.621727+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.634001+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.647611+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.647615+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.647618+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.647620+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.647623+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.647626+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
2021-03-19 18:42:17.659359+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get port caps
2021-03-19 18:42:17.659365+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1, port = 1
2021-03-19 18:42:17.659387+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] [AGDC] Get stream AUX access read for agdc port 2 stream=0 : address=0, size=1
2021-03-19 18:42:17.659392+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Getting display status
2021-03-19 18:42:17.659405+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Setting DP power state = 1
2021-03-19 18:42:17.671611+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.685022+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.697328+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.710933+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.723235+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: WriteAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.736735+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] FB1: ReadAUX Timeout for addr 600 with Status = 0xe00002d6
2021-03-19 18:42:17.736739+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Set DP power state failed. Returned state 255
2021-03-19 18:42:17.736742+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] Setting DP power failed (0xe00002bc), ignoring empty dongle handling (likely HDMI/TMDS case)
2021-03-19 18:42:17.736744+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][LOG  ][DISPLAY   ] FB1 Display status is = 0
2021-03-19 18:42:17.736747+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] FB1: Port1 not attached. No AUX Access attempted
2021-03-19 18:42:17.736749+0530 0x8d0      Default     0x0                  0      0    kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR  ] [AGDC] Failed with status -536870212 for stream access aux
...
...
...

Any help is appreciated.

My Hardware details:
External Monitor : Acer EB321HQU
Laptop : HP 15-ay542tu
Processor : i3 6006u (Skylake Mobile)
Graphic Card : iGPU : (Intel Skylake GT2) Intel HD Graphics 520 (device-id=0x1916)
No discrete Graphic card.
Whatevergreen Version : 1.4.5-debug
Lilu version : 1.5.0-debug
Opencore version : 0.6.4-debug
macOS version : 11.1 stable (20C69)
 
Post a copy of your IOReg with the external display connected via the HDMI port, so we can see what is happening. A copy with it working and one when it is not working, if possible. Use the version of IOReg linked in this guide - https://www.tonymacx86.com/threads/guide-how-to-make-a-copy-of-ioreg.58368/

Providing a copy of your EFI Folder would also be helpful. You can redact the serial number, UUID, MLB and ROM entries in the copy of the config.plist. So we can see what else you are using to boot your laptop.

Of the Framebuffer patches you could use with your Skylake IGPU (HD 520) the only one I know of with a HDMI connector is 0x193B0000, which would be entered against the AAPL,ig-platform-id as <00003B19>, not sure you would need the con0, con1 or con2 entries with this framebuffer. Not sure you would need the device-id entry either.

Screenshot 2021-03-20 at 20.32.04.png

All the other mobile framebuffers for the Skylake series of IGPU's have the obligatory LVDS and two or three DP connectors.

What other graphics fixes, SSDT's or kexts have you added to your system? WhateverGreen.kext is a given and should be retained with Lilu.kext. Have you remembered to remove the fixes, SSDT's and other kexts after finding out they didn't work?
 
Post a copy of your IOReg with the external display connected via the HDMI port, so we can see what is happening. A copy with it working and one when it is not working, if possible. Use the version of IOReg linked in this guide - https://www.tonymacx86.com/threads/guide-how-to-make-a-copy-of-ioreg.58368/

Providing a copy of your EFI Folder would also be helpful. You can redact the serial number, UUID, MLB and ROM entries in the copy of the config.plist. So we can see what else you are using to boot your laptop.

Of the Framebuffer patches you could use with your Skylake IGPU (HD 520) the only one I know of with a HDMI connector is 0x193B0000, which would be entered against the AAPL,ig-platform-id as <00003B19>, not sure you would need the con0, con1 or con2 entries with this framebuffer. Not sure you would need the device-id entry either.

View attachment 512848

All the other mobile framebuffers for the Skylake series of IGPU's have the obligatory LVDS and two or three DP connectors.

What other graphics fixes, SSDT's or kexts have you added to your system? WhateverGreen.kext is a given and should be retained with Lilu.kext. Have you remembered to remove the fixes, SSDT's and other kexts after finding out they didn't work?
  • I attached Ioreg, for when it not able to connect properly.
  • I cannot attach IOReg for when it gets connected properly, coz I I don't know when/how it gets connected that 1% of time. Maybe in the future if it ever connects luckily, I will update it here.
  • I attached efi also.
  • I already tried 193B platform-id. But it didn't work; the internal display is alright but the external display won't even acknowledge the connection. I had to patch the bus-id for con1. Which is the same as patching connection type for con1 with my own platform-id (I suspect even this is not required coz ioreg says con1 is of type HDMI only). Even then 193B + patched bus-id also gave the same outcome, connect/disconnect loop.
 

Attachments

  • ioreg_when_not_connecting.ioreg
    7.4 MB · Views: 56
  • EFI.zip
    14.6 MB · Views: 77
  • I attached Ioreg, for when it not able to connect properly.
  • I cannot attach IOReg for when it gets connected properly, coz I I don't know when/how it gets connected that 1% of time. Maybe in the future if it ever connects luckily, I will update it here.
  • I attached efi also.
  • I already tried 193B platform-id. But it didn't work; the internal display is alright but the external display won't even acknowledge the connection. I had to patch the bus-id for con1. Which is the same as patching connection type for con1 with my own platform-id (I suspect even this is not required coz ioreg says con1 is of type HDMI only). Even then 193B + patched bus-id also gave the same outcome, connect/disconnect loop.
your device properties is only showing your audio layout:

Code:
<key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x1f,0x3)</key>
            <dict>
                <key>layout-id</key>
                <integer>3</integer>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
 
your device properties is only showing your audio layout:

Code:
<key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x1f,0x3)</key>
            <dict>
                <key>layout-id</key>
                <integer>3</integer>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
yeah .. IKR ... that's the point of the description .. I removed all the display patch things .. coz it already supported. my dev-id is 0x1916, platform-id=<00001619>, connection-type(you can see already from IOReg)=<00080000> so I don't think I need to patch .. but even if I patch all these I get the same outcome.
 
yeah .. IKR ... that's the point of the description .. I removed all the display patch things .. coz it already supported. my dev-id is 0x1916, platform-id=<00001619>, connection-type(you can see already from IOReg)=<00080000> so I don't think I need to patch .. but even if I patch all these I get the same outcome.
 
The AAPL,ig-platform-id - <00001619> is set correctly and the IGPU is shown in the IOReg as "Intel HD Graphics 520".

I assume your HP laptop has a VGA and a HDMI connector for an external display and you are using a HDMI to HDMI connection/cable for your Acer screen. I say this because your IOReg shows three connectors/framebuffers for the Intel iGPU.

One for your built-in screen "AppleIntelFramebuffer@0" and two external connectors.

"AppleIntelFramebuffer@1" shows as a HDMI connector. This connector also shows that a display has been connected and disconnected a number of times.

Your main built-in display also shows this connected and disconnected pattern, but more numerously.

Screenshot 2021-03-22 at 23.18.07.png IOReg - IGPU

"AppleIntelFramebuffer@2" appears to be your VGA connector, which is unused.

USBPorts.kext actives HS01-HS05 and HS07, no USB3 ports are being activated. You need to look at your USB configuration again, as it is wrong.

I don't think your laptop has a Light Sensor, so you should not be using SMCLightSensor.kext. The camera has a 'Camera light' but no sensor according to the laptop maintenance manual - http://h10032.www1.hp.com/ctg/Manual/c05110302.pdf

Using this kext may be causing some of the IGPU issues you are encountering. Try deleting this kext from the /OC/Kexts folder and config.plist, see what difference it makes.
 
The AAPL,ig-platform-id - <00001619> is set correctly and the IGPU is shown in the IOReg as "Intel HD Graphics 520".

I assume your HP laptop has a VGA and a HDMI connector for an external display and you are using a HDMI to HDMI connection/cable for your Acer screen. I say this because your IOReg shows three connectors/framebuffers for the Intel iGPU.

One for your built-in screen "AppleIntelFramebuffer@0" and two external connectors.

"AppleIntelFramebuffer@1" shows as a HDMI connector. This connector also shows that a display has been connected and disconnected a number of times.

Your main built-in display also shows this connected and disconnected pattern, but more numerously.

View attachment 512989 IOReg - IGPU

"AppleIntelFramebuffer@2" appears to be your VGA connector, which is unused.

USBPorts.kext actives HS01-HS05 and HS07, no USB3 ports are being activated. You need to look at your USB configuration again, as it is wrong.

I don't think your laptop has a Light Sensor, so you should not be using SMCLightSensor.kext. The camera has a 'Camera light' but no sensor according to the laptop maintenance manual - http://h10032.www1.hp.com/ctg/Manual/c05110302.pdf

Using this kext may be causing some of the IGPU issues you are encountering. Try deleting this kext from the /OC/Kexts folder and config.plist, see what difference it makes.
Thanks @Edhawk for such an elaborate deconstruction of my EFI.
  • Yeah, one framebuffer is for the internal display one for the hdmi(which is good enough from IOReg), I don't know about the third framebuffer coz I don't actually have an external port like VGA/DVI/DP. I only have one HDMI external port i.e., FB@1.
  • I removed SMCLightSensors.kext, also from config.plist. Then warm rebooted. But it didn't change anything. (Should I remove SMCSuperIO.kext as well?)
  • About the USBMap, HS01 is the only USB3.0 port that I have, HS02,03 are USB2. And HS04,05,07 are internal for webcam, bluetooth, in-built sdcard reader. So I don't think there is anything wrong with the USBMap.
    1616505608786.png
 
If You have a physical USB3 port on the exterior of the case, then you should have a USB3 entry for SS01 as well as HS01 in your USBPorts.kext.

The connector types look OK but you are definitely missing an additional USB3 entry in your kext.

There are a number of similar models to your laptop, some of which have both VGA and HDMI external display connectors on the case. The VGA connector may be missing externally, but I doubt they removed the device from the motherboard, just didn't add the physical connector.
 
If You have a physical USB3 port on the exterior of the case, then you should have a USB3 entry for SS01 as well as HS01 in your USBPorts.kext.

The connector types look OK but you are definitely missing an additional USB3 entry in your kext.

There are a number of similar models to your laptop, some of which have both VGA and HDMI external display connectors on the case. The VGA connector may be missing externally, but I doubt they removed the device from the motherboard, just didn't add the physical connector.
Ohh okay. I have no idea how this USB thing works, its kinda complicated to understand. I was just going through CorpNewt/usbmap, I thought its enough to just select the ports in the HS list and set connector types. I will go through it again. Thanks for the headsup @Edhawk.

@Feartech I tried -cdfon, it didn't work. Then tried using the framebuffer-unifiedmem=<00000080>, nothing changed.

But anyway, I am sure I saw a comment from @Vomesk on this thread. And it worked. I used a boot argument igfxonln=1, disconnected HDMI, put laptop to sleep, then connected HDMI back while sleeping, then woke it up, and it simply connected off. Thanks for all the help guys.
 
Status
Not open for further replies.
Back
Top