Debug tools for AMD zen systems

Clone this repo:
  1. acc8749 Discover TTM module in initramfs using dracut or mkinitcpio, not just initramfs-tools by Fjalar · 5 weeks ago master 0.2.21
  2. a282daa amd-s2idle: Flag ASPM disabled via pcie_aspm=off on the kernel command line by Destin · 6 weeks ago
  3. 06e4e0a amd-s2idle: Sanitise IRQ action name before walking sysfs by Mario Limonciello · 9 weeks ago 0.2.20
  4. 8ab6ab0 amd-s2idle: Drop group-writable /var/local database fallback by Mario Limonciello · 9 weeks ago
  5. e219256 amd-s2idle: Load kernel modules via absolute path without a shell by Mario Limonciello · 9 weeks ago

Helpful tools for debugging AMD Zen systems

codecov PyPI

This repository hosts open tools that are useful for debugging issues on AMD systems.

Installation

Distro (Arch)

amd-debug-tools has been packaged for Arch Linux (and derivatives). You can install it using:

pacman -Sy amd-debug-tools

Using a python wheel (Generic)

It is suggested to install tools in a virtual environment either using pipx or python3 -m venv.

From PyPI

amd-debug-tools is distributed as a python wheel, which is a binary package format for Python. To install from PyPI, run the following command:

pipx install amd-debug-tools

From source

To build the package from source, you will need to the python3-build package natively installed by your distribution package manager. Then you can generate and install a wheel by running the following commands:

python3 -m build
pipx install dist/amd-debug-tools-*.whl

Ensuring path

If you have not used a pipx environment before, you may need to run the following command to set up the environment:

pipx ensurepath

This will add the pipx environment to your path.

Running in-tree

Documentation about running directly from a git checkout is available here.

Tools

Each tool has its own individual documentation page: