[Bug 272109] multimedia/libva should give "unsupported" status on unsupported hardware
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jun 2023 22:00:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272109 Bug ID: 272109 Summary: multimedia/libva should give "unsupported" status on unsupported hardware Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: jbeich@FreeBSD.org Reporter: sasamotikomi@gmail.com Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org Example from librewolf from GMA950 and GMA3150: Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=3.16883) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=2.01802) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. So some software will just keep requesting status fro time to time. % vainfo --display x11 Trying display: x11 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 vaInitialize failed with error code 1 (operation failed),exit % vainfo --display drm 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: Found init function __vaDriverInit_1_18 libva error: /usr/local/lib/dri/i965_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Libva should just give unsupported status instead of trying to use wrong drivers and failed. Even "correct" driver will fail instead of showing you unsupported status: % env LIBVA_TRACE=1 LIBVA_DRIVER_NAME=i915 vainfo --display x11 Trying display: x11 libva info: Open new log file 1.215249.thd-0x00018934 for the thread 0x00018934 libva info: LIBVA_TRACE is on, save log into 1.215249.thd-0x00018934 libva info: VA-API version 1.18.0 libva info: User environment variable requested driver 'i915' libva info: Trying to open /usr/local/lib/dri/i915_drv_video.so libva info: Found init function __vaDriverInit_1_18 libva error: /usr/local/lib/dri/i915_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit % env LIBVA_TRACE=1 LIBVA_DRIVER_NAME=i915 vainfo --display drm Trying display: drm libva info: Open new log file 1.215254.thd-0x00018934 for the thread 0x00018934 libva info: LIBVA_TRACE is on, save log into 1.215254.thd-0x00018934 libva info: VA-API version 1.18.0 libva info: User environment variable requested driver 'i915' libva info: Trying to open /usr/local/lib/dri/i915_drv_video.so libva info: Found init function __vaDriverInit_1_18 libva error: /usr/local/lib/dri/i915_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit -- You are receiving this mail because: You are the assignee for the bug.