Lurker News
Dell deletes Latitude CPU Throttling issue after link is posted here.

Dell's new Latitude 5420/7420/7520 Notebooks have a ongoing issue where their CPU are severely throttled when running on any Linux distribution, even on Ubuntu OEM Certified System according to some reports at the forum.
After a link to the Dell forum post was ported to HN, the post mysteriously was deleted in the same day. Many users of this model posted to the forum thread since last year and so far no solution was provided and we only received very unenthusiastic responses from Dell support.
Shocking to see this apparent action to hide the problem.
Originally Here: https://www.dell.com/community/Latitude/Latitude-5420-7420-7...
You can still see it on Google Cache https://webcache.googleusercontent.com/search?q=cache:PFSFF4...
Screenshot here: https://imgur.com/a/Va8EMMA

Comments (296) 59 threads

getcrunk23 replies#
I had an XPS, top of the line with full warranty/premium support. Horrible experience. They swapped many models to a shitty wifi card that caused bsod. I had to spend over 15+ hrs with support to finally convince them the fix was to swap the card to the original Intel and not doing another system restore or reformat.

Then the battery. Oh the battery. The computer would randomly wake up from hibernate and drain the battery till it was dead. This also caused premature drain. Guess what? Dells batteries are rated for less cycles (half compared to apple) and this seemed to coincide with the end of my warranty period (time to buy a new one) but it doesn't even matter because their premium support only covers battery replacements for the first year!
And get this! They only sell refurbished batteries. Just everything about this company is trash.
The XPS is a nice line. It is very premium, but only skin deep

sixothree#
I had so much trouble buying a replacement battery for a server raid card. At the time, this was a card they were still selling! Oh man. Dell. What a mess.
ansible3 replies#
> The computer would randomly wake up from hibernate and drain the battery till it was dead.

I am under the impression that this was a more general Windows issue. Does someone else have more information?

tomxor2 replies#
I had a couple of similar problem under Linux, but I believe these are purely software issues and thus unrelated to the windows ones. and also not specific to Dell AFAIK.

1. Linux kernel "mem-sleep" mode default [0], which determines what actually happens when systemd-sleep "suspend" is called. The default value is "s2idle" for many distros which is as good as leaving your computer running with processes paused... when what most users expect is some kind of suspend-to-ram ("deep"). Obviously this burns through battery pretty quickly but at least it shouldn't overheat.
2. I found this systemd infinite hybernate loop bug [1] (now fixed) when swap is smaller than RAM... although you only would come across this is you accidentally under-provisioned the swap partition on install like I did - but the failure mode was spectacularly bad, because it will retry over and over swapping and compressing the RAM which obviously ramps up the CPU, get hot with the lid closed, make short work of battery and SSD.
Anyway the common issue is #1 which you just have to know about otherwise your computer doesn't really suspend at all, and since most machines are very quiet these days you won't notice unless you dig.
[0] https://unix.stackexchange.com/questions/538541/suspend-to-r...
[1] https://github.com/systemd/systemd/issues/19550

0xbadcafebee2 replies#
It pains me that there's still no comprehensive user docs for kernel features. Everything from hybrid graphics to power-saving to cpu frequency scaling keeps changing from kernel to kernel, and you need a PhD in kernel hacking to know how to use any feature of a specific kernel. I've searched forums for weeks trying to gleam enough information to just get a graphics card to work.

I'm still having an issue where double-finger-touchpad-scrolling causes my X server to core dump, and I can't force the X server to actually dump a core file, because I can't run `ulimit` before the X server runs. You're kind of just shit out of luck as a Linux user.

Continue this thread — 2 replies

uberduper1 reply#
You probably need to investigate s0ix and figure out why your machine isn't reaching that state.

Continue this thread — 1 reply

andreyv#
Perhaps this: https://docs.microsoft.com/en-us/windows-hardware/design/dev...

> On occasion, the system stays in the active mode (with the screen off) for a longer interval of time. These longer active intervals occur for a variety of reasons, for example, processing incoming email or downloading critical Windows updates.

Isthatablackgsd#
From my experience, it is the wake timers in some apps that abuses it. I recalled it is one of the function that use the wake timers. To find this out, open the cmd/PS/WT and type:

