# PVRTrace Renderer Failed (No current context bound)

**URL:** <https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314>\
**Category:** PowerVR Insider\
**Tags:** pvrvframe, pvrtrace\
**Created:** [June 30, 2015, 3:39pm UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314 "2015-06-30T15:39:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalin](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kalin](https://forums.imgtec.com/u/kalin)\
**Post date:** [June 30, 2015, 3:39pm UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/1 "2015-06-30T15:39:25Z")

</div>

Hello,

I’m trying to run opengles2 wayland application with pvrtrace on Renesas H2 hardware.  
It seems that I’m able to record data but I have problem when I try to review it with PVRTraceGUI.

It reports: Renderer has failed. Please check logs.

And here are first few lines of log:  
Analyzing Image: Render Scene F(0)  
Error: Skipping playback of call with UID 8 (‘glCreateShader’) as there is no current context bound  
Error: Skipping playback of call with UID 9 (‘glShaderSource’) as there is no current context bound  
Error: Skipping playback of call with UID 10 (‘glCompileShader’) as there is no current context bound

It says that I don’t have bound context but actually previous call before glCreateShader is eglMakeCurrent.  
You can see in frame export:  
eglGetDisplay(…) Error: EGL\_SUCCESS  
eglInitialize(…) ==\> EGL\_TRUE Error: EGL\_SUCCESS  
eglBindAPI(…) ==\> EGL\_TRUE Error: EGL\_SUCCESS  
eglChooseConfig(…) ==\> EGL\_TRUE Error: EGL\_SUCCESS  
eglCreateContext(…) ==\> EGLContext(0x0002f810) Error: EGL\_SUCCESS  
eglCreateWindowSurface(…) ==\> EGLSurface(0x00047428) Error: EGL\_SUCCESS  
eglMakeCurrent(EGLDisplay(0x00000001),EGLSurface(0x00047428),EGLSurface(0x00047428),EGLContext(0x0002f810)) ==\> EGL\_TRUE Error: EGL\_SUCCESS  
glCreateShader(…) ==\> 70001 Error: GL\_NO\_ERROR  
…

Has anyone an idea what is wrong?  
I also have a problem that Object Data Viewer doesn’t show anything but I suppose that this is because Renderer has failed.

Kalin

---

<div class="post-metadata">

**Author:** ![PaulLy](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PaulLy](https://forums.imgtec.com/u/PaulLy)\
**Post date:** [July 1, 2015, 8:26am UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/2 "2015-07-01T08:26:36Z")

</div>

Could you attach the trace file? If it contains confidential information you can attach it to a new ticket on our support portal and link back to this forum thread [pvrsupport.imgtec.com/new-ticket](http://pvrsupport.imgtec.com/new-ticket)

---

<div class="post-metadata">

**Author:** ![kalin](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kalin](https://forums.imgtec.com/u/kalin)\
**Post date:** [July 1, 2015, 11:30am UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/3 "2015-07-01T11:30:19Z")

</div>

Hello,

I’m attaching the trace file.  
Application is simple-egl demo from weston repository.

Something I forgot to mention is:  
I use PowerVR SDK 3.5 and Windows\_x86\_64/PVRTraceGUI.exe

Kalin

---

<div class="post-metadata">

**Author:** ![PaulLy](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PaulLy](https://forums.imgtec.com/u/PaulLy)\
**Post date:** [July 1, 2015, 12:24pm UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/4 "2015-07-01T12:24:59Z")

</div>

It seems to be fine for me. Image analysis renders a spinning coloured triangle, is this correct?

What GPU and driver is installed on the machine you are viewing PVRTraceGUI on?

---

<div class="post-metadata">

**Author:** ![kalin](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kalin](https://forums.imgtec.com/u/kalin)\
**Post date:** [July 1, 2015, 2:09pm UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/5 "2015-07-01T14:09:29Z")

</div>

Hello,

Thanks for the information. GPU is NVIDIA Quadro K1000M (its a notebook).  
Driver version is: 8.17.12.9703 from 7/11/2012.  
I will try to run the same thing on other machine.

Kalin

---

<div class="post-metadata">

**Author:** ![kalin](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kalin](https://forums.imgtec.com/u/kalin)\
**Post date:** [July 2, 2015, 9:27am UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/6 "2015-07-02T09:27:19Z")

</div>

Hello again,

I tried it on one colleague’s PC with NVIDIA Quadro K2000 and result was the same.  
Are there any software/hardware requirements about system where PVRTraceGUI will work properly?  
DirectX, VisualStudio, Windows version etc?

Kalin

---

<div class="post-metadata">

**Author:** ![PaulLy](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PaulLy](https://forums.imgtec.com/u/PaulLy)\
**Post date:** [July 2, 2015, 9:35am UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/7 "2015-07-02T09:35:40Z")

</div>

PVRTraceGUI should work with any GPU and driver that fully supports ES 3.0.

Could you try running the PVRVFrameGUI, and selecting Edit -\> Preferences -\> Context creation mode = Loose

---

<div class="post-metadata">

**Author:** ![kalin](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kalin](https://forums.imgtec.com/u/kalin)\
**Post date:** [July 2, 2015, 2:02pm UTC](https://forums.imgtec.com/t/pvrtrace-renderer-failed-no-current-context-bound/2314/8 "2015-07-02T14:02:39Z")

</div>

Hello,

Thanks for the help. I finally got it working by updating my GPU driver to the latest version.  
Just for information:  
I realized that also SDK demos were not working on this PC. With Context creation mode = Loose the code was not crashing in eglCreateContext but it was crashing in eglMakeCurrent few calls later.

Kalin
