guest@porteux:~$ git clone https://github.com/mpv-player/mpv
Cloning into 'mpv'...
remote: Enumerating objects: 302771, done.
remote: Counting objects: 100% (5797/5797), done.
remote: Compressing objects: 100% (416/416), done.
remote: Total 302771 (delta 5496), reused 5410 (delta 5381), pack-reused 296974
Receiving objects: 100% (302771/302771), 99.93 MiB | 4.45 MiB/s, done.
Resolving deltas: 100% (239311/239311), done.
guest@porteux:~$ cd mpv
guest@porteux:~/mpv$ meson setup debug -Dbuildtype=debug -Db_sanitize=address,undefined
The Meson build system
Version: 1.2.3
Source dir: /home/guest/mpv
Build dir: /home/guest/mpv/debug
Build type: native build
Project name: mpv
Project version: 0.37.0-UNKNOWN
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41-slack151
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency libavcodec found: YES 59.37.100
Run-time dependency libavfilter found: YES 8.44.100
Run-time dependency libavformat found: YES 59.27.100
Run-time dependency libavutil found: YES 57.28.100
Run-time dependency libswresample found: YES 4.7.100
Run-time dependency libswscale found: YES 6.7.100
Found CMake: /usr/bin/cmake (3.27.8)
Run-time dependency libplacebo found: NO (tried pkgconfig and cmake)
meson.build:26:13: ERROR: Dependency "libplacebo" not found, tried pkgconfig and cmake
A full log can be found at /home/guest/mpv/debug/meson-logs/meson-log.txt
guest@porteux:~/mpv$ meson compile -C debug
ERROR: Current directory is not a meson build directory: `/home/guest/mpv/debug`.
Please specify a valid build dir or change the working directory to it.
It is also possible that the build directory was generated with an old
meson version. Please regenerate it in this case.
@Majestic, the memory consumption actually hasn't changed. What you're seeing is the result of the most recent application 'top', which is now informing the correct memory consumption.
As I said a couple of times, the most reliable way of measuring memory consumption is to ask the kernel:
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
AV: 00:02:26 / 00:03:19 (73%) A-V: 0.409 Dropped: 287
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:03:19 / 00:03:19 (100%) A-V: 0.000 Dropped: 814
Exiting... (End of file)
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
AV: 00:02:26 / 00:03:19 (73%) A-V: 0.403 Dropped: 289
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:03:19 / 00:03:19 (100%) A-V: 0.000 Dropped: 822
Exiting... (End of file)
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
AV: 00:02:26 / 00:03:19 (73%) A-V: 0.406 Dropped: 250
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
AV: 00:03:19 / 00:03:19 (100%) A-V: 0.000 Dropped: 763
Exiting... (End of file)
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 2851
bash: dropped: command not found
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 2937
bash: dropped: command not found
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 2946
bash: dropped: command not found
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4 --profile=fast
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 1210
bash: dropped: command not found
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4 --profile=fast
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 1247
bash: dropped: command not found
[manjaro@manjaro ~]$ mpv /run/media/manjaro/HDD/mpv/DO_U_4K_AV1.mp4 --profile=fast
(+) Video --vid=1 (*) (av1 3840x2160 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
[ffmpeg/video] av1: No support for codec av1 profile 0.
[ffmpeg/video] av1: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] av1: Your platform doesn't support hardware accelerated AV1 decoding.
[ffmpeg/video] av1: Failed to get pixel format.
Error while decoding frame (hardware decoding)!
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 3840x2160 yuv420p
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
Consider trying `--profile=fast` and/or `--hwdec=auto-safe` as they may help.
Exiting... (End of file)
[manjaro@manjaro ~]$ dropped frames 1209
guest@porteux:~$ mpv /tmp/test.mp4
(+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
AddressSanitizer:DEADLYSIGNAL
=================================================================
==3411==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x000000000005 sp 0x7f6f33bc8f48 T11)
==3411==Hint: pc points to the zero page.
==3411==The signal is caused by a READ memory access.
==3411==Hint: address points to the zero page.
#0 0x0 (<unknown module>)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>)
Thread T11 created by T0 here:
#0 0x7f6f4b6dec26 in pthread_create (/usr/lib64/libasan.so.8+0x4ac26)
#1 0xa339fc in vo_create ../video/out/vo.c:336
#2 0xa34147 in init_best_video_out ../video/out/vo.c:373
#3 0x849b0e in reinit_video_chain_src ../player/video.c:234
#4 0x84952d in reinit_video_chain ../player/video.c:210
#5 0x7ff3f9 in play_current_file ../player/loadfile.c:1761
#6 0x80448b in mp_play_files ../player/loadfile.c:2018
#7 0x80a6b6 in mpv_main ../player/main.c:432
#8 0xb04c09 in main ../osdep/main-fn-unix.c:5
#9 0x7f6f4872eaf6 in __libc_start_call_main (/lib64/libc.so.6+0x27af6)
==3411==ABORTING
guest@porteux:~$
(+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should fix your graphics drivers, or not force the xv VO.
AO: [pulse] 44100Hz stereo 2ch float
VO: [xv] 1920x1080 yuv420p
Exiting... (Quit)
guest@porteux:~$
(+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
AO: [pulse] 44100Hz stereo 2ch float
VO: [x11] 1920x1080 yuv420p
Exiting... (Quit)
guest@porteux:~$
(+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu-next] 1920x1080 yuv420p
AddressSanitizer:DEADLYSIGNAL
=================================================================
==3483==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x000000000005 sp 0x7fb668164058 T10)
==3483==Hint: pc points to the zero page.
==3483==The signal is caused by a READ memory access.
==3483==Hint: address points to the zero page.
#0 0x0 (<unknown module>)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>)
Thread T10 created by T0 here:
#0 0x7fb67fcafc26 in pthread_create (/usr/lib64/libasan.so.8+0x4ac26)
#1 0xa339fc in vo_create ../video/out/vo.c:336
#2 0xa33eaa in init_best_video_out ../video/out/vo.c:361
#3 0x849b0e in reinit_video_chain_src ../player/video.c:234
#4 0x84952d in reinit_video_chain ../player/video.c:210
#5 0x7ff3f9 in play_current_file ../player/loadfile.c:1761
#6 0x80448b in mp_play_files ../player/loadfile.c:2018
#7 0x80a6b6 in mpv_main ../player/main.c:432
#8 0xb04c09 in main ../osdep/main-fn-unix.c:5
#9 0x7fb67ccffaf6 in __libc_start_call_main (/lib64/libc.so.6+0x27af6)
==3483==ABORTING
I highly doubt that they will create special version of mpv just for one user on one distro on one hardware
And ever if they did I use PorteuX stable branch which is not affected by segmentation fault error https://github.com/mpv-player/mpv
mpv does not go out of its way to break on older hardware or old, unsupported operating systems, but development is not done with them in mind. Keeping compatibility with such setups is not guaranteed. If things work, consider it a happy accident
I will consider that I am lucky that mpv works in PorteuX stable and Porteus
(It's a quote by https://github.com/mpv-player/mpv as quoted by seed_clapper - I presume highlighted by seed_clapper her- or himself)
Do the consider Slackware an unsupported operating system?
Do the consider Slackware an unsupported operating system?
On their site there is "Installation" section https://mpv.io/installation/
where they keep links to builds for various OS
While Windows, macOS, Arch, Gentoo, Debian, Ubuntu, Android, and BSD are present on that page, Slackware and its derivatives are not listed, thus I come to conclusion that mpv team does not provide support for this family of OS