1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Where to find pvrsrvinit for armhf ?

Discussion in 'OpenGL ES and GLSL ES' started by Linux-SWAT, Sep 18, 2016.

  1. Linux-SWAT

    Linux-SWAT Advanced Member

    Joined:
    Feb 13, 2010
    Messages:
    7,858
    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 ?
     
    Tags:
  2. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,891
    Location:
    Lithuania
    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.
     
  3. Linux-SWAT

    Linux-SWAT Advanced Member

    Joined:
    Feb 13, 2010
    Messages:
    7,858
    Will try that.
    Thanks !
    --- Double Post Merged, Sep 18, 2016, Original Post Date: Sep 18, 2016 ---
    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.
    --- Double Post Merged, Sep 18, 2016 ---
    Not much luck here, seems that the .../XSGX/... is not related.

    Maybe should I have to recompile the kernel+module ?
     
    Last edited: Sep 18, 2016
  4. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,891
    Location:
    Lithuania
    You need to load the right kernel modules from kernel/drivers/gpu/pvr/ , there are many versions of them there. See http://pandorawiki.org/SGX_drivers , all versions of .so files, pvrsrvctl and kernel modules must match. Also see /etc/init.d/pvr-init script from SZ.
     
  5. Linux-SWAT

    Linux-SWAT Advanced Member

    Joined:
    Feb 13, 2010
    Messages:
    7,858
    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.
     
  6. Linux-SWAT

    Linux-SWAT Advanced Member

    Joined:
    Feb 13, 2010
    Messages:
    7,858
    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
     

Share This Page

Loading...