Contribute
Register

XPS 9700 - dGPU won't go off/sleep

Joined
Apr 30, 2020
Messages
33
Motherboard
Dell XPS 9700 (OpenCore)
CPU
i7-10875H
Graphics
UHD 630, 1980x1200
Have you tried it with the entire EFI I attached. I think it might have worked with several SMBIOS for me so it might not be that. Also might be somewhere settings that I fiddled with. Only thing is I also had the Sleep wake failure issue with the Dell logo on another hack, Dell XPS 9390 2 in 1 with i7-1065G7, and changing that Sign of Life immediately solved sleep.

On another topic, is your Thunderbolt Hotplug working? Mine only on boot if attached. However, I found out that if it's working and I put it to sleep, then I can detach and then reattach while still asleep. Then when it wakes, it's working. Otherwise if detaching or attaching when awake, Thunderbolt breaks. Hotplugging with displayport works, despite the USB ports breaking.

I've got an XPS 9570 with the single TB3 controller which Hotplugs very well in all situations. Not sure what's going on.
Thunderbolt hotplug for DP + normal seems to be fine for me. I'm using a lot fewer TB SSDT/kexts than you.

Tried your EFI without changing anything except SMBIOS + Serial number info. Booted but still no sleep. Do you know what settings you have for Hibernate mode? In Hackintool (version 3.7.5) I show as having hibernate mode 3. The settings I have are:

disksleep: 0
displaysleep: 0
halfdim: 1
hibernatefile: /var/vm/sleepimage
hibernatemode: 3
highstandbythreshold: 50
lidwake: 1
networkoversleep: 0
powernap: 0
proximitywake: 0
sleep: 1
standby: 0
standbydelayhigh: 86400
standbydelaylow: 10800
tcpkeepalive: 0
ttyskeepawake: 1
womp: 0
 
Joined
Dec 20, 2018
Messages
744
Motherboard
Gigabyte Z370 AORUS Gaming 7
CPU
i7-8700K OC 5GHz
Graphics
GTX 1080 Ti & UHD 630
Mac
  1. iMac
  2. MacBook Pro
  3. Mac Pro
Mobile Phone
  1. iOS
Thunderbolt hotplug for DP + normal seems to be fine for me. I'm using a lot fewer TB SSDT/kexts than you.

Tried your EFI without changing anything except SMBIOS + Serial number info. Booted but still no sleep. Do you know what settings you have for Hibernate mode? In Hackintool (version 3.7.5) I show as having hibernate mode 3. The settings I have are:

disksleep: 0
displaysleep: 0
halfdim: 1
hibernatefile: /var/vm/sleepimage
hibernatemode: 3
highstandbythreshold: 50
lidwake: 1
networkoversleep: 0
powernap: 0
proximitywake: 0
sleep: 1
standby: 0
standbydelayhigh: 86400
standbydelaylow: 10800
tcpkeepalive: 0
ttyskeepawake: 1
womp: 0
hibernate mode should be set to "0"
 
Joined
Apr 30, 2020
Messages
33
Motherboard
Dell XPS 9700 (OpenCore)
CPU
i7-10875H
Graphics
UHD 630, 1980x1200
hibernate mode should be set to "0"
Fixed it, still can't wake from sleep.

@tph33 are you on Monterey? I'm on 12.1. Your EFI needed BlueToolFixup.kext, IntelBluetoothFirmware.kext, latest version of AirportItlwm.kext and IntelBluetoothInjector.kext removed. With just those changes + SMIBIOS, I can boot and get internet/bluetooth but still no sleep. Also it mostly messes up my external display from working.
 
Joined
Dec 20, 2018
Messages
744
Motherboard
Gigabyte Z370 AORUS Gaming 7
CPU
i7-8700K OC 5GHz
Graphics
GTX 1080 Ti & UHD 630
Mac
  1. iMac
  2. MacBook Pro
  3. Mac Pro
Mobile Phone
  1. iOS
Fixed it, still can't wake from sleep.

