From nobody Tue Jun 20 22:00:56 2023 X-Original-To: ports-bugs@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 4Qm0vD5XDHz4g7Zt for ; Tue, 20 Jun 2023 22:00:56 +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 4Qm0vD3KFdz3QJW for ; Tue, 20 Jun 2023 22:00:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687298456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91pJeDBv53cRPeS4TByAeysGaqHK+pad641a1xs8Aww=; b=l/HT/66ceEppb/VTY7fe8rG24vppIkZ+mYzkKfw6WKmAtWRmQQO6LnCaZzd6hgyn4YTZ+A 2qtCqdCKZ+oB4RzLMFSdqKFGoVL5GJEcr5LTSAn4XwwoOAbr7NZg1wmsdHMpFojtnERMcN LNA1nAI4gwzeCL+3CnWYOg32J7ZSv7HhTh2pQ04Lai+ErIobMgWTrsP8Ip8Q1yAVxHLKdW g82gmDTYaIrfOBRstoG8lSjZ3y7Ajb7anNkmIJXgTn8uFIyqttbMH0jC4Ehf5qZBzLxLeS 7ldx7A88pcq5fHqZPE+mp6jCMYXE5FqKrN3BHt0KWjUmmOqBeIiLtWefCplVPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687298456; a=rsa-sha256; cv=none; b=rcbDmUcTyM0GC5fyNY/Lh61EG8eFh9UFru5ZodZ0NOuZ37Q9nCuCue4wVyLrcDi0oeaj3q cBuFF9G1lIelkmAy/aJuMw4UaOI7D1t9Fyic9TOHrHT20UTlH74lATNn6/+LPusf5Yc7w8 cMRdRmE7D02vAxeLSQFdZqQ2rB+1nRXHWTDgymm8p0K/lutokmhOKNUpYz8F8QBrSdMsp3 cE53IJ7WeLnf7crujWDRJ/RCJDo2tbp0+nZTuojbr7DZfvC+NiQ1HnJ6BkQR8SU8+eLHpc hJ8wSKJ6eBajuBdeAbwFHbvUvftIWQaOZ3AGADiW2HmfJiy94R/m5AYrYt8cxg== 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 4Qm0vD2KFDzGtl for ; Tue, 20 Jun 2023 22:00:56 +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 35KM0ukU006932 for ; Tue, 20 Jun 2023 22:00:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35KM0uYE006931 for ports-bugs@FreeBSD.org; Tue, 20 Jun 2023 22:00:56 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: ports-bugs@FreeBSD.org Subject: [Bug 272109] multimedia/libva should give "unsupported" status on unsupported hardware Date: Tue, 20 Jun 2023 22:00:56 +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 Some People X-Bugzilla-Who: sasamotikomi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jbeich@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272109 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=3D3.16883) [GFX1-]: glxte= st: 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=3D2.01802) [GFX1-]: glxte= st: 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.=20 Even "correct" driver will fail instead of showing you unsupported status: % env LIBVA_TRACE=3D1 LIBVA_DRIVER_NAME=3Di915 vainfo --display x11 Trying display: x11 libva info: Open new log file 1.215249.thd-0x00018934 for the thread 0x0001= 8934 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=3D1 LIBVA_DRIVER_NAME=3Di915 vainfo --display drm Trying display: drm libva info: Open new log file 1.215254.thd-0x00018934 for the thread 0x0001= 8934 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 --=20 You are receiving this mail because: You are the assignee for the bug.=