Jump to content

Intel Framebuffer patching using WhateverGreen


headkaze
486 posts in this topic

Recommended Posts

8 hours ago, makk said:

@deeveedee

 

It is sort of confusing at first.  con0 don't use.

 

 

Thank you for your reply.  I have multiple hacks (desktops and laptops).  I use con0 to patch all of them. See my HackMini8,1 as an example.

 

DeviceProperties for HackMini8,1 (con0, con1, con2)

Spoiler

465664523_Screenshot2023-07-13at7_01_24AM.png.0a963bb2a63252e05dda35e12687bc7f.png

 

I still believe that WhateverGreen patches logical connectors beginning with con0 (e.g., a 3-connector framebuffer has con0, con1, con2).

Link to comment
Share on other sites

8 hours ago, deeveedee said:

 

Thank you for your reply.  I have multiple hacks (desktops and laptops).  I use con0 to patch all of them. See my HackMini8,1 as an example.

 

DeviceProperties for HackMini8,1 (con0, con1, con2)

  Hide contents

465664523_Screenshot2023-07-13at7_01_24AM.png.0a963bb2a63252e05dda35e12687bc7f.png

 

I still believe that WhateverGreen patches logical connectors beginning with con0 (e.g., a 3-connector framebuffer has con0, con1, con2).

 

@deeveedee

 

Yes it does.  For known ones.  Thus if a GPU is not in Apple Database then one has to find a compatible one and use the fake ones.

As for UHD 630 the only issue is really HDMI or DP to make use of all the HDMI outputs.

 

Con0, is not necessary to have in Device Properties. Unless as stated for those not in Apple Database.

WEG determines which patch to use for GPU.

 

So you did more work then necessary is the conclusion.

 

Binary has less lines in your Device Properties vs. XX amount you have showing.  More processing line by line.  Bits.

 

How many lines?

0011100111

001111110000111

00011111111111000110101

10101010101010100101011

10101010010010010100101

still going due to more lines to read.

 

Binary code:

 

10101010101010101010101010010101010101001010101

101010101001010101010101001010101001

 

Done.

 

Computers are not human brains.

 

Edited by makk
Link to comment
Share on other sites

31 minutes ago, makk said:

So you did more work then necessary is the conclusion

 

 

My HackMini8,1 does not work for me with DP->DVI graphics adapters unless I patch con0.  Here is part of my work (which took patient, brute-force trial and error to figure out).  At the time that I discovered the solution, there were no guides that explained patching UHD630 with DP->DVI adapters (all guides said that adapters were not supported).

 

Also, I don't like using the alldata binary patching format.  It's just my personal preference.  If your preference is to use alldata binary patches instead of individual con0, con1, con2 patches, that's fine with me.  My original question here asks why the Dortania example uses con1, con2, and con3 when I think they should be using con0, con1 and con2.

Edited by deeveedee
Link to comment
Share on other sites

  • 2 weeks later...
On 7/13/2023 at 1:03 PM, deeveedee said:
  Reveal hidden contents

465664523_Screenshot2023-07-13at7_01_24AM.png.0a963bb2a63252e05dda35e12687bc7f.png

 

I still believe that WhateverGreen patches logical connectors beginning with con0 (e.g., a 3-connector framebuffer has con0, con1, con2).

 

Well, to verify/falsify, you need to check the source code of whatevergreen. I guess it's in here somewhere: https://github.com/acidanthera/WhateverGreen/blob/master/WhateverGreen/kern_fb.hpp

Link to comment
Share on other sites

  • 3 months later...

I think this is the right place to post this 😉

 

When I go to System Preferences>Displays, the "Default for Display" set my monitor to 1920x1080. I have an LG 4K monitor that I have set to 2560x1440 (rather than 3840x2160 because it is too small!)

 

Why isn’t the default for this display at least 2K or even better 4K? Is there a setting I have missed? My only boot args are: keepsyms=1 debug=0x100 alcid=7. Below is my device property

 

            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AwCRPg==
                </data>
                <key>AAPL,slot-name</key>
                <string>Built In</string>
                <key>device_type</key>
                <string>Display controller</string>
                <key>model</key>
                <string>Intel UHD Graphics 630 (Desktop 9 Series)</string>
            </dict>

 

Is there something else I need? System details in signature.

 

Thanks!

Edited by pkdesign
Link to comment
Share on other sites

Thanks. I used your settings for iGPU in headless mode and it works just fine. I probably need some of those new settings that I didn't have anyway.

 

But my original issue (when I click on Default for Display in Preferences) the monitor still reverts back to 1920x1080. Shouldn't it deafutl to a 4K resolution?

 

Its just cosmetic and not a real issue. I'm just constantly tweaking!

 

ScreenShot2023-10-31at5_59_07PM.thumb.jpg.0669e95a0ca11c40435bcb2e9f7d60ba.jpg

  • Like 1
Link to comment
Share on other sites

@pkdesign

Mine is 28" 4k, when I change SMBIOS or in the first boot after macOS install or update, sometimes I get Full HD resolution, but changing it to 2560x1440 this value remains between boots. 
Try changing color profile to Display P3 and comment. 

Link to comment
Share on other sites

  • 1 month later...

I'm brand new to Hackintosh and am using a prebuilt EFI.   

 

I've got an HP 800 G1 and am trying to connect dual monitors to the 2 x onboard display port (i.e. iGPU only) in combination with Monterey.

 

When I have only a single monitor connected via displayport, everything works fine.  But as soon as I connect the second monitor, I get (at the EFI boot screen):

 

OCC: Failed to set mode 2 (prev 1) with 1920x1200 resolution
Halting on critical error

I was hoping someone might be able to step me through what I need to do to modify the existing EFI to get my setup working with dual monitors ?

 

Thanks in Advance

 

Patrick

 

HP_800_G1_075.zipHP_800_G1_075.zip

HPEFIScreen.png

HP_800_G1_075.zip

Link to comment
Share on other sites

2 hours ago, prynhart said:

I'm brand new to Hackintosh and am using a prebuilt EFI.   

 

I've got an HP 800 G1 and am trying to connect dual monitors to the 2 x onboard display port (i.e. iGPU only) in combination with Monterey.

 

When I have only a single monitor connected via displayport, everything works fine.  But as soon as I connect the second monitor, I get (at the EFI boot screen):

 

OCC: Failed to set mode 2 (prev 1) with 1920x1200 resolution
Halting on critical error

I was hoping someone might be able to step me through what I need to do to modify the existing EFI to get my setup working with dual monitors ?

 

Thanks in Advance

 

Patrick

 

HP_800_G1_075.zipHP_800_G1_075.zipUnavailable

HPEFIScreen.png

HP_800_G1_075.zip 7.59 MB · 1 download

https://github.com/1alessandro1/HP-Prodesk-600-G1-SFF-macOS use this repo as reference & update OC & Kext 

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...