powercfg -lastwake
This will tell you which action or hardware initiated the wake. It should provide enough clue of the offending software. Also the wakes are recorded in the log, you would be able to pull up the event viewer to find the lists of the offending software that abuses this. There is a event ID for it which you can use to track this down, I couldn't remember the number.
Edit: Here the guide for finding this in the event viewer.[0]
[0] https://www.tenforums.com/tutorials/63136-see-wake-source-wi...

spideymans#
I had disavowed Dell more than a decade ago due to their horrible support, but I figured it was time to give Dell another shot at the height of MacBook keyboard gate.

Boy was I wrong. The laptop itself was great when it worked. But my XPS 13 shipped with a barely functional trackpad. As with you, I had to spend countless hours on the phone with them to get them to repair the laptop that was well within its warranty. Never again.

Scoundreller1 reply#
> The computer would randomly wake up from hibernate and drain the battery till it was dead.

I had this happen, but it was the cat that would nap on the keyboard until the laptop died and stopped being warm.

the-dude1 reply#
This is either hilarious or you're working for Dell ( I love cats ).
Scoundreller#
It wasn’t a Dell, no.
Spooky233 replies#
The secret to Dell is you need to buy “ProSupport”. It costs like $100 more.

I had an issue that was known with certain Dell universal docking stations. We had the elevated support and got a hot fix in a few days. A colleague with the same laptop, same dock has the same problem and got nothing - they refused to acknowledge or support the dock connection, claiming that they only support “hardware” and not windows drivers. Eventually the driver was released a few months later.
Other OEMs like Lenovo and HP don’t fuck around with stuff like this. Just price Dell like for like with the equivalent support offering. Dell’s pricing is usually very competitive, so you’ll probably find they will still win some comparisons, and when they do the “pro” offering is better.

getcrunk1 reply#
> The secret to Dell is you need to buy “ProSupport”. It costs like $100 more.

I had the prosupport, still got Indian call center.

ineedasername1 reply#
I've received plenty of decent support from what seem to be Indian call centers. ("seem" because I could be wrong about accents). I've had awful support from other call centers. I have also been involved in multiple call center procurements: The question is more about the training of call center staff that you're willing to pay for, not location. Dell could get high quality call centers in India if they were willing to put resources into building an excellent knowledge based and extensive training for call center staff. Dell has chosen not to go that route.

Continue this thread — 1 reply

coupdejarnac2 replies#
Yup. Prosupport was very worth it.. People who buy Macs for work also buy Apple Care, right? Same thing. Dell sent technicians to my house twice to fix issues. My only gripe was that my Precision didn't seem to fully support the Ubuntu 18.04 it came with, but everything has been better with 20.04.
lotsofpulp3 replies#
I do not buy AppleCare, especially for MacBook Airs. There are no moving parts, and I feel like the likelihood of something not working is so low in the period that AppleCare covers that it is just worth it to buy a new laptop if anything happens to it.

Note that apple would not sell AppleCare if they were losing money on it. If you can afford to replace a laptop, you might as well do that. Dell’s professional warranty sends someone to your house next day to fix it, which is worth something extra, especially if you are far from an Apple store. But I do not think Apple’s does anything special like that.

Continue this thread — 3 replies

tekknik#
> People who buy Macs for work also buy Apple Care, right?

Not for laptops, the quality is so high I’m stacking them up as I can’t justify throwing them out or recycling them. I have a macbook pro from 2012 still going strong (albeit slow)

raxxorrax#
This is such a bad business decision as they could really establish themselves on the notebook market, even it got smaller in the meantime. But they have had this strategy for years and I don't believe they will be able to continue this for much longer because more and more people talk negatively about Dell. Problem is there are not too many alternatives and it seems to be a general trend.
whylo#
> The computer would randomly wake up from hibernate and drain the battery till it was dead.

I had exactly the same thing on my XPS 15. I'd take it out of my bag, it'd be warm and the battery would be dead. Plus one day it suddenly decided it didn't have a TPM module (didn't even show up in BIOS) so BitLocker stopped working, and of late the CPU is constantly throtling and fans running at full blast because it's overheating even with next to no load (I've checked the fans for dust).

quasse1 reply#
> Then the battery. Oh the battery. The computer would randomly wake up from hibernate and drain the battery till it was dead.

I have a Precision laptop (absolutely top of the line business laptop that shares hardware with the XPS 15) that does this too. The only fix is to either keep it plugged in 100% of the time or perform a full system shut down any time it's going to be unplugged.
It's extremely frustrating and has basically killed any usefulness the laptop has as a portable computer.

