9 Replies Latest reply on Mar 17, 2014 9:22 AM by kunal.bagewadi@amd.com

    Unable to start the profiler

    lauruhl

      Hi, I installed CodeXL 1.1.2885 today on my Win 8 , 64 bit machine, with a Radeon 777 ,

      and when i try to profile After  Effect, i got this error message :

       

      i made sure to install the 9..12.3.3000 driver .... and rebooted after updating .....

       

      Any clue why this is happening ?

        • Re: Unable to start the profiler
          dorono

          Hi,

           

          The message you're seeing refers to the CodeXL CPU Profiling driver. It is unrelated to the AMD Catalyst driver package.

           

          Do you have AMD CodeAnalyst installed on this station? Did you install CodeAnalyst after installing CodeXL?

          If the answers to the questions above are both yes then this may be a conflict between CodeAnalyst and CodeXL. Please follow these steps:

          1. Uninstall CodeXL.

          2. Uninstall CodeAnalyst.

          3. Reinstall CodeXL.

            • Re: Unable to start the profiler
              lauruhl

              Hi Doron,

              I do not have CodeAnalyst installed ..... only CodeXL v 1.1.2885 .

               

              Thx for your help.

                • Re: Unable to start the profiler
                  kalyanpk

                  Hi,

                  Can you please provide more info on CPU family that you are running CodeXL on?

                  You can get this information by doing the following:

                       1. Launch CodeXL

                       2. Click on "Tools -> System Information".

                       3. Look for "CPU Family" in "system" tab.

                   

                  This issue might also go sometimes after un-installing and installing of CodeXL. Can you try the following sequence once:

                       1. Un-install CodeXL from control panel

                       2. Reboot the system

                       3. Install CodeXL

                       4. Launch command-prompt as administrator and do following:

                                 a. sc query cpuloadservice

                                 b. sc query pcore

                                 c. sc query cpuprof

                       5. All the system queries run in step-4 should give STATE as "RUNNING".

                       6. start profiling from CodeXL.

                   

                  Hope this helps. let me know if you are still seeing a problem.

                   

                  Thanks,

                  Kalyan P

                    • Re: Unable to start the profiler
                      lauruhl

                      Hi Kaylan,

                      i tried to all this above, and it  looks that there's an issue: here is the result of step4

                      I do have nother post regarding the fact that I'm unable to have my GPU ( Radeon 777 , with the latest driver installed ) not being recognized by Code Xl ... I guess that the issues are related ....

                       

                       

                      C:\windows\system32>sc query cpuloadservice

                      [SC] EnumQueryServicesStatus:OpenService FAILED 1060:

                       

                      The specified service does not exist as an installed service.

                       

                       

                      C:\windows\system32>sc query pcore

                      [SC] EnumQueryServicesStatus:OpenService FAILED 1060:

                       

                      The specified service does not exist as an installed service.

                       

                       

                      C:\windows\system32>sc query cpuprof

                      [SC] EnumQueryServicesStatus:OpenService FAILED 1060:

                       

                      The specified service does not exist as an installed service.

                       

                       

                      C:\windows\system32>

                  • Re: Unable to start the profiler
                    kunal.bagewadi@amd.com

                    Is it a known issue for CodeXL to post this error message if CodeAnalyst is already installed ?

                    I have both these softwares installed (CodeAnalyst first, then CodeXL). And i get this same error message when i want to start CPU time based profiling.

                    I am running on windows7

                     

                    -Kunal

                      • Re: Unable to start the profiler
                        kunal.bagewadi@amd.com

                        I reinstalled CodeXL and now i get different error message "OpenCL.dll library is missing". I found that there is OpenCL.dll in \CodeXL\Spies & copy-pasted it in \CodeXL to see if that works. It didnt work & i got the same error message after restarting CodeXL. Any ideas or suggestions how do I get my CPU profiling started ?

                         

                        -Kunal

                          • Re: Unable to start the profiler
                            kalyanpk

                            Hi Kunal,

                            On installing "AMD Catalyst Control Centre", "OpenCL.dll" gets automatically installed in "C:\Windows\System32".

                            I assume you were trying to run Debug session and hence the error.

                            For CPU profiling, you don't need "OpenCL.dll" or AMD Catalyst installed.

                             

                            Following is the procedure to run CPU Profiling on CodeXL:

                            1. Launch CodeXL and click on "Create New Project" hyperlink in "Homepage".

                            2. In "New Project" settings, give appropriate path to executable and working directories and click OK.

                            3. By default, CodeXL creates project in "Debug" mode. You need to click on "P" icon or click on "Profile Mode" in "Profile" menu.

                             

                            Now, the mode is changed to "Profile".

                            "Profile" menu will list the available profile types.

                             

                            Thanks,

                            Kalyan P