# glReadPixel crash

**URL:** <https://forums.imgtec.com/t/glreadpixel-crash/1494>\
**Category:** PowerVR Insider\
**Created:** [August 10, 2012, 8:50am UTC](https://forums.imgtec.com/t/glreadpixel-crash/1494 "2012-08-10T08:50:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwlchristy](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@lwlchristy](https://forums.imgtec.com/u/lwlchristy)\
**Post date:** [August 10, 2012, 8:50am UTC](https://forums.imgtec.com/t/glreadpixel-crash/1494/1 "2012-08-10T08:50:16Z")

</div>

First thx for your attention.

Recently i came up with a question that when use&nbsp;glReadPixel in my code, and run it on a mobile with PowerVR 580 chip, it will crash when calling&nbsp;glReadPixel. I have tried many ways to test and the conclution is: when the left down point of the rect assigned to the rect is at (0,0), the result is OK! But if it’s not (0,0), it will insult crashing here.

Please give me some suggestion and thx very much! ![Embarrassed]( "Embarrassed")

---

<div class="post-metadata">

**Author:** ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)\
**Post date:** [September 4, 2012, 3:29pm UTC](https://forums.imgtec.com/t/glreadpixel-crash/1494/2 "2012-09-04T15:29:32Z")

</div>

Hi,  
  
Sorry for the slow response.  
  
Have you been able to resolve your problem yet? Can you share the name of your device and the OS it’s running?  
  
Can you check the driver version for us too? On unix-based OS’s (e.g. Linux & Android), you can query the driver version with the following command:  
cat /prov/pvr/version[/CODE]  
  
Thanks,  
Joe

`cat /prov/pvr/version`  
  
Thanks,  
Joe
