Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

GPU profiling no longer works in recent CodeXL releases #147

@csbnw

Description

@csbnw

I am not able to (remotely) profile my OpenCL applications using recent CodeXL releases. The last release that worked for me was 1.7.

My setup is as follows:

  • Client running Fedora 26 (previously tested on Ubuntu 16.* and Fedora 25)
  • Servers running CentOS 7.3 (previously tested on Ubuntu 14.04 and Centos 7.1/7.2)
  • Installed same CodeXL versions on all machines
  • Setup ssh-tunnel for connection between client and server: ssh -t -X -L 27015:server:27015 server /path/to/codexl/CodeXLRemoteAgent
  • Run CodeXL locally on client (using provided CodeXL script)

Testing the connection works, I get the following popup:
Connection was established successfuly.

But starting the GPU Profile doesn't:
Communication failure: Please verify that both client and remote machines are connected to the network.

The CodeXLRemoteAgent reports the following:

********************************************************
CodeXL Remote Agent settings were extracted successfully
--------------------------------------------------------
Agent version is: 2.4.58.0
Read  timeout is: Infinite Timeout
Write timeout is: Infinite Timeout
Agent IP:Port is: 10.141.0.2:27015
********************************************************

CodeXL Remote Agent is listening on <10.141.0.2:27015>

Press any key to terminate CodeXL Remote Agent. . .


*** Connection: Received a connection from <10.141.0.2:63453> ***

*** Connection: Received a connection from <10.141.0.2:63965> ***

*** Disconnection: <10.141.0.2:63965>ended a session and disconnected ***

*** Connection: Received a connection from <10.141.0.2:64477> ***

*** Disconnection: <10.141.0.2:64477>ended a session and disconnected ***

*** Connection: Received a connection from <10.141.0.2:64989> ***

Which seems to suggest that the connection is fine.

Furthermore, when running CodeXL directly on the server, using x-forwarding, the GPU Profile button is gray and profiling is therefore not available either.

I have been able to reproduce this issue using various GPUs (both consumer and workstation/server models), architectures (Tahiti, Hawaii, Fiji, Vega) and drivers (14.301, 15.302, catalyst-15.9, radeon-crimson-15.12, amdgpu-pro-17.*), but I haven't found a combination that works. I also tried compiling CodeXL from source, but this did not resolve the issues either.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions