Date: Tue, 05 Oct 2021 13:50:16 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 258947] graphics/mesa-gallium-va: va_openDriver() returns 2 Message-ID: <bug-258947-7141-tt7ws6Y1AE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258947-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-258947-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> for maintainer-feedback: Bug 258947: graphics/mesa-gallium-va: va_openDriver() returns 2 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258947 --- Description --- 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_TraceInitialize [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_TraceTerminate [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_TraceInitialize [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_TraceTerminate [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258947-7141-tt7ws6Y1AE>