Giter VIP home page Giter VIP logo

gpuopen-archive / codexl Goto Github PK

View Code? Open in Web Editor NEW
997.0 105.0 147.0 1.16 GB

CodeXL is a comprehensive tool suite that enables developers to harness the benefits of CPUs, GPUs and APUs.

Home Page: http://gpuopen.com/compute-product/codexl/

License: Other

C++ 89.56% C 7.61% HTML 0.16% CSS 0.04% Python 0.42% Shell 1.28% Batchfile 0.17% Makefile 0.08% Objective-C++ 0.09% Objective-C 0.20% GLSL 0.04% AutoIt 0.01% PowerShell 0.04% Perl 0.03% Rich Text Format 0.27%

codexl's Introduction

CodeXL Retirement

CodeXL is no longer being actively developed or supported by AMD and is being archived. For the latest tools from AMD please visit one of the following links:

Some of our partners will continue to develop and support CodeXL on their platforms and are maintaining their own forks of this codebase.


CodeXL

CodeXL is a comprehensive tool suite that enables developers to harness the benefits of GPUs and APUs. It includes powerful GPU debugging, comprehensive GPU profiling, and static OpenCL™, OpenGL®, Vulkan® and DirectX® kernel/shader analysis capabilities, enhancing accessibility for software developers to enter the era of heterogeneous computing. CodeXL is available as a standalone user interface application for Windows® and Linux®.

Motivation

CodeXL, previously a tool developed as closed-source by Advanced Micro Devices, Inc., is now released as Open Source. AMD believes that adopting the open-source model and sharing the CodeXL source base with the world can help developers make better use of CodeXL and make CodeXL a better tool.

To encourage 3rd party contribution and adoption, CodeXL is no longer branded as an AMD product. AMD will still continue development of this tool and upload new versions and features to GPUOpen.

Installation and Build

  • Windows: To install CodeXL, use the provided executable file CodeXL_*.exe
  • Linux: To install CodeXL, use the provided RPM file, Debian file, or simply extract the compressed archive onto your hard drive.

Refer to BUILD.md for information on building CodeXL from source.

Contributors

CodeXL's GitHub repository (http://github.com/GPUOpen-Tools/CodeXL) is moderated by Advanced Micro Devices, Inc. as part of the GPUOpen initiative.

AMD encourages any and all contributors to submit changes, features, and bug fixes via Git pull requests to this repository.

Users are also encouraged to submit issues and feature requests via the repository's issue tracker.

License

CodeXL is part of the GPUOpen.com initiative. CodeXL source code and binaries are released under the following MIT license:

Copyright © 2016 Advanced Micro Devices, Inc. All rights reserved.

MIT LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Attribution and Copyrights

Component licenses can be found under the CodeXL GitHub repository source root, in the /Setup/Legal/ folder.

OpenCL is a trademark of Apple Inc. used by permission by Khronos. OpenGL is a registered trademark of Silicon Graphics, Inc. in the United States and/or other countries worldwide. Microsoft, Windows, DirectX and Visual Studio are registered trademarks of Microsoft Corporation in the United States and/or other jurisdictions. Vulkan is a registered trademark of Khronos Group Inc. in the United States and/or other jurisdictions. Linux is the registered trademark of Linus Torvalds in the United States and/or other jurisdictions.

