You are not logged in.

#1 2017-08-27 19:00:06

jerk-o
Member
Registered: 2017-08-27
Posts: 18

[SOLVED] CPU fan

If I'm using the Cinnamon desktop in Debian 9 my cpu fan turns on whenever I play Borderlands 2 but if I'm using Bunsenlabs Helium the cpu fan doesn't turn on when I'm playing.

Last edited by Head_on_a_Stick (2017-08-28 22:11:40)

Offline

#2 2017-08-27 19:04:56

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

Yay!

BL-He 1, Debian stretch 0

devil

Do you have a recent Intel graphics card?

If so, try installing firmware-misc-nonfree in your Debian system, Skylake cards need the firmware blobs to work properly.

Note: as you have not mentioned overheating in your BunsenLabs system then I am presuming that the fan not being on is a good thing rather than a bug, please correct me if I am mistaken.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2017-08-27 19:23:40

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] CPU fan

Bunsenlabs is not capable of spinning my fans up through normal usage. By that I mean, through normal useage, it consumes hardly any ram and cpu useage is barely a blip on one of 12 virtual core (6 physical). Windows 10 even runs nicely on it, lol. I get on other Windows 10 machines and I am like, OMG how do people live with this?

Offline

#4 2017-08-28 00:58:36

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

Correction: having the fan not turn on while playing Borderlands is a bad thing.  Sorry about that.  The recommended cpu for Borderlands 2 is a quad-core cpu, so it heats up quite a bit while playing.

Offline

#5 2017-08-28 10:50:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

Borderlands needs a discrete GPU, right?

Much as I love the awesome work of the nouveau team, I don't think that driver will cut it for modern FPS games  hmm

What is your graphics hardware?

lspci -knn | grep -iA2 'vga\|3d'

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2017-08-28 17:31:33

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
	Subsystem: Lenovo 2nd Generation Core Processor Family Integrated Graphics Controller [17aa:21ce]
	Kernel driver in use: i915
--
00:16.3 Serial controller [0700]: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller [8086:1c3d] (rev 04)
	Subsystem: Lenovo 6 Series/C200 Series Chipset Family KT Controller [17aa:21ce]
	Kernel driver in use: serial

Mod Note: please use code tags when posting terminal output, thanks!
-HoaS

Last edited by Head_on_a_Stick (2017-08-28 17:46:57)

Offline

#7 2017-08-28 17:45:56

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

Well, it looks like your hardware is quite old and only has an integrated card, is that correct?

I am surprised that there is a difference between stretch & Helium as they both use the same graphics stack for the hardware you have listed (apart from our inclusion of the Intel DDX driver but that isn't used for 3D games).

There is the option of the thinkfan package, guide here:

http://forums.debian.net/viewtopic.php?t=118734

But that is usually employed to reduce the fan speed rather than increase it.

Is your processor showing more usage in BL-He or is it just that the fan doesn't turn on (or both)?

EDIT: try this:

sudo apt install mesa-vulkan-drivers

It is unlikely to fix things but I am interested to know for sure.

Last edited by Head_on_a_Stick (2017-08-28 17:48:55)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2017-08-28 18:17:05

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

Ok, I'll try that, but the problem is that my cpu fan is turning on while playing if I'm using the Cinnamon desktop, but the cpu fan isn't turning on while playing if I'm using Bunsenlabs Helium.

Offline

#9 2017-08-28 18:35:28

damo
....moderator....
Registered: 2015-08-20
Posts: 5,059

Re: [SOLVED] CPU fan

^ What are the actual cpu temperatures, and are they reasonable?

Run 'sensors' (from the lm-sensors package) to display temps, or use a conky to show them on the desktop.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2017-08-28 18:42:54

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

Adapter: ISA adapter
Physical id 0:  +45.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +44.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +45.0°C  (high = +86.0°C, crit = +100.0°C)

I also ran 'sensors' after playing Borderlands 2 for a while in Bunsenlabs and the temp was 90 C.

Offline

#11 2017-08-28 19:43:58

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] CPU fan

At 100, your system will shutdown to protect the cpu. I am actually really suprised that Borderlands would run at all on an intel chipset. So the fans were not spinning up when your cpu temp was at 90? They should be pretty close to max at that temp.

Offline

#12 2017-08-28 22:06:16

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

Correct, the fans were not spinning at 90.  After following the guide posted by Head_on_a_Stick the fans have been working properly.  This does sound like something to put into bl-welcome if you know how to check for it.  Is there anything I can look at to help with that?

Edit:  Yes, Borderlands is running on my Intel chipset.  Having the resolution at 800x600 gives me good enough fps to be able to play online with 3 other players and not lag out unless a bunch of status effects go off right in front of me.

Last edited by jerk-o (2017-08-28 22:08:14)

Offline

#13 2017-08-28 22:08:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

jerk-o wrote:

After following the guide posted by Head_on_a_Stick the fans have been working properly.

Fantastic, thanks for reporting back!

This does sound like something to put into bl-welcome if you know how to check for it.  Is there anything I can look at to help with that?

That's a good idea and we will look into it and get back to you if we need more information, thanks again.

*runs off to buy Borderlands*  monkey

Last edited by Head_on_a_Stick (2017-08-28 22:09:13)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#14 2017-08-29 19:25:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

jerk-o wrote:

After following the guide posted by Head_on_a_Stick the fans have been working properly.

If I may: what did you actually have to do to configure the thinkfan package?

The guide I linked says that the systemd .service needs enabling and the kernel module option added, did you do this?

