Page MenuHomeSolus

Update CPU-X to 4.0.0
ClosedPublic

Authored by aleksvor on May 18 2020, 3:08 PM.

Details

Summary

Changelog:

  • Additions
    • Add a daemon to handle privileged access.
    • Add basic completions for Bash/Fish/Zsh.
    • Add settings window in GUI.
    • Add "Driver" label in Graphics tab.
    • Add support for zenpower module.
  • Changes
    • Patch dmidecode to version 3.2.5b3c8e9.
    • Uniform all units (byte and octet).
    • Rewrite all CLI options.
    • Write output to /tmp/cpu-x.log and /tmp/cpu-x-daemon.log files when --issue-fmt is used.
    • Update databases.
    • Replace nvidia-settings command calls by nvidia-smi.
  • Removals
    • Remove all privileged access in cpu-x binary (moved to cpu-x-daemon).
    • Remove "CPU-X (Root)" desktop launcher.
  • Fixes
    • Fix some awk regex.
    • Fix load_module() function.
    • Fix options parsing.
    • Various C fixes (unsafe functions and warnings).
    • Fix with VFIO GPU driver.
    • Fix GUI switches appearance in Bench tab.
    • Various fixes in NCurses TUI.
Test Plan
  1. Checked info about my hardware (in virtualized environment and on bare-metal system).
  2. Ran built-in benchmarks.

Diff Detail

Repository
R4515 cpu-x
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

aleksvor created this revision.May 18 2020, 3:08 PM
aleksvor requested review of this revision.May 18 2020, 3:08 PM

After building it myself I found that the "Support for L1 Instruction Cache information" from official changelog is also not relevant to us - it relies on function from libcpuid that is only available in the master branch at the moment. CMake searches for the relevant symbol in the library and disables this feature automatically because our build from 0.4.1 release doesn't have this symbol.

JoshStrobl accepted this revision.May 21 2020, 8:17 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM and thanks for the additional details.

This revision is now accepted and ready to land.May 21 2020, 8:17 AM
This revision was automatically updated to reflect the committed changes.