From nobody Fri Apr 7 18:02:34 2023 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PtR6s0g1Wz43jhp for ; Fri, 7 Apr 2023 18:03:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtR6s07Jxz3mZp; Fri, 7 Apr 2023 18:03:01 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680890581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jFR9MNg3zoM5kzLFYTl68q3yYk1x3O61I3n6F7DV3a0=; b=b+ii6j0WQ/1eGujX2Eca4KBIKfTATTlp3Fm2uuwvFV/vvda7CDeh8c6YbLhFJ5FIG1JTW9 iGMkzztnK0MWQko6Y4Dwbq4cmevC2dooSedgzlrGXbll1Hnf4iKOk0QIXDRpNKgWz0T+Et s5ylNAqqJH5UksZzjHEx+jEh0i5Apsbl+LUsWgoNvBWIAsqlD8H4XAUmq69O4rCxH+9MgA 0P9rYw8MpXIfcZcO1ZJLHXZb/wQgMCP4ddRn7sMtlDVtsYPnLspndJPP6+eOSWgRD4/m9U Fo8NywN1BhlQIwhErPsa98bSkZ/seWGwG1358nNy9NW2HrFyFqISmd1iVN6Wsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680890581; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jFR9MNg3zoM5kzLFYTl68q3yYk1x3O61I3n6F7DV3a0=; b=u92Kx59phXEnB//PO165ZIES1Y2TR7RjKoZ/iJa3Sh4f/9Y3vaGIyEu5aHh+gFNeA9g6zR v0J5va/r5m2M96Ll95RUxkkVjZ7sSB4Bb7/pE3uj1GcxtZWcK/zBIx+Cbu7Rqq6mwqleHj GzRkSSOMpalyPXXlm4SQZPGN7nCN/yyZMYHod3cTRXkN2XfHC5tP8goEPEBfe/s8OyShE+ dZMNs0z6vY4WTHSva/buKuIr8kSxyMvi0fT6AWmmQHMz1VVMG6fv5/SQPWhoDSNP672J3V +UdIK2SUALHNCMKKGyw8iPqMgJMDuf8Qt8kPDIK1X/lNzOp6GWNKI8YYFK3Low== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680890581; a=rsa-sha256; cv=none; b=CswiwDQv0WgetaKgAU7a8ub+DNeQK8NNMkVBhjIlpT2AioOyv3wYH/APBOzh9VOnfSbzSU ZLT9JvyjJnCEO9BTcJUOSwoFyj9bBOKMndS+8MoZD08yZsEN0v4vrhCviNcErZ9rjwCFOO dKhw4U7sxTvcqYFTy5WV4KMT/au3YO6qtDFBFb2OIRLVD66IaUsc3OzuaK9dsK+6aU41Oa lf2reQezovWkaKX8TxnHWjUcwIqh/snl5rOmY04cJ07LkozTi5kIpDWCum+nkXZHAr5iU7 mTPlKCWyc2qgITa/5yIuurGdp2OTlm/NX0guvTS0PAJJ0NA51xNYQRPr6MC0Qg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id B917E1FC3D; Fri, 7 Apr 2023 18:02:37 +0000 (UTC) From: Jan Beich To: Kevin Oberman Cc: multimedia@freebsd.org Subject: Re: Poor performance with Alder Lake graphics (ThinkPad T16) In-Reply-To: (Kevin Oberman's message of "Wed, 5 Apr 2023 09:59:03 -0700") References: Date: Fri, 07 Apr 2023 20:02:34 +0200 Message-ID: <7cun-605h-wny@FreeBSD.org> List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Kevin Oberman 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