Jump to content

[HELP] Dual monitor not working on Optiplex 7040 Intel HD530 with Big Sur


baconeveryday
 Share

19 posts in this topic

Recommended Posts

Installed and running Big Sur but only able to get 1 DP output.  Having been trying different boot options and settings but unsuccessful.

 

Hoping to get any ideas on this and what I'm missing.  I've read countless threads and probably tired them just out of desperation.  Any help would be much appreciated.

 

thanks!

 

I'm guessing it could be DVMT-prealloc but i've done the framebuffer and that didn't help.

I've tried setting DVMT on a Dell desktop under Clover before on catalina but still only single monitor.  However, couldn't find a good way to very it set to 64MB or 128MB.

https://github.com/optiplex-osx/Dell-OptiPlex-7040-Clover-EFI

 

GPU acceleration is working.  

Applied the kernel patches as shown in screen shot.  

 

I have tired the usual but no effect so removed the framebuffer settings.

PciRoot(0x0)/Pci(0x2,0x0)

AAPL,ig-platform-id 00001219

framebuffer-fbmem 00009000

framebuffer-patch-enable 01000000

framebuffer-stolenmem 00003001

 

Current boot args (yes duplicating AGDP disablement) but why not :)

agdpmod=ignore igfxonln=1 agdpmod=pikera

 

Desktop System is Dell Optiplex 7040

i7-6700 Skylake 6th gen.

Intel HD530 iGPU

OC 0.6.3 using Whatevergreen.kext 1.4.4.  config.plist is pretty standard following Skylake recommedation. 

https://dortania.github.io/OpenCore-Install-Guide/config.plist/skylake.html#starting-point

 

 

 

Screen Shot 2020-11-20 at 1.56.20 AM.png

Screen Shot 2020-11-20 at 1.57.44 AM.png

Link to comment
Share on other sites

Thanks for the comments.  I agree I would not need the conX [busid,Index].  I went ahead to be certain.  I did have to correct the type from HDMI to DP on con2.

For completeness, SMBios is set to iMac17,1

 

The motherboard has 2 DP ports and 1 HDMI.  I just want to use 2 displays, 2 DP or 1 DP and 1 HDMI.  Either combination doesn't matter.

 

IOReg shows only 2 DP.  My only guess why IOReg only shows 2 display is that my Framebuffer Port Limit is 2 currently according to Hackintool->Patch->Patch->Advanced.  Is this a correct assumption?

Oddly enough Hackintool shows 3 connectors.  So I could try to inject BusID6.  Is there significance why BusID 4 and 6 have the same Pipe 10?

 

Would appreciate and suggestions on how to match the outputs.  I will search around and see what I cant find.

 

thanks.

 

 

Screen Shot 2020-11-20 at 11.16.22 PM.png

Screen Shot 2020-11-20 at 11.37.53 PM.png

Screen Shot 2020-11-20 at 11.46.32 PM.png

Screen Shot 2020-11-20 at 11.49.24 PM.png

Link to comment
Share on other sites

Hi @Hervé

 

Thanks for your continued help.  And yes I noticed the SKL is mobile and so milage may very.

  1. change the connector type of DP output #1 to HDMI -> tried...no go
  2. change the pipe of DP output #1 to 0x10 -> tried no go
  3. change the Index and Bus id of DP output #1 to 0306 (since you get video out of DP #2) -> tried no go
  4. mix 2 & 3 -> tried no go
  5. change port count to 4 and add a 4th DP or HDMI connector with Index/Bus id 0306
    1. How do you change the port count?
    2. Or is it just a matter of injecting another conX?  If so, I've tried it and no go also.
  6. replace the dummy connector by a 3rd DP or HDMI connector

How reliable is Hackintool if WEG is the release version?  Hackintosh says my current working DP is port 6 but port 2 is the correct seeing.  If I change index 2 to port 6, just no signal.

 

Let me know if you want to see any IOreq or hackintosh screen shots or logs.

 

thanks.

 

Edited by baconeveryday
Link to comment
Share on other sites

Maybe I don't understand port 6 is the same as connection 0204?  I thought if you have something like this 02040A00 00040000 87010000, 02 = Port, 04 = busId, 0A = pipe, etc...

 

Okay...tried increasing port count and injected con3:

