- Joined
- Mar 29, 2019
- Messages
- 226
- Motherboard
- Zbook G4 17
- CPU
- i7-7820HQ
- Graphics
- HD630+WX4150
- Mac
- Classic Mac
- Mobile Phone
Where this debug? In file or I need to enter terminal command?Whatevergreens Debug output
Where this debug? In file or I need to enter terminal command?Whatevergreens Debug output
Wow!!!! That the reason why I have mouse lag!!!!HDCP
Try using Whatevergreen debug version and use flag -wegdbg to find out how the OS is recognizing your connectors, then you can insert a framebuffer if whatevergreen's version doesn't work, and use that info to patch.
For example this is what I did for Palena FB.
View attachment 516081
The con @ DBG info is the debug info from Whatevergreen, and the last line is the patch I inserted on my config.
It worked but as I explained in another thread, the problem with Palena is stability, after wake from sleep, I could get a screen freeze, and using the default, but only injecting the Palena parameters, I get 100% stability.
Edit: I kept the Palena connector 1 flags as they seem to be related to HDCP on the internal screen.
Also you may need Whatevergreen for other DRM and AGDP patches, so in my experience there's no real need to manually inject a FB.
You can also force Connector Info on Whatevergeen's FB using an SSDT
DEBUG
: WhateverGreen init: @ (DBG) WhateverGreen bootstrap DBG-149-2021-04-05
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableDrmdmaPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableGfxCGPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableUVDPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableVCEPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableDynamicGfxMGPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableGmcPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableAcpPowerGating
: WhateverGreen rad: @ (DBG) not enabling CAIL_DisableSAMUPowerGating
: WhateverGreen weg: @ (DBG) non-apple-fw proceeding with devprops 1
: WhateverGreen iokit: @ (DBG) getOSData device-id has 67E8 value
: WhateverGreen iokit: @ (DBG) getOSData revision-id has 0 value
: WhateverGreen iokit: @ (DBG) getOSData subsystem-vendor-id has 103C value
: WhateverGreen iokit: @ (DBG) getOSData subsystem-id has 810A value
: WhateverGreen weg: @ (DBG) found existing built-in
: WhateverGreen iokit: @ (DBG) getOSData applbkl was not found
: WhateverGreen weg: @ (DBG) detecting policy
: WhateverGreen weg: @ (DBG) board is Mac-A5C67F76ED83108C
: WhateverGreen shiki: @ (DBG) will autodetect autodetect GPU 0 whitelist 0
: WhateverGreen shiki: @ (DBG) pre-config: online 0, bgra 0, compat 0, whitelist 0, id 0, stream 0, hwdrm 0 swdrm 0
: WhateverGreen weg: @ (DBG) vinfo 1: 1080:1920 32:7680:1
: WhateverGreen weg: @ (DBG) vinfo 2: 67:240 7680:1:0
: WhateverGreen rad: @ (DBG) starting controller 0xFFFFFF80412AE2C8
: WhateverGreen rad: @ (DBG) GetProperty discovered property merge request for aty_properties
: WhateverGreen rad: @ (DBG) GetProperty discovered property merge request for aty_config
: WhateverGreen con: @ (DBG) 0 is type 00000002 (LVDS) flags 00000100 feat 0109 pri 0000 txmit 11 enc 02 hotplug 04 sense 04
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 got sense id 04
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 checking 2120 object id
: WhateverGreen rad: @ (DBG) autocorrectConnector use -raddvi to enable dvi autocorrection
: WhateverGreen con: @ (DBG) 0 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 21 enc 03 hotplug 03 sense 03
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 got sense id 03
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 checking 2220 object id
: WhateverGreen rad: @ (DBG) autocorrectConnector use -raddvi to enable dvi autocorrection
: WhateverGreen con: @ (DBG) 0 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 20 enc 01 hotplug 01 sense 01
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 got sense id 01
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 checking 221E object id
: WhateverGreen rad: @ (DBG) autocorrectConnector use -raddvi to enable dvi autocorrection
: WhateverGreen con: @ (DBG) 0 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 10 enc 00 hotplug 02 sense 02
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 got sense id 02
: WhateverGreen rad: @ (DBG) translateAtomConnectorInfoV1 checking 211E object id
: WhateverGreen rad: @ (DBG) autocorrectConnector use -raddvi to enable dvi autocorrection
: WhateverGreen rad: @ (DBG) setting fb limit to 4
: WhateverGreen rad: @ (DBG) getConnectorInfo leaving unchaged priority
: WhateverGreen rad: @ (DBG) getConnectorsInfo resulting 4 connectors follow
: WhateverGreen con: @ (DBG) 0 is type 00000002 (LVDS) flags 00000100 feat 0109 pri 0000 txmit 11 enc 02 hotplug 04 sense 04
: WhateverGreen con: @ (DBG) 1 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 21 enc 03 hotplug 03 sense 03
: WhateverGreen con: @ (DBG) 2 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 20 enc 01 hotplug 01 sense 01
: WhateverGreen con: @ (DBG) 3 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 10 enc 00 hotplug 02 sense 02
: WhateverGreen rad: @ (DBG) SetProperty caught model 15 (Radeon Polaris)
: WhateverGreen rad: @ (DBG) SetProperty missing model, fallback to Radeon Polaris
: WhateverGreen rad: @ (DBG) starting controller done 1 0xFFFFFF80412AE2C8
: WhateverGreen rad: @ (DBG) GetProperty discovered property merge request for cail_properties
: WhateverGreen weg: @ (DBG) fb info 1: -5:1 8192:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 8803819:1920:1080
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: 12288:1 0:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 8803819:0:0
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: 12288:1 0:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 8803819:0:0
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: 12288:1 0:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 8803819:0:0
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: -2147479552:1 8192:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 1057102592:1920:1080
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: -2147479552:1 8192:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 0:1920:1200
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: -2147479552:1 8192:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 3471507456:1920:1200
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: -2147479552:1 7680:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:8 --------RRRRRRRRGGGGGGGGBBBBBBBB 0:1920:1200
: WhateverGreen weg: @ (DBG) this display has different mode
: WhateverGreen weg: @ (DBG) fb info 1: -2147479552:2 7680:0:32
: WhateverGreen weg: @ (DBG) fb info 2: 3:10 --RRRRRRRRRRGGGGGGGGGGBBBBBBBBBB 0:1920:1200
: WhateverGreen weg: @ (DBG) this display has different mode
Berbice (5) @ 0x66cc0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000
Longavi (5) @ 0x66d40
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000
Palena (5) @ 0x66e80
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243300000001000020200000000
000400000001000000010313200000002103030300000000
000400000001000000010453500000001102040400000000
000400000001000000010533400000001204050500000000
Smells like we close to the final step of successThere's your connector info as "sensed"
WhateverGreen con: @ (DBG) 0 is type 00000002 (LVDS) flags 00000100 feat 0109 pri 0000 txmit 11 enc 02 hotplug 04 sense 04
WhateverGreen con: @ (DBG) 1 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 21 enc 03 hotplug 03 sense 03
WhateverGreen con: @ (DBG) 2 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 20 enc 01 hotplug 01 sense 01
WhateverGreen con: @ (DBG) 3 is type 00000400 (DP ) flags 00000304 feat 0100 pri 0000 txmit 10 enc 00 hotplug 02 sense 02
As for the HDCP flag, it may be hardcoded into the Palena FB, but the flag is this:
View attachment 516096
As you can see if I change the flag to 0901 (0109 reversed) as Whatevergreen detects, I loose HDCP, but if I keep the original 3905, then it's good.
Remove all injection flags from your config, don't inject any framebuffers, let Whatevergreen do it and see if you then need to adjust that.
Smells like we close to the final step of success
But your gpu are DisplayPort based
believe TB3 video out
That's what I meant, and that signal-wise you can plug into hdmi or DVI monitor through passive converter and it will work.One of DP is connected to thunderbolt controller and working in daisy chain mode.
I assume the EC takes care of switching the outputs somehow, but not exactly sure as they keep making the SSDT's more convoluted and harder to trace functions.Igpu and mxm vga lanes are simply connected to mux chips. So the ports switch is simply made by gpu power off or idle.