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

Intel HD 540 green lines in mipmaps

Nicolas_G_2
Beginner
539 Views

System Setup Information:
-----------------------------------------

System Used: Surface Pro 4
CPU SKU: i7-6650U
GPU SKU: Iris Graphics 540
Processor Line: U-series
System BIOS Version: 104.1085.768
CMOS settings: ?
Graphics Driver Version: 20.19.15.4404
GOP/VBIOS Version: ?
Operating System: Windows 10 Pro
OS Version: 10.0.10586
API: Direct3D 11
Occurs on non-Intel GPUs?: No

Steps to Reproduce:
-------------------------------
1. "Download ZIP"  from https://github.com/nlguillemot/silver-winner/tree/d1381b67d08dd05bd56954441319011dfeae77b6
2. Open vsproj/silver-winner.sln using Visual Studio 2015 update 2
3. Build and run solution by pressing Local Windows Debugger
4. Observe scene (hold right mouse button and move mouse/press WASD to move)

Expected Results:
-------------------------------

Scene looks like an ordinary textured scene

Actual Results:
-------------------------------

Green lines are on top of objects past a certain distance

Additional Information:
-------------------------------

I haven't looked deeply into this, but I suspect there's a skylake D3D11 bug with mipmaps.

I've recorded a video of this in my own application: https://twitter.com/nlguillemot/status/717681988325355520

But the same bug also affected The Witness: http://imgur.com/a/m4WLH

The bug no longer affects The Witness because I reported it to the developers, who patched it by disabling mipmaps for the particular SKU (Iris 540)

I wouldn't be surprised if this is somehow my fault, but the fact that it happens in these 2 applications and that it doesn't happen on NVIDIA makes me suspicious that either there's a driver bug or some unexpected default values. Also, this happens for the diffuse textures in my program which use the sRGB format, so maybe it's specifically sRGB mipmapping that causes problems.

0 Kudos
3 Replies
Michael_C_Intel2
Employee
539 Views

Hi Nicolas,

Thanks for getting me all the details, this helps a lot. I am working with the driver team to investigate the problem and will let you know what we find out.

-Michael 

0 Kudos
Nicolas_G_2
Beginner
539 Views

I've noticed that the problem goes away if I do the GenerateMips on a DXGI_FORMAT_R8G8B8A8_UNORM format instead of the DXGI_FORMAT_R8G8B8A8_UNORM_SRGB format. Therefore, I suspect that generating mips on a SRGB SRV is where the problem is.

0 Kudos
Michael_C_Intel2
Employee
539 Views

We found the problem and created a fix for the graphics driver. The fix should be available in the next public driver release. 

0 Kudos
Reply