kingo132 / a51m-r2-5700m-hackintosh

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

Would you help me do your 4K 120Hz fix for AMD 6900XT on 13.4.1? #17

Open TheBloke opened 1 year ago

TheBloke commented 1 year ago

Hi @kingo132

I found your Github via page https://github.com/kingo132/a51m-r2-5700m-hackintosh/blob/main/fix_navi10_4k_120hz.md

It's amazing how you have managed to patch Navi10 to allow 4K 120Hz.

Would you be willing to make the same patch for Navi21, for my AMD 6900XT GPU on Ventura 13.4? I'd be willing to pay for your time (Paypal, Bitcoin, etc).

I just bought an Asus PGU42Q monitor, OLED 4K 120Hz (or 138Hz). I was then really disappointed to find that it won't run at 4K 120Hz in my Hackintosh with AMD 6900XT. It works perfectly in Windows.

In fact I can get 4K 120HZ via HDMI, but then it's only 8bit 4:2:0 and no HDR. I don't mind 8bit, but 4:2:0 is really poor.

With Displayport I can get 4K 10bit 4:4:4 HDR, but only at 60Hz.

I'd be really grateful if you'd be willing to help.

Tom / TheBloke

kingo132 commented 1 year ago

Hi, TheBloke. You can try some configuration combos of the SwitchResX. Or ask some specific questions to see if other people can answer. However, I don't have time to help you to work out with it. I'm so sorry about this.

TechProgenitor commented 1 year ago

SwitchResX and/or patching is likely your best option, but I’ve been learning about something called Display Stream Compression that appears to put out higher quality over the same connector:

https://www.reddit.com/r/macgaming/comments/qg32rz/4k_144hz_is_working_this_is_huge_it_means_that/ https://www.reddit.com/r/Monitors/comments/x2l92z/does_macbook_pro_16_2019_amd_5300m_support_4k_120/ https://www.reddit.com/r/hackintosh/comments/l34y48/even_on_real_macs_you_cant_get_4k_at_144hz_since/

It might help improve your DisplayPort refresh rate, and it might make a 4K EDP display work at 120HZ without patching. Meanwhile for Kingo’s display specifically, I’m curious if also enabling PSR will fix a contrast issue with the miniLED panel specifically? It creates glitches within the stock 1080p panel, but might be required by the miniLED.

Device Properties to try for the AMD GPU: CFG_NO_DSC -> False CFG_FORCE_DSC -> True CFG_USE_PSR -> True

If this doesn't work the only additional advice that I can offer is to go into your Windows installation and export the registry keys for the AMD GPU. Then in macOS compare the keys with the available properties within the Navi framebuffer in order to determine any correlations.

Here's some CFG-related properties that I found with Ida Pro that you can try if the ones above don't work: AMD Radeon Framebuffer Device Properties.zip (There's some PP and DAL ones too which I can send if you want to try them.)

That’s all I can really think of… I’ve been meaning to post this type of information onto the forum for a while.