That’s definitely strange. Just to confirm for folks at 400MHz, do Ubuntu 21.04 and Fedora 34 respins show normal performance? Is the issue specific to Arch?
I’ll whip up a live usb after work and test it out, considering I haven’t seen any complaints on the other thread I’ll assume it is not a problem.
I may try and dig up a CPU benchmark and run it on ubuntu vs arch and see what’s up. Might also be good to test out the latest kernel and make sure that’s not the issue.
Did some more investigation under arch.
sudo pacman -S s-tui; s-tui
displays a super nice monitor of core usage and temps if you scroll down with the arrow keys. I was stuck at 1.2ghz on all cores for sure, twitch was lagging on one display pretty badly and vscode was very slow to do any operations.
I installed https://github.com/erpalma/throttled which describes a throttling issue affecting many modern intel bearing laptops under linux getting prematurely throttled.
According to the logs from
journalctl -u lenovo_fix.service the service fails to start but another look at
s-tui after reboot shows clocks all the way up to 4.0ghz on cores and settling in the 2-3.5ghz range under load.
Everything definitely feels way snappier. @nrp perhaps the issues described https://www.reddit.com/r/thinkpad/comments/870u0a/t480s_linux_throttling_bug/ and in the link above is something to be investigated by the team?
On Linux Mint xfce 20.2, kernel 5.11, with default settings haven’t had any stuttering issues, but happy to run diagnostics/benchmarks and report if it can help isolate the issue
I have experience with throttled using my current Thinkpad X1C6 (until my new Framework arrives). It made a significant difference in performance and stopped premature throttling on the laptop’s i7-8550u. I needed this for eGPU passthrough for VFIO.
According to the Arch wiki for the X1C6 Lenovo ThinkPad X1 Carbon (Gen 6) - ArchWiki, a fix has been implemented in thermald as well, but I can’t report as to that as I’ve not tried it.
Has anyone tried this to see if it possibly would fix this issue?
I am seeing throttling to 200 MHz across all cores.
Both powertop and /proc/cpuinfo are showing 200MHz.
I have been able to get better performance a few times, but now seem to be stuck. Even boot takes almost a minute to get to the drive unlock.
This is on Ubuntu 21.04 with everything up to date.
Could you check if removing all Expansion Cards changes this behavior?
I booted with no expansion cards and it booted in seconds. Haven’t had any problems since with the cards inserted, so I am not sure which one it was. Will need to test further to verify.
If you narrow it down to a card in a specific bay, could you try this: https://knowledgebase.frame.work/en_us/one-port-on-my-laptop-does-not-function-correctly-r1mqMnTet
Following up on this, moving the RF sticker seems to have fixed the issue for me.
In my case, it looks like the edge of the sticker was right against the legs of the IC and causing problems. The other side of the sticker had detached and was floating. I adjusted them and made sure they were stuck and haven’t had any issues since.
Can anyone else confirm this?
After moving the sticker, I had no issues until today.
On a cold boot, it took minutes to start up and checking powertop showed everything stuck at 200MHz. Strangely not the same as the 400MHz I saw before.
Removing the micro-sd reader in the previously problematic slot immediately brought everything back to full speed.
Looking inside, the sticker did not appear to be shorting anything any longer, so I removed the sticker entirely for that slot. So far everything appears to be working well.
Here is what the sticker looked like while causing a problem.
Very interesting. By any chance what kernel are you using I’m currently on I believe 5.1.4 and don’t have the issue. Although I only got this yesterday haha.
I am running kernel 5.14.9 and had the issue happen again with a different port.
Previously this only occurred on the left front expansion port, but this time it was the right front.
The sticker did not seem to be touching anything, but I removed it anyways as I did with the other sticker. So far so good with the 2 stickers removed.
I wonder if these issues are connected?
I’ve installed powertop and have applied all of the basic tunables. My machine died in deep sleep while in my bad after 48 hours. This seems like the battery is really bad in the current config. I was getting 2 hours of runtime using Microsoft teams and chrome.
There has to be some settings here to tweak this. It’s also getting very hot on my lap, my macbook air last for 8-10 hours on the same workload. I want to get this to at least 6. I’m open for suggestions.
Sorry for resurecting an old thread… but seems to still be an issue on hardware shipped in 2022.
Dealing with some instability and issues with thunderbolt enclosures. I just cracked open my new Framework laptop, sure enough that shielding is way too close to that IC’s pins for the top left module port.
Ideally I think the shielding sticker is supposed to rest “on top of” the ic vs pressed up to the pins.
Don’t trim away as much as I did… just a little cut (with scissors, not near the mainboard!) would be enough to help the (potential) issue. That shielding is definitely there for a reason.
I can confirm similar results.
sudo pacman -Syu throttled s-tui
# Downgrade psutil, see https://github.com/amanusk/s-tui/issues/180
sudo pacman -U /var/cache/pacman/pkg/python-psutil-5.8.0-4-x86_64.pkg.tar.zst
sudo systemctl enable --now lenovo_fix.service
Prior to enabling the
s-tui indicated I was getting about 1.6GHz at full utilization of all cores. After enabling, I see close to 3.7GHz.
∴ pacman -Q throttled python-psutil s-tui
∴ uname -r
Thanks @Anthony_Powell for the tip!
For Arch, as usual, there is a great wiki page on the CPU Frequency Scaling. This also allowed be to control my CPU frequency. I think probably setting the governor this way is better than using
throttled, which is essentially a python script that tries to stomp over specific settings every 5 seconds or so.
∴ powerprofilesctl set balanced
Probably you want some automation to help select the profile depending on the situation. Again, the Arch wiki on Laptop Power Management is a great resource.