Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mpv - constant frames dropping + errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Fri Jan 19, 2024 4:08 pm    Post subject: [SOLVED] mpv - constant frames dropping + errors Reply with quote

I've recently installed Gentoo on my laptop (HP Compaq 6710b). Video playback performance is terrible. I'm using KDE Plasma and mpv. Frames are constantly dropping, even with --no-config (I'm not using any special video setting in ~/.config/mpv.conf anyway). This is even more noticeable with x265/VP9/AV1 720p or higher videos. This occurs on both X11 and Wayland.

I booted from Gentoo liveGUI ISO (also using Plasma) and couldn't reproduce the issue with the same videos, on both X11 and Wayland. Playback is smooth, no dropped frame, mpv doesn't print any error.

On my main install (Wayland):
Code:
$ mpv --version
mpv 0.37.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
libplacebo version: v6.338.1
FFmpeg version: 6.0.1
FFmpeg library versions:
   libavutil       58.2.100
   libavcodec      60.3.100
   libavformat     60.3.100
   libswscale      7.1.100
   libavfilter     9.3.100
   libswresample   4.10.100


Code:
$ mpv --no-really-quiet 1.mkv
 (+) Video --vid=1 (*) '1.mkv' (hevc 1440x1080 23.976fps)
 (+) Audio --aid=1 (*) 'Audio' (dts 2ch 48000Hz)
 (+) Subs  --sid=1 (*) 'Subs' (ass)
File tags:
 Title: 1
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] Failed to create DRM atomic context, no DRM Atomic support
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] Failed to create DRM atomic context, no DRM Atomic support
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../libplacebo-v6.338.1/src/vulkan/context.c:984)
AO: [pipewire] 48000Hz stereo 2ch s16p
VO: [wlshm] 1440x1080 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... (Quit)


On the Gentoo LiveGUI ISO (Plasma, Wayland):
Code:
$ mpv --version
mpv 0.37.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
libplacebo version: v6.338.1
FFmpeg version: 6.0
FFmpeg library versions:
   libavutil       58.2.100
   libavcodec      60.3.100
   libavformat     60.3.100
   libswscale      7.1.100
   libavfilter     9.3.100
   libswresample   4.10.100


Code:
$ mpv --no-really-quiet 1.mkv
 (+) Video --vid=1 (*) '1.mkv' (hevc 1440x1080 23.976fps)
 (+) Audio --aid=1 (*) 'Audio' (dts 2ch 48000Hz)
 (+) Subs  --sid=1 (*) 'Subs' (ass)
File tags:
 Title: 1
[vo/gpu] Disabling scaler #0 lanczos (GLSL version too old).
[vo/gpu] Disabling scaler #1 hermite (GLSL version too old).
[vo/gpu] Disabling linear/sigmoid scaling (GLSL version too old).
[vo/gpu] correct-downscaling requires non-bilinear scaler.
AO: [pipewire] 48000Hz stereo 2ch s16p
VO: [gpu] 1440x1080 yuv420p
Audio device underrun detected.

Exiting... (Quit)


Considering there is no issue from the liveGUI ISO with a very similar setup (6.1 binary kernel, KDE Plasma, similar mpv and ffmpeg versions), I assume I did something wrong on my system.

Thanks in advance for any insight.


Last edited by eeckwrk99 on Sat Jan 20, 2024 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1538

PostPosted: Fri Jan 19, 2024 5:42 pm    Post subject: Reply with quote

Saying HP Compaq 6710b does not give information on CPU and GPU types. You can't expect people will look up your device to find out information about it of crucial importance to answering your question.

Post the output of emerge --info as well as lspci -nnk. It would also help if you post the output of lcpci -nnk and lsmod from live GUI.

Best Regards,
Georgi
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Fri Jan 19, 2024 7:47 pm    Post subject: Reply with quote

logrusx wrote:
Saying HP Compaq 6710b does not give information on CPU and GPU types. You can't expect people will look up your device to find out information about it of crucial importance to answering your question.

Indeed, you're right. Sorry about that.

logrusx wrote:
Post the output of emerge --info as well as lspci -nnk. It would also help if you post the output of lcpci -nnk and lsmod from live GUI.

Code:
# inxi -C
CPU:
  Info: dual core model: Intel Core2 Duo T7300 bits: 64 type: MCP cache: L2: 4 MiB
  Speed (MHz): avg: 800 min/max: 800/2000 cores: 1: 800 2: 800


