diff options
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index c6430027..ab371df2 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -10,6 +10,7 @@ #include "desktop/history/WorkspaceHistoryTracker.hpp" #include "desktop/view/Group.hpp" #include "helpers/Splashes.hpp" +#include "helpers/SystemInfo.hpp" #include "config/ConfigValue.hpp" #include "config/legacy/ConfigManager.hpp" #include "config/shared/inotify/ConfigWatcher.hpp" @@ -232,26 +233,7 @@ CCompositor::CCompositor(bool onlyConfig) : m_onlyConfigVerification(onlyConfig) Log::logger->initIS(m_instancePath); - Log::logger->log(Log::DEBUG, "Instance Signature: {}", m_instanceSignature); - - Log::logger->log(Log::DEBUG, "Runtime directory: {}", m_instancePath); - - Log::logger->log(Log::DEBUG, "Hyprland PID: {}", m_hyprlandPID); - - Log::logger->log(Log::DEBUG, "===== SYSTEM INFO: ====="); - - logSystemInfo(); - - Log::logger->log(Log::DEBUG, "========================"); - - Log::logger->log(Log::DEBUG, "\n\n"); // pad - - Log::logger->log(Log::INFO, "If you are crashing, or encounter any bugs, please consult https://wiki.hypr.land/Crashes-and-Bugs/\n\n"); - setRandomSplash(); - - Log::logger->log(Log::DEBUG, "\nCurrent splash: {}\n\n", m_currentSplash); - bumpNofile(); } @@ -365,6 +347,16 @@ void CCompositor::initServer(std::string socketName, int socketFd) { m_initialized = true; + Log::logger->log(Log::DEBUG, "Instance Signature: {}", m_instanceSignature); + Log::logger->log(Log::DEBUG, "Runtime directory: {}", m_instancePath); + Log::logger->log(Log::DEBUG, "Hyprland PID: {}", m_hyprlandPID); + Log::logger->log(Log::DEBUG, "===== SYSTEM INFO: ====="); + Log::logger->log(Log::DEBUG, "{}", Helpers::SystemInfo::getSystemInfo()); + Log::logger->log(Log::DEBUG, "========================"); + Log::logger->log(Log::DEBUG, "\n\n"); // pad + Log::logger->log(Log::INFO, "If you are crashing, or encounter any bugs, please consult https://wiki.hypr.land/Crashes-and-Bugs/\n\n"); + Log::logger->log(Log::DEBUG, "\nCurrent splash: {}\n\n", m_currentSplash); + m_drm.fd = m_aqBackend->drmFD(); Log::logger->log(Log::DEBUG, "Running on DRMFD: {}", m_drm.fd); |
