/r/directx
Subreddit for DirectX news, discussions and the like.
Rules
All posts must be relevant to DirectX.
Arguments should be backed up by fact, no flame wars.
Opinions are okay to share as long as you realise it is your own opinion.
Recruiting for DirectX projects is allowed but don't spam and keep HR nonsense to a minimum. Questions asked are to be answered to the best of the posters ability.
Any problems message the moderators.
Interested in being a mod? Send a mail.
/r/directx
I have installed the directx 11 but is it contains directx 9?
If i install directx 9 after installing directx 11, then the directx 9 overwrite directx 11?
And Is it same for dot net?
i cant install runtime nor uninstall it and some apps and games dont work
I have some experience with vulkan (I already know graphics theory and how the graphics pipeline works). I'd like to switch to directx 12 because it's the native api for Windows. I can't find a relatively modern tutorial on the api and the Hungarian naming convention seems very strange. So my question is, what book/website would to recommend to learn the directx 12 api?
Hi, this might be a common problem for some people, just installing VC and DX and problem solved.
Here's the problem. I've reset Windows after tweaking some files in my GPU setting. Things going south when I can't open certain games and application that require Directx and Visual C++ to running. I've tried to install those two but same thing happened, it didn't work out.
It says here msvcp110 missing out. I have VC++ 2010 installed. I've run SCANNOW but nothing happen after that. For your info, I have all version of DirectX and Visual C++ installed. I just don't know what to do now.
Thank you for your help.
Hi, I'm hoping someone with a bit of older DirectX knowledge might be able to help an entire community! I'm posting here on behalf of Metal Gear Speedrunners, we've been having a problem with the PC version of Metal Gear Solid 1 randomly crashing, which isn't ideal during a speedrun!
The crash happens in the exact same location in the game, if anyone knows MGS1, it's during Grey Fox's speech between the two halves of the MG-REX fight. The video halts and all sound goes on a three-second loop. The executable becomes unresponsive and the process has to be killed.
One member did some debugging and managed to grab a crash exception which refers to D3DImm.dll:
The thread tried to read from or write to a virtual address for which it does not have the appropriate access. Unhandled exception at 0x662C6F3B (D3DImm.dll) in mgsi.exe.10924.dmp: 0xC0000005: Access violation reading location 0x00000000
I understand that D3DImm.dll is only present in older versions of DirectX. The version of MGSI.exe in question was released by GOG.com last year, so I'm assuming it uses some backend system to be compatible with DirectX 10+ (something like DgVoodoo, but I'm not certain).
Unfortunately, that's where my understanding comes to a close. Can anyone help determine what this crash is doing and ultimately what the fix would be?
okay, so i'm trying to work on modding a game for fun, changing the textures and such, but the way that the game is coded, it uses .dds files
the problem is, i've tried downloading several programs to view the files, and they all appear glitched, similar to missingno (i wouldn't doubt that the way they're loaded is similar to how missingno's bug formed w it reading data wrong and all.)
i want to find a way to fix this problem and what i can do to get a preview of .dds images in either windows explorer, or using another program. i do NOT want to have to open up every file i have with gimp to see if it'll appear (also gimp crashes sometimes when loading .dds files. dunno why)
please, please help. i don't know what else to do
Many of us are already using OLED TVs as main PC display, there are couple games like ME Andromeda or NFS Shift that already support Dolby Vision HDR on PC but its nothing as good as new feature on Xbox X
Hello. I'm posting here because I've run into a brickwall when it comes to finding a solution for this. I hope someone can help me.
A few days ago I encountered a problem when trying to open a program (ds_capture) it says: "dx.init() failed" then closes the window. It worked fine a few months ago but obviously something happened. Now I think it might have something to do with this, I tried to install an old game from a cd-rom disc a few weeks ago. Game is "Lego Island" and it told me that I needed DirectX 5 to run it. I never got it to work. This is the only reasonable thing I can come up with, because how else would DX just stop working from one day to the other. Doesn't make sense. It should also be mentioned that everything else including other games on my computer stilll work without any issue. I've tried everything as far as I can tell. Except for reinstalling the OS which I'm really not too keen on doing, I'll be honest. But to get this program to work is really a big deal for me.
I would just like any ideas or whatever on what to do. Because I am sure there is a way to fix this, I just can't find it.
Thanks in advance
I have this weird issue where after my PC boots and I try to run a game, it crashes after just 10 seconds, even in the menu. It happens to every game, and I have no idea why.
The only fix is if I go into Device Manager, find my graphics card, press "Uninstall Device" and then wait a couple of seconds for Nvidia to automatically reinstall their drivers. After this, everything runs smoothly, until I reboot my PC. The cycle repeats.
I always keep the driver up to date through Nvidia Experience, and I have even tried rolling back to a driver when I knew I didn't have to do this fix. Nothing works.
It started sometime after I installed my second graphics card, however even though I have tried removing it again, the problem still persists.
What's most weird is, that literally everything else works before I apply the fix. Flash games, any form of video playback, 4K video editing, modeling, and rendering in Blender, you name it. Video games? Nope. This leads me to suspect some game-dependent drivers are at fault, like DirectX. I don't know how to fix it. I think I have tried reinstalling DirectX and running /sfc scannow in an admin CMD prompt but to no help.
I know it's a mild inconvenience at worst, as it only takes a few seconds to fix, but I would prefer if there was a permanent solution, instead of crudely hacking it.
Does anyone know how to fix this issue? Any help is greatly appreciated.
Below I have attached an error message from the game Death Stranding, as it is the only game i have found to date, which displays a detailed error code. Other games freeze and i have to task manage my way out.
Testing newest windows insider feature "Auto HDR" and gotta say Control and Ghostrunner, games that never had HDR support, are looking absolutely fantastic in this 'fake hdr' implementation. some hdr test footage from control https://youtu.be/z5jpqLDLqmc
I even launched Stalker from 2007 and it worked! Footage recorded in hdr too https://youtu.be/yI9bcFuBjiU
Today we're extremely excited to bring you our new feature in preview - Auto HDR! Instantly upgrade your DirectX11 and DirectX12 games to HDR. Learn more here - https://devblogs.microsoft.com/directx/auto-hdr-preview-for-pc-available-today/
Can an app be made only in directX and c++ for something like xbox without having to use the uwp
Hi,
I would like to know to each position on the screen correspond the integers x and y?
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getpixel says:
The x-coordinate, in logical units, of the pixel to be examined.
The y-coordinate, in logical units, of the pixel to be examined.
I don't know what logical units are. Are these coordinate referring to the center or corner of the physical display? Or do they refer to internal application coordinates?
What if my application is not fullscreen?
Thanks!
Hi,
I am poting an opengl application to directX and cannot find a replacement for glReadPixels, which reads the pixels from the screen and assigns them to a buffer.
Any suggestions?
Thanks!
Hi everyone,
I need to bring my DirectX keyboard and mouse input stuff up to date. I haven't changed the code in 20 years (it's straight of NeHe's legacy tutorials from back in the day). It works OK, but I lose the keyboard on alt-tab.
Could somebody please be so kind as to point me in the direction of up to date references, manuals or tutorials?
Actually forget I asked... I've missed a couple of episodes. DirextInput is dead - long live the message loop.
I am looking forward to copy a texture from a texture pointer to the backbuffer of swapnchain and display in a window. I have tried copy resource and updatesubresource but both do not work. The texture pointer is from another software and both the software and dx11 window share same texture format. Can someone please guide ?