Code:
# inxi -Ga
Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Hewlett-Packard Compaq 6710b
    driver: i915 v: kernel arch: Gen-4 process: Intel 65n built: 2006-07 ports: active: LVDS-1
    empty: SVIDEO-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:2a02 class-ID: 0300
  Display: server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 compositor: kwin_wayland driver:
    X: loaded: modesetting alternate: fbdev,intel,vesa dri: crocus gpu: i915 tty: 157x71
  Monitor-1: LVDS-1 model: Chi Mei Opto 0x1524 built: 2006 res: 1280x800 dpi: 98 gamma: 1.2
    size: 331x207mm (13.03x8.15") diag: 390mm (15.4") ratio: 16:10 modes: 1280x800
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus device: 1 drv: swrast
    gbm: drv: crocus surfaceless: drv: crocus inactive: wayland,x11
  API: OpenGL Message: GL data unavailable in console for root.


From my running system:
Code:
# emerge --info
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.38-r9, 6.1.69-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.69-gentoo-dist-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.38
KiB Mem:     3995828 total,   2002156 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Fri, 19 Jan 2024 13:33:17 +0000
Head commit of repository gentoo: 1a2bdb102dfec26b7c72af536ba32aa397046a42

Timestamp of repository guru: Fri, 19 Jan 2024 12:49:58 +0000
Head commit of repository guru: b68e055b5e3cb9e194ce4c7654093e5803adc98f

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7-r1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.leaseweb.com/gentoo/releases/amd64/binpackages/17.1/x86-64

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2021"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="no"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="gpkg"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 multilib systemd sysv-utils udev"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS="-march=core2 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3"
CXXFLAGS="-march=core2 -O2 -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/var/cache/distfiles"
EDITOR="nvim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" -j2 -l1.8 --alert --ask --getbinpkg --keep-going=y --misspell-suggestions=y --quiet --quiet-build=y --verbose"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -assh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-march=core2 -O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS="pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info"
INPUT_DEVICES="libinput synaptics"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
L10N="en"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_COLLATE="C.UTF-8"
LC_MESSAGES="C"
LC_TIME="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-sFRiMX --shift 5"
LESSOPEN="|lesspipeno %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LOGNAME="root"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
MAKEOPTS="-j2 -l1.8"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/17/share/man:/usr/lib/llvm/16/share/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NPM_CONFIG_GLOBALCONFIG="/etc/npm/npmrc"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin"
PHP_TARGETS="php8-1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.11"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.11/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.11/site-packages"
PORTAGE_QUIET="1"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SCHEDULING_POLICY="idle"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima    security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_11"
PYTHON_TARGETS="python3_11"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31"
SHELL="/bin/zsh"
SHLVL="1"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm-kitty"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt dbus declarative dri dts dvd dvdr encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words"COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="intel"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"


Code:
# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: i915
   Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
   Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 1 [103c:30c0]
   Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
   Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 2 [103c:30c0]
   Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
   Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 3 [103c:30c0]
   Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
   Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 5 [103c:30c0]
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
   Subsystem: Hewlett-Packard Company 82801 Mobile PCI Bridge [103c:30c0]
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: lpc_ich
   Kernel modules: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] [8086:2828] (rev 03)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: ata_piix
   Kernel modules: pata_acpi, ata_generic
02:04.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b6)
   Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
   Kernel driver in use: yenta_cardbus
   Kernel modules: yenta_socket
02:04.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 02)
   Subsystem: Hewlett-Packard Company R5C832 IEEE 1394 Controller [103c:30c0]
   Kernel driver in use: firewire_ohci
   Kernel modules: firewire_ohci
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
   Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection [103c:135c]
   Kernel driver in use: iwl3945
   Kernel modules: iwl3945
18:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
   Subsystem: Hewlett-Packard Company 6710b [103c:30c0]
   Kernel driver in use: tg3
   Kernel modules: tg3


From the Gentoo live ISO:
Code:
livecd ~ # lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: i915
        Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 0c)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
        Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 1 [103c:30c0]
        Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
        Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 2 [103c:30c0]
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
        Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 3 [103c:30c0]
        Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
        Subsystem: Hewlett-Packard Company 82801H (ICH8 Family) PCI Express Port 5 [103c:30c0]
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
        Subsystem: Hewlett-Packard Company 82801 Mobile PCI Bridge [103c:30c0]
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] [8086:2828] (rev 03)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: ata_piix
        Kernel modules: pata_acpi, ata_generic
02:04.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b6)
        Subsystem: Hewlett-Packard Company Compaq 6710b [103c:30c0]
        Kernel driver in use: yenta_cardbus
        Kernel modules: yenta_socket
02:04.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 02)
        Subsystem: Hewlett-Packard Company R5C832 IEEE 1394 Controller [103c:30c0]
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire_ohci
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
        Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection [103c:135c]
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945
18:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
        Subsystem: Hewlett-Packard Company 6710b [103c:30c0]
        Kernel driver in use: tg3
        Kernel modules: tg3


