Microsoft DirectX Graphics Infrastructure (DXGI) is often used in combination with Direct3D and is responsible for enumerating graphics adapters and display modes, selecting buffer formats, sharing resources between processes and presenting rendered frames to the monitor.
Questions tagged [dxgi]
248 questions
0
votes
1 answer
Segmentation fault using IDXGIAdapter
I am reading through the relevant Microsoft docs and found this example of how to create IDGI data struct then use it to read memory size but I get Segmentation fault
#include
#include
#include
LPDIRECT3D9 …

netrunner
- 45
- 7
0
votes
0 answers
Unreal CDXGIBaseAdapter::InternalGetAdapterDesc EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000000d0
I'm a game developer using Unreal Engine 4. I'm having the issue where the packaged game would often crash on startup with CDXGIBaseAdapter::InternalGetAdapterDesc EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000000d0. Could anyone shed some…

Xynanxdb
- 1
0
votes
1 answer
Fullscreen Exclusive: How to change the native resolution?
I can successfully control the native refresh-rate by specifying the refresh rate in DXGI_SWAP_CHAIN_FULLSCREEN_DESC which is passed to CreateSwapChainForHwnd.
I was expecting native resolution to change to that specified by the hight and width of…

Tom Huntington
- 2,260
- 10
- 20
0
votes
0 answers
Crash in DuplicateOutput
I'm developing an application which captures frames using DXGI mechanism from an application.
First creation of the IDXGIOutputDuplication is correct. When the application changes its display (for example from fullscreen to windowed or vice versa),…
0
votes
0 answers
What's the difference between MPO (multi-plane overlay) compositing and DWM compositing?
Can someone explain to me What's the point of MPO and what difference it makes when enabled?

Seeker
- 39
- 6
0
votes
1 answer
DXGI/NvEnc YUV44 10bit format compatability
Using DirectX 11, DXGI DDA and NvEnc. I have to support YUV420, YUV444, 8bit, and 10bit.
I have the conversions working great for YUV420, YUV444, and 8bit. With 10bit i Run into a bit of a problem of DXGI_FORMAT compatibility with the…

vulkur
- 21
- 5
0
votes
0 answers
C++ Innacessible methods of an exnternal struct within a scope resolution operator
So I'm developing an app that uses the desktop duplication API, however, when using the IDXGIDevice interface and trying to access its getParent method I get the following error
class "IDXGIDevice" has no member "GetParent"
When using header files…
0
votes
0 answers
Canonical approach to display mgmt in Windows: User32 or DXGI?
We publish an app for Windows 10, and part of what it does is display management; the kind of thing you normally go to Display Settings for. We add/remove displays from the desktop, arrange them, change size and orientation, etc.
Currently I'm using…

Scott Smith
- 3,900
- 2
- 31
- 63
0
votes
2 answers
DirectX12: dxgi dll catastrophic failure when creating IDXGIFactory
I'm attempting to initialize an IDXGIFactory4 using the CreateFactory2 function however this throws out an error:
onecore\windows\directx\database\helperlibrary\lib\perappusersettingsqueryimpl.cpp(121)\dxgi.dll!00007FFBA0D6D7F8: (caller:…

Falcon Oscuro
- 13
- 2
- 6
0
votes
1 answer
What is the correct way to control the frequency of swapchain present call?
I'm new to graphics rendering, and I'm trying to write a win32 drawing app using D2D and D3D11. I use two overlapped offscreen D2D bitmaps to preserve the content of the canvas, the top-level bitmap is transparent.
Whenever a mouse message is…

CookCookie
- 35
- 7
0
votes
0 answers
DXGI got an error in func Map "Access Violation"
Good afternoon, I am writing a program that will extract pixels from the desktop, but unfortunately I ran into a problem, Map gives an error "Access Violation". Help me please.
I've divided all the code by function to make it clear to you.
I hope…

TEARLESS
- 31
- 1
- 6
0
votes
1 answer
DXGI outputs empty pixel array, memcpy also doesn't work
Hi I am trying to combine the given code with mine to output an array of pixels from the image, but the problem is 1) It outputs an empty array 2) memcpy fails with "unique_ptr to const void * ERROR"
How to access pixels data from…

TEARLESS
- 31
- 1
- 6
0
votes
1 answer
DXGI desktop duplication, capture only a particular RECT
Is there any way that we could crop a particular RECT from the image captured using the Desktop Duplication and renders it back to the window after applying some effects.
please have a look at this picture:
Take notepad as the example ,so as per…

trickymind
- 557
- 5
- 21
0
votes
1 answer
Very low framerate when using full-screen window while multiple other windows are open
Sorry for the long title, but I have a very specific problem that can't really be expressed any more concisely. I'm programming a game engine (GitHub link: here) and I'm trying to let the client create windows on top of the main window which the…

J. Lengel
- 570
- 3
- 16
0
votes
2 answers
Error when trying to capture desktop using DXGI and DirectX11 on intel 630 HD
I get the below error when trying to use DXGI to capture the builtin screen on my laptop that runs on an Intel 630 HD with the latest driver. The code works when I capture the external screen running on my GTX 1070.
SharpDX.SharpDXException
…

Jacob Harrand
- 3
- 3