From e430f51e2fd981ed91aed79adbbacfcaa427c2a6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 26 Feb 2024 22:43:34 -0600 Subject: [PATCH] Add friendly message when encoder detection fails --- src/video.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/video.cpp b/src/video.cpp index b73c0a4dd4b..f786aeb59f0 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -2721,7 +2721,13 @@ namespace video { } if (chosen_encoder == nullptr) { - BOOST_LOG(fatal) << "Couldn't find any working encoder"sv; + BOOST_LOG(fatal) << "Unable to find display or encoder during startup."sv; + if (!config::video.adapter_name.empty() || !config::video.output_name.empty()) { + BOOST_LOG(fatal) << "Please ensure your manually chosen GPU and monitor are connected and powered on."sv; + } + else { + BOOST_LOG(fatal) << "Please check that a display is connected and powered on."sv; + } return -1; }