Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20494 Discussions

Intel GMA HD. OpenGL driver problem. Dramatic decrease in FPS

idata
Employee
1,368 Views

Hello!

I would like to get advice on dramatic decrease in FPS in my program.

On each frame, I update part of big texture (2048x2048 pix) and finish a frame the following code:

glFlush();

SwapBuffers(hdc);

In this case, the rate of drawing frames decreases to 4!

When a frame finish the following code:

glFinish();

SwapBuffers(hdc);

then the frame rate is kept at 750. Why does glFlush function lead to "stuck"?

Texture created by the command:

glTexImage2D(GL_TEXTURE_2D, 0, GL_INTENSITY, 2048, 2048, 0, GL_RED, GL_UNSIGNED_BYTE, NULL);

Texture updated by command:

BYTE buf [buf_height * 2048];

...

glTexSubImage2D(GL_TEXTURE_2D, 0, 0, y_offset, 2048, buf_height, GL_RED, GL_UNSIGNED_BYTE, buf);

After that, the texture is rasterized on a some mesh.

Attachment graphics diagnostic report:

Intel® HD Graphics (Core i5)

 

Report Date: 2/9/2011

 

Report Time[hr:mm:ss]: 19:13:15

 

Driver Version: 6.14.10.5313

 

Operating System: Windows XP Professional Service Pack 2(5.1.2600)

 

Default Language: English (United States)

 

DirectX* Version: 9.0

 

Physical Memory: 1909 MB

 

Minimum Graphics Memory: 32 MB

 

Maximum Graphics Memory: 256 MB

 

Graphics Memory in Use: 35 MB

 

Processor: x86 Family 6 Model 37 Stepping 5

 

Processor Speed: 2393 MHz

 

Vendor ID: 8086

 

Device ID: 0046

 

Device Revision: 02

 

* Accelerator Information *

 

Accelerator in Use: Intel(R) HD Graphics

 

Video BIOS: 2077.0

 

Current Graphics Mode: 1920 by 1080

 

* Devices Connected to the Graphics Accelerator *

 

Active Monitors: 1

 

* Monitor *

 

Monitor Name: Plug and Play Monitor

 

Display Type: Analog

 

Gamma Value: 2.2

 

DDC2 Protocol: Supported

 

Maximum Image Size:

 

Horizontal: 20.08 inches

 

Vertical: 11.42 inches

 

Monitor Supported Modes:

 

640 by 480 (67 Hz)

 

640 by 480 (75 Hz)

 

640 by 480 (72 Hz)

 

640 by 480 (60 Hz)

 

720 by 400 (70 Hz)

 

800 by 600 (72 Hz)

 

800 by 600 (75 Hz)

 

800 by 600 (56 Hz)

 

800 by 600 (60 Hz)

 

832 by 624 (75 Hz)

 

1024 by 768 (75 Hz)

 

1024 by 768 (70 Hz)

 

1024 by 768 (60 Hz)

 

1152 by 864 (75 Hz)

 

1152 by 870 (75 Hz)

 

1280 by 720 (60 Hz)

 

1280 by 800 (60 Hz)

 

1280 by 1024 (75 Hz)

 

1280 by 1024 (60 Hz)

 

1360 by 765 (60 Hz)

 

1440 by 900 (60 Hz)

 

1680 by 1050 (60 Hz)

 

1920 by 1080 (60 Hz)

Display Power Management Support:

 

Standby Mode: Supported

 

Suspend Mode: Supported

 

Active Off Mode: Not Supported

 

Raw EDID:

 

00 FF FF FF FF FF FF 00 04 72 C8 00 BA A6 40 01

 

0E 14 01 03 68 33 1D 78 CA EE 95 A3 54 4C 99 26

 

0F 50 54 BF EF 80 71 4F 81 80 81 C0 81 00 8B C0

 

95 00 B3 00 D1 C0 02 3A 80 18 71 38 2D 40 58 2C

 

45 00 FE 1F 11 00 00 1E 00 00 00 FD 00 38 4C 1F

 

53 11 00 0A 20 20 20 20 20 20 00 00 00 FC 00 56

 

32 33 33 48 0A 20 20 20 20 20 20 20 00 00 00 FF

 

00 4C 47 51 30 44 30 32 39 38 35 31 33 0A 00 44

 

* SDVO Encoder Report *

 

** Encoder 1 **

 

Vendor ID: Chrontel

 

Device ID: 66

 

Device Revision: 2

 

Major Version: 1

 

Minor Version: 1

 

* Other names and brands are the property of their respective owners. *
0 Replies
Reply