linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 218023] New: Overheating Ryzen 7 4800Hs processor
@ 2023-10-18 10:09 bugzilla-daemon
  2023-10-18 13:20 ` [Bug 218023] " bugzilla-daemon
  2023-10-18 13:55 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2023-10-18 10:09 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218023

            Bug ID: 218023
           Summary: Overheating Ryzen 7 4800Hs processor
           Product: Power Management
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: high
          Priority: P3
         Component: cpufreq
          Assignee: linux-pm@vger.kernel.org
          Reporter: workshere359@gmail.com
        Regression: No

Created attachment 305256
  --> https://bugzilla.kernel.org/attachment.cgi?id=305256&action=edit
aida 64

Short backstory: I’ve been facing an overheating issue on my ASUS Vivobook 14
M1402IA-AM173 laptop running Manjaro (kernel 6.5.3-1-MANJARO, scaling_driver
amd-pstate) with 16GB of RAM and a Ryzen 7 4800Hs processor. Every time I
launch applications like PHPStorm (project indexing) or run PHP unit tests
(Paratest), all CPU cores max out their frequency to the maximum value.
According to htop, it reaches 4300 MHz, and even when the processor heats up,
it doesn’t reduce the frequency to prevent overheating. Eventually, it hits a
critical temperature of 105 degrees, and the laptop shuts down.

I tried running tests on Windows 10 with AIDA64. Within two minutes, I ran them
and came to the conclusion that Windows seems to incorrectly detect the fans.
They seemed to be spinning fast, but AIDA was showing only 500-700 RPM (I’m not
sure about the accuracy). However, the laptop did not shut down, and the
processor was running at around 3300-3500 MHz and 90 degrees Celsius plus or
minus.

I decided to attach a video showing how it happens. If it’s not too much
trouble, please take a look at it.

VIDEO Here: https://photos.app.goo.gl/JYbrABX7RrEL3i2r5

After long days of suffering and searching for a solution, I was able to find a
configuration where my laptop wouldn’t overheat.

Here’s what was done:

1. Install tlp (below I will attach the configuration).
2. Add k10temp Then enable it (sudo modprobe k10temp).
3. Add the following line to the grub configuration: amd_pstate=passive. Update
grub.
After this configuration, my processor frequencies stayed around 3900-3700 MHz
±. The temperature at its peak was 93 degrees, I saw such numbers once. Mostly,
it ranged between 86-90.

works on: 6.5.3-1-MANJARO

CPU_DRIVER_OPMODE_ON_AC=passive
CPU_DRIVER_OPMODE_ON_BAT=passive
CPU_SCALING_GOVERNOR_ON_AC=ondemand
CPU_SCALING_GOVERNOR_ON_BAT=ondemand
CPU_BOOST_ON_AC=1
CPU_BOOST_ON_BAT=0
CPU_SCALING_MIN_FREQ_ON_AC=400000
CPU_SCALING_MAX_FREQ_ON_AC=3700000
CPU_SCALING_MIN_FREQ_ON_BAT=400000
CPU_SCALING_MAX_FREQ_ON_BAT=2900000
CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance
CPU_ENERGY_PERF_POLICY_ON_BAT=balance_power.

It seems like something is not working correctly with the fans or the
processor. I've tried it on another system, such as Ubuntu, and the same issue
persists. Right now, everything is functioning, but only with workarounds. I
was advised on a forum to highlight this bug and was directed here.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 218023] Overheating Ryzen 7 4800Hs processor
  2023-10-18 10:09 [Bug 218023] New: Overheating Ryzen 7 4800Hs processor bugzilla-daemon
@ 2023-10-18 13:20 ` bugzilla-daemon
  2023-10-18 13:55 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2023-10-18 13:20 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218023

Artem S. Tashkinov (aros@gmx.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Artem S. Tashkinov (aros@gmx.com) ---
I'm 99.9% sure it's either a hardware failure (malfunctioning fan?) or a buggy
bios.

The kernel cannot make your CPU run at unsafe temperatures. It's the CPU task
to throttle if it heats up.

It's great you've found a workaround but it's not a kernel issue and there's
nothing that can be done in the kernel to fix it.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 218023] Overheating Ryzen 7 4800Hs processor
  2023-10-18 10:09 [Bug 218023] New: Overheating Ryzen 7 4800Hs processor bugzilla-daemon
  2023-10-18 13:20 ` [Bug 218023] " bugzilla-daemon
@ 2023-10-18 13:55 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2023-10-18 13:55 UTC (permalink / raw)
  To: linux-pm

https://bugzilla.kernel.org/show_bug.cgi?id=218023

--- Comment #2 from workshere359@gmail.com ---
(In reply to Artem S. Tashkinov from comment #1)
> I'm 99.9% sure it's either a hardware failure (malfunctioning fan?) or a
> buggy bios.
> 
> The kernel cannot make your CPU run at unsafe temperatures. It's the CPU
> task to throttle if it heats up.
> 
> It's great you've found a workaround but it's not a kernel issue and there's
> nothing that can be done in the kernel to fix it.

Hello! Thank you for your response!

I installed latest bios 310.

Alright, I started dealing with pwmconfig and fancontrol. I immediately
encountered the issue that I don’t have pwm1 :slight_smile:

Here’s the ls output:

device  fan1_input  fan1_label  name  power  pwm1_enable  subsystem  uevent
Here’s the pwd:

/sys/devices/platform/asus-nb-wmi/hwmon/hwmon5
From what works for me:
echo 2 > pwm_enable - works
echo 1 > pwm_enable - says it’s an invalid value
echo 0 > pwm_enable - turns the fans on at full speed. Honestly, I’ve never
heard them running so powerfully. However, I think you’re right; this fan has
potential, and perhaps they could cool the processor effectively.

here sensors:
```
sensors                                                          ✔ 
amdgpu-pci-0400
Adapter: PCI adapter
vddgfx:      718.00 mV 
vddnb:       674.00 mV 
edge:         +46.0°C  
PPT:           4.00 W  

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +52.5°C  

BAT0-acpi-0
Adapter: ACPI interface
in0:          11.85 V  

asus-isa-0000
Adapter: ISA adapter
cpu_fan:     1900 RPM

nvme-pci-0300
Adapter: PCI adapter
Composite:    +30.9°C  (low  =  -0.1°C, high = +76.8°C)
                       (crit = +79.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +53.0°C  (crit = +103.0°C)
```

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-18 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 10:09 [Bug 218023] New: Overheating Ryzen 7 4800Hs processor bugzilla-daemon
2023-10-18 13:20 ` [Bug 218023] " bugzilla-daemon
2023-10-18 13:55 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).