Contribute
Register

[Guide] Lenovo Y50 (UHD or 1080p) using Clover UEFI (10.11)

Status
Not open for further replies.
Hello, RehabMan. I recently did a fresh install of macOS Sierra, thanks for compiling all the ACPI tables and configs and kexts into a single project, it really expedited the process. Everything works perfectly. Just one thing though, when I connect an external 4k monitor (LG 24UD58-B), the highest I can go is 1440p60. In theory, it should be able to hit 2160p30, a limitation of HDMI 1.4. Is there any way to fix this? On linux, I used Xrandr to set custom resolutions and V/H ref. rate.

Thanks.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.

Make sure to gather the files with the monitor connected.
 
Of course, I do apologise, it has been a while. I have attached the zip file created by the tool.
 

Attachments

  • debug_15950.zip
    2.1 MB · Views: 157
I have attached the file. Appreciate the quick replies.
 

Attachments

  • Y50_ioreg_260118.ioreg
    4.1 MB · Views: 204
I have attached the file. Appreciate the quick replies.

This patch: "HDMI-audio, port 0105(12), 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a"

..

is not working.
It should change connector-type for framebuffer@1 from <00 04 00 00> to <00 08 00 00>.
But you can see in ioreg the connector-type is unchanged.

Maybe something is corrupt with your graphics kexts?
You should check the kext binary for the Find pattern in that patch.
Or just do a fresh install (or even a "refresh install") to insure your kexts are not patched/tampered with.
 
OK thanks. I'll edit the kext as reinstalling did mostly nothing, I must have messed up somewhere.
 
OK thanks. I'll edit the kext as reinstalling did mostly nothing, I must have messed up somewhere.

No need to do any edits to the kext directly.
You should check to see if the Find pattern exists in your copy of the kext (as I suggested).
 
The pattern does exist in the kext, I found this block repeated in several sections (used Hex Fiend):
01050900 00040000 87000000 (or 07010000)
As I understand it, the modified block should look like:
01050900 00080000 87000000 (or 07010000)
In which case the patch in /EFI/EFI/Clover/config.plist should work correctly:
<string>HDMI-audio, port 0105(12), 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<false/>
<key>Name</key>
<string>com.apple.driver.AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AQUJAAAEAACHAAAA</data>
<key>Replace</key>
<data>AQUSAAAIAACHAAAA</data>
Just to be sure, I backed up the kext and modified the binary, which did change the connector type in IOreg to 00080000, but resulted in kernel panic when I plugged in a display into the HDMI port. Restoring the kext fixed the KP, but resulted in the same 1440p 60Hz limit.
 

Attachments

  • Screen Shot 2018-01-29 at 09.41.19.png
    Screen Shot 2018-01-29 at 09.41.19.png
    144.1 KB · Views: 243
The pattern does exist in the kext, I found this block repeated in several sections (used Hex Fiend):
01050900 00040000 87000000 (or 07010000)
As I understand it, the modified block should look like:
01050900 00080000 87000000 (or 07010000)
In which case the patch in /EFI/EFI/Clover/config.plist should work correctly:
<string>HDMI-audio, port 0105(12), 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<false/>
<key>Name</key>
<string>com.apple.driver.AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AQUJAAAEAACHAAAA</data>
<key>Replace</key>
<data>AQUSAAAIAACHAAAA</data>
Just to be sure, I backed up the kext and modified the binary, which did change the connector type in IOreg to 00080000, but resulted in kernel panic when I plugged in a display into the HDMI port. Restoring the kext fixed the KP, but resulted in the same 1440p 60Hz limit.

Try replacing with: 01051200 00080000 87000000

You can debug your Clover kext patching with config.plist/KernelAndKextPatches/Debug=true.
 
That is strange. Even after manually editing the kext, (replaced 01050900 00040000 87000000 to 01051200 00080000 87000000) and (01050900 00040000 07010000 to 01051200 00080000 07010000), now there is no kernel panic, but the connector type under framebuffer@1 remains unchanged at 00040000. I remembered to update the kext cache, in any case, I also tried ignoring the kext cache at boot (-f).
 

Attachments

  • AppleIntelFramebufferAzul.kext.zip
    619.4 KB · Views: 128
  • Y50_ioreg_300118.ioreg
    4.1 MB · Views: 177
Status
Not open for further replies.
Back
Top