Giter Club home page Giter Club logo

xps-9500-icelake-opencore's Introduction

Dell XPS 9500 macOS with OpenCore

hackintosh

Details

OpenCore Version 1.0.1
macOS Version 13.6.9 (Ventura)
SMBios MacBookAir9,1

Hardware Specifications

Hardware Specification Status
CPU Intel Core i9-10885H ✅ Working
RAM DDR4 32GB ✅ Working
Audio Realtek ALC3281 ✅ Working
WiFi Killer 1675 (AX201) ✅ Working
Bluetooth AX201 Wi-Fi 5 ✅ Working
SSD Crucial P3 2TB ✅ Working
Keyboard - ✅ Working
Trackpad I2C Connection ✅ Working
Webcam Microdia RGB IR HD camera ✅ Working
MicroSD Card RTS5260 Card Reader ✅ Working
Fingerprint Sensor Shenzen Goodix ❌ Not Working
S4 SLeep Hibernate/Wake ✅ Working
GPU Intel HD630 Graphics ✅ Working
eGPU AMD Sapphire Radeon RX6950XT ✅ Working
Display 1920 x 1200 FHD LCD ✅ Working

Overview

This is the first working configuration for the Dell XPS 9500 with working S4 hibernate/resume. S3 seems to be elusive (for now) but S4 works seamlessly and honestly it's a much more practical option as the machine shuts down and then resumes seamlessly on power on.

BIOS Settings

Setting Option
SATA Operation AHCI
Fast Boot Thorough
Secure Boot Disabled
TMP 2.0 Security Disabled
Intel SGX Disabled
VT for Direct I/O Disabled
Fingerprint Reader Disabled

S4 Sleep

Despite Dell's attempts to sabotage S3 sleep, I've managed to get S4 sleep (hibernatemode 25) on macOS, uusing a combination of IFR edits and ACPI table changes. The first step is to change the following variables from the UEFI interface using modGRUBshell:

setup_var PchSetup 0x16 0x00 # Disable RTC Memory Lock
setup_var CpuSetup 0x3E 0x00 # Disable CFG Lock
setup_var CpuSetup 0xDA 0x00 # Disable Overclocking Lock
setup_var SaSetup  0xF5 0x02 # DVMT Pre-allocated = 64MB
setup_var SaSetup  0xF6 0x03 # Total DVMT = MAX

In macOS (Monterey, Ventura, Sonoma) open a terminal and set the following:

sudo pmset -a hibernatemode 25
sudo pmset -a standby 1
sudo pmset -a powernap 1
sudo pmset -a sleep 1
sudo pmset -a standbydelaylow 1
sudo pmset -a standbydelayhigh 1
sudo pmset -a womp 0
sudo pmset -a proximitywake 0

finalise_config.sh

This bash script can be run to setup the Platform info like serial, model etc in an automated matter. It will update the config.plist in EFI/OC/ and makes a copy ( will be overwritten next run).

The config.plist has a construct with min and maxkernel to support Sonoma and the script detects the OS version to modify certain parameters and sets OpenCore to boot graphically.

The script relies on the current config.plist and may not work as expected on other versions of the file or on other OS versions.

Known Issues

None as far as I know.

Experimental settings for faster performance and better power saving

The following UEFI IFR settings have worked very well on my i9 and given me even better performance AND power savings. However YMMV and you may soft-brick your machine (and might need to RTC reset your laptop). Use with caution!

setup_var Setup 0x14  	  0x00      # Disable ACPI Debug
setup_var Setup 0x38  	  0x01      # Enable Sensor Standby
setup_var Setup 0x44  	  0x01      # Enable MSI
setup_var Setup 0x428 	  0x02      # USB Port 1 RTD3 Support: Super Speed
setup_var Setup 0x429 	  0x02      # USB Port 2 RTD3 Support: Super Speed
setup_var SaSetup 0x130   0x00      # Disable ECC DRAM Support (if Precision doesnt have ECC DRAM)
setup_var SaSetup 0x123   0x03      # DMI ASPM: L0sL1