1795411161_ScreenShot2020-11-21at5_43_54PM.png.db2b22fb6ee17b53e10687c2701c8b69.png

 

No go still.  I'll try switch con3 to HDMI.

 

IOReg still shows only 3 connectors

1996132362_ScreenShot2020-11-21at5_45_33PM.thumb.png.b420564aa4f1f720ef71d79fae2776c8.png

 

I also went back and added pipecount even though its not in the screenshot.  still no difference in number of connectors.

 

However, if you look at IOReg -> framebuffer-portcount, it is special characters.  Makes me wonder is that a valid injection?

 

thanks.

Edited by baconeveryday
Link to comment
Share on other sites

Right..I think I was confused with the definition of the term port.

 

Looking at IOReg for my Optiplex 7040, this is what is assigned

AppleIntelFramebuffer@0 port-number is 0x0

AppleIntelFramebuffer@1 port-number is 0x5

AppleIntelFramebuffer@2 port-number is 0x6

 

Therefore, similar to your example, this is the same as how I am injecting framebuffer 

  • con0 (FB@0) is Port 0
  • con1 (FB@1) is port 5 (i.e. connector 0105... in the platform layout definition)
  • con2 (FB@2) is Port 6 (i.e. connector 0204... in the platform layout definition) <- is my primary boot display (working one)
  • Adding con3 as HDMI pipe 8 and pipe 10.

197737401_ScreenShot2020-11-21at10_34_08PM.png.57b14bd33479b07af5da309d4087be93.png

 

But also in IOReg, there is unknown characters.  See blue highlight.  And also FB@3 is not created or visible in IOReg.

 

thanks.

 

1108698428_ScreenShot2020-11-21at10_35_44PM.thumb.png.3965180236e377714ae17373231a7a32.png

 

Link to comment
Share on other sites

Hi @Hervé

 

I apologize if it seem I wasn't trying to follow your changes.  I was and I was trying different combinations.  

 

As mentioned in the early post, I continue to inject con2 because the default is HDMI where it should be DP.  The interesting thing, and i'm not sure why, with or w/o con2 injection, the primary display is always DP and it works.  This display has to be connected at boot up.

 

So I tried your EXACT suggestion...I still only get 1 display.

 

1190114613_ScreenShot2020-11-24at11_47_38PM.png.27b3f12860f66216bf5dd251e068b6f3.png

 

 

I'm willing to try any other suggestions.  

 

thanks again.

Link to comment
Share on other sites

Hi @Hervé

 

I'm game!  

Thanks for getting back on this!

 

Unfortunately I'm still unable to get it to work on Big Sur.

 

I've tried the following combinations with 2 monitors connected at all times.  1 DP connected (primary and always working on con2), 1 DP and 1 HDMI both connected to 2nd monitor (I switch between DP and HDMI inputs to see if they work at all)

  Injection agdpmod=pikera agdpmod=vit9696 Kernel->patch agdp (#7 in config.plist)
1 x x   Disabled
2 x x   Enabled
3 x   x Disabled
4 x   x Enabled
5 w/ device-id x   Enabled
6 w/ device-id x   Disabled

 

Note, I've applied the following Kernel patches in the config.plist (see uploaded file)

 

Attaching the config.plist.  Maybe I'm missing something.  I've removed my serial number and the system UUID. I've used the latest kexts (2wks ago) w/ OC 0.6.3.  Ran SSDTTime on the 7040 to get the settings.  

Let me know if you need me to upload the EFI folder.

 

Thanks. 

 

Also if your friend can attach his/her config.plist, I can take a look.  Thanks again.

 

config.plist

Edited by baconeveryday
Link to comment
Share on other sites

@Hervé

 

You did it!  2 DP.  Thank you very much.  HDMI still doesn't work but I'm find with 2 displays.

 

I used the mod config.plist you sent to me.  I see you removed the kernel patches.  Was that all that changed?

 

I would not have figured this recipe out nor seen it in other posts.  The mem, pipe, port still don't quite make sense to me.  I'll look into it further.

 

I did have to make a change by removing the stolenmem and fbmem.  For whatever reason, when I included these two injections, my resolution is limited to 2K.  If I remove them, I get 4K.

 

1037630862_ScreenShot2020-11-28at2_52_41AM.thumb.png.9073b3d8b287108e71702332dd95c7fb.png

 

Edited by baconeveryday
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...