Sunday, November 05, 2023

Re: firefox graphics acceleration broken - missing libva

Le Sun, Nov 05, 2023 at 03:08:54AM +0000, unnamed_maker307@aleeas.com a écrit :
> (sorry for the duplicate post - it seems the first attempt was not in plain text - oops)
>
> On the latest OpenBSD amd64 release, since Firefox 117 (I think), graphics acceleration has been broken and the following error messages are produced when firefox is launched:
>
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=0.780224) [GFX1-]: vaapitest: ERROR
> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=0.780224) |[1][GFX1-]: vaapitest: VA-API test failed: libva-drm.so.2 is missing.
>  (t=0.780376) [GFX1-]: vaapitest: VA-API test failed: libva-drm.so.2 is missing.
>
> Does anyone have any idea how to fix this?  I haven't been able to find a package for libva nor have I been able to compile it just yet.

nothing is broken, it's just a harmless warning. at startup firefox runs
vaapitest, which tries to load libva-drm (see
https://github.com/intel/libva), which doesnt exist on OpenBSD. but if
you check about:support, you'll see that graphics acceleration actually
works.

iirc that stuff isnt for graphics acceleration but rather used for video
hardware decoding, which isnt supported on OpenBSD.

Landry

No comments:

Post a Comment