Contribute
Register

Adding/Using HiDPI custom resolutions

Status
Not open for further replies.
Sorry.

Here is my problem reporting file.

System: Dell XPS 9360 Clover 2.4k r4049
CPU: i5-7200u
Graphics: hd620 1920*1080

Problems:
- not sure if 1664x936 is a good idea... (probably should go with more typical 1600x900)
- plist is missing the 2x resolution (3328*1872)
- not sure the flags 00000001 00200000 are correct
- CPU PM not implemented
- 0x191b0000 for ig-platform-id may be more appropriate
- your kexts are not installed correctly (refer to post #2 of my Clover guide)
- ACPI has problems (try to disassemble your patchmatic output with 'iasl -da -dl *.aml' and you'll see)
 
Problems:
- not sure if 1664x936 is a good idea... (probably should go with more typical 1600x900)
- plist is missing the 2x resolution (3328*1872)
- not sure the flags 00000001 00200000 are correct
- CPU PM not implemented
- 0x191b0000 for ig-platform-id may be more appropriate
- your kexts are not installed correctly (refer to post #2 of my Clover guide)
- ACPI has problems (try to disassemble your patchmatic output with 'iasl -da -dl *.aml' and you'll see)

I'm not sure that i enable CPU PM or not.

When i disassemble the outpu of patchmatic, here is the error code but i don't know how to solve it.
Code:
External object resolution file      SSDT-10.aml
Input file SSDT-10.aml, Length 0xCDB (3291) bytes
ACPI: SSDT 0x0000000000000000 000CDB (v02 INTEL  xh_rvp07 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
ACPI Error: [_UPC] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS
I found the Method(_UPC .....) in the SSDT-2.dsl, but i don't know how to change it to let the error solved.
I attach the both ssdt*.aml .dsl in the report and compress it, named acpi.zip.

I try to fix all problems, except above, but same issue occur.

Thanks!
 

Attachments

  • report.zip
    2.4 MB · Views: 89
I'm not sure that i enable CPU PM or not.

When i disassemble the outpu of patchmatic, here is the error code but i don't know how to solve it.
Code:
External object resolution file      SSDT-10.aml
Input file SSDT-10.aml, Length 0xCDB (3291) bytes
ACPI: SSDT 0x0000000000000000 000CDB (v02 INTEL  xh_rvp07 00000000 INTL 20160422)
Pass 1 parse of [SSDT]
ACPI Error: [_UPC] Namespace lookup failure, AE_ALREADY_EXISTS (20161210/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20161210/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS
I found the Method(_UPC .....) in the SSDT-2.dsl, but i don't know how to change it to let the error solved.
I attach the both ssdt*.aml .dsl in the report and compress it, named acpi.zip.

I try to fix all problems, except above, but same issue occur.

Thanks!

ACPI/CPU PM/etc are all off-topic here.
Open a separate thread in the appropriate forum.
 
ACPI/CPU PM/etc are all off-topic here.
Open a separate thread in the appropriate forum.
OK!
I will reply these problems in ACPI/PM thread.
If ACPI and PM setting is correct, what problem causing this issue.
Thanks!
 
OK!
I will reply these problems in ACPI/PM thread.
If ACPI and PM setting is correct, what problem causing this issue.
Thanks!

You should open a new thread specific to your laptop.
 
I got some problem when i use the HiDPI resolution.
If the machine wake from sleep, screen will be garbled like the image.
wPHrHLZ.jpg


like post #286

And sometimes use trackpad to drag item will crash and reboot.
Is there any solution?
My OS version is 10.12.3.
Thanks!

Just FYI:. I was able to reproduce this problem on 10.12.4 on a Lenovo Yoga 710-11
(1080p 11" screen is pretty small, so this would be useful).

There is no problem when I use any non-HiDPI resolution, but using a HiDPI resolution, always a problem after display sleep or full sleep.

I suspect it is just a bug in the Skylake graphics drivers...

Note: Changing the resolution after the problem appears,... fixes the problem (in practice, a bit difficult to do). But maybe some sort of script invoked post-wake (sleepwatcher) could be a work around until the drivers are fixed. For now, I just use 1600x900 non-HiDPI.
 
I recently purchased LG 27UD68 a 4k monitor. It is connected to my laptop via DisplayPort, I am able to run it in the native resolution of 3840x2160 at 60hz using this patch https://github.com/Floris497/mac-pixel-clock-patch-V2. I have followed the instructions to create a Display Overrides file but I am not getting any HiDPI options. I am attaching all the required files and the output for problem reporting. I can see that display name has changed to the one from the overrides file so I know the file is getting loaded.

Code:
[chaits@Chaits-MBP]:~ $ kextstat|grep -y acpiplat
   13    2 0xffffff7f82fae000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
[chaits@Chaits-MBP]:~ $ kextstat|grep -y appleintelcpu
[chaits@Chaits-MBP]:~ $ kextstat|grep -y applelpc
[chaits@Chaits-MBP]:~ $ kextstat|grep -y applehda
  103    1 0xffffff7f82ed1000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <102 98 73 12 7 6 5 4 3 1>
  121    0 0xffffff7f8323e000 0xb5000    0xb5000    com.apple.driver.AppleHDA (999.1.1fc1) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <120 103 102 98 77 73 6 5 4 3 1>
[chaits@Chaits-MBP]:~ $

Code:
[chaits@Chaits-MBP]:~ $ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AirParrotDriver.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext aDummyHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 74C8E14D1A40134061C2E646BF48043E
[chaits@Chaits-MBP]:~ $
 

Attachments

  • HiDPI Issue.zip
    2.4 MB · Views: 88
I recently purchased LG 27UD68 a 4k monitor. It is connected to my laptop via DisplayPort, I am able to run it in the native resolution of 3840x2160 at 60hz using this patch https://github.com/Floris497/mac-pixel-clock-patch-V2. I have followed the instructions to create a Display Overrides file but I am not getting any HiDPI options. I am attaching all the required files and the output for problem reporting. I can see that display name has changed to the one from the overrides file so I know the file is getting loaded.

Code:
[chaits@Chaits-MBP]:~ $ kextstat|grep -y acpiplat
   13    2 0xffffff7f82fae000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
[chaits@Chaits-MBP]:~ $ kextstat|grep -y appleintelcpu
[chaits@Chaits-MBP]:~ $ kextstat|grep -y applelpc
[chaits@Chaits-MBP]:~ $ kextstat|grep -y applehda
  103    1 0xffffff7f82ed1000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <102 98 73 12 7 6 5 4 3 1>
  121    0 0xffffff7f8323e000 0xb5000    0xb5000    com.apple.driver.AppleHDA (999.1.1fc1) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <120 103 102 98 77 73 6 5 4 3 1>
[chaits@Chaits-MBP]:~ $

Code:
[chaits@Chaits-MBP]:~ $ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext HDAEnabler.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HDMI_Audio.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext file:///System/Library/Extensions/AirParrotDriver.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext aDummyHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 74C8E14D1A40134061C2E646BF48043E
[chaits@Chaits-MBP]:~ $

Did you forget to enable HiDPI?
You should also check the resolutions you added.
Check also with RDM (Retina Display Menu... it is open source on github).
Press Option when you select "scaled" too...
 
I followed your instructions and enabled HiDPI. I am using RDM and I dont see the HiDPI resolutions there either. I also checked the scaled resolutions. I have attached a screen shot in the original post.
What do you mean by
You should also check the resolutions you added.
 

Attachments

  • Screen Shot 2017-05-14 at 8.38.56 PM.png
    Screen Shot 2017-05-14 at 8.38.56 PM.png
    481.3 KB · Views: 196
Status
Not open for further replies.
Back
Top