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

Intel OpenGL drivers cannot correctly handle DPI changes

kk10
Beginner
2,034 Views

Hello.

I've been working on implementing high-DPI support for my app and testing it with various GPUs on Windows. I think I've hit a bug with Intel GPUs - when you move window from monitor with one DPI to a monitor with a different DPI, OpenGL cannot be used anymore to correctly render contents of the window. This only happens with Intel, as Nvidia and AMD work just fine.

I've made a simple app so you can reproduce this bug. It's a simple app that just renders several rectangles. You can download it form here:

Executable: https://github.com/kryptan/dpi-test/releases/download/v3/dpi-test.exe https://github.com/kryptan/dpi-test/releases/download/v3/dpi-test.exe

Source: https://github.com/kryptan/dpi-test https://github.com/kryptan/dpi-test

After window moves to a monitor with different DPI, window is resized and glViewport is called with the new dimensions of the window. AMD and Nvidia has no issues with this and work just fine.

Expected rendering:

Actual rendering after window was moved to a monitor with different DPI:

(This last screenshot is actually with older drivers, with current drivers it looks even worse).

More discussion on this issue is available here: https://github.com/tomaka/winit/pull/332 https://github.com/tomaka/winit/pull/332

0 Kudos
3 Replies
kk10
Beginner
756 Views

My GPU:

glGetString(VENDOR) = "Intel"

glGetString(RENDERER) = "Intel(R) HD Graphics 530"

glGetString(VERSION) = "4.5.0 - Build 22.20.16.4815"

0 Kudos
idata
Employee
756 Views

Hello kryptan

Thank you for reaching the Intel Communities.

 

I understand you are facing troubles with the graphics and your application, and we can check on that for sure.

In this case, my recommendations would be:

If you have troubles installing the graphics driver, this installation method can help:

 

1. Extract the .zip file downloaded

 

2. Access the device manager and look for display adapters (double click on it, you should be able to see an Intel(R) HD Graphics adapter or Microsoft Basic Display Adapter")

 

3. Right click and select update driver for Intel HD Graphics

 

4. Select "Browse my computer for driver software"

 

5. Select "Let me pick from a list of device drivers on my computer"

 

6. Click on "Have Disk" and find the extracted folder of the driver downloaded

 

7. Go to "Graphics" folder within driver folder and select the **igdlh64.inf** file and hit open then ok

 

8. Select Intel HD Graphics XXX under "model" and hit next

 

Thanks,

 

Esteban C
kk10
Beginner
756 Views

This latest driver released 2 days ago does indeed fix the issue that I had. Thanks

0 Kudos
Reply