Forums - Adreno SDK demo running failed

21 posts / 0 new
Last post
Adreno SDK demo running failed
w__w
Join Date: 30 Mar 14
Posts: 4
Posted: Mon, 2014-04-07 06:13

I have installed Adreno SDK 3.6 on windows 7 64bit, but when I ran any demo, it reported "could not load from Adreno device driver:eglGetError", I traced the code and found the demo crashed at "eglGetDisplay(EGL_DEFAULT_DISPLAY)", how do I solve this problem?

 
  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Mon, 2014-04-07 08:47

I am also facing the same problem but when i installed in another PC which is only having opengl 2.0 support its working fine.

mine is a acer aspire 5755G which holds Nvidia Geforce GT 630M graphics card reporting the same message("could not load from Adreno device driver:eglGetError").

  • Up0
  • Down0
sraut
Join Date: 3 Apr 13
Posts: 11
Posted: Mon, 2014-04-07 11:51

We tested the Adreno SDK 3.6 version on a 64bit windows 7 machine and all demos and samples seem to work fine.

We'd like some more information about your setup.

Could you please let us know if you see libEGL.dll and libGLESv2.dll in the <Adreno_SDK_install_path>/Bin/driver folder?

Also, did you have the Adereno SDK 3.5 version installed before and did you see any problems with it?

If you did have the 3.5 version installed, did you uninstall it before installing the 3.6 version.

Thanks.

 

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Mon, 2014-04-07 13:03
I was using imagination pvr SDK which also has libEGL & libGLESv2 I tried removing those files from windows/syswow64/ then PVR samples stopped working but still I am getting the above msg. Is there any way to solve this without uninstalling PVR
  • Up0
  • Down0
sraut
Join Date: 3 Apr 13
Posts: 11
Posted: Mon, 2014-04-07 17:14

I'm not quite sure how PVR SDK is setup.

I have been able to have both Adreno and PVR SDK samples work in the past.

The error that you are seeing while running the Adreno SDK tells me that the driver dlls are in bin/driver either don't exist or are corrupt.

Could you please try installing a fresh copy of the Adreno SDK in a new location and not at the default location?

Thanks.

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Mon, 2014-04-07 20:26

Hi, i tried installing outside the default folder still the same.

I can see the dlls on <Adreno SDK>\bin\drivers.

And I am installing on c drive is this anything to do with error.

 

Thanks.

  • Up0
  • Down0
w__w
Join Date: 30 Mar 14
Posts: 4
Posted: Tue, 2014-04-08 04:47

Hi,

    There are libEGL.dll and libGLESv2.dll in the <Adreno_SDK_install_path>/Bin/driver folder, and it is my first time installing Adereno SDK 3.6, I did not install Adereno SDK 3.5 before, and I install Adereno SDK 3.6 in another PC using nvidia card(my first pc has intel card) also has same problem.

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Tue, 2014-04-08 07:30

I guess this is because of .Net Framework.

I created a new project on the pc in which adreno sdk is working and took that project to the other pc.

Initially i got msvcr110.dll is missing error, after adding the necessary dlls to driver folder now the same old exception.

("could not load from Adreno device driver: eglGetError").

 

 

And also when i tried to install the profiler through setup.exe the .Net framework was tried to install and failed. It said that a newer version had been already installed. Is this SDK supports vs2012/vs2013?

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Tue, 2014-04-08 09:35
Hi,
 
A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.
 
This is the message i am getting on installing profiler, and this was not happening on the pc which has sdk working.
 
w__w have you tried to install the profiler using setup.exe?
let me know if you are also getting same message.
 
 
Thanks.
  • Up0
  • Down0
sraut
Join Date: 3 Apr 13
Posts: 11
Posted: Tue, 2014-04-08 10:07

Hi,

I have .Net Framework 4.5.1 on my Win7 x64 PC and I see no issues with the SDK demos.

The demos and samples are built using VS 2010, we currently do no support vs 2012/2013.

The driver dlls however are built using vs2012 and do need the other msvc dlls found in the bin/driver directory.

How are you running the demo/samples? Are you using the browser, the exe in the bin directory or Visual studio?

I'm not sure I understand, does the new project you created use any of the SDK components like the emulator?

 

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Tue, 2014-04-08 10:19

Hi,

I tried all the three ways the browser, the exe in the bin directory and Visual studio to run. always its the same message.

In visual studio as w__w said if i use breakpoints its stopping at EGLDisplay eglDisplay = eglGetDisplay( EGL_DEFAULT_DISPLAY ); .

 
new project is just a replica of draw_triangle project just manually copied everything from project properties of Draw_triangle project under training folder.
 
Thanks.
  • Up0
  • Down0
w__w
Join Date: 30 Mar 14
Posts: 4
Posted: Wed, 2014-04-09 00:29

I reinstalled vs2010, and then installed .Net Framework 4.5.1, but it still reported that error message.

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Wed, 2014-04-09 08:11

Hi w__w,

Is both of your systems have opengl3.3 support?

my pc which is working is only having opengl2.1 support

Thanks.

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Wed, 2014-04-09 12:03

Hi sraut,

I compared the installation log files of working and non working SDKs there was a difference in  os.arch==amd64, I am using a intel corei3 processor.

could you please check my log file here for anyother info?

Is java have anything to do with this sdk setup?

Thanks.

  • Up0
  • Down0
sraut
Join Date: 3 Apr 13
Posts: 11
Posted: Fri, 2014-04-11 17:14

Thanks for the log file, but it doesn't explain your problem and we don't use Java for the sample.

This is a long shot, but what Microsoft SDKs do you have installed?

What does the C:\Program Files (x86)\Microsoft SDKs\Windows look like?

One of the key data structures we use for loading the driver dll is _IMAGE_DOS_HEADER.

I'm suspecting that might not be working as expected.

 

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Fri, 2014-04-11 21:53

Hi sraut,

 

I am using v7.0A Microsoft SDK. please find the screenshot of folder structure here.

 

Thanks.

  • Up0
  • Down0
magnus.jensen
Join Date: 6 Dec 13
Posts: 1
Posted: Wed, 2014-04-23 01:42

Install the x86 version of this redist.

http://www.microsoft.com/en-us/download/details.aspx?id=30679

I compared two computer and the one that wasn't working was missing this, worked fine after installation.

 

  • Up0
  • Down0
sraut
Join Date: 3 Apr 13
Posts: 11
Posted: Wed, 2014-04-23 10:59

Thanks for pointing this out.

For others on this thread, please let me know how this works out.

Thanks.

  • Up0
  • Down0
murugan89
Join Date: 6 Apr 14
Posts: 10
Posted: Mon, 2014-04-28 09:36

Hi,

It works. thanks a lot magnus.jensen & sraut

Thanks.

  • Up0
  • Down0
Azlun
Join Date: 10 Mar 13
Location: SHENZHEN
Posts: 27
Posted: Thu, 2016-01-28 02:53

I installed Adreno Profiler 4.0, blocking by  msvcr110.dll is missing error,

going to try this patch https://www.microsoft.com/en-us/download/details.aspx?id=30679

 

  • Up0
  • Down0
Azlun
Join Date: 10 Mar 13
Location: SHENZHEN
Posts: 27
Posted: Thu, 2016-01-28 04:28

It is really works for Adreno Profiler MSVCR110.dll missing problem!! thank you all again

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.