@tph33 are you on Monterey? I'm on 12.1. Your EFI needed BlueToolFixup.kext, IntelBluetoothFirmware.kext, latest version of AirportItlwm.kext and IntelBluetoothInjector.kext removed. With just those changes + SMIBIOS, I can boot and get internet/bluetooth but still no sleep. Also it mostly messes up my external display from working.
also display sleep should be set to "2"
 
Joined
May 7, 2016
Messages
26
Motherboard
HP EliteDesk 800 G2 Micro Tower
CPU
i7-6700
Graphics
HD 530
Still no luck.
These are my current settings from pmset -g


System-wide power settings:


Currently in use:


standbydelaylow 10800


standby 0


womp 0


halfdim 1


hibernatefile /var/vm/sleepimage


proximitywake 1


powernap 0


networkoversleep 0


disksleep 0


standbydelayhigh 86400


sleep 1


hibernatemode 25


ttyskeepawake 0


displaysleep 10


tcpkeepalive 0


highstandbythreshold 50


lidwake 1

On my Dell 9570, standby 1 and hibernate mode 3 also works. I think it would even work on this 9700. Will try and let you know.

Also, regarding hotplugging, I have a Dell WD15 (think it might just use UBC-C only?) which hot plug fine, but the Dell TB15 only on boot... maybe it's the dock.
The HDMI signal gets the purple haze which should correct with setting the Con framebuffer type to 00080000 but doesn't work. Not sure what to do there. HDMI via a USB-C to HDMI adapter works fine though, just not through the dock.
 
Joined
May 7, 2016
Messages
26
Motherboard
HP EliteDesk 800 G2 Micro Tower
CPU
i7-6700
Graphics
HD 530
Yes, standby 1 and hibernate mode 3 also working on my 9700.

This is unplugged and on battery.

2022-01-10 17:47:51 +1100 Sleep Entering Sleep state due to 'Software Sleep pid=160':TCPKeepAlive=disabled Using Batt (Charge:100%) 308 secs

2022-01-10 17:52:59 +1100 Wake Wake from Normal Sleep [CDNVA] : due to /HID Activity Using BATT (Charge:100%)


Btw, did you do the CFG unlock (I did)? otherwise must be some other setting in BIOS. Do you know how to extract BIOS settings, I can send for you?
 
Joined
Apr 30, 2020
Messages
33
Motherboard
Dell XPS 9700 (OpenCore)
CPU
i7-10875H
Graphics
UHD 630, 1980x1200
Yes, standby 1 and hibernate mode 3 also working on my 9700.

This is unplugged and on battery.

2022-01-10 17:47:51 +1100 Sleep Entering Sleep state due to 'Software Sleep pid=160':TCPKeepAlive=disabled Using Batt (Charge:100%) 308 secs

2022-01-10 17:52:59 +1100 Wake Wake from Normal Sleep [CDNVA] : due to /HID Activity Using BATT (Charge:100%)


Btw, did you do the CFG unlock (I did)? otherwise must be some other setting in BIOS. Do you know how to extract BIOS settings, I can send for you?
EDIT: I ended up unlocking CFG, still can't wake sleep. Must be some of my settings (either OS or BIOS).

I didn't do the CFG unlock. Also don't know how to extract BIOS settings. No luck with changing the various settings.

I don't really know why you're having the thunderbolt/HDMI issues. I have external monitor issues using your version of the EFI but everything works pretty nicely using my own. I have issues sometimes with my mouse buttons/touchpad losing responsiveness when I unplug my external mouse and plug it back in sometimes but that's all. I've run a Razer Core X (monitor over HDMI), DP over USB-C and HDMI adapter to USB-C and all work nicely. Also an NVME over USB-C running at 10 GB/s. I'm not sure I've actually tested thunderbolt hotplug with any of that though since I don't remember hotplugging in the Razer Core and don't want to test that right now.
 
