How to get Mesa-libva-32bit for Leap 15.6?

Trying to use my OpenSuSE machine to stream games over Steam Remote Play to an orange pi 5 board in the livingroom but steam requires 32bit VAAPI libraries to enable hardware encoding on AMD cards. Returns this error:

Trying to create an encoder for streaming: [hardware_enabled=true][hardware_suppressed=false]
Allowed Codecs: 5,4
Created encoder VAAPI for codec 5
CGameStreamVideoStageVAAPI: Reinitializing 1920x1080 at 30000 Kbit/s and 119.75 FPS with quality 1
ffmpeg verbose: libva: VA-API version 1.20.0
ffmpeg verbose: libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
ffmpeg verbose: libva: va_openDriver() returns -1
ffmpeg error: Failed to initialise VAAPI connection: -1 (unknown libva error).
CGameStreamVideoStageVAAPI: Failed to create device context: Input/output error
Failed to pre-process frame
Encoder stage failed [type=5, codec=5]

Packman has Mesa-libva-32bit for tumbleweed and slowroll. But nothing for Leap 15.6
Obs has packages but they’re for Mesa 23.3.3 whereas lastest in Leap in 23.3.4

Is there another way to get this package? I’m not familiar enough with compiling libraries or packaging rpms to do it myself. Appreciate any help

I should mention that hardware encoding works using the flatpak of steam, but I’d like to avoid this as it has issues with proton, directories, and controllers.

Maybe this is missing:

rpm -ql Mesa-dri-32bit
/usr/lib/dri
/usr/lib/dri/crocus_dri.so
/usr/lib/dri/d3d12_dri.so
/usr/lib/dri/i915_dri.so
/usr/lib/dri/iris_dri.so
/usr/lib/dri/kms_swrast_dri.so
/usr/lib/dri/r300_dri.so
/usr/lib/dri/r600_dri.so
/usr/lib/dri/radeonsi_dri.so
/usr/lib/dri/swrast_dri.so
/usr/lib/dri/virtio_gpu_dri.so
/usr/lib/dri/vmwgfx_dri.so
/usr/lib/dri/zink_dri.so

It’s there. Possibly from the 32bit 23.3.3 from obs repo.

/usr/lib/dri
/usr/lib/dri/crocus_dri.so
/usr/lib/dri/d3d12_dri.so
/usr/lib/dri/i915_dri.so
/usr/lib/dri/iris_dri.so
/usr/lib/dri/kms_swrast_dri.so
/usr/lib/dri/r300_dri.so
/usr/lib/dri/r600_dri.so
/usr/lib/dri/radeonsi_dri.so
/usr/lib/dri/swrast_dri.so
/usr/lib/dri/virtio_gpu_dri.so
/usr/lib/dri/vmwgfx_dri.so
/usr/lib/dri/zink_dri.so

No really. Leap is 64 bit and only selected packages have 32 bit variants. Your best bet is to clone Mesa on OBS and rebuild enabling 32 bit Mesa-libva.

https://wiki.archlinux.org/title/Steam/Troubleshooting#Hardware_decoding_not_available

It may also be necessary to remove the steam runtime version of libva, in order to force it to use system libraries. The current library in use can be found by using:

$ pgrep steam | xargs -I {} cat /proc/{}/maps | grep libva

If this shows locations in ~/.local/Share/steam steam is still using its packaged version of libva. This can be rectified by deleting the libva library files at ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libva*, so that steam falls back to the system libraries.

https://software.opensuse.org/package/Mesa-libva-32bit

Available with X11:Xorg repo: https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.6/x86_64/Mesa-libva-32bit-24.3.3-lp156.1673.2.x86_64.rpm

Available with Community repos. But v. 24.3.3, not 23.3.4 = default for Leap 15.6.

You can upgrade Mesa - get it from X11:XOrg.
Or all Mesa packages from home:videoregataos.

Possibly you can install Mesa-libva-32bit with any version - VAAPI driver is rather old. I.e. try to use Mesa 23.3.4 + Mesa-libva-32bit 24.3.3.

Is it possible to get stream from Steam and deal with it with Pipewire?

Checked and Steam is using system libraries

Tried upgrading Mesa through X11 repo, but led to a black screen at boot so had to roll back.

24.3.3 version of mesa-libva-32bit installed but no change

Try to rebase all packages to X11:XOrg repo - full repository vendor change.

https://en.opensuse.org/Steam#Failure_to_start_Steam,_when_trying_to_load_Steam_without_local_runtime

You can ask developers via bug report to add missed package.