From:  Nick <[email protected]>
Reply-To:  "[email protected]" <[email protected]>
Date:  Tuesday, June 17, 2014 at 6:01 PM
To:  "[email protected]" <[email protected]>
Subject:  Re: [beagleboard] Creating The SGX Driver For Ubuntu 14.04

> Still getting the same errors when running the Magic Lantern demo again.
I¹m running Debian. If I don¹t run /etc/init.d/rc.pvr, I get the same error
you get.

root@arm:/opt/gfxsdkdemos/ogles2# ./OGLES2ChameleonMan
Can't open keypad input device (/dev/input/event0)
Exit message has been set to: "PVRShell: Unable to initialise EGL
".
PVRShell: EGL Error (EGL_BAD_ALLOC)
InitAPI failed!
PVRShell: Unable to initialise EGL
root@arm:/opt/gfxsdkdemos/ogles2# /etc/init.d/rc.pvr start
Loaded PowerVR consumer services.
root@arm:/opt/gfxsdkdemos/ogles2# ./OGLES2ChameleonMan
Can't open keypad input device (/dev/input/event0)
PVRShell: EGL 1.4 initialized

Regards,
John
> 
> 
> On 18 June 2014 12:46, John Syn <[email protected]> wrote:
>> 
>> From:  Nick Apperley <[email protected]>
>> Reply-To:  "[email protected]" <[email protected]>
>> Date:  Tuesday, June 17, 2014 at 5:33 PM
>> To:  "[email protected]" <[email protected]>
>> Subject:  Re: [beagleboard] Creating The SGX Driver For Ubuntu 14.04
>> 
>>> Both omaplfb and pvrsrvkm modules are already loaded. Also the rc.pvr daemon
>>> is automatically started during boot. Where is 335x-demo on Ubuntu 14.04?
>> I suspect that Robert¹s installer would have already done this setup, but if
>> this is any help, this is what it does:
>> 
>> oot@arm:~# /etc/init.d/335x-demo
>> 0x10205
>> release8.x
>> installing 8.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/3.12.5-bone10.4/extra/pvrsrvkm.ko
>> kernel module omaplfb.ko -> /lib/modules/3.12.5-bone10.4/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.
>> 
>> Regards,
>> John
>> 
>>> 
>>> 
>>> On Wednesday, 18 June 2014 12:25:10 UTC+12, john3909  wrote:
>>>> 
>>>> From:  Nick Apperley <[email protected]>
>>>> Reply-To:  "[email protected]" <[email protected]>
>>>> Date:  Tuesday, June 17, 2014 at 5:00 PM
>>>> To:  "[email protected]" <[email protected]>
>>>> Subject:  Re: [beagleboard] Creating The SGX Driver For Ubuntu 14.04
>>>> 
>>>>> Did install the mesa-dev type packages including mesa-dev-extra, which has
>>>>> the OpenGL ES 2.0 utilities (eg es2_info, es2gears).
>>>> Here is what I do to run QT5.1.1 on V3.12
>>>> 
>>>> /etc/init.d/335x-demo
>>>> reboot
>>>> insmod /lib/modules/3.12.5-bone10.4/extra/pvrsrvkm.ko
>>>> insmod /lib/modules/3.12.5-bone10.4/extra/omaplfb.ko
>>>> /etc/init.d/rc.pvr start
>>>> /opt/gfxsdkdemos/ogles2/OGLES2ChameleonMan
>>>> 
>>>> The demo works fine.
>>>> 
>>>> Regards,
>>>> John
>>>>> 
>>>>> 
>>>>> 
>>>>> On Wednesday, 18 June 2014 11:51:53 UTC+12, RobertCNelson  wrote:
>>>>>> 
>>>>>> This happens when the mesa libegl.so get's installed..
>>>>>> 
>>>>>> Fixup with: 
>>>>>> 
>>>>>> sudo cp -v /usr/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so
>>>>>> sudo cp -v /usr/lib/libGLESv2.so
>>>>>> /usr/lib/arm-linux-gnueabihf/libGLESv2.so
>>>>>> 
>>>>>>> > ===========================================================
>>>>>>> > 
>>>>>>> > Very similar error messages when trying to run the sample JavaFX 8
>>>>>>> program 
>>>>>>> > remotely (via SSH). Robert can you please confirm if you can run one
>>>>>>> of the 
>>>>>>> > SGX demos (eg Magic Lantern) successfully, and post the results from
>>>>>>> running 
>>>>>>> > the fbset -i and es2_info commands (locally).
>>>>>> 
>>>>>> Regards, 
>>>>>> 
>>>>>> -- 
>>>>>> Robert Nelson
>>>>>> http://www.rcn-ee.com/
>>>>> 
>>>>> -- 
>>>>> For more options, visit http://beagleboard.org/discuss
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google Groups
>>>>> "BeagleBoard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>>> email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout
>>>>> <https://groups.google.com/d/optout> .
>>> 
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google Groups
>>> "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>> 
>>> For more options, visit https://groups.google.com/d/optout.
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to a topic in the Google
>> Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/vHmA5ZuYoHw/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to