0xbadcafebee#
We used to buy Precision laptops for 3D designers due to the need for a beefy graphics card, and I got the impression they were just heavier versions of Dell's regular crap. IBM was my preference before Lenovo, but now I have no idea if there's any premium Intel laptops left.
tomxor#
> Dells batteries are rated for less cycles (half compared to apple) [...] They only sell refurbished batteries

Are there any decent battery suppliers that sell dell compatible replacements?

blintz1 reply#
Similar experience with the battery and sleep on XPS devices. Constantly opening my backpack to discover a literal hot mess.

At this point I’m fed up - what’s a better Windows laptop? Not interested in touchscreen/tablet modes and I’m willing to pay quite a bit. I am leaning towards something from the Surface Laptop line, but open to suggestions.

mattwad1 reply#
I can recommend the Surface line. I think it's a huge difference when Microsoft is selling both the hardware and software, so you know they are fully compatible. But definitely buy "Microsoft Complete." I've swapped my Surface Pro 4 out twice no questions asked, both times for some screen artifacts which I think came from too much pressure on the screen, and the second time they gave me a Pro 5 which hasn't had the issue. Their keyboards are exactly the same dimensions as Macbook too.

Continue this thread — 1 reply

Continue this thread — 14 more replies

mjg593 replies#
The conflict between the market wanting systems that are (a) as small and light as possible and (b) as fast as possible means that modern systems are designed to have close integration between the platform and the OS to perform appropriate thermal management. If the OS doesn't indicate that it supports doing this, the hardware will run in a much more constrained mode. Apple can do this without too much trouble since they implement the whole stack, but it's more complicated in the PC space. Intel have a spec called Dynamic Power and Thermal Framework (DPTF), but the useful part of it is the adaptive thermal policy, and Intel refuse to publicly document it.

