aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-01-22 09:46:41 +0100
committervaxerski <[email protected]>2024-01-22 09:46:47 +0100
commit02b4a9bdede8ab0336e2e7ac52b39cab36208bb4 (patch)
treec6d8edd1e261b78dac50e184acab98a0b7a75f99
parent4d403dac3244aab217fb9bf17a68e9a009fcadd8 (diff)
downloadHyprland-02b4a9bdede8ab0336e2e7ac52b39cab36208bb4.tar.gz
Hyprland-02b4a9bdede8ab0336e2e7ac52b39cab36208bb4.zip
compositor: clarify common errors at launch
-rw-r--r--src/Compositor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 085590b9..cf997e79 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -118,7 +118,7 @@ void CCompositor::initServer() {
m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession);
if (!m_sWLRBackend) {
- Debug::log(CRIT, "m_sWLRBackend was NULL!");
+ Debug::log(CRIT, "m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.");
throwError("wlr_backend_autocreate() failed!");
}
@@ -131,7 +131,7 @@ void CCompositor::initServer() {
m_sWLRRenderer = wlr_gles2_renderer_create_with_drm_fd(m_iDRMFD);
if (!m_sWLRRenderer) {
- Debug::log(CRIT, "m_sWLRRenderer was NULL!");
+ Debug::log(CRIT, "m_sWLRRenderer was NULL! This usually means wlroots could not find a GPU or enountered some issues.");
throwError("wlr_gles2_renderer_create_with_drm_fd() failed!");
}