setup_var Setup 0x4CD     0x01      # Enable Tbt Dynamic AC/DC L1
setup_var Setup 0x4B5     0x03      # Enable ASPM: L0sL1
setup_var Setup 0x4CB     0x03      # TBT Enable ASPM: L1.1 & L1.2

setup_var PchSetup 0x586  0x00      # Disable Intel WoV DSP Firmware

setup_var PchSetup 0x04   0x03      # Deep Sx Power policy: S4-S5/Battery
setup_var PchSetup 0x10   0x01      # Allow CLKRUN# logic to stop the PCI clocks

setup_var CpuSetup 0x24D  0x01      # Enable Dual Tau Boost
setup_var CpuSetup 0x1B7  0x01      # Enable OverClocking Feature
setup_var CpuSetup 0x2AC  0x01 	    # Enable Intel Speed Optimizer (ISO)
setup_var CpuSetup 0x46   0x08      # Package C State Limit: C10
setup_var CpuSetup 0x3B   0x00      # Disable Package C-State Demotion 
setup_var CpuSetup 0x3C   0x01      # Enable Package C-State Un-Demotion

xps-9500-icelake-opencore's People

Contributors

jkbuha avatar vgerris avatar

Stargazers

무직노조 avatar Kris avatar  avatar Cameron Smith avatar antx avatar HackSmith avatar Emilio P Egido avatar  avatar  avatar Gianmarco Rengucci avatar Kyle Cooley avatar Berry avatar Wenhui Wu avatar  avatar N1nja avatar Kristof Buts avatar Stefano Scalfari avatar  avatar Yongseok Park avatar

Watchers

 avatar Kevin Cao avatar

xps-9500-icelake-opencore's Issues

No XHC USB devices detected - no bluetooth

Hi!,

First - thanks for sharing your EFI !

I have problem with USB/TB3 config, and thus - no bluetooth.

My laptop is Dell Precision 5550, i7-10875H.
Looking into IoReg seems that my rig is using slightly different ACPI paths for TitanRidge USB controller.
When I'm trying to do my own USBMap.kext, I can't see anything connected to XHC. Only two left USB-C ports is working. Right usb-c port is working only as power delivery (PD), nothing else detected.

Can you point me - how to create my own USBMap ?
(I got no USBInjectAll nor others usb-related kexts).

Thanks for any help.

Trackpad only works after waking from sleep

I am using your trackpad solution on my XPS 9300 and for some reason it only works only once I put the laptop to sleep. On a cold boot, the trackpad doesn't work, only very few times has it worked, such as when I switched to Opencore Debug, it worked since boot. however shutting down and loading again, same issue is apparent.

I face the same issue of trackpad in polling mode without your SSDT-TPXX.aml. Is there any other SSDTs or patches for this fix which I am missing? I have attached my log for reference although I cant see anything going wrong.

opencore-2024-04-10-021053.txt

CPU Turbo Issue

Hello jkbuha, I have discovered an issue regarding the maximum frequency of the CPU。
I found through testing that although the maximum frequency requirement is 4.5G,
but the CPU core frequency can only reach 3.5G。
截屏2024-04-30 10 01 58
截屏2024-04-30 10 02 50

Have you ever encountered this problem?

Looking forward to your help with great sincerity!

10875h freq limited

