godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.88k stars 20.15k forks source link

Laptop Memory Access Violation Crash in Godot v4.2.2-stable with AMD Graphics Driver #92092

Open bazsupport opened 3 months ago

bazsupport commented 3 months ago

Tested versions

4.2.2-stable

System information

OS Version: Windows 11 Pro, Version 23H2, OS build 22631.3593 CPU: AMD Ryzen 5 5500U with Radeon Graphics, 2.10 GHz Installed RAM: 16 GB GPU: AMD Radeon(TM) Graphics GPU Driver Version: 31.0.12044.3

Issue description

When running a project in Godot v4.2.2-stable, the application crashes with a memory access violation error. The crash log indicates an issue with the AMD Vulkan driver (amdvlk64.dll). This issue prevents the project from running and results in an immediate crash.

Crash log: Faulting application name: Godot_v4.2.2-stable_win64.exe, version: 4.2.2.0, time stamp: 0x00000000 Faulting module name: amdvlk64.dll, version: 31.0.12044.3, time stamp: 0x635817e7 Exception code: 0xc0000005 Fault offset: 0x0000000000052f1b Faulting process id: 0x0x1F44 Faulting application start time: 0x0x1DAA9501F86BB79 Faulting application path: C:\Users\402\AppData\Roaming\Godot-Manager\versions\4.2.2-stable\Godot_v4.2.2-stable_win64.exe Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\u0387389.inf_amd64_995be970e30b8c79\B385477\amdvlk64.dll Report Id: cfc401f9-c56b-4c82-93b8-ade5aca3df86 Faulting package full name: Faulting package-relative application ID:

Specs: HP Laptop OS Version: Windows 11 Pro, Version 23H2, OS build 22631.3593 CPU: AMD Ryzen 5 5500U with Radeon Graphics, 2.10 GHz Installed RAM: 16 GB GPU: AMD Radeon(TM) Graphics GPU Driver Version: 31.0.12044.3 Rendering Backend: Vulkan

Godot Console: Godot Engine v4.2.2 OpenGL API 3.3.0 Core Profile Context 22.20.44.221025 - Compatibility - Using Device: ATI Technologies Inc. - AMD Radeos Godot Engine v4.2.2 Vulkan API 1.3.217 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon(TM) Graphics

Sometimes the crash produces this error window: Godot_v4 2 2-stable_win64_Hj2och7n8r

I got lucky once and got the image of the console before it closed: WindowsTerminal_9BjR8yG21n

What I've tried:

Steps to reproduce

Our project is 2D and about 1GB in size. It crashes every time now, just in different ways.

Minimal reproduction project (MRP)

NA

m4xc4v413r4 commented 3 months ago

I'm having what seems to be the same crash, but I even get it with a brand new project that doesn't even have anything in it. For example, I might just be changing settings on the editor, or simply opening a tab and it some times crashes or freezes forever and it also says it's connected to amdvlk64.dll

bazsupport commented 3 months ago

I'm at the point now where I cannot even open the project, it just instantly closes after clicking into the project. Sucks because I cannot dev on either of my laptops (my other laptop has a horrible 2sec interval 2sec duration stutter during playtest) so I'm limited to PC work, which cuts a ton of dev time.

If anyone needs more info, I will gladly help anyway I can

Here is the latest crash from the console: IMG_2388

Calinou commented 3 months ago

You should be able to open the project again by using the --rendering-method gl_compatibility command line argument.

Regarding the crash itself, where did you install the AMD graphics drivers? You should always grab them from AMD's website, as opposed to your laptop's OEM or Windows Update.

bazsupport commented 3 months ago

You should be able to open the project again by using the --rendering-method gl_compatibility command line argument.

Regarding the crash itself, where did you install the AMD graphics drivers? You should always grab them from AMD's website, as opposed to your laptop's OEM or Windows Update.

Thanks for the suggestions.

I discovered just now I can open godot in compatibility mode for windows 8 and I can make my way through things. But man it is slow lol. Hmm...

BorisHrzenjak commented 3 weeks ago

It just happened to me also, I opened it, made a project and started playing with it then I went on following a tutorial, tried creating another project and now I can't start any project, Godot just crashes. Seams to be some kind of memory problem...

Faulting application name: Godot_v4.3-stable_win64.exe, version: 4.3.0.0, time stamp: 0x66bd392d Faulting module name: Godot_v4.3-stable_win64.exe, version: 4.3.0.0, time stamp: 0x66bd392d Exception code: 0xc0000005 Fault offset: 0x00000000057fddf9 Faulting process id: 0x1860 Faulting application start time: 0x01daf0a803b48b04 Faulting application path: C:\Users\BorisH\Documents\Games\Godot_v4.3-stable_win64.exe Faulting module path: C:\Users\BorisH\Documents\Games\Godot_v4.3-stable_win64.exe Report Id: 4b0d1ca0-fa55-4946-8940-16b3224bdbee Faulting package full name: Faulting package-relative application ID: