dortania / bugtracker

Dortania Bugtracker
110 stars 7 forks source link

Documentation/explaination for HD3000 ReservedMemory patch? #234

Open a-hurst opened 3 years ago

a-hurst commented 3 years ago

Hi there,

I've been getting things ready to install High Sierra using OpenCore on my ThinkPad X220, and noticed the following section in the Laptop Sandy Bridge page of the Dortania OpenCore guide:

ReservedMemory

Used for exempting certain memory regions from OSes to use, mainly relevant for Sandy Bridge iGPUs or systems with faulty memory. Use of this quirk is not covered in this guide

Looking at the OpenCore 0.7.3 sample.plist, I found the following section which was added in a commit by @vit9696:

        <key>ReservedMemory</key>
        <array>
            <dict>
                <key>Address</key>
                <integer>268435456</integer>
                <key>Comment</key>
                <string>HD3000: IGPU memory corruption errata</string>
                <key>Enabled</key>
                <false/>
                <key>Size</key>
                <integer>268435456</integer>
                <key>Type</key>
                <string>Reserved</string>
            </dict>

I've read a lot about the occasional freezing and glitch issues with the HD3000 on 10.13, and until now I'd never heard anyone figure out a concrete fix. If a user enables the above patch, is that supposed to fix those issues? If so, are the address and size values supposed to be customized base on the amount of RAM the user has installed?

If the above patch is indeed supposed to solve those issues, it would be great to have a short explanation and a recommendation to enable the patch in the Sandy Bridge guides. If it fixes some unrelated issue, it might be good to specify so future users don't get confused.

Thanks in advance, and thanks for all your hard work helping macOS run smoothly on non-Apple hardware!