Unable to get hardware acceleration to work on old Lenovo laptop

Hello,

I freshly installed FreeBSD on an old Lenovo laptop with an Intel graphic card. But I cannot figure out why the hardware acceleration does not work and would therefore appreciate any help. Please see the relevant information below:

Code:
# uname -a
FreeBSD lenovo 14.3-RELEASE-p3 FreeBSD 14.3-RELEASE-p3 GENERIC amd64

Code:
# pciconf -lv | grep -B3 display
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x0e hdr=0x00 vendor=0x8086 device=0x0f31 subvendor=0x17aa subdevice=0x3986
    vendor     = 'Intel Corporation'
    device     = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
    class      = display

I have the xf86-video-intel package installed, but I am not sure if that was a good decision…

Code:
# vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit

Code:
# mpv --hwdec=auto video.webm
● Video  --vid=1               (av1 1920x1080 60 fps) [default]
● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz) [default]
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
libEGL warning: DRI2: failed to authenticate
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
'-avx512er' is not a recognized feature for this target (ignoring feature)
'-avx512pf' is not a recognized feature for this target (ignoring feature)
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
The mpv player does not open that video file…
 
It looks like you have an intel "Bay Trail" CPU, what CPU do you have?
Am I correct that you don't have a seperate discrete GPU?
Here is the CPU info:

Code:
Intel(R) Celeron(R) CPU N2840 @ 2.16GHz

You are correct that there is no separate discrete GPU.
 
Back
Top