npci=2000 vs above 4g decoding enabled - stuck at boot - Dual boot win11/macOS

madvinegar

Donator
Donator
AMD OS X Member
Joined
Jun 2, 2020
Messages
105
Hello my friends. I would kindly ask for your assistance/advice on the below.

I have a dual boot system. Win11 and macOS Monterey. You can see the specs in my signature.

I recently upgraded my CPU to Ryzen 5 5600x.
The reason I did this was because I wanted to enable the AMD smart Access Memory, a setting which can only be enabled if you have a 6000 series GPU and 5000 series CPU.

In order to enable this, according to the AMD instructions, I had to enter bios and under Advanced Settings to enable "above 4g decoding" and "resize bar support". (fyi these settings were greyed out until I disabled CSM (Compatibility Support Module)).

I did this and indeed the Smart access memory was enabled in win11 and in AMD driver settings.

The problem is that now it does not boot into macOS. It gets stuck at the loading bar. The loading bar does not even start to fill up.

In my boot args I had inserted the npci=2000 argument. I thought that by deleting it, it would boot to macOS since I have enabled "above 4g decoding". I deleted it and still it does not boot.

The only way to boot into macOS is to re-insert the npci=2000 boot argument and disable the "above 4g decoding".

Any thoughts on this?
I would like to have the Smart Access Memory enabled in win11, and still boot in macOS.

Many thanks for your kind assistance.
 
Last edited:

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,181
Check your config for these settings,

Booter -> Quirks -> ResizeAppleGpuBars = 0
UEFI -> Quirks -> ResizeGpuBars = -1
 

madvinegar

Donator
Donator
AMD OS X Member
Joined
Jun 2, 2020
Messages
105
Many thanks Shaneee! You are perfectly right.

I was experimenting before I have seen your post.
In the beginning I set to 0 both Quirks, and whilst I could boot into macOS, I had a black screen at win11.:D

I then came across this topic: https://www.tonymacx86.com/threads/how-to-opencore-0-7-4-0-7-5-differences.316791/

So I set to 0 only the Booter - ResizeAppleGpuBars - quirk (left the other UEFI ResizeGpuBars quirk at -1). And now all is working as it should in both win11 and Monterey.

(Also I deleted the npci=2000 boot arg since the above 4g decoding is enabled in bios).

Again, many thanks!!
 

Attachments

  • montereysmart.png
    montereysmart.png
    83.4 KB · Views: 8
  • Στιγμιότυπο 2022-07-27, 1.14.17 μμ.png
    Στιγμιότυπο 2022-07-27, 1.14.17 μμ.png
    996.7 KB · Views: 9
  • smartWin11.png
    smartWin11.png
    218.3 KB · Views: 8
  • 20220727_131710.jpg
    20220727_131710.jpg
    1.8 MB · Views: 7
Last edited:
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.