cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yurtesen
Miniboss

The system display is not defined therefore CodeXL cannot run.

I have just installed CodeXL 1.8 and used ssh with X forwarding to login the system. I tested running glxgears and it works just fine. However CodeXL is complaining about the system display. Can you tell why this may be happening?

$ glxgears

540 frames in 5.0 seconds = 107.985 FPS

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"

      after 1959 requests (1959 known processed) with 0 events remaining.

$ CodeXL

The system display is not defined therefore CodeXL cannot run.

This may be caused by:

Working with a remote connection but X11 forwarding not defined, or

Logging in as a user but launching CodeXL as root, or vice versa

$

Thanks,

Evren

0 Likes
4 Replies
yurtesen
Miniboss

Nevermind, I used strace to see what it was looking for and apparently it was looking for xhost!!! The error message is really misleading! After installing xhost I still need more stuff apparently. but at least this specific problem is solved.

stat("/export/modules/devel/AMD-APP-SDK/2.9/samples/opencl/bin/x86_64/xhost", 0x                                                                                                             7fff7f23a680) = -1 ENOENT (No such file or directory)
stat("/export/modules/devel/AMD-APP-SDK/2.9/bin/x86_64/xhost", 0x7fff7f23a680) =                                                                                                              -1 ENOENT (No such file or directory)
stat("/export/modules/compilers/gnu/gcc/4.9.0/bin/xhost", 0x7fff7f23a680) = -1 E                                                                                                             NOENT (No such file or directory)
stat("/export/modules/tools/amd-CodeXL/1.8.9654/x86_64/xhost", 0x7fff7f23a680) =                                                                                                              -1 ENOENT (No such file or directory)
stat("/export/modules/tools/amd-CodeXL/1.8.9654/xhost", 0x7fff7f23a680) = -1 ENO                                                                                                             ENT (No such file or directory)
stat("/usr/local/sbin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or direc                                                                                                             tory)
stat("/usr/local/bin/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or direct                                                                                                             ory)

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

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

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

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

stat("/usr/local/games/xhost", 0x7fff7f23a680) = -1 ENOENT (No such file or dire                                                                                                             ctory)
0 Likes

I didn't see confirmation that this went to the team, so I'll make sure of that. I assume it has - I'm just filling in for a day or two.

They'll see this as a "feature request" to clean up the error message. I HATE useless/misleading error messages.

0 Likes

@jtrudeau did you end up filing the report? Any response?

I'm still getting similar behavior with v2.2. Sadly, it seems such stupid errors are still too common in AMD's tools. I wish they just let this CodeXL die and started fresh with an OSS tool with at least robust console profiling.

Hi pszilard​ - Please see this thread for info on where to file follow up requests related to CodeXL: For CodeXL feedback & support requests

0 Likes