Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games

Direct3D11 with GDI Compatible creates the Drawing artifacts

Geets__Andrey
New Contributor I
1,587 Views

Hi All.

I'm using Direct3D11 with GDI compatible, but i have some artifacts on some new Intel GPU(530, 630)

For creating IDXGISwapChain with GDI compatible i use the following code: 

 

DXGI_SWAP_CHAIN_DESC::Flags = DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH;
DXGI_SWAP_CHAIN_DESC::BufferDesc.Format = DXGI_FORMAT_B8G8R8A8_UNORM;

 

//Rendering prevcode:
 

ID3D11Context->OMSetRenderTargets(....);
//Draw 3D data normaly...
IDXGISwapChain->GetBuffer(0, __uuidof(IDXGISurface1), reinterpret_cast<void **>(&pDXGISurface));
HDC dxgiHDC = 0;
pDXGISurface->GetDC(FALSE, &dxgiHDC);
//DrawText using GDI functions
pDXGISurface->ReleaseDC(0);
IDXGISwapChain::Present(0, 0);

Result o Intel HD 530, Intel HD 630:

Direct3D11_GDI_Bug.png

Result on Intel HD 4000, Intel HD 4600, Any AMD/nVidia card:

 

What do i do wrong ?

 

0 Kudos
3 Replies
Michael_C_Intel2
Employee
1,587 Views

Is the issue still happening with the latest driver? 

If so I need the template below filled out so an issue can be properly reported. If you have binary sample the produces the issue that would help as well.

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

System Used: (Manufacturer/Model)
CPU SKU: (i3, i5, Pentium, Celeron, etc.)
GPU SKU: (HD4400, HD5100, etc.)
Processor Line: (Y-Series, U-Series, etc.)
System BIOS Version:
CMOS settings:
Graphics Driver Version:
GOP/VBIOS Version:
Operating System:
OS Version:
API:
Occurs on non-Intel GPUs?:

Steps to Reproduce:
-------------------------------
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

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

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

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

 

0 Kudos
Geets__Andrey
New Contributor I
1,587 Views

Hi, Michael 

Coppock, Michael J (Intel) wrote:

Is the issue still happening with the latest driver? 

I will check issue with the latest driver, if i can install it(becuase some notebook doesn't allow to install directly the latest driver from Intel site.)

If so I need the template below filled out so an issue can be properly reported.

I have the sumbitted bug report https://software.intel.com/en-us/forums/graphics-driver-bug-reporting/topic/757225

If you have binary sample the produces the issue that would help as well.

Ok, i will create the minimal C++ project in Visual Studio with executable file.

0 Kudos
Geets__Andrey
New Contributor I
1,587 Views

Hi, Michael 

I attached the simple project with executable file:

Direct3D11_With_GDI.7z

There is some sreenshots with result on Intel:

det.png

On nVidia:

 

d3d11_GDI_nVidia.png644908

 

0 Kudos
Reply