Package: mpv Version: 0.29.1-1 Severity: important Dear Maintainer,
Mpv takes around 2 to 3 seconds to startup even only run --help command without running any video. This only happens in Debian 10. In Debian 9 and Debian 8, mplayer (predecessor of mpv) runs in less than 1 second. when check with strace, we found out that each of the library loaded by mpv, it will do multiple llseek and read at same location. Sometimes it loads up to 5 or 6 times at same location. Mpv has many libraries and this causes the slowness of startup of mpv. Example of strace as below: openat(AT_FDCWD, "/usr/lib/arm-linux-gnueabi/libsndio.so.7.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\330!\0\0004\0\0\0"..., 512) = 512 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 _llseek(3, 49656, [49656], SEEK_SET) = 0 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000 _llseek(3, 49328, [49328], SEEK_SET) = 0 read(3, "A(\0\0\0aeabi\0\1\36\0\0\0\0055TE\0\6\4\10\1\t\1\22\4\24\1\25"..., 41) = 41 In fact, we checked and found out that running other applications in Debian10 also has this issue. Debian 9 and Debian 8 does not have the same issue. Please help. Thank you -- System Information: Debian Release: 10.6 APT prefers stable APT policy: (500, 'stable') Architecture: armel (armv7l) Kernel: Linux 5.4.24 (SMP w/2 CPU cores; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mpv depends on: ii libarchive13 3.3.3-4+deb10u1 ii libasound2 1.1.8-1 ii libass9 1:0.14.0-2 ii libatomic1 8.3.0-6 ii libavcodec58 7:4.1.6-1~deb10u1 ii libavdevice58 7:4.1.6-1~deb10u1 ii libavfilter7 7:4.1.6-1~deb10u1 ii libavformat58 7:4.1.6-1~deb10u1 ii libavutil56 7:4.1.6-1~deb10u1 ii libbluray2 1:1.1.0-1 ii libc6 2.28-10 ii libcaca0 0.99.beta19-2.1 ii libcdio-cdda2 10.2+0.94+2-4 ii libcdio-paranoia2 10.2+0.94+2-4 ii libcdio18 2.0.0-2 ii libdrm2 2.4.97-1 ii libdvdnav4 6.0.0-1 ii libdvdread4 6.0.1-1 ii libegl1 1.1.0-1 ii libgbm1 18.3.6-2+deb10u1 ii libgl1 1.1.0-1 ii libjack-jackd2-0 [libjack-0.125] 1.9.12~dfsg-2 ii libjpeg62-turbo 1:1.5.2-2+b1 ii liblcms2-2 2.9-3 ii liblua5.2-0 5.2.4-1.1+b2 ii libpulse0 12.2-4+deb10u1 ii librubberband2 1.8.1-7 ii libsdl2-2.0-0 2.0.9+dfsg1-1 ii libsmbclient 2:4.9.5+dfsg-5 ii libsndio7.0 1.5.0-3 ii libswresample3 7:4.1.6-1~deb10u1 ii libswscale5 7:4.1.6-1~deb10u1 ii libuchardet0 0.0.6-3 ii libva-drm2 2.4.0-1 ii libva-wayland2 2.4.0-1 ii libva-x11-2 2.4.0-1 ii libva2 2.4.0-1 ii libvdpau1 1.1.1-10 ii libvulkan1 1.1.97-2 ii libwayland-client0 1.16.0-1 ii libwayland-cursor0 1.16.0-1 ii libwayland-egl1 1.16.0-1 ii libx11-6 2:1.6.7-1+deb10u1 ii libxext6 2:1.3.3-1+b2 ii libxinerama1 2:1.1.4-2 ii libxkbcommon0 0.8.2-1 ii libxrandr2 2:1.5.1-1 ii libxss1 1:1.2.3-1 ii libxv1 2:1.0.11-1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages mpv recommends: ii xdg-utils 1.1.3-1+deb10u1 ii youtube-dl 2019.01.17-1.1 mpv suggests no packages. -- no debconf information * The information contained in this message is intended for the use of the individuals to whom it is addressed and may contain information that is privileged and confidential. If you have received this email by mistake, please discard this email immediately. Do not disclose, forward or copy.