Multiple problems running PVRInsider tools on linux x64

Hello,

I’m using PVRInsider SDK linux x64 version and I’ve met a problems

  1. blender plugin crash on scene export



    /usr/buildxl/buildroot/sdk/branch/UtilitiesSrc/Common/PVRPreferences/PVRPreferences.cpp

    WARNING: No tag found. Tag will be recreated.

    *** glibc detected *** blender: free(): invalid pointer: 0x000000000569be28 ***

    ======= Backtrace: =========

    /lib64/libc.so.6[0x344027ca8e]

    /lib64/libtinyxml.so.0(_ZN11TiXmlString6assignEPKcm+0x78)[0x3f8dc08318]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN9TiXmlNode8SetValueEPKc+0x2d)[0x7f115d826b87]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN15CPVRPreferences15SetGenericValueIbEE14EPVRPrefResultRK11CPVRTStringRKT_i+0x4ba)[0x7f115d8297d0]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN15CPVRPreferences8SetValueERK11CPVRTStringb+0x4c)[0x7f115d82556e]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN12COptionsData4SaveER15CPVRPreferencesRK11CPVRTString+0x87)[0x7f115d7d8361]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN14COptionsWindow12saveRegistryEv+0x57)[0x7f115d7fabeb]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN14COptionsWindow10closeEventEP11QCloseEvent+0x19)[0x7f115d7facfb]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x2fb)[0x7f115cc04b4b]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x71)[0x7f115d017871]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xaf)[0x7f115cbab57f]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1cb)[0x7f115cbb26bb]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x84)[0x7f115c629a74]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN14QWidgetPrivate12close_helperENS_9CloseModeE+0x1e7)[0x7f115cbfd537]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN7QWidget5closeEv+0x12)[0x7f115cbfd612]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN14COptionsWindow8onExportEb+0x24)[0x7f115d7face0]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(+0xc3116)[0x7f115d801116]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2eb)[0x7f115c640adb]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x7f115d2ad3c2]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(+0x61307b)[0x7f115cfb307b]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(+0x614535)[0x7f115cfb4535]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x6f)[0x7f115cfb477f]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x642)[0x7f115cc04e92]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN15QAbstractButton5eventEP6QEvent+0x20)[0x7f115cfb38a0]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN11QPushButton5eventEP6QEvent+0x3e)[0x7f115d04e90e]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xaf)[0x7f115cbab57f]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x352)[0x7f115cbb2842]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x84)[0x7f115c629a74]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x177)[0x7f115cbae3a7]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(+0x28e7bd)[0x7f115cc2e7bd]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x1151)[0x7f115cc2d991]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(+0x2b91a8)[0x7f115cc591a8]

    /lib64/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x3442a47a55]

    /lib64/libglib-2.0.so.0[0x3442a47d88]

    /lib64/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x3442a47e44]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x73)[0x7f115c65bc43]

    /home/misha/.config/blender/2.65/scripts/addons/libQtGui.so.4(+0x2b8d3f)[0x7f115cc58d3f]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x35)[0x7f115c628b25]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x136)[0x7f115c628ee6]

    /home/misha/.config/blender/2.65/scripts/addons/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xb6)[0x7f115c62ada6]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_Z20DisplayOptionsDialogR8COptionsiPPcb+0x2d9)[0x7f115d7f8c75]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(_ZN11CBlendToPOD13LaunchOptionsEPKc+0x8c)[0x7f115d7c3410]

    /home/misha/.config/blender/2.65/scripts/addons/libPVRGeoPOD.so(launchOptions+0x1d)[0x7f115d7c395d]

    /lib64/libffi.so.5(ffi_call_unix64+0x4c)[0x3443605ed8]

    /lib64/libffi.so.5(ffi_call+0x1e0)[0x34436058e0]

    /usr/lib64/python3.3/lib-dynload/_ctypes.cpython-33m.so(_ctypes_callproc+0x2f0)[0x7f116058a3f0]

    /usr/lib64/python3.3/lib-dynload/_ctypes.cpython-33m.so(+0xa0fd)[0x7f11605840fd]

    /lib64/libpython3.3m.so.1.0(PyObject_Call+0x9f)[0x3f8f05ef8f]

    /lib64/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x2a0d)[0x3f8f107ddd]

    /lib64/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x75e5)[0x3f8f10c9b5]

    /lib64/libpython3.3m.so.1.0(PyEval_EvalCodeEx+0x833)[0x3f8f10de63]

    /lib64/libpython3.3m.so.1.0[0x3f8f08535f]

    /lib64/libpython3.3m.so.1.0(PyObject_Call+0x9f)[0x3f8f05ef8f]

    blender[0xb894f2]

    blender[0x12ada83]

    blender[0x849ac0]

    blender[0x849cd6]

    blender(wm_event_do_handlers+0x1ab)[0x849feb]

    blender(WM_main+0x18)[0x843688]

    blender(main+0xab9)[0x837919]

    /lib64/libc.so.6(__libc_start_main+0xf5)[0x3440221a05]

    blender[0x8415b9]


  2. when I export scene to Collada format and then use PVRGeoPOD tool. Camera settings are wrong and I can’t change them using PVRShaman, only from position is saved



    Best regards,

    Misha Vakulich

Hello



about the second problem , down to the scene explorer it s possible to change the camera settings , and by m side it s working well ,( i am using PVRShaman 2.1.2 right now ).



are you sure you dbl click on the camera located in the second treeview ?



regards

david

yep, I go to the settings dialog of camera,

changes from “Parameters” and “From” section are saved after pressing “Ok” buttons,

even view is re-rendered while I’m doing a changes in dialog,

but changes within sections “To” and “Up” are not saved maybe some problems with exporter that breaks .pod file



By the way I’m using PVRShaman 2.1.2 Sdk build 3.1@2323985



Best regards

Misha Vakulich

Hello



Yes you are right the To and Up are not saved , i guess it s probably better to set it programatically depending the need of the scene no ?



regards

david

Yep,



will do that programatically for now,

but it is a bit confusing that it is really hard to just export the scene and test how it looks like on real device



Best regards

Misha Vakulich

Previously we had the PVREngine that was super easy to test but the team removed it…

maybe it s time to make it back to live (PVREngine) ?

it s true that PVRShaman is quick to visualize and it s a must to compile ,test PFX ( that is a really cool feature )

it s missing the extra miles to deploy easily and quickly , the only requirement should to set a PFX file and a POD () why not many)