Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
22781 Discussions

Intel HD3000 Access Violation on glReadPixels() with GL_STENCIL_INDEX

idata
Employee
4,396 Views

Greetings,

I am a software engineer who recently upgraded to a new laptop. In the process I discovered that one of our widely distributed applications does not function properly with my new hardware. I have a strong suspicion that it is a driver issue. My configuration is as follows:

Dell Latitude E6520

Windows 7 Enterprise (64-bit)

Intel HD 3000

Driver Version: 8.15.10.2827

Driver Date: 8/9/2012

With this configuration glReadPixels() causes an access violation when reading the full width of the stencil buffer (GL_STENCIL_INDEX). Full-width reads of the color buffer (GL_RGBA) operate as expected, and do not experience an access violation. This code executes as expected with no violation in a variety of other hardware configurations, including when executed using the NVIDIA NVS 4200M in the same machine.

The 'sbuffer' buffer below is generally 768 * 1024 bytes, with glPixelStorei() set to a pack alignment of one. I increased the size tenfold for these examples to put to rest any concerns of insufficiently sized buffers on our end:

With a 768x1024 window, the following code crashes:

glReadPixels( 0, 0, 768, 1024, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, static_cast( sbuffer ) );

When reducing only the height the code still crashes:

glReadPixels( 0, 0, 768, 1023, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, static_cast( sbuffer ) );

However, when reducing only the width, the code does not crash:

glReadPixels( 0, 0, 767, 1024, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, static_cast( sbuffer ) );

Any assistance or information on how we can help escalate the issue would be greatly appreciated. Thanks!

0 Kudos
3 Replies
ROBERT_U_Intel
Employee
2,969 Views

Hi

We are investigating this issue and will post back soon.

0 Kudos
ROBERT_U_Intel
Employee
2,969 Views

We have replicated the issue and are investigating the cause. I will post back once we have more information. Also, could you please verify the issue is occurring with the latest Intel HD Graphics driver available http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21430&lang=eng&OSVersion=Windows%207%20Enterprise%2C%2064-bit%20version*&DownloadType=Drivers here?

0 Kudos
idata
Employee
2,969 Views

Thank you for the updates. I am happy to hear you were able to replicate the issue. Unfortunately the issue is still present with the http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=21430&lang=eng&OSVersion=Windows%207%20Enterprise%2C%2064-bit%20version*&DownloadType=Drivers 15.26.12.2761 (8.15.10.2761) drivers you recommended.

I get the impression from your post that I had the incorrect drivers installed. I was using version http://downloadcenter.intel.com/Detail_Desc.aspx?lang=eng&DwnldID=21776 15.22.57.64.2827 (8.15.10.2827), but on closer inspection, those drivers were intended for the base HD series. Windows complained about the driver "downgrade":

"This computer currently contains driver versions newer than the versions you are about to install. Are you sure you want to overwrite the following drivers with the older versions?

Intel(R) HD Graphics 3000 (8.15.10.2827)"

I am planning to stick with the older drivers that explicitly support the HD 3000, as you suggested. The Intel Driver Update Utility confirms this is the latest driver for my chipset.

0 Kudos
Reply