Can you please attach the dxdiag report of your system here? How to get it?
Dxdiag Report: Type dxdiag in Start Menu> open> Save> Attach using Advanced Editor Options.
If possible run the System Identification Utility and provide the code:
Thank you for sharing all this information. I will pass it to development so we can investigate this. I will contact you as soon as I have information.
Any feedback on this issue yet?
I passed all this information to development and they are working now on this. At this point I do not have an ETA but as soon as I have information I will be back.
We are still working and investigating this but in the meantime, I would recommend you posting on Developer Zone engage the knowledge and resources of that community.
Here is the link:
I had our OGL developers look at the sample you provided and they did not see any issues. However, they did make a couple of recommendations as follows:
1. Make sure that fbo is complete (aStstus == GL_FRAMEBUFFER_COMPLETE)
aStatus := glCheckFramebufferStatus(GL_FRAMEBUFFER);
- 2. Add error check glGetError() after
Thanks for the feedback.
I had been checking the FrameBuffer for GL_FRAMEBUFFER_COMPLETE and it is reporting GL_FRAMEBUFFER_COMPLETE.
I have added a check after glBindFrameBuffer(GL_READ_FRAMEBUFFER,fFBOHandle) for errors. There are no errors straight after this call, so I assume the Bind is OK.
The OpenGL debug message is generated in the ig75icd32.dll only when the glReadPixels is called. After that the GL ERROR is 1282 is in the GL Error stack (only one error in the stack)
I am running this on a Laptop with dual graphics (NVIDEA GTX 780M and Intel HD Graphics 4600). If I switch to the NVIDEA card all runs OK. I would like this software to run as is on the Intel hardware.
Thanks. I will post a another item here.
However, I note that there are also 2 other items which relate to the same problem (see below). The first is in 2013 and the second earlier this year. Neither have had any replys. I have queried both for any resolution to the matter. All are reporting the problem as on Intel hardware only.
I believe there is a problem with the glReadPixels which has been there for some time. The common theme is that the buffer is not the default buffer (GL_BACK) but an alternate user created buffer.
I would like a resolution to this as if this cannot be resolved I won't be able to recommend Intel hardware to users of our software.
If this is a different issue my best recommendation is to create a new post for each different issue. This is the best way for us to proceed gathering all important information.
This is the same issue, just reported 2 other times.
The glReadPixels call fails when you try and read from any buffer except the default Windows buffers.
I will raise another thread
Feedback from our OGL folks:
I analyzed traces provided by customer, and I’ve not seen any glReadPixels call, unfortunately,
and I’m not able to see the issue.
But issue description lead to a question:
Is any error reported before call glReadPixels?
Please check glGetError before call glReadPixels.
“the code works OK for selection (ie the glReadPixel data is returning valid data and and just throwing this error)”
First error in customer log:
Source: OpenGL ; Type : Error ; Severity : HIGH ; Message : Error has been generated. GL error GL_INVALID_OPERATION
GL BUFFER ERROR in Debug Message : 1282
If error generated (in glReadPixels) no change is made to the contents of data.
glReadPixels Reference :