0

After a recent upgrade Firefox on a RPi4 running Bookworm fails when trying to decode MPEG video. It reports

libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/v3d_drv_video.so libva info: va_openDriver() returns -1 

then falls back to software decoding which causes the system to hang.

/usr/lib/aarch64-linux-gnu/dri/v3d_drv_video.so does not exist, nor do any other *_drv_video.so libraries.

vainfo says:

rpi@system:/ $ vainfo error: can't connect to X server! libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/v3d_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit 

while DISPLAY=:0 vainfo looks for the vc4 library (which isn't there, either):

stfyc@wx-raceoffice:/ $ DISPLAY=:0 vainfo libva info: VA-API version 1.17.0 libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/vc4_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit 

Did some of these libraries get moved to another package recently? If so, what package do I need?

1
  • I can't help with your problem (whatever that may be) but if it relies on x Bookworm does NOT use x - although you can force it to use older DM. It now uses kms rather than the older vc4 code. Commented Jul 15 at 7:45

1 Answer 1

0

There is a forum thread with the same issue. Believe it or not they said that installing libvulkan-dev fixes the problem.

1
  • Do you have a link to that post? Adding libvulkan-dev didn't fix it for me. Commented Jul 21 at 18:53

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.