Code:
livecd ~ # lsmod
Module                  Size  Used by
fuse                  159744  2
qrtr                   40960  4
i915                 2883584  35
iwl3945               114688  0
iwlegacy              122880  1 iwl3945
mac80211             1146880  2 iwl3945,iwlegacy
i2c_algo_bit           16384  1 i915
drm_buddy              20480  1 i915
libarc4                16384  1 mac80211
btusb                  65536  0
ttm                    77824  1 i915
snd_hda_codec_hdmi     77824  1
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                40960  1 btusb
btmtk                  16384  1 btusb
drm_display_helper    139264  1 i915
cfg80211              958464  3 iwl3945,iwlegacy,mac80211
snd_hda_codec_analog    20480  1
bluetooth             774144  6 btrtl,btmtk,btintel,btbcm,btusb
snd_hda_codec_generic    90112  1 snd_hda_codec_analog
cec                    53248  2 drm_display_helper,i915
iTCO_wdt               16384  0
ledtrig_audio          16384  1 snd_hda_codec_generic
drm_kms_helper        147456  2 drm_display_helper,i915
snd_hda_intel          49152  1
intel_pmc_bxt          16384  1 iTCO_wdt
ppdev                  24576  0
iTCO_vendor_support    16384  1 iTCO_wdt
drm                   475136  20 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
binfmt_misc            24576  1
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         143360  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog
coretemp               20480  0
wmi_bmof               16384  0
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec
ecdh_generic           16384  1 bluetooth
sha512_ssse3           49152  0
rfkill                 28672  5 bluetooth,cfg80211
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               126976  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
sha256_ssse3           36864  0
sha1_ssse3             32768  0
snd_timer              36864  1 snd_pcm
snd                   102400  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec,snd_timer,snd_pcm
soundcore              16384  1 snd
firewire_ohci          45056  0
joydev                 28672  0
firewire_core          73728  1 firewire_ohci
crc_itu_t              16384  1 firewire_core
pcspkr                 16384  0
serio_raw              20480  0
parport_pc             36864  0
ata_generic            16384  0
tpm_infineon           20480  0
video                  61440  1 i915
pata_acpi              16384  0
parport                57344  2 parport_pc,ppdev
lpc_ich                28672  0
wmi                    28672  2 video,wmi_bmof
acpi_cpufreq           28672  1
dm_multipath           40960  0
virtio_blk             28672  0
yenta_socket           45056  0
uas                    32768  1
tg3                   192512  0
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Fri Jan 19, 2024 9:43 pm    Post subject: Reply with quote

I've tried switching to
Code:
VIDEO_CARDS="intel i915"

in /etc/portage/make.conf, which triggered a rebuild of x11-base/xorg-drivers with VIDEO_CARDS="i915 intel" and pulled x11-drivers/xf86-video-intel-2.99.917_p20230201 but it doesn't make any difference, as expected. According to Gentoo Wiki - Intel - Feature support, I only need
Code:
VIDEO_CARDS="intel"
for GM965/GL960 (Gen 4).

I also noticed the following error in Xorg logs:
Code:
[    29.397] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    29.398] (EE) AIGLX error: unable to load driver i965

which led me to this thread but I don't know what to try next.

Plus, app-misc/fastfetch prints:
Code:
$ fastfetch
[..]
GPU: llvmpipe (LLVM 17.0.6, 128 bits)

instead of my actual GPU.

Edit:

Code:
# glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 17.0.6, 128 bits) (0xffffffff)
    Version: 23.3.1
    Accelerated: no
    Video memory: 3902MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 31 MB, largest block: 31 MB
    VBO free aux. memory - total: 2863 MB, largest block: 2863 MB
    Texture free memory - total: 31 MB, largest block: 31 MB
    Texture free aux. memory - total: 2863 MB, largest block: 2863 MB
    Renderbuffer free memory - total: 31 MB, largest block: 31 MB
    Renderbuffer free aux. memory - total: 2863 MB, largest block: 2863 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 260301 MB
    Total available memory: 264204 MB
    Currently available dedicated video memory: 31 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 17.0.6, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.3.1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.3.1
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20


Last edited by eeckwrk99 on Fri Jan 19, 2024 10:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Fri Jan 19, 2024 9:54 pm    Post subject: Reply with quote

Code:
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.
If all else fail (especially with mobile intel), may want to try --profile=fast as it suggest. mpv-0.36 used to default to bilinear scaling but 0.37 switched to use lanczos (better but slower). --profile=fast returns to the previous default (can set permanently with profile=fast in ~/.config/mpv/mpv.conf)

