devices:amd_graphics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devices:amd_graphics [2018/12/14 22:19] – Sean Rhone | devices:amd_graphics [2020/01/19 09:32] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | |||
+ | * Diagnostic commands for AMD graphics cards | ||
+ | |||
+ | ====== AMDGPU ====== | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ===== TODO ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ===== Query ===== | ||
+ | |||
+ | ==== Power Info ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo watch --interval ' | ||
+ | |||
+ | ==== Power Sates ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ===== Overclock ===== | ||
+ | |||
+ | ==== SCLK ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * When the highest '' | ||
+ | * :!: This does **not** take effect immediately | ||
+ | |||
+ | echo 's 7 1386 1155' | sudo tee '/ | ||
+ | |||
+ | ==== MCLK ==== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * When the highest '' | ||
+ | * :!: This does **not** take effect immediately | ||
+ | |||
+ | echo 'm 2 2025 955' | sudo tee '/ | ||
+ | |||
+ | ==== Verify Values ==== | ||
+ | |||
+ | * :!: Check if the specified values look alright | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ==== Commit ==== | ||
+ | |||
+ | * :!: Be absolutely certain the values above looked alright | ||
+ | * :!: It is **very** well possible to destroy hardware with this if the values are too high | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | ==== Verify Clocks ==== | ||
+ | |||
+ | * Runs '' | ||
+ | * Queries power info live every 0.5s | ||
+ | |||
+ | vblank_mode=' | ||
+ | |||
+ | sudo watch --interval ' | ||
+ | |||
+ | ==== Reset Clocks ==== | ||
+ | |||
+ | * Sets all CLKs and VDDCs to card defaults and commits it | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | ===== PSTATE Control ===== | ||
+ | |||
+ | ==== Manual Controls ==== | ||
+ | |||
+ | * '' | ||
+ | * TODO: '' | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ==== SCLK === | ||
+ | |||
+ | * Can allow either a single '' | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | echo '5 6 7' | sudo tee '/ | ||
+ | |||
+ | ==== MCLK ==== | ||
+ | |||
+ | * Can allow either a single '' | ||
+ | |||
+ | echo ' | ||
+ | |||
+ | echo '1 2' | sudo tee '/ | ||
+ | |||
+ | ===== Power Limit ===== | ||
+ | |||
+ | ==== Query ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ==== Get Max ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | cat '/ | ||
+ | |||
+ | ==== Set ==== | ||
+ | |||
+ | * :!: This makes fun assumptions, | ||
+ | |||
+ | echo "$(cat '/ | ||
+ | |||
+ | echo "$(cat '/ | ||