aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-14 00:12:47 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-14 00:12:47 +0100
commit2ed90a318c96ca5f229329a9513f0e9204963d21 (patch)
treedc1f30c06fa30011091ba5c2190cb7d3aec8ab21 /src
parent82791e5525b718be25455cba5b0ef6a4889fd23b (diff)
Improve error message
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}