Unsolved
1 Rookie
•
8 Posts
2
1714
July 1st, 2024 01:42
XPS 8940, solution to freezing when idle
Last December 2023, my XPS 8940 started freezing every night when idle. The display was frozen and mouse and keyboard input wasn't excepted, requiring a power switch off/on.
This PC was used for my work and I keep it updated with all Dell support and Windows 10 updates. After much troubleshooting, and settings changes to disable CPU and USB sleep states, I opened a premium support case. The rep I worked with had me run some additional diagnostics and when no problems were detected I was instructed to reinstall Windows and all applications.
When the problem continued to occur Dell sent a tech to replace my motherboard. This solved the problem until about a month ago when the problem occurred.
After some additional research I came across reference to C-States and idle sleep issues. While the references were not specific to the 8940, I booted into my BIOS and changed three settings that seemed to be associated with sleep:
1. DEEP SLEEP
was: Enabled S4 and S5
now: Disabled
2. Block Sleep
was: unenabled
now: Disabled
3. C-States (under Performance)
was: enabled
now: disabled
Low and behold, it's been a week and my 8940 has not entered a freeze state.
I opened another case with Dell and the support rep I talked to told me that this was a problem that Dell became aware of in early 2024 (after I opened my first case). A BIOS update was changing these three options and my motherboard repacement 'fixed' this. However a recent BIOS update again reset them. She told me that there's absolutely no downside to turning these settings off in the BIOS on a desktop.
I've seen a lot of chatter on this forum about people attributing the problem to graphics cards and doing all sorts of things to try to fix it.
If you're having this problem ans reading this: PLEASE CHECK THESE THREE BIOS SETTINGS!
Dell: If you're reading this, you really need to get the word out. I suspect that many people are wasting much time due to this issue and it's entirely unnecessary and reflects poorly on Dell reliability.




