Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bazsupport opened this issue May 18, 2024 · 4 comments

Comments

@bazsupport
Copy link

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:

  • Updating Windows
  • Updating the AMD drivers

Steps to reproduce

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

  • Sometimes by clicking into Editor Settings
  • Sometimes by clicking onto a new scene
  • Sometimes by adding a scene
  • You can imagine other ways it could crash

Minimal reproduction project (MRP)

NA

@m4xc4v413r4
Copy link

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
Copy link
Author

bazsupport commented May 27, 2024

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
Copy link
Member

Calinou commented May 27, 2024

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
Copy link
Author

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 tried opening in the gl_compatibility mode in command line and it opened for a few seconds and crashed
  • I updated the AMD drivers from the website instead of through device manager. Godot manager and project close as soon as clicked on it, here is the dump:
    Faulting application name: Godot_v4.2.2-stable_win64.exe, version: 4.2.2.0, time stamp: 0x00000000
    Faulting module name: amdxc64.dll, version: 31.0.21912.14, time stamp: 0x65cf0826
    Exception code: 0xc0000005
    Fault offset: 0x00000000000a331f
    Faulting process id: 0x0x31F8
    Faulting application start time: 0x0x1DAB069BADA33CE
    Faulting application path: C:\Users\402\Desktop\Programs\Godot_v4.2.2-stable_win64.exe\Godot_v4.2.2-stable_win64.exe
    Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\u0402263.inf_amd64_1366da2d694c570c\B400781\amdxc64.dll
    Report Id: 33c03d1f-69a4-46ee-a33a-d6d87e04c6a9
    Faulting package full name:
    Faulting package-relative application ID:

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants