Re: Poor performance with Alder Lake graphics (ThinkPad T16)
Date: Fri, 07 Apr 2023 18:02:34 UTC
Kevin Oberman <rkoberman@gmail.com> writes: > 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 Can you show "pciconf -l | fgrep vga" output? 22.4.3 has some Gen12 support (including Alder Lake) but probably not your iGPU. libva-intel-media-driver update is currently out-of-date due to complication when rebasing patches for FreeBSD support. I still use Skylake iGPU, so it is low priority. > Trying display: wayland > error: XDG_RUNTIME_DIR is invalid or not set in the environment. [...] > 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 It's part of probing Wayland connection. X11 hardcodes /tmp/.X11-unix as the directory for its unix(4) sockets but Wayland uses XDG_RUNTIME_DIR. For example, - DISPLAY=:0 refers to /tmp/.X11-unix/X0 - WAYLAND_DISPLAY=wayland-0 refers to $XDG_RUNTIME_DIR/wayland-0 See also https://cgit.freebsd.org/ports/commit/?id=2d487a43aa14