Improve error message

This commit is contained in:
dec05eba
2024-02-14 00:12:47 +01:00
parent 82791e5525
commit 2ed90a318c

View File

@@ -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);
}