ispalten
4 Operator
•
2.4K Posts
1
July 1st, 2024 13:18
The one that worked for many was to set the Nvidia Control Panel 3D settings to MAX. POWER...
I assume you have an Nvidia GPU of course.
Suspect disabling anything 'going off' did the same and setting the video card to be always on?
Dell 'knew' about this problem in 2020 even, and the re-install Windows was the first response. Didn't work, they'd replace parts. SOP...
A replaced motherboard had the latest BIOS possibly, or some settings that resolved the problem. One user had gotten the last motherboard made and that had some other stuff older ones did not for the PCIe bus version for instance. Solved the problem for him.
jonfrommaine
1 Rookie
•
8 Posts
1
July 1st, 2024 16:26
My XPS actually has an AMD Radeon graphics card. One of things I tried after the problem came back several months after I had my motherboard replaced under my premium support contract was to update the driver from the AMD website, which had a more current version than Dell was pushing. Didn’t do anything. I had previously reinstalled windows and all my hours as part of my first support incident at the end of 2023. In the meantime, I had read about C-States and saw it, and the two sleep settings I mentioned were enabled. Disabling these settings has fixed the problem on my workstation and I just wanted to share this. I’m not saying this will work for everyone or that there aren’t other workarounds, but on the second incident I created last week, the Dell tech indicated that Dell BIOS updates can turn these on and she recommends turning them off on workstations. I’m frankly mystified that Dell hadn’t found a way to notify users as part of a service update. I imagine this will cost them some business and in my case they had to pay someone for a long trip to my house to replace a motherboard which didn’t need to be replaced.
jonfrommaine
1 Rookie
•
8 Posts
1
July 1st, 2024 21:47
BTW- I had also set CPU state min/max to 100%, set power management scheme to performance, disabled all sleep settings that I could through windows, disabled all USB device sleep and also changed all graphics settings using the AMD app to eliminate sleep and use highest performance mode. None of this worked. Only the these three BIOS settings worked:
Deep Sleep
was: Enabled S4 and S5
now: Disabled
Block Sleep:
was: Unenabled
now: Enabled
C-States (under Performance)
was: Enabled
now: Unenabled
Dell BIOS updates should not change these settings, but at least two of them have in my case. Dell needs to address this, however now that I know what to look for, it's an easy fix. Still, I'm paying a lot of money for an extended premium support contract and I would have hoped I wouldn't have to figure this out myself. It looks like there are some people that have thrown up their hands on this and I'd recommend they check these BIOS settings.
DarrenJames
1 Rookie
•
5 Posts
1
July 5th, 2024 15:25
Does your GPU fan start spinning real fast when it locks up? Mine does. Monitors go out, no mouse or keyboard. Have to hard reset my pc to get it back. Dell also replaced my Motherboard.
JamieLinux
2 Intern
•
278 Posts
0
July 5th, 2024 23:35
@jonfrommaine
C-States (under Performance)
was: Enabled
now: Unenabled
You do not want to disable this if you have a non-K CPU, since it only leaves C0 and C1 states active non-K CPUs need C3 for full Turbo Boost.
S0 - On / Working
The computer is powered up. If supported, power conservation is handled by each device.
S1 - Sleep
CPU is stopped. RAM maintains power. Everything else is off, or in low power mode.
S2 - Sleep
CPU has no power. RAM maintains power. Everything else is off, or in low power mode.
S3 - Standby
CPU has no power. RAM maintains power, refreshes slowly. Power supply reduces power. This level might be referred to as “Save to RAM.” Windows enters this level when in standby.
S4 - Hibernate
Power to most hardware is shut off. Any files in memory are saved to the hard disk in a temporary file. If configured, the NIC will remain on for WOL, or AoL. This level is also known as “Save to disk.”
S5 - Off
There is not much difference between sleep and deep sleep as S0 - S5 are the only ones Windows uses, there is an S6 but it does not apply to desktops.
Block Sleep all this does is block the Windows sleep mode, which you can just do by editing the Windows power plan to never sleep.
Why did I write this, just to give a little info.. If someone has a non-k CPU and makes these changes you are going to give them worse system performance. VS just sets the GPU to prefer maximum performance, which just prevents the GPU from going into any GPU power-saving states.
ispalten
4 Operator
•
2.4K Posts
0
July 6th, 2024 00:34
@DarrenJames
To be honest, I do not recall at all. but the lock-ups/freezes almost all Nvidia card users have is that the monitor doesn't change, the mouse doesn't move, and in some cases, the sound continues as basically noise. No keys work either.
Power OFF is the only option left to recover..
The reasoning behind the Max. Power is the thought that the Nvidia card was slow to awake as many people had the problem if the PC went to sleep (disk or monitor, or devices turned off to save power) or even the screen saver was on. Nothing woke the PC up... and would make sense if the video card couldn't update the monitor display buffer. The mouse or keyboard entry was happening, but you couldn't see it as the display buffer wasn't updated by the card.
That was basically dispelled by using the C-A-D and the strokes needed to select Reboot which did not work.
Never get a DUMP file or anything in the Event viewer either.
However, setting the power to Max. Power has helped many. One thing to watch though, some new Nvidia drivers WILL reset that setting to default, so after ever new driver install, it pays to check the Control Panel setting.
Replace the motherboard, standard operating procedure for Dell... did it for me, and even the video card. Didn't fix it, although one used had the problem and Dell replaced his motherboard with a newer version. It apparently fixed the problem for him. You never know which one Dell puts in though. Check it against the XPS8940 FAQ. Running MSINFO32 will show you what one you have.
budgor
1 Rookie
•
7 Posts
0
December 13th, 2024 18:02
I tried this solution as well and agree that this appears to resolve freezing issue. BUT, it comes with another annoyance. Computer will turn itself off every once in a while. Can't figure out what is doing this. Under power options display set to turn off after 5 minutes and sleep enabled after 15 minutes. Under advanced power settings hard drive is set to never turn off and wake timers are disabled. No hibernation permitted. Finally USB selective suspend setting is enabled.
What might still cause computer to shut itself down rather than stay in sleep mode?
jonfrommaine
1 Rookie
•
8 Posts
0
December 13th, 2024 18:31
@JamieLinux Just saw this response. I had tried disabling Windows sleep mode in Windows settings and it didn't work. Not sure I understand the rest. You're saying to not unable C-States, so that seems to have eliminated all of my BIOS changes which fixed the problem? Bottom line is that since I made these BIOS changes my PC hasn't once locked up. I only restart it when applying updates which require it. I haven't noticed any performance issues. That doesn't mean there aren't any I just haven't noticed them. I bought this PC to use in my home office for my work as a computer programmer. Up to this point I've been a 100% Dell PC customer. I've since retired and it's just used as a controller for some guitar pedals, photo editing and web browsing. For me, it's much more important to not have a stable PC, which this wasn't until I made the BIOS changes. As an aside, the only performance sensitive computer I currently have is a Lenovo Tiny P360 I7 which I use for low latency music (MIDI controller) applications. I purchased two Lenovo PCs after unsatisfying experiences with two Dell computers (an Aurora and this XPS). I'm going to be replacing the Aurora desktop which I purchased in 2016 and isn't passing the Windows 11 requirements and will need to be added to my local landfill. Granted it's eight years old but it's been a noisy dog since I bought it as a music controller but found it to hot and noisy to use for that purpose. Will probably get another Lenovo to replace it as the Tiny is virtually silent even at high CPU utilization, has abundant connectivity and is...Tiny.
jonfrommaine
1 Rookie
•
8 Posts
0
December 13th, 2024 18:39
Sorry, I had a typos in that last response - site doesn't allow edits.
'For me, it's much more important to not have a stable PC'
I ranted a bit about Dell. Other than this BIOS issue, the XPS has been a good PC; unlike the Aurora which, as I said, was a dog from day-1. I decided to try Lenovo and have been largely satisfied with it. I would still consider Dell to replace my end of life Aurora if I could find a quiet small form factor model, with a decent graphics board at a reasonable price.
ispalten
4 Operator
•
2.4K Posts
0
December 13th, 2024 21:51
@budgor
Well, there are differences here, Sleep for Disk and Display, Hibernate, USB Selective Suspend, all different, and some have similar settings in Device Manager, like USB device, and the ability to wake the computer up from sleep.... these all have to be set to work together.
One thing you could try though is one by one, reverse the changes you made.
There are so many ways reported to fix the Nvidia Lock ups... and some do not work for some, others have a better response as fixing the problem. There is no sure fire fix and there are many different Nvidia Cards (both bought from Dell with the PC, and purchased from other stores), different Default values in the Nvidia Control panel, not to mention other h/w configurations and programs installed. All these could play into the problem.
If a 'fix' didn't work for you, reverse it and try a different one.
For instance, my USB Selective Suspend IS Disabled... My mouse is connected via a USB port. I use the mouse to wake up the computer, and all USB settings in Device Manager under Power Management is also off so the PC doesn't put them to 'sleep' to save power.
Well, as far as Shutdown goes, have you looked in Event Viewer? Could be an entry in that might help explain it.
However, what do you mean here:
Not clear who you were responding to and what exactly did you do?
budgor
1 Rookie
•
7 Posts
0
December 14th, 2024 00:36
ispalten
4 Operator
•
2.4K Posts
0
December 14th, 2024 01:09
@budgor
The AMD cards didn't do the exact same thing. They were either impacted by a Dell BIOS (I forgot which one) that was quickly fixed. Or by an MS Update that hit the AMD Utility.
I searched this forum for XPS Desktops and I didn't see any AMD Freezing or Lock Up subjects?
Hmm, can't find the one with the bad BIOS either???
budgor
1 Rookie
•
7 Posts
0
December 14th, 2024 01:57
Well this is he card I have and this is the issue I had that was fixed by changing bios as suggested by jonfrommaine. You are free to cite my case if this question comes up again.
krima
1 Rookie
•
5 Posts
0
December 27th, 2024 22:07
I have the Geforce 3060 Ti (XPS 8940) and have exactly the same issues, I've tried everything (yes I've set the nvidia settings to max power as well) and nothing seems to work. I've tried reinstalling different drivers (always making sure to uninstall with DDU before) and it might run stable a couple of hours (or until I restart the computer again) but the problems always comes back, Longest streak I've had is 4 days without any freeze (that really got my hope up) but then it came back again. I haven't tried setting these settings in BIOS tho so I'll try that as well. Thanks for the tip.
ispalten
4 Operator
•
2.4K Posts
0
December 27th, 2024 23:34
@krima
Have to ask, but is this a new 'add' or did you have it for awhile without problems?
Model of the 8940, Base or SE?
Card requires 550W of power (max.) suggest with a 'normal' draw of 200W according to specs. GeForce or GPU-Z should show the power usage... usually low and not really using the card for gaming or video work.