Firstly, thank you for a great EFI, as it has helped tremendously. In 14.4, it did not work right away out of the box, and had bunch of reboots. All were solved with updated wifi driver (removed the 2 provided and used single kext) and setting secure boot mode to disabled.
bow to a problem I can’t seem to figure out. Have this setup as 14.4 on my xps 9500 with 4k and i7-10875h. The system works great m, however did notice that geekbench single core performance is much lower in hackintosh vs windows. In windows, I’m at typical 1700/7000 score however on hack it’s 1200/6600. The multi core is not bad, however single core is way behind. I did some digging and see that single core loads, the cpu only reaches 3.6ghz (vs 4.8ghz) in windows. No idea on what can be limiting the request, but I know it’s not heat as it barely reaches 70c (90s in windows). Wondering if you ran your system on geekbench and monitored core speed utilization. In Intel power gadget, Core Req is 5.1, which is perfectly setup for the 10875h however core max is only 3.6ghz. Again heat is by far not an issue, power limiter 1 and 2 are not triggered, wattage is way below PL1, and battery is charged and plugged in. Just can’t figure it out.
Thanks!

S4 hibernate issue

Hello, xps9500 10300H, using your same EFI file。
When I enter s4 sleep mode, after a period of about half an hour, the system will automatically restart once and then repeatedly cycle this action.
When I sleep for a long time, after a night, when I turn on,the page displaying DELL's logo and get stuck 。I can only start by forcibly shutting down and restarting.
All settings have been executed according to your tutorial steps, including setting BIOS options and unlocking CFG. And executed the pmset command to set the sleep mode.
Would you encounter the same problem?

Problems with the cooling system and cpu frequency

Thank you so much for EFI! Please clarify how your cooling system works? On my Dell Precision 5550 with i9-10885H with a low load, the fans work intermittently, turn on and off very often, and at a temperature of 45 - 50 degrees Celcius they reach 3375 RPM. Does it work the same for you or more smoothly? I also noticed that the maximum CPU frequency does not rise above 3.8G, and I tried different options both with and without undervolting. At the moment I am working with the parameters as in the screenshot.
screen 2024-05-02 в 21 40 14

iMessage and FaceTime does not work

Just like the title says. Both apps don't work and I created my Mac serial number using gensmbios and also verified the serial I picked wasn't already picked. I used your efi and changed nothing.
Also the picture below shows just MacBook pro instead of MacBook pro 16 inches and other details beneath.

PXL₆_20231013_125651

Also, when I go to device info, it says "This device cannot be used to receive Apple ID verification codes."

Trackpad issue

I notice some problems with the trackpad, works fine 90% of the time,
but randomly starts stuttering and lagging for a few seconds.

Resuming from hibernation takes almost a minute

Hey @jkbuha,
Thanks for maintaining this excellent repo for the XPS 9500 / Precision 5550!

My specs are a Precision 5550 i7-10850H with 32GB of RAM and the nvidia Quadro T1000 dGPU powering a 3840x2400 UHD display. The SSD is a 2TB WD Black SN850X. The OS is Ventura v13.6.5.

On my system, resuming from hibernation takes 55 seconds. Is this specific to my machine and/or amount of RAM or is this normal? 55 seconds is actually more than the time it takes for a cold boot. As a point of comparison, my anemic Microsoft Surface Go 2 with 8GB of RAM running macOS Ventura using this EFI resumes from hibernation in 15 seconds. Of course, the SGO2 has only 8GB of RAM compared to my Precision 5550's 32GB.

How long does your machine take to resume from hibernation?

Dell Precision 5550 - Sleep issues with S4

Hello

This project is truly a masterpiece. Congratulations on completing it successfully

I'm using a Dell Precision 5550 laptop. I've tried doing most of the same things as you but I still can't Hibernate. When I press Sleep, the keyboard light turns off but the fan doesn't turn off.

Here is my kexts folder and ACPI folder:

image

image

I tried use command: pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to" to find some logs about sleep but it doesn't give me anything.

image

I don't know why? If you know, can you give me some suggestions?

And. Here is my config.plist. If you have time, please check it for me.

Config.zip

Hope you have nice day. Thank you very much !

Power management

I see in your screenshot that CPU pkg power should idle at around 2.5W. I have the i7 10875H and it never goes below 5.5W. Did you do something post installation to get those numbers?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.