You are not logged in.
Hi,
I'm trying to get the best performance out of my computer/laptop right now and I realize that when I plug my laptop, the performance on arch increases significantly and I can feel smoother in my games.
The thing is when I'm plugged in, the temperature of course is higher and I wanted to play when the laptop is not plugged instead,
this is where the problem starts,
Arch linux slows down my system when I'm not plugged in to of course reserve power, but this is not the case because I wanted to use all the resource that my laptop has to offer.
I've tried some tlp to set so that when my pc is BAT it's running AC conf but it doesn't work,
I've also tried to change the status in charging/discharging in /system/class/power_supply (which is dumb ik) and doesn't work anyway..
So I'm kinda stuck.. If you can help that would be helpful.
Thank you in advance; PS im a beginner;
Offline
The drop in performance is probably because the battery can't supply enough power to keep the CPU & GPU running at full speed, which is something that can't really be fixed using software. It runs hotter when plugged in because more power is being dissipated, which again can't be mitigated using software without also reducing performance.
Ye cannae change the laws of physics
What is your power supply rated at and what does powertop(8) say the consumption is on battery power?
Jin, Jîyan, Azadî
Offline
The drop in performance is probably because the battery can't supply enough power to keep the CPU & GPU running at full speed
I mean if I had 100% and put it on performance mode it def gonna use more power but I can't imagine it's not enough power to supply the cpu and gpu.
I mean I use windows before and putting it on performance mode def made power go down faster but still can still be used for 1 hour +-.
What is your power supply rated at and what does powertop(8) say the consumption is on battery power?
Umm.. I'm not really sure what is power supply rated but my powertop outputs
The energy consumed was 3.04 kJon BAT..
So are there really no way to set performance mode on battery?
Offline
Check the content of /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor to see if that changes when on battery compared to AC.
My system doesn't change that at all but I'm using sway. Which desktop environment are you using?
EDIT: so performance doesn't suffer at all under Windows when using the battery?
Last edited by Head_on_a_Stick (2024-01-28 15:16:47)
Jin, Jîyan, Azadî
Offline
What desktop environment are you using?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Check the content of /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor to see if that changes when on battery compared to AC.
running cat on BAT returns 4 schedutil, and running cat on AC also returns 4 schedutils.
My system doesn't change that at all but I'm using sway. Which desktop environment are you using?
wayland, or hyprland to be specific
EDIT: so performance doesn't suffer at all under Windows when using the battery?
performance doesn't suffer when using the battery profile "performance" in the control panel
:( no fixes
Last edited by Tnnshi (2024-01-28 15:31:41)
Offline
You could try GNOME, that offers a "performance" profile that might do what you want. It doesn't work on your lap though, the machine has to be on a solid surface.
I think the profiles hook into firmware settings, if they are available, so it might work the same as under Windows. No idea how to do that under Hyprland though, perhaps ask the developers about it.
Jin, Jîyan, Azadî
Offline
I've used GNOME before, I haven't scratched the setting much but I felt a lot lighter in hyprland (idk) and it looks better anyway, i dont really want another weekend making config to match my current hypr config, so changing desktop environment is probably out of my choice,
but, Is it really no way to do it tho?
Like, could you maybe fool the computer to thinking that its on AC when it's just battery so that they just use the available energy to their maxes?
Last edited by Tnnshi (2024-01-28 21:54:32)
Offline