Virgl: cso_unbind_context: Assertion `maxsam <= PIPE_MAX_SAMPLERS' failed
I tried enable virgl on our platform and meet the Assertion `maxsam <= PIPE_MAX_SAMPLERS' failed when run glmark2 applciation.
Here is the log
Log:
root@imx95-19x19-lpddr5-evk:~# glmark2-es2-wayland
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Mesa
GL_RENDERER: virgl (Mali-G310)
GL_VERSION: OpenGL ES 3.1 Mesa 23.2.1 (git-ee1076839f)
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=32 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
glmark2-es2-wayland: ../src/gallium/auxiliary/cso_cache/cso_context.c:406: cso_unbind_context: Assertion `maxsam <= PIPE_MAX_SAMPLERS' failed.
[ 41.166154] kauditd_printk_skb: 16 callbacks suppressed
[ 41.166167] audit: type=1701 audit(1712818007.157:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=544 comm="glmark2-es2-way" exe="/usr/bin/glmark2-es2-wayland" sig=6 res=1
Aborted (core dumped)
root@imx95-19x19-lpddr5-evk:~# [ 48.977693] audit: type=1334 audit(1712818014.969:17): prog-id=12 op=UNLOAD
[ 48.977746] audit: type=1334 audit(1712818014.969:18): prog-id=11 op=UNLOAD
Edited by Wujian Sun