LGPL (Copyright ©1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA). Use of the Qt library is governed by the GNU Lesser General Public License version 2.1 (LGPL v 2.1). CodeXL uses Qt 5.5.1. Source code for Qt is available here: http://qt-project.org/downloads. The Qt source code has not been tampered with and the built binaries are identical to that which any user that downloading the Qt source code from the web would build.

  • Boost is Copyright © Beman Dawes, 2003.
  • [CR]LunarG, Inc. is Copyright © 2015 LunarG, Inc.
  • jqPlot is copyright © 2009-2011 Chris Leonello.
  • glew - The OpenGL Extension Wrangler Library is Copyright © 2002-2007, Milan Ikits <milan ikits[]ieee org>, Copyright © 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>, Copyright © 2002, Lev Povalahev, All rights reserved.
  • jpglib is Copyright © 1994-1998, Thomas G. Lane., Copyright © 1991-2013, Thomas G. Lane, Guido Vollbeding.
  • LibDwarf (BSD) is Copyright © 2007 John Birrell ([email protected]), Copyright © 2010 Kai Wang, All rights reserved.
  • libpng is Copyright © 1998-2014 Glenn Randers-Pehrson, (Version 0.96 Copyright © 1996, 1997 Andreas Dilger) (Version 0.88 Copyright © 1995, 1996 Guy Eric Schalnat, Group 42, Inc.).
  • QScintilla is Copyright © 2005 by Riverbank Computing Limited [email protected].
  • TinyXML is released under the zlib license © 2000-2007, Lee Thomason, © 2002-2004, Yves Berquin © 2005, Tyge Lovset.
  • UTF8cpp is Copyright © 2006 Nemanja Trifunovic.
  • zlib is Copyright © 1995-2010 Jean-loup Gailly and Mark Adler, Copyright © 2003 Chris Anderson [email protected], Copyright © 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ), Copyright © 2009-2010 Mathias Svensson ( http://result42.com ), Copyright © 2007-2008 Even Rouault.
  • QCustomPlot, an easy to use, modern plotting widget for Qt, Copyright (C) 2011-2015 Emanuel Eichhammer

codexl's People

Contributors

aalok-agarwal avatar ahosier avatar ajax-crypto avatar amitbm avatar amitprakash07 avatar bjelich avatar bpurnomo avatar cal3d avatar chesik-amd avatar doronofek avatar elect86 avatar giladyarnitzky avatar gim avatar gnanabaskaran avatar gselley avatar ilangal-amd avatar jrmuizel avatar maksqwe avatar mcleary avatar mmeeks avatar nzur avatar rajeebbarman avatar roman-bober avatar rurra-amd avatar sigalalg avatar swarup-sahoo avatar uriamd avatar vadimentov avatar yrshtuni avatar zhuowei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codexl's Issues

Installer fails to complete

Dear all,
we have encountered a further issue with the installer. The latest version fails to complete with the following message:

image

The installer log says: Custom action Enable_VS12_Extension script error -2146827864, Microsoft VBScript runtime error: Object required: 'objFolder.Items.Item(...)' Line 6, Column 1, (see attached file)

The issue appears to occur when installing the VS2013 plugin. Any information would be greatly appreciated.

Cheers,
Sergio
MSI80b22.LOG.txt

System Information dialog fails to display device information

When selecting the "OpenCL Devices" tab in the system information dialog, no information is shown. The status reads "Failed to collect OpenCL devices information".

The relevant excerpt from the log file:

2016.06.27 13:59:56.437 #571295437 #ERROR #0 #2908 #afSystemInformationCommand::CollectOpenCLDevicesInformation #commands\afSystemInformationCommand.cpp #1361 #Assertion failure (filePath.exists())
2016.06.27 13:59:56.670 #571295670 #ERROR #0 #2908 #afSystemInformationCommand::CollectOpenCLDevicesInformation #commands\afSystemInformationCommand.cpp #1361 #Assertion failure (filePath.exists())
2016.06.27 13:59:56.730 #571295730 #ERROR #0 #2908 #afSystemInformationCommand::CollectAllOpenCLDevicesInformation #commands\afSystemInformationCommand.cpp #1169 #Assertion failure (res32bit || res64bit)
2016.06.27 13:59:56.764 #571295764 #INFO #0 #2908 #afOpenCLDeviceInformationCollector::entryPoint #src\afOpenCLDeviceInformationCollector.cpp #35 #m_dataCollectedOk = 0, m_openCLDevicesInfoData.size = 0
2016.06.27 13:59:56.505 #573203505 #INFO #0 #4112 #afSystemInformationDialog::timerEvent #dialogs\afSystemInformationDialog.cpp #358 #rcGetInfo=0, _openCLDevicesInfoData.size = 0
2016.06.27 13:59:56.588 #573203588 #ERROR #0 #4112 #afSystemInformationDialog::timerEvent #dialogs\afSystemInformationDialog.cpp #360 #Assertion failure (rcGetInfo)

This error occurs on multiple machines running the german version of Windows 8.1 x64 using the standalone CodeXL application 2.1.223.0

library paths

On debian CodeXL searches the wrong library paths to find the driver libraries and deactivates basically all functionality as a result.
A symlink to /usr/lib64 helps as a workaround: "ln -s /usr/lib/x86_64-linux-gnu /usr/lib64"

Either "/usr/lib/x86_64-linux-gnu" should be added to the (apparently hardcoded) paths or the contents of "/etc/ld.so.conf" (which includes "/etc/ld.so.conf.d/*.conf") should be traversed.

No support for pre-GCN AMD GPU's

Dear Administrator,

I need to use the CodeXL build and analyze functions to tune an OpenCL kernel on an AMD GPU of Northern Islands (i.e. pre-GCN) class. In my understanding, such legacy GPU's are only supported by older versions of CodeXL.

However, no version of CodeXL older than v2.0 is available on this GitHub or on AMD's tools page (even in the discontinued legacy tools section).

Could you kindly make the older versions available in either place for developers that need to address legacy GPU's? A binary distribution would be ideal.

Thanks in advance!
Paolo

APU not supported

CodeXL complains that the gpu on my Carrizo laptop is unsupported (The chip in question is the 8800B carrizo and the laptop in question is the 745 G3 from HP).

Unable to find #include's in OpenCL files when using VS Extension

When using CodeXL via the Visual Studio Extension I'm unable to make the OpenCL compiler find included files.

My setup is as simple as it can get: My kernel source files are all in a "source" folder with a single subfolder called "include" and the kernels contain: #include "include/foobar.cl"

I tried adding the path to source and to source/include in the CodeXL project settings here:

  • General -> Source Files Directories
  • Analyze -> Kernel/Shader Build Options -> Additional include directories

The last option works when using the standalone CodeXL application.

Any hints how to get this to work in VS would be appreciated.

Memory leak after raw data translation

Hi.

I've noticed that CodeXL 2.1.228.0 is using 3.121g of memory to do the translation when using intrinsics, that are never freed. So if I profile several times without closing the application I eventually crash the system. Please let me know if there is something else I can provide to solve this issue.

I'm attaching an example project with the binary that causes the problems, you need to adjust the routes of the project and LD_PRELOAD the .SO files (ldd vips).

app_and_libs.zip
project.zip

The input is too big to be provided here, it can be downloaded from here:

http://parsec.cs.princeton.edu/download/3.0/parsec-3.0-input-native.tar.gz

You need to untar vips/input_native.tar to the run folder you select in the project.

I'm running:

Linux 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

H/W path Device Class Description

                      system         Latitude E7440 (Latitude E7440)

/0 bus 07F3F4
/0/0 memory 64KiB BIOS
/0/42 processor Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz
/0/42/43 memory 128KiB L1 cache
/0/42/44 memory 512KiB L2 cache
/0/42/45 memory 4MiB L3 cache
/0/46 memory 8GiB System Memory
/0/46/0 memory DIMM [empty]
/0/46/1 memory 8GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/100 bridge Haswell-ULT DRAM Controller
/0/100/2 display Haswell-ULT Integrated Graphics Controller
/0/100/3 multimedia Haswell-ULT HD Audio Controller
/0/100/14 bus 8 Series USB xHCI HC
/0/100/16 communication 8 Series HECI #0
/0/100/19 eth0 network Ethernet Connection I218-LM
/0/100/1b multimedia 8 Series HD Audio Controller
/0/100/1c bridge 8 Series PCI Express Root Port 1
/0/100/1c.3 bridge 8 Series PCI Express Root Port 4
/0/100/1c.3/0 wlan0 network Wireless 7260
/0/100/1c.4 bridge 8 Series PCI Express Root Port 5
/0/100/1c.4/0 generic SD/MMC Card Reader Controller
/0/100/1d bus 8 Series USB EHCI #1
/0/100/1f bridge 8 Series LPC Controller
/0/100/1f.2 storage 8 Series SATA Controller 1 [AHCI mode]
/0/100/1f.3 bus 8 Series SMBus Controller
/0/1 scsi1 storage
/0/1/0.0.0 /dev/sda disk 256GB SAMSUNG SSD PM85
/0/1/0.0.0/1 /dev/sda1 volume 29GiB EXT4 volume
/0/1/0.0.0/2 /dev/sda2 volume 8189MiB Linux swap volume
/0/1/0.0.0/3 /dev/sda3 volume 200GiB EXT4 volume
/1 power DELL 909H538

Best regards, Juan Manuel.

CodeXL for non AMD hardware ( help needed)

Hi All,

Not sure if this is the correct place to ask this question. I am trying to see if we can use CodeXL for non AMD GPUs( example mobile ) . It would be great if someone can answer below question.

  1. Can CodeXL open source be extended to support other platforms ? I assume other GPU vendors should support the GPU hardware counters etc. , but right now I am interested in seeing if the source can be easily extended and also all relevant sources are open.
  2. If 1 is difficult to do, Is it possible to understand the GPU profile binary format ? Idea is to generate that file using some other profiler or tool and view it using CodeXL. For example systrace file in android can be viewed using chrome javascript. Aim is covert that file ( or re capture ) in a format which CodeXL can understand. So we can use viewing functionality from CodeXL but capture the counters using some other tool.

Any help is appreciated ! .

Regards,
Prashant

Unable to compile files encoded in UTF-8 with BOM

Trying to compile OpenCL source files encoded in UTF-8 with BOM (byte order mark) yields an unrecognized token error at the very first character on line 1. The error can be reproduced by using an external text editor which can add or remove the BOM, like Notepad++.

Tested with the newest version CodeXL 2.1.223.0.

Failure compiling on Ubuntu

Hello.

I followed the instructions to build on Ubuntu (x86_64, 15.10) and I got to the point where I launched backend_build.sh. It seems to have problems finding CXL_init . The contents of GpuProfilerBackend_Build.log are included below.

Thanks for your help!

~Malcolm

=====Building GPU Profiler Backend======

Building infra projects

Build arguments passed to scons:

----------- Start building ---------------

Wed Apr 20 13:11:52 CEST 2016

scons -C /home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/../Build CXL_prefix=/home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/.. CXL_build_type=static
scons: Reading SConscript files ...
ImportError: No module named CXL_init:
File "/home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/SConstruct", line 6:
from CXL_init import *

*** ERROR during the build of the 64 bit framework ***

scons -C /home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/../Build CXL_prefix=/home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/.. CXL_arch=x86 CXL_build_type=static
scons: Reading SConscript files ...
ImportError: No module named CXL_init:
File "/home/XXX/repo/CodeXL/CodeXL/Components/GpuProfiling/Build/SConstruct", line 6:
from CXL_init import *

*** ERROR during the build of the 32 bit framework ***

----------- End building -----------------

Wed Apr 20 13:11:53 CEST 2016

Failed to generate profile result

Hello everyone,

After some work i builded CodeXLGpuAnalyzer. but it wouldn't generate profile results.

I have confirmed that the application works and that pre-compiled CodeXL generates results, espessially for CPU Timeline Trace.

I run:
./CodeXLGpuProfiler --hsatrace gl
The application runs as it should be.
On termination,
Failed to generate profile result /homes/kpontzolkova/apitrace.atp.

I googled the error, and on some suggestion i installed
sudo apt-get install fglrx fglrx-dev fglrx-dev

Now i'm trying to run the old CodeXL and i'm getting
(2.0)
./CodeXL
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error: Fail to load fglrx kernel module!
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error: Fail to load fglrx kernel module!
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error: Fail to load fglrx kernel module!
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
./CodeXL: line 69: 8624 Segmentation fault (core dumped) /homes/kpontzolkova/Downloads/CodeXL_Pre/./CodeXL-bin

I DEFINATELY DID SOMETHING WRONG.
the CodeXL 1.9 runs smoothly

Installation Failure - Missing Group "Users"

While using Windows 10 in Brazilian Portuguese, the installer fails due to missing group "Users".
In Brazilian Portuguese this group is called "Usuários".
A workaround for the problem is manually creating the "Users" group.

Seems to be a problem on the way to fetch the reference to the "Users" in the installer.

Bundling issues: version `PNG12_0' not found

When i try to run CodeXL-2.1 on debian sid, i get:

$ ./CodeXL
/opt/CodeXL_2.1-228/./CodeXL-bin: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version `PNG12_0' not found (required by /opt/CodeXL_2.1-228/./RuntimeLibs/QT/libQt5Gui.so.5)
/opt/CodeXL_2.1-228/./CodeXL-bin: /usr/lib/x86_64-linux-gnu/libpng12.so.0: version `PNG12_0' not found (required by /opt/CodeXL_2.1-228/./RuntimeLibs/QT/libQt5WebKit.so.5)

There is no libpng12, and the only libpng in debian sid is libpng16-16

codexl crashes visual studio modelling project when not running

I'm using vs 2015 enterprise and occasionally (and seemingly randomly) I get the codexl error message pop up and VS crashed and quits. See below
Currently working on a c# modelling project so not actually doing anything with codexl at all, but have it installed. It wont even send the error log.

Operating System:
Win7-64

Call stack:
Function name - File path - Line number - Module path - Function Start address - Module Start address - Instruction counter address
N/A - N/A - N/A - N/A - N/A - N/A - N/A

System DLL Versions:

  • atioglxx.dll: 6.14.10.13399
  • atio6axx.dll: 6.14.10.13399
  • aticfx32.dll: 8.17.10.1404
  • aticfx64.dll: 8.17.10.1404
  • aticaldd.dll: 6.14.10.1848
  • OpenCL.dll: 2.0.4.0

OpenGL Renderer:

  • Renderer Vendor: ATI Technologies Inc.
  • Renderer Name: AMD Radeon HD 7520G
  • Renderer Version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
  • Renderer Type: Installable client

Drivers versions:

  • CAL version: 1.4.1848
  • AMD Radeon Software version: 15.7.1

Device 1 (GPU):

  • Platform ID: 1
  • Device Type: GPU
  • Device Name: Scrapper
  • Vendor: Advanced Micro Devices, Inc.

Device 2 (CPU):

  • Platform ID: 1
  • Device Type: CPU
  • Device Name: AMD A6-4400M APU with Radeon(tm) HD Graphics
  • Vendor: AuthenticAMD

Platform 1:

  • Vendor: Advanced Micro Devices, Inc.
  • Name: AMD Accelerated Parallel Processing
  • Profile: FULL_PROFILE
  • Version: OpenCL 2.0 AMD-APP (1800.8)

debug compilation seems to be broken on branch v2.1 ...

I'm compiling on a Debian Jessie amd64.
I have made a checkout on branch v2.1.

./backend_build.sh skip-32bitbuild skip-oclprofiler skip-hsaprofiler debug
Command line arguments passed to backend_build.sh: skip-32bitbuild skip-oclprofiler skip-hsaprofiler debug
SPROOT=/home/drs/DEV/GIT/CodeXL/CodeXL/Components/GpuProfiling/Build/..
=====Building GPU Profiler Backend======

Building infra projects

Build arguments passed to scons:

----------- Start building ---------------
jeudi 9 juin 2016, 14:58:57 (UTC+0200)
----------- Building debug version ---------------

scons -C /home/drs/DEV/GIT/CodeXL/CodeXL/Components/GpuProfiling/Build/../Build CXL_prefix=/home/drs/DEV/GIT/CodeXL/CodeXL/Components/GpuProfiling/Build/.. CXL_build=debug CXL_build_type=static

----------- End building -----------------

jeudi 9 juin 2016, 14:59:44 (UTC+0200)

*** SUCCESS ***
Build Common, 64-bit...
Build DeviceInfo, 64-bit...
Build CLCommon, 64-bit...
Build sprofile, 64-bit...
Build PreloadXInitThreads, 64-bit...
cp: impossible d'évaluer « /home/drs/DEV/GIT/CodeXL/CodeXL/Components/GpuProfiling/Build/../Output_x86/debug/bin/libCXLActivityLogger.so »: Aucun fichier ou dossier de ce type

There is no directory ../Output_x86/debug created during the compilation :

ls -la ../Output_x86/
total 12
drwxr-xr-x 3 drs drs 4096 juin 9 15:19 .
drwxr-xr-x 8 drs drs 4096 juin 9 15:34 ..
drwxr-xr-x 3 drs drs 4096 juin 9 15:19 release

If I remove the debug option, the compilation ends without error.

./backend_build.sh skip-32bitbuild skip-oclprofiler skip-hsaprofiler

Segmentation Fault

I am able to run CodeXL 1.9,

but when i try to run CodeXL 2.0 i get
/CodeXL: line 69: 5255 Segmentation fault (core dumped) /homes/kpontzolkova/Downloads/CodeXL_Pre/./CodeXL-bin

using strace:

kpontzolkova@peach:~/Downloads/CodeXL_Pre$ ./CodeXL

./CodeXL: line 69: 5255 Segmentation fault (core dumped) /homes/kpontzolkova/Downloads/CodeXL_Pre/./CodeXL-bin

kpontzolkova@peach:~/Downloads/CodeXL_Pre$ strace ./CodeXL

execve("./CodeXL", ["./CodeXL"], [/* 73 vars */]) = 0

brk(0) = 0x91b000

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb95f6c7000

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=152820, ...}) = 0

mmap(NULL, 152820, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb95f6a1000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\303\0\0\0\0\0\0"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=167096, ...}) = 0

mmap(NULL, 2264288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb95f27e000

mprotect(0x7fb95f2a3000, 2093056, PROT_NONE) = 0

mmap(0x7fb95f4a2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fb95f4a2000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0

mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb95f07a000

mprotect(0x7fb95f07d000, 2093056, PROT_NONE) = 0

mmap(0x7fb95f27c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb95f27c000

close(3) = 0

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)

open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3

read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \2\0\0\0\0\0"..., 832) = 832

fstat(3, {st_mode=S_IFREG|0755, st_size=1840928, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb95f6a0000

mmap(NULL, 3949248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb95ecb5000

mprotect(0x7fb95ee6f000, 2097152, PROT_NONE) = 0

mmap(0x7fb95f06f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ba000) = 0x7fb95f06f000

mmap(0x7fb95f075000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb95f075000

close(3) = 0

mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb95f69e000

arch_prctl(ARCH_SET_FS, 0x7fb95f69e740) = 0

mprotect(0x7fb95f06f000, 16384, PROT_READ) = 0

mprotect(0x7fb95f27c000, 4096, PROT_READ) = 0

mprotect(0x7fb95f4a2000, 16384, PROT_READ) = 0

mprotect(0x6ef000, 4096, PROT_READ) = 0

mprotect(0x7fb95f6c9000, 4096, PROT_READ) = 0

munmap(0x7fb95f6a1000, 152820) = 0

open("/dev/tty", O_RDWR|O_NONBLOCK) = 3

close(3) = 0

brk(0) = 0x91b000

brk(0x91c000) = 0x91c000

open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=3173744, ...}) = 0

mmap(NULL, 3173744, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb95e9ae000

close(3) = 0

brk(0x91d000) = 0x91d000

brk(0x91e000) = 0x91e000

getuid() = 1037

getgid() = 500

geteuid() = 1037

getegid() = 500

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

brk(0x91f000) = 0x91f000

open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3

fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb95f6c6000

read(3, "MemTotal: 8053892 kB\nMemF"..., 1024) = 1024

close(3) = 0

munmap(0x7fb95f6c6000, 4096) = 0

brk(0x920000) = 0x920000

rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {SIG_DFL, [], 0}, 8) = 0

rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], 0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], 0}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

uname({sys="Linux", node="peach", ...}) = 0

brk(0x921000) = 0x921000

brk(0x922000) = 0x922000

brk(0x923000) = 0x923000

brk(0x924000) = 0x924000

brk(0x925000) = 0x925000

brk(0x926000) = 0x926000

stat("/homes/kpontzolkova/Downloads/CodeXL_Pre", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

getpid() = 5350

open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0

mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7fb95f6c0000

close(3) = 0

brk(0x927000) = 0x927000

getppid() = 5347

brk(0x928000) = 0x928000

getpgrp() = 5347

rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

getrlimit(RLIMIT_NPROC, {rlim_cur=31137, rlim_max=31137}) = 0

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

open("./CodeXL", O_RDONLY) = 3

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7ffc626799a0) = -1 ENOTTY (Inappropriate ioctl for device)

lseek(3, 0, SEEK_CUR) = 0

read(3, "#!/bin/bash\n\n# CodeXL requires b"..., 80) = 80

lseek(3, 0, SEEK_SET) = 0

getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0

fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)

dup2(3, 255) = 255

close(3) = 0

fcntl(255, F_SETFD, FD_CLOEXEC) = 0

fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)

fstat(255, {st_mode=S_IFREG|0755, st_size=2329, ...}) = 0

lseek(255, 0, SEEK_CUR) = 0

brk(0x929000) = 0x929000

brk(0x92a000) = 0x92a000

read(255, "#!/bin/bash\n\n# CodeXL requires b"..., 2329) = 2329

brk(0x92b000) = 0x92b000

open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3

fcntl(1, F_GETFD) = 0

fcntl(1, F_DUPFD, 10) = 10

fcntl(1, F_GETFD) = 0

fcntl(10, F_SETFD, FD_CLOEXEC) = 0

dup2(3, 1) = 1

close(3) = 0

fcntl(2, F_DUPFD, 10) = 11

fcntl(2, F_GETFD) = 0

fcntl(11, F_SETFD, FD_CLOEXEC) = 0

dup2(1, 2) = 2

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

brk(0x92c000) = 0x92c000

stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

stat("/homes/kpontzolkova/bin/xhost", 0x7ffc62679390) = -1 ENOENT (No such file or directory)

stat("/usr/local/sbin/xhost", 0x7ffc62679390) = -1 ENOENT (No such file or directory)

stat("/usr/local/bin/xhost", 0x7ffc62679390) = -1 ENOENT (No such file or directory)

stat("/usr/sbin/xhost", 0x7ffc62679390) = -1 ENOENT (No such file or directory)

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

geteuid() = 1037

getegid() = 500

getuid() = 1037

getgid() = 500

access("/usr/bin/xhost", X_OK) = 0

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

geteuid() = 1037

getegid() = 500

getuid() = 1037

getgid() = 500

access("/usr/bin/xhost", R_OK) = 0

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

geteuid() = 1037

getegid() = 500

getuid() = 1037

getgid() = 500

access("/usr/bin/xhost", X_OK) = 0

stat("/usr/bin/xhost", {st_mode=S_IFREG|0755, st_size=14728, ...}) = 0

geteuid() = 1037

getegid() = 500

getuid() = 1037

getgid() = 500

access("/usr/bin/xhost", R_OK) = 0

brk(0x92d000) = 0x92d000

brk(0x92e000) = 0x92e000

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5351

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5351

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5351, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, 0x7ffc62678dd8, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

dup2(11, 2) = 2

fcntl(11, F_GETFD) = 0x1 (flags FD_CLOEXEC)

close(11) = 0

dup2(10, 1) = 1

fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)

close(10) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

pipe([3, 4]) = 0

brk(0x92f000) = 0x92f000

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0

lseek(255, -1270, SEEK_CUR) = 1059

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5352

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

close(4) = 0

close(4) = -1 EBADF (Bad file descriptor)

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5353

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5352

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 5353

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

close(3) = -1 EBADF (Bad file descriptor)

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5352, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, 0x7ffc62678f98, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

pipe([3, 4]) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5354

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

close(4) = 0

read(3, "/homes/kpontzolkova/Downloads/Co"..., 128) = 41

read(3, "", 128) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5354, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5354

wait4(-1, 0x7ffc62678c58, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

read(255, "\n# Enable the use of symbolic li"..., 2329) = 1270

lstat("/homes/kpontzolkova/Downloads/CodeXL_Pre/./CodeXL", {st_mode=S_IFREG|0755, st_size=2329, ...}) = 0

pipe([3, 4]) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

lseek(255, -984, SEEK_CUR) = 1345

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5355

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

close(4) = 0

read(3, "/homes/kpontzolkova/Downloads/Co"..., 128) = 43

read(3, "", 128) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5355, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5355

wait4(-1, 0x7ffc62678d58, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

read(255, "CodeXLQTLibsDir="${CodeXLBinarie"..., 2329) = 984

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

pipe([3, 4]) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

lseek(255, -735, SEEK_CUR) = 1594

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5356

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

close(4) = 0

read(3, "\tlibstdc++.so.6 (libc6,x86-64) ="..., 128) = 75

read(3, "", 128) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5356, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5356

wait4(-1, 0x7ffc62678c58, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

read(255, "if [ -z "$CRUNTIMEPATH" ] ; then"..., 2329) = 735

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

pipe([3, 4]) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

lseek(255, -453, SEEK_CUR) = 1876

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5360

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fb95ecebcc0}, 8) = 0

close(4) = 0

read(3, "GLIBCXX_3.4.16\n", 128) = 15

read(3, "", 128) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5360, si_status=0, si_utime=0, si_stime=0} ---

wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5360

wait4(-1, 0x7ffc62678c58, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

read(255, "if [ -z "$NEWCRUNTIME" ];then\n "..., 2329) = 453

rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0

brk(0x930000) = 0x930000

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0

rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb95f69ea10) = 5363

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 5363

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb95ecebcc0}, {0x4438a0, [], SA_RESTORER, 0x7fb95ecebcc0}, 8) = 0

open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb95f6bf000

read(3, "# Locale name alias data base.\n#"..., 4096) = 2570

brk(0x931000) = 0x931000

brk(0x932000) = 0x932000

read(3, "", 4096) = 0

close(3) = 0

munmap(0x7fb95f6bf000, 4096) = 0

open("/usr/share/locale/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/share/locale-langpack/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

write(2, "./CodeXL: line 69: 5363 Segment"..., 117./CodeXL: line 69: 5363 Segmentation fault (core dumped) /homes/kpontzolkova/Downloads/CodeXL_Pre/./CodeXL-bin

) = 117

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=5363, si_status=SIGSEGV, si_utime=10, si_stime=6} ---

wait4(-1, 0x7ffc62678dd8, WNOHANG, NULL) = -1 ECHILD (No child processes)

rt_sigreturn() = 0

read(255, "", 2329) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

exit_group(139) = ?

+++ exited with 139 +++


i hve tried: sudo locale-gen en

locale

LANG=en_GB.UTF-8

LANGUAGE=en

LC_CTYPE="en_GB.UTF-8"

LC_NUMERIC="en_GB.UTF-8"

LC_TIME="en_GB.UTF-8"

LC_COLLATE="en_GB.UTF-8"

LC_MONETARY="en_GB.UTF-8"

LC_MESSAGES="en_GB.UTF-8"

LC_PAPER="en_GB.UTF-8"

LC_NAME="en_GB.UTF-8"

LC_ADDRESS="en_GB.UTF-8"

LC_TELEPHONE="en_GB.UTF-8"

LC_MEASUREMENT="en_GB.UTF-8"

LC_IDENTIFICATION="en_GB.UTF-8"

LC_ALL=en_GB.UTF-8

sudo dpkg-reconfigure locales

Any suggestions?

Proceed after building

Hello everyone,

First of all, thank you for our time.

It's been days that i have been trying to compile CodeXL.
Today i finally suceeded.. I followed the instructions,

Executed ./backend_build.sh skip-hsaprofiler
And then
./buildCodeXLFullLinuxProjects x86
It told me that it succeeded. How nice
*** SUCCESS ***
But i can't find the executable for the program:

/Downloads/git/CodeXL/Output_x86/release/bin$ ls
amdcodexlicon.desktop HTML libCXLAPIClasses.a libstdc++.a spies
CXLSystemInformationHelper Images libCXLBaseTools.a libstdc++.so webhelp
Data include libCXLOSAPIWrappers.a libstdc++.so.6
examples Legal libCXLOSWrappers.a libstdc++.so.6.0.20
kpontzolkova@peach:
/Downloads/git/CodeXL/Output_x86/release/bin$ ls
amdcodexlicon.desktop HTML libCXLAPIClasses.a libstdc++.a spies
CXLSystemInformationHelper Images libCXLBaseTools.a libstdc++.so webhelp
Data include libCXLOSAPIWrappers.a libstdc++.so.6
examples Legal libCXLOSWrappers.a libstdc++.so.6.0.20

What i did wrong?

Regards,
Katerina P

Crash when checking ISA for OpenCL kernel

CodeXL always crashes when I try to analyze OpenCL kernels after building and clicking on the specific Graphics IP to check the ISA - CodeXL_Win_2.0.12406

Operating System:
Win7-64

Call stack:
Function name - File path - Line number - Module path - Function Start address - Module Start address - Instruction counter address
RaiseException - N/A - N/A - C:\Windows\syswow64\KERNELBASE.dll - 0x7598c4f7 - 0x75980000 - 0x7598c54e
CxxThrowException - N/A - N/A - C:\Windows\system32\VCRUNTIME140.dll - 0x67944930 - 0x67940000 - 0x67944994
qBadAlloc - N/A - N/A - C:\Program Files (x86)\CodeXL\Qt5Core.dll - 0x662fae60 - 0x662e0000 - 0x662fae89

System DLL Versions:

  • atioglxx.dll: 6.14.10.13440
  • atio6axx.dll: 6.14.10.13440
  • aticfx32.dll: 8.17.10.1460
  • aticfx64.dll: 8.17.10.1460
  • aticaldd.dll: 6.14.10.1848
  • nvoglv32.dll: 10.18.13.6447
  • nvoglv64.dll: 10.18.13.6447
  • NVCUDA.dll: 6.14.13.6447
  • OpenCL.dll: 2.0.6.0

OpenGL Renderer:

  • Renderer Vendor: ATI Technologies Inc.
  • Renderer Name: AMD Radeon R9 200 Series
  • Renderer Version: 4.5.13440 Compatibility Profile Context 16.200.1013.0
  • Renderer Type: Installable client

Drivers versions:

  • CAL version: 1.4.1848
  • AMD Radeon Software version: 15.8

Device 1 (CPU):

  • Platform ID: 1
  • Device Type: CPU
  • Device Name: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
  • Vendor: Intel(R) Corporation

Device 2 (CPU):

  • Platform ID: 2
  • Device Type: CPU
  • Device Name: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
  • Vendor: Intel(R) Corporation

Device 3 (GPU):

  • Platform ID: 3
  • Device Type: GPU
  • Device Name: Hawaii
  • Vendor: Advanced Micro Devices, Inc.

Device 4 (CPU):

  • Platform ID: 3
  • Device Type: CPU
  • Device Name: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
  • Vendor: GenuineIntel

Platform 2:

  • Vendor: Intel(R) Corporation
  • Name: Experimental OpenCL 2.0 CPU Only Platform
  • Profile: FULL_PROFILE
  • Version: OpenCL 2.0

Platform 1:

  • Vendor: Intel(R) Corporation
  • Name: Intel(R) OpenCL
  • Profile: FULL_PROFILE
  • Version: OpenCL 1.2

Platform 3:

  • Vendor: Advanced Micro Devices, Inc.
  • Name: AMD Accelerated Parallel Processing
  • Profile: FULL_PROFILE
  • Version: OpenCL 2.0 AMD-APP (2079.4)

GPU not detected

I cannot do any gpu profiling or debugging because codexl claims that it does not detect an AMD supported gpu.

This is the output log file:

2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputLogFileHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #669    #This File contains debug printouts for CodeXL. http://gpuopen.com/
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #723    #OpenGL Renderer:
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #723    # - Renderer Vendor: ATI Technologies Inc.
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #723    # - Renderer Name: AMD Radeon (TM) R9 380 Series
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #723    # - Renderer Version: 4.5.13439 Compatibility Profile Context 16.20.3
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #723    # - Renderer Type: Hardware renderer
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #outputSessionHeader    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osDebugLog.cpp   #747    #Application=CodeXL-bin, Product=Standalone, OS=LinuxUbuntu-64, Version=2.1.228.0 Release Version
2016.06.19      11:07:30.055    #1466305650055  #INFO   #0      #140430741342848        #executeSpecificCommand #AMDTApplicationFramework/commands/src/afInitializeApplicationCommand.cpp       #109    #Application initialization started
2016.06.19      11:07:30.056    #1466305650056  #INFO   #0      #140430741342848        #InitializeUnicodeCharactersUserFilePath        #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/common/osFilePath.cpp   #902    #User app data folder. Original location: /home/pluto/.CodeXL. Current location: /home/pluto/.CodeXL
2016.06.19      11:07:30.056    #1466305650056  #ERROR  #0      #140430741342848        #oaGetDriverVersion     #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSAPIWrappers/src/linux/oaDriver.cpp   #110    #Assertion failure (rcLoadedModule && (driverModuleHandle != __null))
2016.06.19      11:07:30.107    #1466305650107  #ERROR  #0      #140430741342848        #osExecAndGrabOutput    #/data/jenkins/workspace/CodeXL-2.1-Linux/Common/Src/AMDTOSWrappers/src/linux/osProcess.cpp     #1242   #Failed to read output
2016.06.19      11:07:30.158    #1466305650158  #INFO   #0      #140430741342848        #FindInstalledAMDComponents     #AMDTApplicationFramework/src/afGlobalVariablesManager.cpp      #1096   #CodeXL GPU Profiler: AMD GPU was not detected. Local GPU Profiling will be disabled.

The OpenGL renderer is able to detect my graphics card though. I am running Ubuntu Mate 16.04 with the AMDGPU-Pro driver with a R9 380.

EDIT: I noticed it "failed to collect OpenCL devices information", but clinfo was able to get my gpu info.

Does not compile/build on Fedora

  • There is C++x11 ABI errors when linking
  • Its hardcoded to Bin-Internal even though I tell the script to build
  • Not able to use native system libraries like Boost.

Any plans to address allowing this to build using system paths?

CodeXL and HIP

Is it possible to use the 'CodeXLGpuProfiler' to profile GPU occupancy on an AMD GPU (Fiji), for an application developed with HIP (instead of OpenCL)?

If it is possible, what are the paremeters I should pass to the 'CodeXLGpuProfiler' (other than the name of the compiled HIP application and the '-O' parameter for measuring GPU occupancy)?

In case 'CodeXLGpuProfiler' can not work with HIP, is there any tool that can do it?

HIP:
http://gpuopen.com/hip-release-0-86/
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP

Vulkan Frame Analysis of Managed Application

I'm attempting to frame capture a .NET application, using Vulkan through P/Invoke.
However the graphics server does not recognize the process as using Vulkan.

Could you point me in the direction of the mechanism for identifying the graphics API used/intercepting calls?

Breaks editor windows in MSVC 2015

The MSVC 2015 extension seems to break MSVC's ability to show editor windows with source code. This pretty much makes MSVC unusable so I had to uninstall immediately.

It also changes the default layout so the CodeXL view comes up by default (instead of the solution view).

CodeXL doesn't allow me to step into kernel source

When I tried to step into a kernel, a dialog box popped up and saying IL instruction uav_read_cmp_xchg is not yet supported. see the attached. Tracing into other kernels is ok... I have no idea what in that kernel triggered this error. can I avoid this by modify my kernel ?

codexl

swrast_dri.so: undefined symbol: _glapi_tls_Dispatch only with CodeXL

Hi,
I am on gentoo linux with x11-drivers/ati-drivers-15.9-r1 (which are the latest stable fglrx) on a AMD R9 M370X (Cape Verde). My drivers are working well (I can run things like Unreal Engine 4) except with CodeXL.
when I run CodeXL 2.1 with LIBGL_DEBUG=verbose codeXL I get:

newin@legion ~ % LIBGL_DEBUG=verbose codeXL   
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
function is no-op
ukiDynamicMajor: found major device number 250
ukiDynamicMajor: found major device number 250
ukiDynamicMajor: found major device number 250 

and this message appear every time I press the "play" "Local" button and my code SIGSEGV at the first openGL code that require more than OpenGL 1.4

the symbol seems to be in the .so:

newin@legion ~ % readelf -Ws /usr/lib64/dri/swrast_dri.so | grep _glapi_tls_Dispatch
    35: 0000000000000000     0 TLS     GLOBAL DEFAULT  UND _glapi_tls_Dispatch

and both binaries are "ELF64"

Is it my fault or the CodeXL fault ?

Path to ldconfig

The location of ldconfig is not necessarily in $PATH. On Debian the path is /sbin/ldconfig for example, but "/sbin" is not part of $PATH by default.
You should probably add "export PATH=$PATH:/sbin/:/bin/" to your CodeXL and CodeXLAnalyzer scripts.

Debug version and release version of my opencl app behave differently

Hi there,

I am trying to figure out why debug version and release version of my app written in c++ using opencl c++ api act differently. Basically what my app does is:

  1. create a few kernels
  2. create a set of buffers
  3. set kernel arguments

then execute these kernels in a loop by repeatedly call clEnqueueNDRangeKernel with a single command queue(oddly enough, if I use a new command queue for each command, the outcome changes. commands are properly synchronized of course).

I understand that c++ debug / release version behave differently may happen, but it seems to be pretty simple code in c++ side.

Could any one give me some hints please ? Thanks in advance.

New CodeXL backend

Hey there,

Im currently researching into the possibility of adding in another backend for CodeXL (similar to OpenCL). What would be the best way to go about this? I have been reading through the OCL, HSA, Vulkan and DX12 backend files and although they share quite a bit in common, I am not sure exactly what is necessary, as I do not fully understand how the profiling and tracing code works.

The backend we are trying to add is basically a layer over OpenCL, so it seems like it should be possible to add another backend for it.

Any help, hints or explanations would be appreciated,

Thanks,
Peter

Visibility of inlined (intrinsic) functions in CPU profile

Dear all.

This is not a bug report, but some question/comments to improve the usability of the tool. I cannot find any other way to communicate with the developers/user community.

I've been trying to analyze some codes using version 2.1 of CodeXL that include both inlined functions and intrinsics. Timing information per function is provided even for inlined functions. When I was using Code Analyzer a while ago I don't think this feature was available.

While this is great for some cases, for me is a pain in the ass. I have manually vectorized sections of the code using intrinsics, and I need the timing information of those intrinsics and other inlined functions (manually implemented SIMD code) to be accounted as part of the original function, so that I can compare performance against the original scalar code.

Is there any way to force CodeXL to profile inlined functions as part of the code that calls the function?. I do not want/need them to be profiled independently.

Best regards, Juan Manuel.

Install problem with CodeXL_Win_2.1.223

When trying to install CodeXL_Win_2.1.223.exe on an AMD Piledriver PC with Windows 7 64 bit, I receive the error "Warning 4154. Microsoft Debuggers And Tools x86 prerequisite was not correctly installed. Continue installation of CodeXL?". I did not continue. What are the details of this problem? Where do I find a log of details on my PC? What is the solution? I am not using DirectX 12 or an AMD APU yet, so will this program and version still be very useful? Will an older version of CodeXL work? Reply soon, and thanks for any assistance.

Power Profiling Requirements

Hello,

I currently have the Radeon R7 240 card. When I build CodeXL on windows and try switch to Power Profiling mode, its says this is not supported. However on the release notes it says Power Profiling is enabled for the codename 'sea island' chips, including Radeon and FirePro. Surely then Power Profiling should be enabled for the Radeon R7 240?

If it is just that the requirements were incorrect, then what are the actual requirements? Would I be able to get a list of compatible cards somehow?

Thanks in advance,
Peter

Misalignment exception when building OpenCL Program

Hi, I get a misalignment exception when building my OpenCL program and I'm in CodeXL Debug mode. Everything works fine when I use the standard debugger, and when I'm in profile mode.

Dialog box text:

The thread tried to read or write data that is misaligned on hardware that does not provide alignment. For example, 16-bit values must be aligned on 2-byte boundaries; 32-bit values on 4-byte boundaries, and so on.

Log start:

2016.06.14  11:02:04.717    #11365207717    #INFO   #0  #4268   #osDebugLog::outputLogFileHeader    #src\common\osDebugLog.cpp  #669    #This File contains debug printouts for CodeXL. http://gpuopen.com/
2016.06.14  11:02:04.963    #11365207963    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #System DLL Versions:
2016.06.14  11:02:04.043    #11365208043    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - atioglxx.dll: 6.14.10.13431
2016.06.14  11:02:04.108    #11365208108    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - atio6axx.dll: 6.14.10.13431
2016.06.14  11:02:04.182    #11365208182    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - aticfx32.dll: 8.17.10.1452
2016.06.14  11:02:04.243    #11365208243    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - aticfx64.dll: 8.17.10.1452
2016.06.14  11:02:04.303    #11365208303    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - aticaldd.dll: 6.14.10.1848
2016.06.14  11:02:04.362    #11365208362    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - nvoglv32.dll: 9.18.13.4192
2016.06.14  11:02:04.421    #11365208421    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - nvoglv64.dll: 9.18.13.4192
2016.06.14  11:02:04.481    #11365208481    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - NVCUDA.dll: 8.17.13.4192
2016.06.14  11:02:04.541    #11365208541    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - OpenCL.dll: 2.0.6.0
2016.06.14  11:02:04.600    #11365208600    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #OpenGL Renderer:
2016.06.14  11:02:04.665    #11365208665    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Renderer Vendor: NVIDIA Corporation
2016.06.14  11:02:04.721    #11365208721    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Renderer Name: GeForce 8600 GT/PCIe/SSE2
2016.06.14  11:02:04.875    #11365208875    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Renderer Version: 3.3.0
2016.06.14  11:02:04.940    #11365208940    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Renderer Type: Installable client
2016.06.14  11:02:04.996    #11365208996    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Drivers versions:
2016.06.14  11:02:04.050    #11365209050    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - CAL version: 1.4.1848
2016.06.14  11:02:04.103    #11365209103    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - AMD Radeon Software version: 16.150.2211.0
2016.06.14  11:02:04.157    #11365209157    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Device 1 (GPU):
2016.06.14  11:02:04.211    #11365209211    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Platform ID: 1
2016.06.14  11:02:04.265    #11365209265    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Type: GPU
2016.06.14  11:02:04.318    #11365209318    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Name: GeForce 8600 GT
2016.06.14  11:02:04.373    #11365209373    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: NVIDIA Corporation
2016.06.14  11:02:04.427    #11365209427    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Device 2 (GPU):
2016.06.14  11:02:04.480    #11365209480    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Platform ID: 2
2016.06.14  11:02:04.535    #11365209535    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Type: GPU
2016.06.14  11:02:04.589    #11365209589    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Name: Oland
2016.06.14  11:02:04.649    #11365209649    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: Advanced Micro Devices, Inc.
2016.06.14  11:02:04.708    #11365209708    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Device 3 (CPU):
2016.06.14  11:02:04.762    #11365209762    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Platform ID: 2
2016.06.14  11:02:04.815    #11365209815    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Type: CPU
2016.06.14  11:02:04.871    #11365209871    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Name: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
2016.06.14  11:02:04.933    #11365209933    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: GenuineIntel
2016.06.14  11:02:04.992    #11365209992    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Device 4 (CPU):
2016.06.14  11:02:04.052    #11365210052    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Platform ID: 3
2016.06.14  11:02:04.111    #11365210111    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Type: CPU
2016.06.14  11:02:04.170    #11365210170    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Device Name: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
2016.06.14  11:02:04.231    #11365210231    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: Intel(R) Corporation
2016.06.14  11:02:04.290    #11365210290    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Platform 1:
2016.06.14  11:02:04.349    #11365210349    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: NVIDIA Corporation
2016.06.14  11:02:04.408    #11365210408    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Name: NVIDIA CUDA
2016.06.14  11:02:04.473    #11365210473    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Profile: FULL_PROFILE
2016.06.14  11:02:04.537    #11365210537    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Version: OpenCL 1.1 CUDA 6.5.51
2016.06.14  11:02:04.597    #11365210597    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Platform 3:
2016.06.14  11:02:04.655    #11365210655    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: Intel(R) Corporation
2016.06.14  11:02:04.714    #11365210714    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Name: Intel(R) OpenCL
2016.06.14  11:02:04.773    #11365210773    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Profile: FULL_PROFILE
2016.06.14  11:02:04.832    #11365210832    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Version: OpenCL 1.2 
2016.06.14  11:02:04.894    #11365210894    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    #Platform 2:
2016.06.14  11:02:04.954    #11365210954    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Vendor: Advanced Micro Devices, Inc.
2016.06.14  11:02:04.014    #11365211014    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Name: AMD Accelerated Parallel Processing
2016.06.14  11:02:04.073    #11365211073    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Profile: FULL_PROFILE
2016.06.14  11:02:04.132    #11365211132    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #723    # - Version: OpenCL 2.0 AMD-APP (2004.6)
2016.06.14  11:02:04.692    #11365211692    #INFO   #0  #4268   #osDebugLog::outputSessionHeader    #src\common\osDebugLog.cpp  #747    #Application=devenv, Product=VS, OS=Win7-64, Version=2.1.223.0 Release Version

Log when exception is thrown:

2016.06.14  11:07:19.721    #12238403721    #DEBUG  #0  #4268   #vscPrintDebugMsgToDebugLog #src\vscCoreUtils.cpp   #74 #Building OpenCL Program  (Context 1)...
2016.06.14  11:07:19.793    #12238403793    #DEBUG  #0  #4268   #apEventsHandler::handleDebugEvent  #Events\src\apEventsHandler.cpp #501    #Event handling ended
2016.06.14  11:07:22.583    #12246863583    #DEBUG  #0  #8032   #apEventsHandler::outputRegisteringEventDebugLogMessage #Events\src\apEventsHandler.cpp #1188   #Registering event: Second chance exception: Reason 0x3, Address 0x36ba8c
2016.06.14  11:07:22.876    #12246863876    #DEBUG  #0  #8032   #apEventsHandler::outputRegisteringEventDebugLogMessage #Events\src\apEventsHandler.cpp #1188   #Registering event: Debugged Process run suspended
2016.06.14  11:07:22.965    #12246863965    #DEBUG  #0  #4268   #apEventsHandler::outputHandlingEventDebugLogMessage    #Events\src\apEventsHandler.cpp #1171   #Handling event: Second chance exception: Reason 0x3, Address 0x36ba8c
2016.06.14  11:07:22.184    #12246864184    #DEBUG  #0  #4268   #apEventsHandler::outputRegisteringEventDebugLogMessage #Events\src\apEventsHandler.cpp #1188   #Registering event: Application global variable changed
2016.06.14  11:07:22.169    #12246865169    #DEBUG  #0  #4268   #vscPrintDebugMsgToDebugLog #src\vscCoreUtils.cpp   #74 #Second Chance Exception
2016.06.14  11:07:22.296    #12246865296    #DEBUG  #0  #4268   #apEventsHandler::handleDebugEvent  #Events\src\apEventsHandler.cpp #501    #Event handling ended
2016.06.14  11:07:22.479    #12246865479    #DEBUG  #0  #4268   #apEventsHandler::outputHandlingEventDebugLogMessage    #Events\src\apEventsHandler.cpp #1171   #Handling event: Debugged Process run suspended

Attatch to a windows service process using CodeXL

Hi there,

I need to attach to a already running process which is a windows service that uses opencl, and compiled using visual studio 2010. I am unable to find a way to attach to it using CodeXL so I can step into source code.

I failed to find related info in CodeXL getting started guide. Any hint that I can get the ball rolling ?

Thanks a lot....

Unable to build OpenCL source files

With CodeXL 2.0 I am unable to build OpenCL source files. The build button is greyed out, even though I'm in Analyze Mode. It was working with CodeXL Version 1.9, am I missing something?

Builds for 2.1 missing?

It would seem that the binaries for 2.1 have been unpublished? The GPUOpen blog post still directs me to github to download the builds. I thought at first perhaps someone forgot to upload them, but looking at the AUR package it would seem that they were available to download at some point in the past few days. There's even an md5 hash of 1eddbd59062815776f24ad2f41fd4676 for the Linux build archive.

CodeXL Remote immediately disconnects

Dear all,

I just tried CodeXLRemote for remote profiling and unfortunately at each connection attempt CodeXL immediately disconnects. The only messages I see on the CodeXLRemote prompt are:

*** Connection: Received a connection from <xxx.xxx.xxx.39:8138> ***
*** Disconnection: <xxx.xxx.xxx.39:8138>ended a session and disconnected ***

CodeXL itself says: "Could not create debugged process. Unable to connect to CodeXL Remote Agent."

Obviously, it was able to build up some connection, but for whatever reason it is not able to proceed. I am using the official AMD build 2.1.228.0. What would be the best way to debug this further?

Some context information:

I started CodeXLRemote from an SSH shell using a normal user account. I use a little hack to make the X11 context available to the user by running the following script as root:

#! /bin/bash
XAUTHPORT=$(echo $DISPLAY | cut -d'.' -f1 |  cut -d':' -f2)
xauth extract /tmp/x11-auth-file ":$XAUTHPORT"
chmod 660 /tmp/x11-auth-file
chgrp amdgroup /tmp/x11-auth-file

cat > /tmp/enable-amd-compute <<EOF
export COMPUTE=$DISPLAY
export DISPLAY=$COMPUTE
export XAUTHORITY=/tmp/x11-auth-file
EOF

This hack works well. Meaning after I source /tmp/enable-amd-compute, I can run OpenCL programs without any trouble on my AMD GPU.

Expose ThreadTracer

Right now ThreadTracer is marked / ifdef'ed out of public builds, but it's been an invaluable tool on other platforms, so I would love to see it in the public CodeXL builds.

Debian path (debain/main)

Is there an inside joke I'm missing with debain/main under the Installer-Linux path?

I'm only assuming you meant, debian/main.

The build scripts for general Debian package management via debmake will probably not work. Then again I'm not seeing any standard debian/rules work flow.

Crash reporter is not working

I had a crash while exploring kernel statistics in the Analyze mode. This prompted to report the error, but after a while it came back with "Error report failed". So I'm not sure the crash reporter is working at all.

What were you doing when the problem happened (optional)?
N/A

Email address (optional):
N/A

Operating System:
Win10-64

Call stack:
Function name - File path - Line number - Module path - Function Start address - Module Start address - Instruction counter address
RaiseException - N/A - N/A - C:\WINDOWS\SYSTEM32\KERNELBASE.dll - 0x76b7da90 - 0x76ac0000 - 0x76b7dad7
CxxThrowException - N/A - N/A - C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll - 0x5f5f4940 - 0x5f5f0000 - 0x5f5f49a4
qBadAlloc - N/A - N/A - C:\Program Files (x86)\CodeXL\Qt5Core.dll - 0x660cae60 - 0x660b0000 - 0x660cae89

System DLL Versions:

  • atioglxx.dll: 6.14.10.13431
  • atio6axx.dll: 6.14.10.13431
  • aticfx32.dll: 8.17.10.1452
  • aticfx64.dll: 8.17.10.1452
  • aticaldd.dll: 6.14.10.1848
  • OpenCL.dll: 2.0.6.0

OpenGL Renderer:

  • Renderer Vendor: ATI Technologies Inc.
  • Renderer Name: AMD Radeon (TM) R9 390 Series
  • Renderer Version: 4.5.13431 Compatibility Profile Context 16.150.2211.0
  • Renderer Type: Installable client

Drivers versions:

  • CAL version: 1.4.1848
  • AMD Radeon Software version: 15.8

Device 1 (GPU):

  • Platform ID: 1
  • Device Type: GPU
  • Device Name: Hawaii
  • Vendor: Advanced Micro Devices, Inc.

Device 2 (CPU):

  • Platform ID: 1
  • Device Type: CPU
  • Device Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
  • Vendor: GenuineIntel

Platform 1:

  • Vendor: Advanced Micro Devices, Inc.
  • Name: AMD Accelerated Parallel Processing
  • Profile: FULL_PROFILE
  • Version: OpenCL 2.0 AMD-APP (2004.6)

Building without problems/Cant run CodeXL

Hello everyone,
I have Ubuntu 14.04 and I am a relatively new user.

I have followed the insructions from the file BUILD.md for linux.

CD to local copy of /CodeXL/Util/linux/
Run ./buildCodeXLFullLinuxProjects

It runs without an error.

Then, in /Output_x86_64/release/bin, I am trying to run CodeXLAnalyser:

Output_x86_64/release/bin$ ./CodeXLAnalyzer

Error: No valid command. Please run -h for available commands.

So what am i doing wrong. Thank you for your time

p.s. the precompiled version runs without problems, but i need to compile and run :D

An error has occurred while applying security settings. Users is not a valid user or group.

During installation of CodeXL (in the "Start services" step) the error "An error has occurred while applying security settings. Users is not a valid user or group." pops up. Retry does not change anything. The setup is canceled. I have a WIndows 7 64 bit (german) Version.
For me adding a new Group (in lusrmgr.msc) with name "User" and my account as a user in this group solves the problem. I think this maybe a localization problem since in German the group is called "Benutzer", but I am not sure.

OpenCL 2.0 support missing

This is (arguably) a pretty major feature request, but it's the one thing I've been looking forward to in a CodeXL release. However, it seems that CodeXL 2.0 still doesn't support OpenCL 2.0, when I try to analyze my shaders I keep getting greeted with this message:

image

It seems to be missing since at least 2014 https://github.com/GPUOpen-Tools/CodeXL/blob/eaf371c42ff3063bba8b4196aeb59659befeb104/CodeXL/Components/ShaderAnalyzer/AMDTKernelAnalyzer/src/kaApplicationCommands.cpp#L400

Building on Ubuntu

hello every one,

I'm trying to build CodeXL(ubuntu14.04)

when running backend_build.sh i get the following errors:

=====Building GPU Profiler Backend======
Building infra projects
Build arguments passed to scons:

----------- Start building ---------------
Thu May 12 10:53:24 EEST 2016

scons -C /homes/kpontzolkova/Downloads/git/CodeXL/CodeXL/Components/GpuProfiling/Build/../Build CXL_prefix=/homes/kpontzolkova/Downloads/git/CodeXL/CodeXL/Components/GpuProfiling/Build/.. CXL_build_type=static
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o /homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.os -c -fPIC -Wall -Werror -Wextra -g -fmessage-length=0 -Wno-unknown-pragmas -pthread -DGDT_BUILD_SUFFIX= -std=c++11 -O3 -DNDEBUG -DGDT_PUBLIC -I/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools -I/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src -I/homes/kpontzolkova/Downloads/git/CodeXL/CommonProjects -I/homes/kpontzolkova/Downloads/git/CodeXL/Common /homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.cpp
/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.cpp:12:64: fatal error: AMDTBaseTools/Include/gtIAllocationFailureObserver.h: No such file or directory

include <AMDTBaseTools/Include/gtIAllocationFailureObserver.h>

                                                                                                        ^

compilation terminated.
scons: *** [/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.os] Error 1
scons: building terminated because of errors.
*** ERROR during the build of the 64 bit framework ***

scons -C /homes/kpontzolkova/Downloads/git/CodeXL/CodeXL/Components/GpuProfiling/Build/../Build CXL_prefix=/homes/kpontzolkova/Downloads/git/CodeXL/CodeXL/Components/GpuProfiling/Build/.. CXL_arch=x86 CXL_build_type=static
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o /homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.os -c -fPIC -Wall -Werror -Wextra -g -fmessage-length=0 -Wno-unknown-pragmas -pthread -DGDT_BUILD_SUFFIX= -std=c++11 -O3 -DNDEBUG -m32 -DGDT_PUBLIC -I/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools -I/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src -I/homes/kpontzolkova/Downloads/git/CodeXL/CommonProjects -I/homes/kpontzolkova/Downloads/git/CodeXL/Common /homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.cpp
/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.cpp:12:64: fatal error: AMDTBaseTools/Include/gtIAllocationFailureObserver.h: No such file or directory

include <AMDTBaseTools/Include/gtIAllocationFailureObserver.h>

                                                                                                        ^

compilation terminated.
scons: *** [/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src/AMDTBaseTools/src/gtIAllocationFailureObserver.os] Error 1
scons: building terminated because of errors.
*** ERROR during the build of the 32 bit framework ***

----------- End building -----------------
Thu May 12 10:53:34 EEST 2016

it seems that it doent see gtIAllocationFailureObserver.h file, but i confirmed that it exist.

Any thoughts on how to solve it?

edit: I have tried the following,

export C_INCLUDE_PATH=homes/kpontzolkova/Downloads/git/CodeXL/Common/Src
PATH=/homes/kpontzolkova/Downloads/git/CodeXL/Common/Src:$PATH
without any luck
Regards,
Katerina P

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.