Page 1 of 1
GZDoom won't open, C0000005 (Access Violation)
Posted: Tue Jun 11, 2024 7:52 am
by djsuri2
I've been attempting to run the application but it won't seem to work.
It states that the game is using intel integrated graphics, I have two options for hardware being the integrated option and my nvidia geforce gtx 1050.
It seems to default to integrated, I've tried changing it to see if it will make a difference.
First through editing the .ini file (I don't see one anywhere though, I checked my documents/my games/GZDoom but it is not there).
I then tried changing the option using nvidia control panel. That didn't work.
I have tried adding an exclusion with my antivirus but that hasn't changed anything anyway.
My install of GZDoom is on my D: drive as it has more storage, than the default C: drive in my laptop.
I've tried other solutions including updating drivers, and uninstalling overwolf.
I have attached a link to the crash report from GZDoom. Any help is appreciated.
https://drive.google.com/file/d/1bp80Ty ... sp=sharing
Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Tue Jun 11, 2024 3:55 pm
by Redneckerz
Seems the game defaults to Intel IGP and not your GPU. Check Nvidia Optimus.
I have to say the amount of users reporting this seems to be numerous enough that i would suggest checking out if there is some disrepcancy as to why GZ can't autodect the Nvidia GPU.
Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Tue Jun 11, 2024 5:33 pm
by dpJudas
According to the log it picked an integrated GPU (Intel). The vulkan backend will always prefer a discrete GPU over integrated, so what this indicates is that there was no nvidia vulkan device found on the system. I suggest you try reinstall the Nvidia driver - make sure you check the "Clean install" checkbox in the installer.
@Redneckerz: I'm afraid it isn't so simple. First of all, we don't have access to the hardware so we can only really guess here. Secondly, display drivers fail on their own in so many ways that it is impossible to tell even if its our fault or not. All I can say is that on my own Intel+Nvidia laptop (Dell XPS 15) everything works perfectly fine.
Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Tue Jun 11, 2024 5:45 pm
by dpJudas
A few more things you can try:
Launch gzdoom with the "vk_device 1" cvar. If there really is a second vulkan device this will make it try pick the other one. If this solves your problem please let us know.
You can also try launch it with one of the OpenGL backends.
Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Wed Jun 12, 2024 12:16 am
by djsuri2
Thanks you.
I had to go through and update my driver manually and it worked.
Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Thu Jun 13, 2024 4:14 am
by Redneckerz
dpJudas wrote: ↑Tue Jun 11, 2024 5:33 pm
@Redneckerz: I'm afraid it isn't so simple. First of all, we don't have access to the hardware so we can only really guess here. Secondly, display drivers fail on their own in so many ways that it is impossible to tell even if its our fault or not. All I can say is that on my own Intel+Nvidia laptop (Dell XPS 15) everything works perfectly fine.
I know, i know. I remember a Discord post of you saying how finnicky it is to detect whether it is Optimus and/or whether it is redirecting to Intel (Or maybe someone else said that, can't remember). Its one of those issues that keeps arising because its not easy to pinpoint what it is.
Hopefully one day a catch-all can be found that covers all these headcases. Till then, we will keep pushing.

Re: GZDoom won't open, C0000005 (Access Violation)
Posted: Thu Jun 13, 2024 7:14 am
by dpJudas
In this case it turned out to be a broken display driver install, which nicely illustrates the problem. Hard to know when its our fault, when its the driver, when it is Windows and when its failing hardware.
