Re: Poor performance with Alder Lake graphics (ThinkPad T16)
Date: Wed, 05 Apr 2023 16:59:03 UTC
Jan, Thanks for your suggestions, but this is not looking good. On Tue, Apr 4, 2023 at 1:10 AM Jan Beich <jbeich@freebsd.org> wrote: > Kevin Oberman <rkoberman@gmail.com> writes: > > >> VA-API is separate from OpenGL. VA-API on Alder Lake needs > >> libva-intel-media-driver > >> but the actual support depends on PCI ID e.g., may require newer version > >> than then one packaged. > >> > > > > OK. I am now running libva-intel-media-driver. Still not seeing the video > > acceleration that I would expect. 12 threads running and hte total CPU > > usage is 9& to play a 1392x1072 video. > > Try running vainfo from libva-utils directly on KMS console like > /dev/ttyv0. > If it prints a list of supported formats you can proceed with mpv e.g., > Looks like VA-API may just be a non-starter on this system. Here is what I get grom vainfo on the KMS screen: Trying display: wayland error: XDG_RUNTIME_DIR is invalid or not set in the environment. Trying display: x11 error: can't connect to X server! Trying display: drm libva info: VA-API version 1.18.0 libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_18 libva error: /usr/local/lib/dri/iHD_drv_video.so init failed libva info: va_openDriver() returns 1 libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit I am interested by hte first error. Is this possibly a side effect of starting X from the console with the following .xinitrc: xset fp rehash exec ck-launch-session dbus-launch --exit-with-session mate-session This has worked fine for many years, but reading up on XDG_RUNTIME_DIR makes me suspicious that this may not be adequate. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683