Hi.
Our setup is Mistral DM8148 EVM with Video-Security card. In this setup we manage to run
the DVR-RDK demos and also to put graphics-overlay using Qt via FBDev.
We now try to compile the Graphics-SDK and run the OpenGL demos (at this state OpenGL
1.1 is sufficient).
Regarding versions: we use DVR-RDK 4.0 and the latest Graphics-SDK 4.10.0.1.
After setting what needed according to the "3D Graphics SDK User's Guide", the compilation
passed successfully.
But when we run the "38xx-demo" script it aborts with the following failure:
"/usr/local/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=34)"
During search in the forum for similar problems, I found 2 posts that seemed relevant.
According one of them I tried to compile the Graphics-SDK with Power-Management
enabled, but it did no solve the issue. From the second I learnt that there is a possiobility
that some software modules in DVR-RDK and Graphics-SDK might not match, but I failed
to comprehend what specifcaly might not match and how to resolve the issue.
I'll appreciate any insignt/guidance.
Thank you.
I'm putting below the full sequence of shell messages when executing "38xx-demo":
root@dm814x:/opt/gfxsdkdemos# ./38xx-demo
/dev/mem opened.
Memory mapped at address 0x400d2000.
Value at address 0x48180F04 (0x400d2f04): 0x1
Written 0x0; readback 0x0
/dev/mem opened.
Memory mapped at address 0x402e8000.
Value at address 0x48180900 (0x402e8900): 0x1
Written 0x2; readback 0x2
/dev/mem opened.
Memory mapped at address 0x4013e000.
Value at address 0x48180920 (0x4013e920): 0x70000
Written 0x2; readback 0x2
0x10205
release6.x
SGX Revision is 125...
installing 6.x SGX release user libraries
Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target
File system installation root is /
Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module pvrsrvkm.ko -> /lib/modules/2.6.37/extra/pvrsrvkm.ko
kernel module omaplfb.ko -> /lib/modules/2.6.37/extra/omaplfb.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
Installation complete!
You may now reboot your target.
/usr/local/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=34)
root@dm814x:/opt/gfxsdkdemos# Connection closed by foreign host.
user@ubuntu:~$