[Openpvrsgx-devgroup] how to run gles2test1

H. Nikolaus Schaller hns at goldelico.com
Fri Nov 15 12:14:45 CET 2019


Hi,
so far I have only used gles1test1 but now gound out how to run the gles2test1 (on OMAP5/Pyra):

It just did tell me:

root at letux:~# gles2test1 100
--------------------- started ---------------------
[   42.561320] DSI: omapdss DSI error: VC(0) busy when trying to configure it!
[   42.568784] DSI: omapdss DSI error: VC(1) busy when trying to configure it!
[   42.576324] DSI: omapdss DSI error: VC(2) busy when trying to configure it!
[   42.584949] DSI: omapdss DSI error: VC(3) busy when trying to configure it!
[   42.767103] dmtimer posted=0
Error: Failed to open shader file 'glsltest1_vertshader.txt'!
[   42.896790] dmtimer posted=0
--------------------- finished ---------------------
root at letux:~# 

Inspecting strace it seems to look for 'glsltest1_vertshader.txt'
in the current working directory.

So we have to do (cd $(dirname $(which gles2test1)) && gles2test1 $@)

BR,
Nikolaus


PS: there is also some dma/mm glitch and after some runs the frame rate goes down or start fails.
I get:

root at letux:~# (cd $(dirname $(which gles2test1)) && gles2test1 100)
--------------------- started ---------------------
[  128.866085] omapdrm omapdrm.0: could not remap: -12 (3)
[  128.871577] PVR_K:(Error): DmaBufImportAndAcquirePhysAddr: dma_buf_map_attachment failed: -375188352
[  128.881830] PVR_K:(Error): PVRSRVMapDmaBufKM: Failed to get dma-buf phys addr
[  128.889689] PVR_K:(Error): PVRSRVMapDmaBufBW: Failed to map dma-buf handle
PVR:(Error): CreateBuffer: Couldn't map buffer: PVRSRV_ERROR_BAD_MAPPING [0, ]
[  128.903645] DSI: omapdss DSI error: VC(0) busy when trying to configure it!
[  128.911702] DSI: omapdss DSI error: VC(1) busy when trying to configure it!
[  128.919374] DSI: omapdss DSI error: VC(2) busy when trying to configure it!
[  128.927041] DSI: omapdss DSI error: VC(3) busy when trying to configure it!
[  129.124302] dmtimer posted=0
Compiling program 'glsltest1_vertshader.txt', 262 bytes long
Compiling program 'glsltest1_fragshaderA.txt', 81 bytes long
Compiling program 'glsltest1_fragshaderB.txt', 214 bytes long
[  136.670587] dmtimer posted=0
root at letux:~# (cd $(dirname $(which gles2test1)) && gles2test1 100)
--------------------- started ---------------------
[  209.165491] omapdrm omapdrm.0: could not remap: -12 (3)
[  209.170987] PVR_K:(Error): DmaBufImportAndAcquirePhysAddr: dma_buf_map_attachment failed: -334357888
[  209.182131] PVR_K:(Error): PVRSRVMapDmaBufKM: Failed to get dma-buf phys addr
[  209.190019] PVR_K:(Error): PVRSRVMapDmaBufBW: Failed to map dma-buf handle
PVR:(Error): CreateBuffer: Couldn't map buffer: PVRSRV_ERROR_BAD_MAPPING [0, ]
'eglCreateWindowSurface' returned egl error 'EGL_BAD_ALLOC' (0x3003)
root at letux:~# 


More information about the openpvrsgx-devgroup mailing list