shammu2bd / Asus-X540LJ-Hackintosh-OpenCore

Asus X540LJ Hackintosh working OpenCore EFI with macOS Big Sur
13 stars 4 forks source link

Display flickering issue on X540LA #3

Closed maranix closed 1 year ago

maranix commented 2 years ago

Hi, the display is constantly flickering on ASUS X540LA with identical configuration as yours.

CPU: i3 5005u iGPU: intel HD 5500. macOS: BigSur (also tried to boot Monterey but it didn't even boot into installer screen)

Any ideas on what to do? I've tried editing the DeviceInfo and matching the device-id and etc. Also tried updating the WhateverGreen kext but that didn't boot either.

maranix commented 2 years ago

After hours of smashing head and frustration, I was able to solve it by using WhateverGreen-1.6.1-DEBUG kext and following BIOS settings.

Reset BIOS to default settings then change these options only. DVMT -> 64MB Launch CSM -> Disabled

maranix commented 2 years ago

Unfortunately, the flickering remains in Monterey even after using the above settings. Not sure what is happening here.

shammu2bd commented 2 years ago

You don't need to change WhateverGreen.kext. Use my one that is included in my github. DVMT should work by default bios settings. But, I will update latest EFI soon. And give me some time. Today I will update latest OC version.

shammu2bd commented 2 years ago

macOS 12 Monterey only works if built-in WIFI kext is disabled. If you really want to use macOS 12 then you have to use additional WIFI adapter and turn off build-in WIFI kext.

shammu2bd commented 2 years ago

Show me the video of display flickering pattern and also the about section of macOS.

maranix commented 2 years ago

Haven't installed Monterey because the display flickers right on installer screen. BigSur works properly though.

Should I install Monterey and give you the details that you asked for?

Edit: Installing Monterey right now.

maranix commented 2 years ago

macOS 12 Monterey only works if built-in WIFI kext is disabled. If you really want to use macOS 12 then you have to use additional WIFI adapter and turn off build-in WIFI kext.

I don't really care about WiFi as long as the OS and Ethernet works. I need to use this machine temporarily for development purpose only.

shammu2bd commented 2 years ago

Before installing macOS 12 disable these three kexts in EFI (AirPortAtheros40.kext, HS80211Family.kext, WifiLocFix.kext). Let me know if it works.

maranix commented 2 years ago

Before installing macOS 12 disable these three kexts in EFI (AirPortAtheros40.kext, HS80211Family.kext, WifiLocFix.kext). Let me know if it works.

Sure, I'm trying to install Monterey right now.

BTW did you face any issues related to Audio on BigSur?

Everything works great except for when i connect my TV or Monitor over HDMI, I only get video and no audio. In sound and output devices it does not recognise the TV or Monitor speakers.

CSM is disabled though.

shammu2bd commented 2 years ago

Didn't face any issue in audio. But not sure about secondary device HDMI audio. Tonight I will check it.

maranix commented 2 years ago

@shammu2bd Nevermind that flickering was related to my laptop display. Manually lowering and cranking the brightness fixes it and doesn't happen again. Only have to bear it until the installation process.

BTW on a completely different topic, Got Ventura booted up and Hardware Acceleration is working as well. PXL_20221127_172519634.jpg

maranix commented 2 years ago

Got everything working for my usage.

Working:

Not working:

shammu2bd commented 2 years ago

Bluetooth and WIFI both devices come with the same chip of Qualcomm Atheros. That's why both are not working. I have already mentioned in github that all FN keys not works.

shammu2bd commented 2 years ago

Is your HDMI Audio working? Mine is not working. Even 4K resolution not supporting. I will patch my EFI later.

maranix commented 2 years ago

Is your HDMI Audio working? Mine is not working. Even 4K resolution not supporting. I will patch my EFI later.

Yes i got it to work by patching with Hackintool. There was a thread on insanelymac which explained how to patch it. I'll link it if i find it again.

Edit: It was on tonymac sorry.

Here's a link to the thread https://www.tonymacx86.com/threads/hdmi-audio-igpu-opencore-easy-solution.308459/

rednexx46 commented 1 year ago

@shammu2bd Nevermind that flickering was related to my laptop display. Manually lowering and cranking the brightness fixes it and doesn't happen again. Only have to bear it until the installation process.

BTW on a completely different topic, Got Ventura booted up and Hardware Acceleration is working as well. PXL_20221127_172519634.jpg

what product name did you use, to work?

maranix commented 1 year ago

Support for MacBookPro 12,1 was dropped in Ventura so I used iMac19,1 for initial booting and setup then later on changed back to MacBookPro 12,1 and added amfi workaround and lowered sip level.

maranix commented 1 year ago

I am closing this issue as my initial problem about display was fixed.

Here's the link to my repository if you need it for reference. https://github.com/ramanverma2k/X540LA-Hackintosh