JackHack96 / dell-xps-9570-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu running smooth on Dell XPS 15 9570.
999 stars 113 forks source link

Fan speeds doesn't go above 3200 rpm #43

Closed Cznielsen closed 5 years ago

Cznielsen commented 5 years ago

As stated in the title, my fan speeds doesn't go above 3200 rpm (when connected to AC at least) even though the laptop is reaching 97 degrees celcius. Is there a setting I can change anywhere or would I need to utilise i8kutils? I've tried it in the past but it doesn't really work that well for me.

Thanks

JackHack96 commented 5 years ago

Please check the wiki page https://github.com/JackHack96/dell-xps-9570-ubuntu-respin/wiki/Some-useful-tips-and-tricks.

Be aware that fan speeds doens't go that high unless the system is in critical condition.

timkgh commented 5 years ago

How do you monitor the fans on the 9570? sensors-detect doesn't detect any fans. Any recommended GUIs for Ubuntu?

Cznielsen commented 5 years ago

How do you monitor the fans on the 9570? sensors-detect doesn't detect any fans. Any recommended GUIs for Ubuntu?

I use Psensor to add the fan speeds and temperatures to the top bar (Also cpu usage and amount of free ram left). Do you get anything when you write "sensors" in the terminal?

timkgh commented 5 years ago

No, that's the problem, I don't know what kernel module is needed to monitor the fans, coretemp is not enough. I'm on kernel 4.19 as I was trying to resolve the suspend/hibernate problems. sensors hangs trying to read a temp from ath10k (and there's a related dmesg error: failed to synchronize thermal read) but then it goes thru and shows the CPU temps, but no fan speeds. Temps seem well behaved and fans don't run all the time, they come on once in a while, seems like they are behaving but I'd like to keep an eye on speeds and thermals at least initially.

JackHack96 commented 5 years ago

I still didn't try to read sensors from my XPS, but you may need to edit the /etc/sensors3.conf like I did on my desktop PC, as it seems that lm-sensors is no longer maintained :pensive: (my desktop has an ASUS ROG Maximus VII Hero, and sensors are not loaded out of the box)

jsalatas commented 5 years ago

@timkgh the module you need is dell-smm-hwmon. You need to create/edit the file /etc/modprobe.d/dell-smm-hwmon.conf as follows options dell-smm-hwmon restricted=0 force=1

sensors should then show the fan speeds as seen in the attached screenshot and as a matter of fact they are going above 3200 rpm screenshot_20181107_201753

JackHack96 commented 5 years ago

I'll integrate this in the respin and in the tweak script

timkgh commented 5 years ago

Also found it on this page from the amazing Arch Linux wiki but for 9560: https://wiki.archlinux.org/index.php/Dell_XPS_15_9560 modprobe dell-smm-hwmon ignore_dmi=1 works too, but it doesn't work without any options, so not sure which all options we need.

All options are documented here: https://github.com/torvalds/linux/blob/master/drivers/hwmon/dell-smm-hwmon.c#L89