[Openpvrsgx-devgroup] [RFC][PATCH] pvrsrv: 1.17: pvr_linux_fence: Repace dma_resv_list by iterator

Anthoine Bourgeois anthoine.bourgeois at gmail.com
Tue Jul 19 23:33:17 CEST 2022

Hi Nikolaus,

On Wed, Jul 13, 2022 at 03:08:35PM +0200, H. Nikolaus Schaller wrote:
>> Now I can run pvrsrvctl too, but got an error on EGL:
>> # gles2test1
>> --------------------- started ---------------------
>> 'eglInitialize' returned egl error 'EGL_NOT_INITIALIZED' (0x3001)
>Same for me:
>root at letux:~# gles2test1
>--------------------- started ---------------------
>'eglInitialize' returned egl error 'EGL_NOT_INITIALIZED' (0x3001)
>root at letux:~#
>But AFAIR gles2test1 didn't work for me previously.

For me, it worked on driver 1.9.2188537 with libpvrPVR2D_FRONTWSEGL.so (for direct writes to FrameBuffer).
It seems gles2test1 replaced this custom lib by wayland now.

# ldd /usr/bin/gles2test1
         libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb6c8b000)
         libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0xb6c6c000)

And that's why EGL failed to initialize.

# strace gles2test1
connect(3, {sa_family=AF_UNIX, sun_path="/run/user/0/wayland-0"}, 24) = -1 ENOENT (No such file or directory)
write(1, "'eglInitialize' returned egl err"..., 66'eglInitialize' returned egl error 'EGL_NOT_INITIALIZED' (0x3001)
) = 66

When I try to start weston, an error tells me GL_EXT_unpack_subimage is missing.

Since weston-9.0.0, GL_EXT_unpack_subimage is mandatory:

As 1.17 don't expose this extension, we can't do anything.


More information about the openpvrsgx-devgroup mailing list