Last edited:
Joined
Apr 12, 2022
Messages
3
Motherboard
Dell XPS 9700-OC
CPU
i7 10875H
Graphics
UHD 630 / GTX 2060
Here's my EFI, try it out. If it works just replace the serial placeholders. I would actually need to clean it up a little but it works OK, so I don't care.

Actually Bluetooth is broken.

Back to topic, Whatevergreen deactivates the DGPU, there is a simple parameter you need: disable-external-gpu / Data / 01000000.

That's it.
Hy guys , been following this thread and THANK god Edd , you made my day. You are the only one who uses a different Framebuffer and it's the ONLY one who work on mine. Where did you find the Framebuffer as the one for the 10th get CPU on the Dortania guide AND Whatevergreen there's no mention on the one your using?

I tried absolutely all Framebuffer to no avail and also tried all refi avail on GitHub. I was so pissed. Anyway , I made my OpenCore EFI from scratch and just using your Framebuffer , and noticed my sleep works OOTB. the only thins is the DGPU trick ptswak won't work either if I use your EFI or if I just use your DSDT in my config. It doesn't turn off Dgpu ons awaken from sleep so my sleep is now useless as it uses about 40w on the power outlet once awake. Otherwise it uses about 17w on idle with is not to bad. (my XPS 7590 uses around 15w)

Can you help me for the ptswak as I don't understand how to do it manually? I'm on vanilla install OpenCore 0.79.

Otherwise , except sound and sleep , it's a pretty good build. Not as good as my 100% working 7590 but for the screen real estate and better windows performance for slight gaming it's quite good. Got a deal on a used one I couldn't pass....

Where you able to undervolt? BTW didn't unlock CFGlock. The trick was to disable Display logo sign on life I think somewhere in the bios. Prior to this , I saw the dell logo on wake and it rebooted...

What is missing in my config? GPIO trackpad patching as I don't know how to do it so it's in pooling mode right now I think and sleep . Didn't bother to test HDMI/DP output as I only use internal display.

Please if somebody could help with dGPU ptswak for sleep it should really be Wonderfull.

Also small tip , buy the usbC to 1/8 apple adapter for sound works wonder with headphone inc volume , mic and vol up vol down Botton on apple own headset.
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
28,997
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Hy guys , been following this thread and THANK god Edd , you made my day. You are the only one who uses a different Framebuffer and it's the ONLY one who work on mine. Where did you find the Framebuffer as the one for the 10th get CPU on the Dortania guide AND Whatevergreen there's no mention on the one your using?

I tried absolutely all Framebuffer to no avail and also tried all refi avail on GitHub. I was so pissed. Anyway , I made my OpenCore EFI from scratch and just using your Framebuffer , and noticed my sleep works OOTB. the only thins is the DGPU trick ptswak won't work either if I use your EFI or if I just use your DSDT in my config. It doesn't turn off Dgpu ons awaken from sleep so my sleep is now useless as it uses about 40w on the power outlet once awake. Otherwise it uses about 17w on idle with is not to bad. (my XPS 7590 uses around 15w)

Can you help me for the ptswak as I don't understand how to do it manually? I'm on vanilla install OpenCore 0.79.

Otherwise , except sound and sleep , it's a pretty good build. Not as good as my 100% working 7590 but for the screen real estate and better windows performance for slight gaming it's quite good. Got a deal on a used one I couldn't pass....

Where you able to undervolt? BTW didn't unlock CFGlock. The trick was to disable Display logo sign on life I think somewhere in the bios. Prior to this , I saw the dell logo on wake and it rebooted...

What is missing in my config? GPIO trackpad patching as I don't know how to do it so it's in pooling mode right now I think and sleep . Didn't bother to test HDMI/DP output as I only use internal display.

Please if somebody could help with dGPU ptswak for sleep it should really be Wonderfull.

Also small tip , buy the usbC to 1/8 apple adapter for sound works wonder with headphone inc volume , mic and vol up vol down Botton on apple own headset.
please read the faq for proper hardware profile setup:
 
Top