GZDoom won't open, C0000005 (Access Violation)

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
djsuri2
Posts: 2
Joined: Tue Jun 11, 2024 7:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

GZDoom won't open, C0000005 (Access Violation)

Post 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
User avatar
Redneckerz
Spotlight Team
Posts: 1084
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: GZDoom won't open, C0000005 (Access Violation)

Post 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.
dpJudas
 
 
Posts: 3109
Joined: Sat May 28, 2016 1:01 pm

Re: GZDoom won't open, C0000005 (Access Violation)

Post 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.
dpJudas
 
 
Posts: 3109
Joined: Sat May 28, 2016 1:01 pm

Re: GZDoom won't open, C0000005 (Access Violation)

Post 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.
djsuri2
Posts: 2
Joined: Tue Jun 11, 2024 7:39 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Re: GZDoom won't open, C0000005 (Access Violation)

Post by djsuri2 »

Thanks you.

I had to go through and update my driver manually and it worked.
User avatar
Redneckerz
Spotlight Team
Posts: 1084
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: GZDoom won't open, C0000005 (Access Violation)

Post 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. 8-)
dpJudas
 
 
Posts: 3109
Joined: Sat May 28, 2016 1:01 pm

Re: GZDoom won't open, C0000005 (Access Violation)

Post 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. :)

Return to “Technical Issues”