daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.61k stars 472 forks source link

[sonoma|OC|v1.8.1|TM1701] Random screen flicker and static even with DVMT at 64mb, config.plist patch applied and EDID injected #754

Open bamdadkhan opened 8 months ago

bamdadkhan commented 8 months ago

Pre-requirement

State the model

State the version of the EFI

Describe the bug

No idea whether it's my fault, so a few pointers in the right direction are appreciated too.

System log

Screenshots

Attach your entire EFI folder

Attach system.log

stevezhengshiqi commented 4 months ago

What resolution you are using? Also, did you enable HiDPI?

bamdadkhan commented 4 months ago

i'm using 1440x810 and yes, HiDPI is enabled, however, the flicker seems to be random and is present with all resolutions i've tested..

stevezhengshiqi commented 4 months ago

i'm using 1440x810 and yes, HiDPI is enabled.

1440x810 is too much for Mojave+, it's better to use 1424x802 as mentioned in https://github.com/daliansky/XiaoMi-Pro-Hackintosh?tab=readme-ov-file#improvements

stevezhengshiqi commented 4 months ago

1424x802 is a magic resolution that we conducted mulitple trials. It is a little bit less than 1440x810, and we intentionally avoid perfect 16:9 as it would otherwise flickers.

bamdadkhan commented 4 months ago

i'm not getting that one:

Screenshot 2024-05-23 at 1 32 38 AM

am i selecting the wrong options in the HiDPI script?

Menchen commented 4 months ago

Rerun the script and follow instruction from https://github.com/xzhih/one-key-hidpi and change the resolution in system settings. I think that app overwrites EDID information, thus making the hidpi script useless.

bamdadkhan commented 4 months ago

done. first when i switched to it there was some flicker but now it seems fine. i'll test for a day or two and report back. thanks.

bamdadkhan commented 4 months ago

well it didn't really work. the flicker is kind of reduced and comes up less often but it's still there, especially after sleep or DPMS off.

stevezhengshiqi commented 4 months ago

I would recommend to comment out AAPL00,override-no-connect to undo the EDID injection and then give it a try. If flicker still happens, consider disabling HiDPI. High version macOS uses Metal V2+ that does not cooperate with our Intel GPU well.