Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Fan speed - Nvidia - Temperature issues

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
choleski
Posts: 3
Joined: 2022-09-18 16:24

Fan speed - Nvidia - Temperature issues

#1 Post by choleski »

Hello,
I have been using Debian since the beginning of this year. I have an ASUS K53s laptop. I have some issues that I think are related and I don't know how to solve them.

1. Fan speed is usually very high. At boot it's at 100%, and after login, even if it's in idle, fan speed is very high. I have thermald running

Output of "sensors":

Code: Select all

asus-isa-0000
Adapter: ISA adapter
temp1:        +70.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +71.0°C  (high = +80.0°C, crit = +85.0°C)
Core 0:        +71.0°C  (high = +80.0°C, crit = +85.0°C)
Core 1:        +67.0°C  (high = +80.0°C, crit = +85.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +70.0°C  (crit = +88.0°C)

BAT0-acpi-0
Adapter: ACPI interface
in0:          12.47 V  
curr1:         0.00 A  
Thermald service:

Code: Select all

● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2022-09-18 19:16:28 EEST; 19min ago
   Main PID: 735 (thermald)
      Tasks: 2 (limit: 4542)
     Memory: 5.9M
        CPU: 248ms
     CGroup: /system.slice/thermald.service
             └─735 /usr/sbin/thermald --systemd --dbus-enable --adaptive

Sep 18 19:16:28 g-debian thermald[735]: 13 CPUID levels; family:model:stepping 0x6:2a:7 (6:42:7)
Sep 18 19:16:28 g-debian thermald[735]: 13 CPUID levels; family:model:stepping 0x6:2a:7 (6:42:7)
Sep 18 19:16:28 g-debian thermald[735]: Polling mode is enabled: 4
Sep 18 19:16:28 g-debian thermald[735]: sensor id 5 : No temp sysfs for reading raw temp
Sep 18 19:16:28 g-debian thermald[735]: sensor id 5 : No temp sysfs for reading raw temp
Sep 18 19:16:28 g-debian thermald[735]: sensor id 5 : No temp sysfs for reading raw temp
Sep 18 19:16:28 g-debian thermald[735]: Config file /etc/thermald/thermal-conf.xml does not exist
Sep 18 19:16:28 g-debian thermald[735]: Config file /etc/thermald/thermal-conf.xml does not exist
Sep 18 19:16:28 g-debian thermald[735]: Config file /etc/thermald/thermal-conf.xml does not exist
Sep 18 19:16:28 g-debian systemd[1]: Started Thermal Daemon Service.


2. The laptop has an Nvidia GT 520MX, but I'm not sure if the video processing is being done by the GPU or by the CPU and that's caussing the temperature problem. Also, the video is very choppy, I hardly can see a youtube video. The ouput of "nvidia-smi"

Code: Select all

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.154                Driver Version: 390.154                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 520MX    Off  | 00000000:01:00.0 N/A |                  N/A |
| N/A   70C    P0    N/A /  N/A |      0MiB /   964MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0                    Not Supported                                       |
+-----------------------------------------------------------------------------+
- lspci info

Code: Select all

ger@g-debian:~$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. 2nd Generation Core Processor Family Integrated Graphics Controller
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520MX] (rev a1)
	Subsystem: ASUSTeK Computer Inc. GF119M [GeForce GT 520MX]
	Kernel driver in use: nvidia
	Kernel modules: nvidia
Does someone know how to solve the problem in the choppy video and the fan speed issue?

Thanks!

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: Fan speed - Nvidia - Temperature issues

#2 Post by Hallvor »

Have you tried this?

Code: Select all

# apt install nvidia-legacy-390xx-driver
https://packages.debian.org/bullseye/nv ... 0xx-driver
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Fan speed - Nvidia - Temperature issues

#3 Post by Segfault »

First. CPU 70°C, this is not idle. Something is crowding your CPU, why don't you see what process is responsible?
Second. It looks like you have hybrid graphics, Optimus maybe? Have you configured it properly?

choleski
Posts: 3
Joined: 2022-09-18 16:24

Re: Fan speed - Nvidia - Temperature issues

#4 Post by choleski »

Hallvor wrote: 2022-09-18 18:10 Have you tried this?

Code: Select all

# apt install nvidia-legacy-390xx-driver
https://packages.debian.org/bullseye/nv ... 0xx-driver
I already have installed this drivers.

