RE: drm kmod driver on lenovo thinkpad t490

From: Chen, Alvin W <Weike.Chen_at_Dell.com>
Date: Mon, 04 Nov 2024 09:30:31 UTC
Have you installed intel media driver?

+AD4- -----Original Message-----
+AD4- From: owner-freebsd-drivers+AEA-FreeBSD.org +ADw-owner-freebsd-
+AD4- drivers+AEA-FreeBSD.org+AD4- On Behalf Of Petru Garstea
+AD4- Sent: Saturday, November 2, 2024 12:32 AM
+AD4- To: freebsd-drivers+AEA-freebsd.org
+AD4- Subject: Re: drm kmod driver on lenovo thinkpad t490
+AD4-
+AD4-
+AD4- +AFs-EXTERNAL EMAIL+AF0-
+AD4-
+AD4- could anyone keep me honest with VAAPI +- iHD driver support
+AD4-
+AD4- For full iHD support, FreeBSD lacks the iHD driver stack and relies more on
+AD4- workarounds and patches.
+AD4-
+AD4- Does anyone have an idea when iHD driver will be released ?
+AD4-
+AD4- Trying display: x11
+AD4- libva info: VA-API version 1.22.0
+AD4- libva info: Trying to open /usr/local/lib/dri/iHD+AF8-drv+AF8-video.so
+AD4- libva info: va+AF8-openDriver() returns -1
+AD4- libva info: Trying to open /usr/local/lib/dri/i965+AF8-drv+AF8-video.so
+AD4- libva info: Found init function +AF8AXw-vaDriverInit+AF8-1+AF8-22 libva info: va+AF8-openDriver()
+AD4- returns 0
+AD4- vainfo: VA-API version: 1.22 (libva 2.22.0)
+AD4- vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.4.1
+AD4-
+AD4-
+AD4- thx
+AD4-

Internal Use - Confidential
+AD4- On 10/31/24 09:33, Petru Garstea wrote:
+AD4- +AD4- Greetings,
+AD4- +AD4-
+AD4- +AD4- I notice significant CPU spike during video decoding.
+AD4- +AD4- Thinkpad t490 has an intel uhd 620 graphic card and I expect the
+AD4- +AD4- driver should use hardware acceleration and offload that kind of work.
+AD4- +AD4-
+AD4- +AD4- installed packages
+AD4- +AD4-
+AD4- +AD4- drm-kmod-20220907+AF8-3
+AD4- +AD4- Name           : drm-kmod
+AD4- +AD4- Version        : 20220907+AF8-3
+AD4- +AD4- Installed on   : Mon Oct 21 16:15:33 2024 EDT Origin         :
+AD4- +AD4- graphics/drm-kmod Architecture   : FreeBSD:14:+ACo- Prefix         :
+AD4- +AD4- /usr/local Categories     : graphics Licenses       : NA Maintainer
+AD4- +AD4- : x11+AEA-FreeBSD.org WWW            :
+AD4- +AD4- https://urldefense.com/v3/+AF8AXw-https://github.com/freebsd/drm-kmod+AF8AXwA7ACEAIQ-Lp
+AD4- +AD4- KI+ACE-mMCmLT2+AF8-YOv-eUJGr8zzVbLbxXcFBO3pOLji0BxkRsN6bNntDfi-Ta4a-
+AD4- j3lXOHVlHm
+AD4- +AD4- kEsY1x+AF8-eRqigwfw2H4gdQYaFM+ACQ- +AFs-github+AFs-.+AF0-com+AF0- Comment        : Metaport of
+AD4- +AD4- DRM modules for the linuxkpi-based KMS components Annotations    :
+AD4- +AD4-         build+AF8-timestamp: 2024-10-02T19:09:01+-0000
+AD4- +AD4-         built+AF8-by       : poudriere-git-3.4.2
+AD4- +AD4-         port+AF8-checkout+AF8-unclean: no
+AD4- +AD4-         port+AF8-git+AF8-hash  : 854c13714
+AD4- +AD4-         ports+AF8-top+AF8-checkout+AF8-unclean: no
+AD4- +AD4-         ports+AF8-top+AF8-git+AF8-hash: 2f11ca479
+AD4- +AD4-         repo+AF8-type      : binary
+AD4- +AD4-         repository     : FreeBSD
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4- ---
+AD4- +AD4-
+AD4- +AD4- libva-intel-driver-2.4.1+AF8-3
+AD4- +AD4- Name           : libva-intel-driver
+AD4- +AD4- Version        : 2.4.1+AF8-3
+AD4- +AD4- Installed on   : Thu Oct 24 11:15:31 2024 EDT Origin         :
+AD4- +AD4- multimedia/libva-intel-driver Architecture   : FreeBSD:14:amd64 Prefix
+AD4- +AD4- : /usr/local Categories     : multimedia Licenses       : MIT
+AD4- +AD4- Maintainer     : jbeich+AEA-FreeBSD.org WWW            :
+AD4- +AD4- https://urldefense.com/v3/+AF8AXw-https://01.org/linuxmedia+AF8AXwA7ACEAIQ-LpKI+ACE-mMCmLT2
+AD4- +AD4- +AF8-YOv-eUJGr8zzVbLbxXcFBO3pOLji0BxkRsN6bNntDfi-Ta4a-
+AD4- j3lXOHVlHmkEsY1x+AF8-eRq
+AD4- +AD4- igwfw2H4jEuGJ1I+ACQ- +AFs-01+AFs-.+AF0-org+AF0- Comment        : VAAPI legacy driver for
+AD4- +AD4- Intel GMA 4500 (Gen4) to UHD
+AD4- +AD4- 630 (Gen9.5)
+AD4- +AD4- Options        :
+AD4- +AD4-         HYBRID         : on
+AD4- +AD4-         WAYLAND        : on
+AD4- +AD4-         X11            : on
+AD4- +AD4- Shared Libs required:
+AD4- +AD4-         libdrm+AF8-intel.so.1
+AD4- +AD4-         libdrm.so.2
+AD4- +AD4- Annotations    :
+AD4- +AD4-         FreeBSD+AF8-version: 1401000
+AD4- +AD4-         build+AF8-timestamp: 2024-10-09T11:37:51+-0000
+AD4- +AD4-         built+AF8-by       : poudriere-git-3.4.2
+AD4- +AD4-         port+AF8-checkout+AF8-unclean: no
+AD4- +AD4-         port+AF8-git+AF8-hash  : 19fbadfb9
+AD4- +AD4-         ports+AF8-top+AF8-checkout+AF8-unclean: no
+AD4- +AD4-         ports+AF8-top+AF8-git+AF8-hash: 19fbadfb9
+AD4- +AD4-         repo+AF8-type      : binary
+AD4- +AD4-         repository     : FreeBSD
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4- Please advise
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4- Thanks,
+AD4- +AD4-
+AD4- +AD4- Petru
+AD4- +AD4-