diff options
| author | System64 <72354122+System64fumo@users.noreply.github.com> | 2024-05-23 19:04:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 18:04:39 +0200 |
| commit | 255272ea18a1bd899168b2d2063b6f153edda919 (patch) | |
| tree | 31ee90a843e8911fb4b9fba0e8cdb6a09c31305d /src/debug | |
| parent | df80fbf70650dfb0d96381a1d86d30811cf516f4 (diff) | |
debug: Add ARM GPU info (#6212)
Added a simple way to get basic info about the GPU on ARM based systems
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 51071533..dc5fa742 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -883,6 +883,8 @@ std::string systemInfoRequest(eHyprCtlOutputFormat format, std::string request) #if defined(__DragonFly__) || defined(__FreeBSD__) const std::string GPUINFO = execAndGet("pciconf -lv | fgrep -A4 vga"); +#elif defined(__arm__) || defined(__aarch64__) + const std::string GPUINFO = execAndGet("cat /proc/device-tree/soc*/gpu*/compatible"); #else const std::string GPUINFO = execAndGet("lspci -vnn | grep VGA"); #endif |