Segfault wrote: 2022-09-18 20:41 First. CPU 70°C, this is not idle. Something is crowding your CPU, why don't you see what process is responsible?
Second. It looks like you have hybrid graphics, Optimus maybe? Have you configured it properly?
This was in idle, and the output of sensors was almost the same as before. There is no process consuming too much resources

Code: Select all

top - 18:05:49 up 25 min,  1 user,  load average: 1.19, 3.23, 2.72
Tasks: 224 total,   1 running, 223 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.9 us,  4.4 sy,  0.0 ni, 92.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :   3839.0 total,   1950.9 free,    586.1 used,   1301.9 buff/cache
MiB Swap:    976.0 total,    976.0 free,      0.0 used.   2979.2 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND       
   1545 root      20   0  228104  67836  35736 S   6.2   1.7   1:48.27 Xorg          
   5410 ger       20   0   10300   3716   3224 R   6.2   0.1   0:00.01 top           
      1 root      20   0  164560  10700   7672 S   0.0   0.3   0:02.49 systemd       
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.00 kthreadd      
      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp        
      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp    
      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H+ 
      8 root       0 -20       0      0      0 I   0.0   0.0   0:00.05 kworker/0:1H+ 
      9 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq  
     10 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_ru+ 
And when I open Firefox:

Code: Select all

top - 18:23:19 up 42 min,  1 user,  load average: 3.50, 2.15, 2.12
Tasks: 222 total,   2 running, 220 sleeping,   0 stopped,   0 zombie
%Cpu(s): 15.8 us,  8.0 sy,  0.0 ni, 75.9 id,  0.0 wa,  0.0 hi,  0.2 si,  0.0 st
MiB Mem :   3839.0 total,    586.9 free,   1838.3 used,   1413.8 buff/cache
MiB Swap:    976.0 total,    976.0 free,      0.0 used.   1692.3 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                       
   6386 root     -51   0       0      0      0 S  39.1   0.0   0:34.80 kidle_inj/3                                                                   
   6384 root     -51   0       0      0      0 S  38.4   0.0   0:34.42 kidle_inj/1                                                                   
   6385 root     -51   0       0      0      0 S  38.1   0.0   0:34.82 kidle_inj/2                                                                   
   6383 root     -51   0       0      0      0 S  37.4   0.0   0:34.54 kidle_inj/0                                                                   
   5417 ger       20   0 3453404 619444 195640 S  29.1  15.8   6:31.02 firefox-esr                                                                   
   5686 ger       20   0 2878104 333468 120292 R  27.2   8.5   0:50.70 Web Content                                                                   
   1545 root      20   0  242072  76212  43504 S   5.6   1.9   3:06.05 Xorg                                                                          
   1740 ger       20   0  249204  42108  32320 S   1.7   1.1   0:34.72 xfwm4                                                                         
   5561 ger       20   0   26.4g 123492  82740 S   1.7   3.1   0:10.34 WebExtensions               
I'm not sure of I have an hybrid card.

Code: Select all

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520MX] (rev a1)

Code: Select all

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:modesetting

Code: Select all

$ sudo lshw -C video
  *-display                 
       description: VGA compatible controller
       product: GF119M [GeForce GT 520MX]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:db000000-dbffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:d000(size=128) memory:dc000000-dc07ffff
  *-display
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:32 memory:dc400000-dc7fffff memory:b0000000-bfffffff ioport:e000(size=64) memory:c0000-dffff
I don't have any "xorg.conf" file.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Fan speed - Nvidia - Temperature issues

#5 Post by Segfault »

I'm not sure of I have an hybrid card.
It seems I did not spark your interest, you did not look at Debian Optimus Wiki page. Well, you know better, your computer.

If your CPU is idling at 70° C then you have a major heat transfer issue. Either the airflow is restricted, heat sink is covered with dust or the thermal paste has degraded. Possibly all three. For comparison, my i5 laptop is idling at less than 40° C.

choleski
Posts: 3
Joined: 2022-09-18 16:24

Re: Fan speed - Nvidia - Temperature issues

#6 Post by choleski »

Segfault wrote: 2022-09-20 16:36
I'm not sure of I have an hybrid card.
It seems I did not spark your interest, you did not look at Debian Optimus Wiki page. Well, you know better, your computer.

If your CPU is idling at 70° C then you have a major heat transfer issue. Either the airflow is restricted, heat sink is covered with dust or the thermal paste has degraded. Possibly all three. For comparison, my i5 laptop is idling at less than 40° C.
This weekend I will study the wiki page, thanks for the info.

The airflow is not restricted and the heat sink is clean. The thermal paste could be degraded, I will also check it when I have time.

Post Reply