Where to find pvrsrvinit for armhf ?


Linux-SWAT

Forum Addict!
Joined
Feb 13, 2010
Messages
9,188
Hi !

I'd like to get pvrsrvinit for armhf, but I found it nowhere as binary in the 5.01.01.02 hardfp Graphics SDK.
Is it available as source code ?
 
No, everything related to SGX is closed source. There is no pvrsrvinit for armhf, they removed it in 4.08.00.01/1.9.19.2139099 and replaced it with pvrsrvctl, which you have to run as "pvrsrvctl --start --no-module". TI have only released armhf blobs for 4.08 or newer.
 
Will try that.
Thanks !
[doublepost=1474205939,1474204566][/doublepost]Got a :
SrvInit failed (already initialized?) (err=4)

/dev/pvrsrvkm exists, omaplfb and pvrsrvkm modules are loaded.
Strace reports a bad address when opening /dev/pvrsrvkm .

I use Zaxxon kernel.

--EDIT:
In the strace I see things accessed not present in the fs (.../XSGX/...), checking that.

--EDIT:
If I load the drm module before omaplfb and pvrsrvkm, I now have an err=1 , but still bad address.
[doublepost=1474217370][/doublepost]Not much luck here, seems that the .../XSGX/... is not related.

Maybe should I have to recompile the kernel+module ?
 
Last edited:
Ok thanks I'll check that.
Thought I now had to now use the rc.pvr but as usual things are not as simple as I would wish :) .
I'll report back.
 
Got it to work ! I was able to run ptitSeb's F1-spirit.

I made a package, but included all .so from the .bin , links to .so$ .so.1$ .so.1.10$ are done automatically.
Can you tell me what to remove or if something is missing plz ?
Checked your driver .pnd , have more things there :

./etc
./etc/udev
./etc/udev/rules.d
./etc/udev/rules.d/99-bufferclass.rules
./etc/powervr.ini
./etc/powervr-esrev
./etc/init.d
./etc/init.d/pvr-init
./etc/powervr-kmodver
./etc/powervr_dri.ini
./usr
./usr/bin
./usr/bin/ES5.0
./usr/bin/ES5.0/pvr2d_test
./usr/bin/ES5.0/eglinfo
./usr/bin/pvrsrvctl
./usr/bin/devmem2
./usr/lib
./usr/lib/libglslcompiler_eglimage.so.1.10.2359475
./usr/lib/libpvrPVR2D_DRIWSEGL.so.1.10.2359475
./usr/lib/libpvrEWS_REMWSEGL.so.1.10.2359475
./usr/lib/libGLES_CM_eglimage.so.1.10.2359475
./usr/lib/libGLESv2.so.1.10.2359475
./usr/lib/libsrv_um.so.1.10.2359475
./usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
./usr/lib/libGLES_CM.so.1.10.2359475
./usr/lib/libIMGegl.so.1.10.2359475
./usr/lib/ES5.0
./usr/lib/ES5.0/libglslcompiler_eglimage.so.1.10.2359475
./usr/lib/ES5.0/libpvrPVR2D_DRIWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libpvrEWS_REMWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libGLES_CM_eglimage.so.1.10.2359475
./usr/lib/ES5.0/libGLESv2.so.1.10.2359475
./usr/lib/ES5.0/libsrv_um.so.1.10.2359475
./usr/lib/ES5.0/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libGLES_CM.so.1.10.2359475
./usr/lib/ES5.0/libIMGegl.so.1.10.2359475
./usr/lib/ES5.0/libPVRScopeServices.so.1.10.2359475
./usr/lib/ES5.0/libsrv_um_dri.so.1.10.2359475
./usr/lib/ES5.0/pvr_drv.so.1.10.2359475
./usr/lib/ES5.0/libews.so.1.10.2359475
./usr/lib/ES5.0/libIMGegl_eglimage.so.1.10.2359475
./usr/lib/ES5.0/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libEGL.so.1.10.2359475
./usr/lib/ES5.0/libglslcompiler.so.1.10.2359475
./usr/lib/ES5.0/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
./usr/lib/ES5.0/libsrv_init.so.1.10.2359475
./usr/lib/ES5.0/libEGL_eglimage.so.1.10.2359475
./usr/lib/ES5.0/libusc.so.1.10.2359475
./usr/lib/ES5.0/libpvrEWS_WSEGL.so.1.10.2359475
./usr/lib/ES5.0/libGLESv2_eglimage.so.1.10.2359475
./usr/lib/ES5.0/libpvr2d.so.1.10.2359475
./usr/lib/libPVRScopeServices.so.1.10.2359475
./usr/lib/libsrv_um_dri.so.1.10.2359475
./usr/lib/pvr_drv.so.1.10.2359475
./usr/lib/libews.so.1.10.2359475
./usr/lib/libIMGegl_eglimage.so.1.10.2359475
./usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
./usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
./usr/lib/libEGL.so.1.10.2359475
./usr/lib/libglslcompiler.so.1.10.2359475
./usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
./usr/lib/libsrv_init.so.1.10.2359475
./usr/lib/libEGL_eglimage.so.1.10.2359475
./usr/lib/libusc.so.1.10.2359475
./usr/lib/libpvrEWS_WSEGL.so.1.10.2359475
./usr/lib/libGLESv2_eglimage.so.1.10.2359475
./usr/lib/libpvr2d.so.1.10.2359475
 
Back
Top