I reverse engineered a chunk of this (https://mjg59.dreamwidth.org/54923.html) and it got merged into Intel's Thermal Daemon (https://github.com/intel/thermal_daemon) which /should/ improve things, but it's complicated by this mechanism allowing for vendor-specific controls that are usually implemented by having a background service running under Windows that triggers them.
There's multiple things that can be criticised here: 1) Intel pushing OEMs to adopt a technology that they (a) don't document and (b) don't write proper Linux support for 2) Canonical not making it clear that OEM certification only requires that the system work, not that it work as well as it does under Windows 3) Dell not figuring out a decent solution for this, even for systems that they nominally support Linux on
Dell could build hardware that doesn't rely on adaptive thermal management, but that hardware would either be bigger or slower than competitors' hardware. Fixing this unilaterally is hard - we need an open spec that's implemented by both hardware vendors and integrated into mainstream Linux distributions. Given where we are, the easiest way to get there would be for Intel to publicly document DPTF.

michaelt2 replies#
> modern systems are designed to have close integration between the platform and the OS to perform appropriate thermal management.

What does this mean in practice for a standard laptop?
I mean, every laptop supports the classic "turn up fans when CPU gets hot" and "throttle CPU if it gets very hot" - is that not sufficient to let the CPU operate as fast as the laptop's thermal design will permit?

horsawlarway#
no, unfortunately it's nowhere close to sufficient.

Power management on various chips is a complicated subject, and most modern laptops do a LOT of things to try to draw out battery life as long as possible.
If you want just a brief idea - take a look at https://wiki.archlinux.org/title/Power_management
If it helps, you can think of thermal management and battery management as directly related (that heat is coming from somewhere, and it's the battery in the laptop - the more heat, the more energy being consumed [or wasted].)

mjg59#
Trivial example: you want to avoid the exterior of the laptop getting hot enough to be uncomfortable for the user. If you support adaptive policies, you can read the skin temperature sensor and then only throttle the CPU if that's above a certain temperature. If you want to get more fancy, you can make that temperature conditional on whether there's a dock attached or not (if the machine's sitting on the desk then the bottom temperature can go higher than it could otherwise).

More complex example: the wifi chipset also produces heat. The platform designer should take into account what the effect of CPU thermal output is on the wifi chipset, and expose that information in a way that the OS can make a decision about whether the appropriate response is to throttle the CPU or allow the wifi chipset to throttle itself. Making that decision is going to depend on the current workload, so you don't want to try to implement this in firmware.
If you don't support adaptive policies, then you just restrict the CPU such that even under worst case scenarios, the components can never exceed the desired temperature. Of course, this means that you're (generally) running slower than necessary.

viraptor1 reply#
Have the kernel patches you mentioned in the post been merged already in some form? Or is that required for a hacky solution?
mjg59#
They're merged, and if you're running a current version of Thermal Daemon then things /should/ be better than they were. But most policies don't actually explicitly modify the throttling temperature MSR, and Windows definitely defaults to a different value there when compared to Linux, so there's something more going on.
mattst88#
Exactly. When I was at Intel (working on the Mesa 3D drivers for Linux) we would routinely get reports that performance was less than on Windows and ultimately determine it was because on Windows the thermal limits would be set to e.g. 45W but on Linux we'd be stuck at 35W.
DiabloD315 replies#
As a reminder: don't buy Dell, they have a history of ignoring issues and refusing to fix.

The US needs to adopt EU-style consumer laws.

pseudosavant5 replies#
This x1000. A co-worker of mine just switched to Mac because of a horrible experience with a $4000 Dell XPS with a discrete GPU that had chronic overheating issues that seemed to be a design defect. Dell would replace it with a refurb and they all had the issue. Forums online showed other people all had the same experience. Dell just ignored it.

Dell would die a quick death without corporate IT.

tomrod1 reply#
I'm facing a similar issue on a Dell XPS 15, purchased in 2020.

That, plus structural defects cause case flexing when picked up, resulting in the touchpad being inoperable and (more recently) freezing the system entirely.
This is even when the pick up is very gentle -- the case flexes under its own weight. If I type too hard or rest my hands too heavy on the system it can also occasionally cause the issue.
The issue started two days out of warranty.

alias_neo6 replies#
Both my XPS 13 and XPS 15 rock on the table due to being flexed somehow.

Last week I was sitting in a meeting and tilted my screen up a little on the XPS 15 so I could see past some glare from lights and the hinge snapped. It has the smallest little piece of metal at the point it snapped, about 3-4mm wide and 1-2mm thick, it was no wonder it snapped, so work had to give me a new XPS 15. The hinge itself is plastic-welded to the chassis so it can't just he replaced without the whole chassis being replaced.
I was planning for my next laptop to be a Framework anyway but my (£1600) XPS 13 is only ~2 years old so I am a little way from wanting to buy a new laptop just yet.
This sort of behaviour from DELL is confirming that going Framework is probably the right choice.
EDIT: Also don't get me started on the i9 / 4K XPS 15 a friend of mine bought that seems to want to kill itself any time it's switched on, and has never worked correctly since day dot.

Continue this thread — 6 replies

throw_m2393392 replies#
> Dell would die a quick death without corporate IT.

Unfortunately Dell is cheap, make (or at least used to) fairly robust computers for their price with spare parts that can easily be found. Mac is much more expensive and good luck sourcing parts from other brands. Lenovo went downhill when they were sold off.

tomp2 replies#
What do you mean? High-end XPS laptops were about the same price as equivalent Intel Macs - judging just by features (RAM, etc), of course MacBooks have much superior build quality.

I’d reckon equivalent M1 Macs are much cheaper.

Continue this thread — 2 replies

artificialLimbs#
>> Mac is much more expensive

I think that was a valid argument before Apple Silicon.

Continue this thread — 3 more replies

Continue this thread — 14 more replies

halz1 reply#
A helpful utility to run before you get too deep into trying to run Linux on some hardware is the 'Firmware Test Suite'; https://wiki.ubuntu.com/FirmwareTestSuite

It runs an impressively large suite of checks and can help identify areas of platform insanity, such as regions of ACPI tables that are wholesale missing or otherwise don't make sense per the specs. Ideally while your laptop is under a premium support care package, you can relay this report output to the vendor and keep after them to fix things. If you do not have support or the device is older, you may have some success with back-porting sections of ACPI tables from similar platforms (e.g. the XPS and Precision lines are very similar).
In some cases the Intel ACPI Source Language (`iasl` ) compiler used in Firmware Test Suite will have false-positives/negatives if the ACPI table was initially compiled by Microsoft tooling. You'll see mention of `MSFT` in the ACPI table dump during boot (via dmesg).

Continue this thread — 1 reply

Load more comments