So I’ve been dealing with an issue for about a year now, and every time I try to fix it either it doesn’t work or I break my install (fail to boot, incorrect grub configuration) trying to implement a fix.
The problem is with the CPU governor is constantly being locked in “power saver” mode the cpu will not budge beyond 2.2+ Ghz (idle) without manually setting it to “performance” or “ondemand” through cpupower/cpupower-gui. If left unchanged the computer will struggle to do anything such as taking a long time to load a browser or open basic programs. The problems then intensify when hit with any sort of load, sometimes soft locking.
I’ve modified /etc/default/cpupower setting "governor=‘ondemand’ " recently
I’ve also looked at grub and couldn’t find “amd_pstate” when i searched the grub
One solution I was going to try was to load a bash script on startup however it would require administrative privileges causing it to do nothing on startup. this is also just a band-aid fix for the issue.
My system is thus:
CPU: Ryzen 2700X (default OC) (8c 16t ~3.7Ghz)
MB: MSI 570-A Pro (MS-7C37)
RAM: G.Skill 2x8GB DDR4 3200 Mhz
GPU: Nvidia RTX 2070 Super
OS: EndeavourOS (Latest update)
Kernel: Linux 6.6.44-3-lts/default Linux Kernel
Graphics: X11 (wayland doesn’t work atm)
OS Installed on SSD, no swap
GRUB config:
GRUB boot loader configuration
GRUB_DEFAULT=‘0’
GRUB_TIMEOUT=‘5’
GRUB_DISTRIBUTOR=‘EndeavourOS’
GRUB_CMDLINE_LINUX_DEFAULT=‘nowatchdog nvme_load=YES rd.luks.uuid=e8b539f2-9bfa-4acb-b054-1ab3cae54dd0 loglevel=3’
GRUB_CMDLINE_LINUX=“”
Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES=“part_gpt part_msdos”
Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y
Set to ‘countdown’ or ‘hidden’ to change timeout behavior,
press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu
Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
The resolution used on graphical terminal
note that you can use only modes which your graphic card supports via VBE
you can see them in real GRUB with the command `videoinfo’
GRUB_GFXMODE=auto
Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
Uncomment if you want GRUB to pass to the Linux kernel the old parameter
format “root=/dev/xxx” instead of “root=/dev/disk/by-uuid/xxx”
#GRUB_DISABLE_LINUX_UUID=true
Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=‘true’
Uncomment and set to the desired menu colors. Used by normal and wallpaper
modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL=“light-blue/black”
#GRUB_COLOR_HIGHLIGHT=“light-cyan/blue”
Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND=‘/usr/share/endeavouros/splash.png’
#GRUB_THEME=“/path/to/gfxtheme”
Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE=“480 440 1”
Uncomment to make GRUB remember the last selection. This requires
setting ‘GRUB_DEFAULT=saved’ above.
#GRUB_SAVEDEFAULT=true
Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU=‘false’
Probing for other operating systems is disabled for security reasons. Read
documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
functionality install os-prober and uncomment to detect and include other
operating systems.
#GRUB_DISABLE_OS_PROBER=false
GRUB_EARLY_INITRD_LINUX_STOCK=‘’
CPUPOWER
Define CPUs governor
valid governors: ondemand, performance, powersave, conservative, userspace.
governor=‘ondemand’
Limit frequency range
Valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq=“2.25GHz”
#max_freq=“3GHz”
Specific frequency to be set.
Requires userspace governor to be available.
Do not set governor field if you use this one.
#freq=
Utilizes cores in one processor package/socket first before processes are
scheduled to other processor packages/sockets.
See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=
Utilizes thread siblings of one processor core first before processes are
scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=
Sets a register on supported Intel processore which allows software to convey
its policy for the relative importance of performance versus energy savings to
the processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=
vim:set ts=2 sw=2 ft=sh et:
Thanks in advance for taking the time to help.