From 2ed90a318c96ca5f229329a9513f0e9204963d21 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 14 Feb 2024 00:12:47 +0100 Subject: Improve error message --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index c0231f0..3bb9eec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2124,7 +2124,9 @@ int main(int argc, char **argv) { " This may be the case on corporate distros such as Manjaro, Fedora or OpenSUSE.\n" " You can test this by running 'vainfo | grep VAEntrypointEncSlice' to see if it matches any H264/HEVC profile. Also make sure 'ffmpeg -h encoder=h264_vaapi' doesn't return any error.\n" " vainfo is part of libva-utils.\n" - " On such distros, you need to manually install mesa from source to enable H264/HEVC hardware acceleration, or use a more user friendly distro. Alternatively record with AV1 if supported by your GPU.\n", video_codec_name, video_codec_name, video_codec_name); + " On such distros, you need to manually install mesa from source to enable H264/HEVC hardware acceleration, or use a more user friendly distro. Alternatively record with AV1 if supported by your GPU.\n" + " You can try using the flatpak version of GPU Screen Recorder as well and make sure you have mesa-extra freedesktop runtime installed, which can be installed with this command:\n" + " flatpak install --system org.freedesktop.Platform.GL.default//23.08-extra", video_codec_name, video_codec_name, video_codec_name); _exit(2); } -- cgit v1.2.3