From nobody Tue Oct 5 13:50:16 2021 X-Original-To: x11@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 AF51817EDD3F for ; Tue, 5 Oct 2021 13:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HNzVc4PjTz3G5P for ; Tue, 5 Oct 2021 13:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 743AA5930 for ; Tue, 5 Oct 2021 13:50:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 195DoG2b094242 for ; Tue, 5 Oct 2021 13:50:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 195DoGoQ094240 for x11@FreeBSD.org; Tue, 5 Oct 2021 13:50:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 258947] graphics/mesa-gallium-va: va_openDriver() returns 2 Date: Tue, 05 Oct 2021 13:50:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dan.kotowski@a9development.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258947 Bug ID: 258947 Summary: graphics/mesa-gallium-va: va_openDriver() returns 2 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: dan.kotowski@a9development.com Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Attempting to enable hardware transcoding for multimedia/plexmediaserver-plexpass on a headless Xeon E5 (no iGPU) + POLAR= IS12 (amdgpu) server, but getting errors from libva that don't make a ton of sen= se to me: $ LIBVA_TRACE=3D1 LIBVA_DRIVER_NAME=3Dradeonsi vainfo error: XDG_RUNTIME_DIR not set in the environment. libva info: Open new log file 1.012725.thd-0x000197ad for the thread 0x0001= 97ad libva info: LIBVA_TRACE is on, save log into 1.012725.thd-0x000197ad libva info: VA-API version 1.13.0 libva info: User environment variable requested driver 'radeonsi' libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva error: /usr/local/lib/dri/radeonsi_drv_video.so init failed libva info: va_openDriver() returns 2 vaInitialize failed with error code 2 (resource allocation failed),exit $ cat 1.012725.thd-0x000197ad [43517.695020][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dva_TraceInitial= ize [43517.695035][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3DvaInitialize ret = =3D VA_STATUS_ERROR_ALLOCATION_FAILED, resource allocation failed [43517.695043][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dva_TraceTermina= te [43517.695065][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3DvaTerminate ret = =3D VA_STATUS_SUCCESS, success (no error) And without forcing LIBVA_DRIVER_NAME: $ LIBVA_TRACE=3D1 vainfo error: XDG_RUNTIME_DIR not set in the environment. libva info: Open new log file 1.134827.thd-0x000198c2 for the thread 0x0001= 98c2 libva info: LIBVA_TRACE is on, save log into 1.134827.thd-0x000198c2 libva info: VA-API version 1.13.0 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name =3D (null) vaInitialize failed with error code -1 (unknown libva error),exit $ cat 1.134827.thd-0x000198c2 [22443.045759][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dva_TraceInitial= ize [22443.045774][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3DvaInitialize ret = =3D VA_STATUS_ERROR_UNKNOWN, unknown libva error [22443.045781][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dva_TraceTermina= te [22443.045802][ctx none]=3D=3D=3D=3D=3D=3D=3D=3D=3DvaTerminate ret = =3D VA_STATUS_SUCCESS, success (no error) Installed: graphics/drm-kmod:g20190710_1 graphics/mesa-dri:21.1.5 graphics/mesa-gallium-va:21.1.5 multimedia/libva-utils:2.13.0 multimedia/plexmediaserver-plexpass:1.24.2.4973 Host: FreeBSD 13.0-STABLE #0 stable/13-n247448-a15507a1d5f --=20 You are receiving this mail because: You are the assignee for the bug.=