On a side-note, --profile=high-quality (formerly gpu-hq) also now further defaults to ewa_lanczsossharp rather than the old (faster) spline36.

Edit: For higher resolution videos, issue may be the cpu chugging on decoding rather than scaling/downscaling though. In that case --hwdec=auto-safe may be worth trying too. Albeit if your gpu is not really being used right now (llvmpipe), I assume it's not going to work (probably can't handle AV1 too, maybe HEVC).
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Fri Jan 19, 2024 10:09 pm    Post subject: Reply with quote

Ionen wrote:
Code:
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.
If all else fail (especially with mobile intel), may want to try --profile=fast as it suggest. mpv-0.36 used to default to bilinear scaling but 0.37 switched to use lanczos (better but slower). --profile=fast returns to the previous default (can set permanently with profile=fast in ~/.config/mpv/mpv.conf)

On a side-note, --profile=high-quality (formerly gpu-hq) also now further defaults to ewa_lanczsossharp rather than the old (faster) spline36.

For higher resolution videos, issue may be the cpu chugging on decoding rather than scaling/downscaling though. In that case --hwdec=auto-safe may be worth trying too. Albeit if your gpu is not being used right now, I assume it's not going to work (probably can't handle AV1 too, maybe HEVC).


I forgot to mention it but I already tried --profile=fast as well as --hwdec=auto-safe (independently and altogether), same behavior.

I'm pretty sure there's something wrong with graphic drivers on my system. Everything works as expected with the Gentoo live ISO. Also tried Fedora 39 live ISO (GNOME/Wayland), no issue either.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1538

PostPosted: Sat Jan 20, 2024 5:53 am    Post subject: Reply with quote

eeckwrk99 wrote:


I also noticed the following error in Xorg logs:
Code:
[    29.397] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    29.398] (EE) AIGLX error: unable to load driver i965

which led me to this thread but I don't know what to try next.



I think you need to unmerge xf86-video-intel. See this thread: https://forums.gentoo.org/viewtopic-t-1166557-highlight-i965dri.html
Hint: start from the end.

Best Regards,
Georgi
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Sat Jan 20, 2024 7:08 am    Post subject: Reply with quote

logrusx wrote:
eeckwrk99 wrote:


I also noticed the following error in Xorg logs:
Code:
[    29.397] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    29.398] (EE) AIGLX error: unable to load driver i965

which led me to this thread but I don't know what to try next.



I think you need to unmerge xf86-video-intel. See this thread: https://forums.gentoo.org/viewtopic-t-1166557-highlight-i965dri.html
Hint: start from the end.

Best Regards,
Georgi


x11-drivers/xf86-video-intel was only installed for a shot period of time when I experimented with
Code:
VIDEO_CARDS="intel i915"

It wasn't on my system in the first place and was removed by a --depclean when I switched back to
Code:
VIDEO_CARDS="intel"


I'm going to boot the Gentoo live ISO again and look at the installed packages, USE flags and so on.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 163
Location: Gentoo forums

PostPosted: Sat Jan 20, 2024 1:10 pm    Post subject: Reply with quote

I couldn't find any interesting stuff from the Gentoo live ISO, except It comes with media-libs/mesa-23.1.9 instead of 23.3.1 on my system. I downgraded mesa to 23.1.9 but it didn't change anything. media-video/ffmpeg and media-video/mpv USE flags are similar, nothing fancy.

Edit: after a reboot it shows "llvmpipe" and "Accelerated: no" again, but it doesn't seem to impact mpv performance
I don't know why but now glxinfo -B prints my GPU and "Accelerated: yes" from my running system:
Code:
$ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) 965GM (CL) (0x2a02)
    Version: 23.3.1
    Accelerated: yes
    Video memory: 384MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) 965GM (CL)
OpenGL version string: 2.1 Mesa 23.3.1
OpenGL shading language version string: 1.20

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 23.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16


Performance seems to be OK now, because of this I guess? I noticed mpv drops more frames when run from the terminal (also occurs on the Gentoo live ISO), most likely because the terminal takes some precious CPU resources. Likewise, as expected, frames are also dropping tremendously if I perform any extra task on the system, it's just too much work for the Core 2 Duo T7300. I'm not dropping any frame when opening the same videos right from mpv or from any file explorer with pretty much nothing else running. This was on the Plasma Wayland session on both my system and the Gentoo live ISO.

I'll mark this as solved because I can now observe similar behavior than on the Gentoo live ISO and I'm fine with the performance.

I'm still curious as to why mpv doesn't print these errors on the Gentoo live ISO though, if anyone knows more about this, please let me know.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum