logging: get broader GPUINFO (#8753)

This commit is contained in:
Ikalco
2024-12-18 08:56:53 -06:00
committed by GitHub
parent 5f1df55fcb
commit 49e5f9c428
3 changed files with 3 additions and 3 deletions

View File

@@ -608,7 +608,7 @@ void logSystemInfo() {
}
} catch (...) { GPUINFO = "error"; }
#else
const std::string GPUINFO = execAndGet("lspci -vnn | grep VGA");
const std::string GPUINFO = execAndGet("lspci -vnn | grep -E (VGA|Display|3D)");
#endif
Debug::log(LOG, "GPU information:\n{}\n", GPUINFO);