Also, did you have to edit the configuration file or were the stock settings enough?

It would be useful if simply installing the thinkfan package fixed things, is that the case?

I would investigate myself but my ThinkPad has OpenBSD-current occupying the whole drive and I have sworn to leave it there until it dies by it's own hand. That runs consistently 5-10°C cooler than Linux anyway & doesn't need a package to fix things.

Last edited by Head_on_a_Stick (2017-08-29 19:29:28)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2017-08-30 00:49:06

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

I went through the guide and did every step it said.  I don't remember if I edited the config file or not, but I could reinstall bunsenlabs and try it again.

Offline

#16 2017-08-30 04:24:28

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

Ok, reinstalled Debian using a netinstall cd.  Selected just the standard system utilites.  Installed the thinkfan package right before downloading and running the helium-netinstall-dev script.  Now the fan works.

Offline

#17 2017-08-30 07:03:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

^ Fantastic, thank you very much for the feedback.

I think we may simply add the thinkfan package to our base system, it's only ~100KiB and Debian must include it in their images.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#18 2017-08-30 07:56:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 5,740
Website

Re: [SOLVED] CPU fan

Head_on_a_Stick wrote:

I think we may simply add the thinkfan package to our base system, it's only ~100KiB and Debian must include it in their images.

apt-rdepends --follow=Depends,PreDepends,Recommends cinnamon | grep thinkfan

brought up nothing, but maybe cinnamon provides the same kind of functionality in a different package.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Online

#19 2017-08-30 19:12:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

The metapackage doesn't install the whole desktop, the task does that:

empty@Diproton:~ $ apt-rdepends --follow=Depends,PreDepends,Recommends task-cinnamon-desktop | grep thinkfan                                                                                                                                                                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1|empty@Diproton:~ $
johnraff wrote:

maybe cinnamon provides the same kind of functionality in a different package.

Must be...  hmm

@jerk-o, is the thinkfan package installed in your cinnamon desktop?

Last edited by Head_on_a_Stick (2017-08-30 19:14:54)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#20 2017-08-31 00:19:48

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

No, thinkfan is not installed.  Also, if I do the command "sudo dmidecode -t 1 | grep Version" I get "Version: ThinkPad T420" so that might be a place to start if bl-welcome is going to check to see if the thinkfan package should be installed.

Offline

#21 2017-09-02 03:50:42

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

I did just notice that the default thinkfan.conf file doesn't have any temperature settings in it.  This sounds like a debian bug to me, but I don't know where to report this to debian.  An "easy" fix for this would be to add some temperature settings at the end of the file.

Offline

#22 2017-09-02 10:30:08

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: [SOLVED] CPU fan

^This is not a Debian bug, it's a bug from you!
At the top, HoaS Links exactly what you have to do.

T420 --> check this: http://thinkwiki.de/Thinkfan#Keine_Funk … n_Modellen   wink

Offline

#23 2017-09-02 12:27:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

jerk-o wrote:

I did just notice that the default thinkfan.conf file doesn't have any temperature settings in it.  This sounds like a debian bug to me, but I don't know where to report this to debian.

No, as unklar notes the file is supposed to be user-configured.

I think we have an answer in respect of "safety" if the package is installed:

empty@testbed:~ $ cat /usr/share/doc/thinkfan/README.Debian                                                          
thinkfan for Debian
-------------------

WARNING!
 thinkfan CAN kill your system and is thus disabled by default

If you really want to enable thinkfan, adjust /etc/thinkfan.conf to your
needs and then enable thinkfan in your init system.

If you are using SysV init, use “update-rc.d thinkfan enable”.

If you are using systemd, use “systemctl enable thinkfan.service”.

Additionally, on ThinkPads, you need to load the thinkpad_acpi module with
fan_control=1, or it will refuse to accept control from thinkfan.
That's most easily done with a file /etc/modprobe.d/thinkfan.conf and the
following entry in it:
options thinkpad_acpi fan_control=1

 -- Evgeni Golov <evgeni@debian.org>  Sun, 12 Mar 2017 09:01:50 +0100
empty@testbed:~ $

@OP, are you sure that your problem was fixed by simply installing the package?

According to the above it should be disabled by default.

What is the output of these commands from your BL system:

sudo lsmod | grep thinkpad
cat /proc/acpi/ibm/fan
systemctl status thinkfan

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#24 2017-09-02 18:16:59

jerk-o
Member
Registered: 2017-08-27
Posts: 18

Re: [SOLVED] CPU fan

thinkpad_acpi          69632  1
nvram                  16384  1 thinkpad_acpi
rfkill                 20480  6 bluetooth,thinkpad_acpi,cfg80211
video                  36864  2 thinkpad_acpi,i915
snd                    57344  15 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
status:		enabled
speed:		3208
level:		auto
thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

I just had the idea of having bl-welcome check to see if the user is using a thinkpad and suggesting that the user look into the thinkfan package and maybe set up the temperature entries in thinkpad.conf themselves.

Last edited by Head_on_a_Stick (2017-09-02 19:07:54)

Offline

#25 2017-09-02 19:11:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] CPU fan

So thinkpad.service is disabled, how about the fan control?

cat /sys/modules/thinkpad_acpi/parameters/fan_control # path may be slightly different, use tab-completion to grope around

And does the script actually work if you run it manually?

/usr/sbin/thinkfan

If it's not too much trouble, could you please confirm that removing the thinkfan package breaks your fan again because it doesn't look like it's doing anything at all  hmm


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB