cyring / CoreFreq

CoreFreq : CPU monitoring and tuning software designed for 64-bit processors.
https://www.cyring.fr
GNU General Public License v2.0
1.97k stars 126 forks source link

corefreq-cli does not work #386

Closed LethalManBoob closed 1 year ago

LethalManBoob commented 1 year ago

image

LethalManBoob commented 1 year ago

Turns out I need to have the release candidate kernel for it to work. It fails to build kernel modules on anything else.

cyring commented 1 year ago
LethalManBoob commented 1 year ago
  • What are the Processor manufacturer, brand, model ?

amd ryzen 5700x

  • What are the Linux distribution and kernel version ?

arch linux - linux-cachyos-bore 6.1.1-1

  • Is there a CPU crash recorded into the kernel log ?

No. The log it points me to doesnt even exist

  • Where is CoreFreq installed from ? Package link ?

via paru in the aur - via cachyos repo

  • Did any previous version of CoreFreq use to work on that system ?

it has worked for about 2 months on the rc kernel. has yet to work on release kernel.

cyring commented 1 year ago

May I ask you to go to the latest developments.

  1. Uninstall CoreFreq and related package
  2. Make sure no binaries remain in your system : corefreqk.ko corefreqd corefreq-cli
  3. Pull the develop branch
    git clone -b develop https://github.com/cyring/CoreFreq
  4. Change to the CoreFreq directory and build project
  5. Run from that directory
    • Driver
      insmod ./corefreqk.ko
      ## Check for any error within log
      dmesg 
    • Daemon If driver started successfully then launch Daemon in Trace mode
      ./corefreqd -d
    • Client If things are OK, dump CLI output and export to JSON
      corefreq-cli -s
      corefreq-cli -j > /tmp/corefreq.json
cyring commented 1 year ago

For your information, just update to latest CachyOS, host being ArchLinux

2022-12-26-231604_644x1012_scrot

cyring commented 1 year ago

Based on the latest develop branch, what is your status of the issue ?

LethalManBoob commented 1 year ago

So for no reason that I know of. It works on the linux-rt kernel as well as linux-rc. Ive stopped using the other kernels that caused the bug when cachyos bmq gets updated ill install that to test as i wish to use that scheduler at some point.

cyring commented 1 year ago

So for no reason that I know of. It works on the linux-rt kernel as well as linux-rc. Ive stopped using the other kernels that caused the bug when cachyos bmq gets updated ill install that to test as i wish to use that scheduler at some point.

Thanks, feel free to mark issue as solved and close it.

Regards

LethalManBoob commented 1 year ago

Ive yet to test the kernel it failed on in the first place but ill reopen it when i go to test the bmq kernel and should i run in to issues again. im getting the prebuilt repo on my end updated to match the latest git so i can test.

EDIT: Tested other kernels that failed. As of latest build it has been fixed.