This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

graphics SDK with DM814x

Guru 20755 points

Hello,

I am running the graphics SDK with DM8148 EVM board, but I see the graphics only in top quarter of the screen. Does anyone have any idea what might cause this behavior ?

root@dm814x:/opt/dvr_rdk/ti814x# cd /etc/init.d/
root@dm814x:/etc/init.d# ./38xx-demo
/dev/mem opened.
Memory mapped at address 0x4007d000.
Value at address 0x48180F04 (0x4007df04): 0x1
Written 0x0; readback 0x0
/dev/mem opened.
Memory mapped at address 0x40143000.
Value at address 0x48180900 (0x40143900): 0x1
Written 0x2; readback 0x2
/dev/mem opened.
Memory mapped at address 0x400d6000.
Value at address 0x48180920 (0x400d6920): 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.9@2188537' on target

File system installation root is /

Uninstalling existing version sgxddk_1.9@2188537
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.9.2188537
shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537
shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9.2188537
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9.2188537
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.9.2188537
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.9.2188537
shared library libpvrEWS_WSEGL.so -> /usr/lib/libpvrEWS_WSEGL.so.1.9.2188537
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.2188537
shared library libews.so -> /usr/lib/libews.so.1.9.2188537
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary ews_server -> /usr/local/bin/ews_server
binary ews_server_es2 -> /usr/local/bin/ews_server_es2
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
binary gles1test1 -> /usr/local/bin/gles1test1
binary gles2test1 -> /usr/local/bin/gles2test1
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
binary eglinfo -> /usr/local/bin/eglinfo
binary ews_test_gles1 -> /usr/local/bin/ews_test_gles1
binary ews_test_gles2 -> /usr/local/bin/ews_test_gles2
shader ews_test_gles2_main.vert -> /usr/local/bin/ews_test_gles2_main.vert
shader ews_test_gles2_main.frag -> /usr/local/bin/ews_test_gles2_main.frag
shader ews_test_gles2_pp.vert -> /usr/local/bin/ews_test_gles2_pp.vert
shader ews_test_gles2_pp.frag -> /usr/local/bin/ews_test_gles2_pp.frag
binary ews_test_swrender -> /usr/local/bin/ews_test_swrender

Installation complete!
You may now reboot your target.

Loaded PowerVR consumer services.
root@dm814x:/etc/init.d# cd /opt/
dvr_rdk/ gfxlibraries/ gfxsdkdemos/
root@dm814x:/etc/init.d# cd /opt/gfxsdkdemos/ogles
root@dm814x:/opt/gfxsdkdemos/ogles# ./OGLESSkybox
Can't open keypad input device (/dev/input/event0)
PVRShell: EGL 1.4 initialized

When tried to change load.sh script as following

old:

insmod ./kermod/vpss.ko i2c_mode=1 mode=hdmi:1080p-60 clksrc=dvo2:hdmi sbufaddr=${HDVPSS_SHARED_MEM}

new:

insmod ./kermod/vpss.ko i2c_mode=1 mode=hdmi:720p-60 clksrc=dvo2:hdmi sbufaddr=${HDVPSS_SHARED_MEM}

I than get half of screen filled up, but still not full screen.

Thank you very much for any idea,

Ran