kingo132 / a51m-r2-5700m-hackintosh

Hackintosh for alienware a51m r2 with 5700m gpu
28 stars 2 forks source link

120hz Patch #12

Open MysticalOS opened 1 year ago

MysticalOS commented 1 year ago

Sorry to open issue unrelated specifically to this hack, but you're only one that's made any progress getting 4k/120 working in AMD driver, and i'm struggling with same. I have Display Port 1.4 bandwidth,but macOS is dumb and is hard locking 4k/60 no matter what. I suspect do to what you found in https://github.com/kingo132/a51m-r2-5700m-hackintosh/blob/main/fix_navi10_4k_120hz.md

I tried downloading your config files to see WHERE you made changes and could not figure it out. did you custom edit and compile whatever green? was it a property injection in opencore config? combination of two? I've already tried your WEG kext to no avail so I'm missing something. I have an AMD 6900XT using DisplayPort 1.4 connector to a 1.4 supporting screen. In windows it does 4k at 160hz without problem (and 144 and 120). why does macOS only show 50 and 60hz options.

I just need to know how your patching method works so I can try to apply it here.

kingo132 commented 1 year ago

Hi, first of all, you can try SwitchResX. No need to code, just some parameters adjustment. Follow my example here: https://github.com/kingo132/a51m-r2-5700m-hackintosh/issues/4#issuecomment-1173961093. However, these parameters are hard to guess, you can google a bit to find if other people have a similar display as you and also using SwitchResX. Otherwise, you may need to try some luck to test some combos of the parameters. If that doesn't work, maybe you can follow that link to fork the code of WEG and then hook some of the functions of the AMD driver in Mac OS: https://github.com/kingo132/a51m-r2-5700m-hackintosh/blob/main/fix_navi10_4k_120hz.md. However, Apple has removed all the compiled symbols in the AMD driver binary kext file in Monterey or higher. So the situation is complicated. You need to test the code using Big Sur, then try to find the similar code using binary search in AMD driver binary kext in Montery or Ventura, then add some customized code other than what is presented in WEG to hook functions directly by address. If you are interested in doing this tedious and complex job, I will upload my WEG code later in my forked WEG repository. Finally, I suppose it has nothing to do with the config file of OpenCore.