From owner-freebsd-multimedia@freebsd.org Mon Feb 15 22:25:16 2021 Return-Path: Delivered-To: freebsd-multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF24C53D106 for ; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dfdvw5HQLz3m5f for ; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B3B3D53D105; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) Delivered-To: multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B37A953D02D for ; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 4Dfdvw4kdYz3lsf; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1613427916; 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=662DaYNgJsEONhfP2rlJGPaAPOx9XwKkxWeJeUQRfUU=; b=gClOWX2MzIuY2uk9qqevu+cAmUvUZnMti8T/WY7EdWxYvALYVB3JfRr0eTI4TzDWfOBgk/ Rq8UqdMIAESEV75Gtt4+O2f62QdhFU+zSreeoz9gGsG4C0PKts9sEr+lm8+LsQLQ5pzbau TEsbQgN+WX0YMB9NMtAAidO9Ev3TscpW4WZaonwBbxPsjk3rwEr3OAHDb2kRNh3+HRBvep R/rnr7aSfMIvqmzA0CQHWYD18dka1tO34JnXk6Dk0hQrBfDtEoTYqmQ1qi4gDe41eivdZh +pTIJ1z7YjEXblZpVdEagp/1LYbUG9aa5wGK3GEF47HkbyUsKMaq7eEFj2b75A== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 94177140FC; Mon, 15 Feb 2021 22:25:16 +0000 (UTC) From: Jan Beich To: Kevin Oberman Cc: multimedia@freebsd.org Subject: Re: libva-intel-driver on newer than 9th gen References: Date: Mon, 15 Feb 2021 23:25:13 +0100 In-Reply-To: (Kevin Oberman's message of "Mon, 15 Feb 2021 12:16:08 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1613427916; 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=662DaYNgJsEONhfP2rlJGPaAPOx9XwKkxWeJeUQRfUU=; b=Vr2NUwtiS3NrtEhBQ2CN9FLpwPAB+pR7p1z3RISBZBw0QQJZclhf6aPrX8XYVaPgUzwBV3 ClyKZgvPvIe/FIPcFHyQTE1Gt2JSzVPGIniuW3GGn3s4jDY1T+Qrxo5/hgf3vTmxLUBLVP TZLBsGi3mogs31IO55AGlnhPMbpem+Zbr7zDdPAErnQDbMYGGUVDUbK1THHxK7SNUyEm3S oI/fxCisRuSI7DMDhVVWWGLraAejjfbSOCZ5veTooVcYwgCsl11PY2aq9jF9IKvk6pS/3l fwcWEDg0PKKv5X8PGXAkBQnya4fEuhzN56Bqyf7qc+NX/4f33fmlKNrp6WWTug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1613427916; a=rsa-sha256; cv=none; b=aFrEQyVVAPk9qdjqVsreyiFGGNvXK/2JIXZs7Ey8dhSV4lIsDOjwMIBJXT/wUkZ1EVhlxg UcyJFPL3oYMpvWY2SIvDh7To2j17kQkNGzslipUI0ehGDhojf6toKUwZoOsNIECAhI93co jP2zE/r+1bVmNpPK5XAXZvEA1Em+4y81dCHlLAo8ob2Z4H4A2J8XrnlJPYVJUdDpuoVDW0 08DTLnP8x8FH19L3EuoKuBSUh4WwRcm8XG0NU91UAV0RIkSLRwflgXUBTPDbhVcXa45tN4 pLYbmNeGpaNlSk/hjETxgVBih3tegzDj0fvGdz6uKp7jbnnIOfDWRZMJMl9eOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 22:25:16 -0000 Kevin Oberman writes: > Should the hybrid option be selected on 10th gen or newer processors? I'm > guessing that it should and that the config description is outdated, but I > am not sure. Try it. ;) I only have Skylake machine, so... - Gen7 includes Ivybridge, Haswell but only Haswell can use hybrid VP9 decoder - Gen8 includes Braswell, Broadwell but only Broadwell can use hybrid VP9 decoder - Gen9 includes Skylake, Kabylake, Coffeelake but only Skylake can use hybrid VP9 decode as Kabylake, Cofeelake have proper VP9 decoder - Gen10 aka Cannonlake doesn't exist, GPU was disabled due to 10nm issues - Gen11 aka Icelake is only supported by libva-intel-media-driver - Gen12 aka Tigerlake iGPU (TGL) and dGPU (DG1) are not supported by drm-kmod yet See also https://github.com/torvalds/linux/commit/3492d170513a Regarding libva-intel-media-driver (ignore if using libva-intel-driver): - VP9 *hybrid* decoder for Skylake isn't implemented https://github.com/intel/media-driver/issues/1024 - VP9 encoder for Kabylake, Coffeelake isn't merged https://github.com/intel/media-driver/issues/771 - Hybrid coding on FreeBSD requires running as root due to https://github.com/FreeBSDDesktop/kms-drm/issues/197 and only used by intel-media-sdk in certain cases e.g., "ffmpeg ... -c:v h264_qsv -look_ahead 1 ..."