-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Vulkan: Godot crashes on startup with AMD graphics driver on Linux #36126
Comments
I guess I should mention that I compiled with the AUR package godot-git |
Can you please compile with debug symbols so that we can get a readable backtrace? (If you compile with target "debug" instead of "release" all those question marks turn into references to specific lines in the code) Also note: the fact that |
I'm recompiling now and also have installed |
@godofgrunts I don't know. Sorry. You should ask around the Endeavour community channels for questions about drivers. My guess is that you'll have to remove the AMD drivers and use the Mesa drivers instead. |
@clayjohn I think there was a misunderstanding. I know I can install different vulkan drivers, but specifically I was asking if there is a way to tell Godot which driver to initialize. Something like |
@godofgrunts Edit: I was wrong. See comment below. :) |
@godofgrunts You can force specific driver by setting
|
Also, if it's conflicting drivers for the same hardware, you might need to set kernel boot flags or |
Thank you @bruvzg. Just to be safe, I uninstalled I accidentally compiled Godot with This time the I got a grey box with the following messages in the terminal:
|
or in the vkconfig from vulkan SDK FYI on the current master I've got either similar (nothing saying) crashes or the output is flooded with Godot trying endlessly to allocate a ~4GB buffer: EDIT: with the latest mesa driver, target=release_debug use_llvm=yes use_lld=yes no_editor_splash=yes touch project.godot && godot -e -v
or
May be due to old hardware, but the typical vulkan demos like vkcube run flawlessly here… |
btw, a similar thing Windows 10 v1909 (18363.657) x64
|
Looks like only the release and the release_debug targets are broken.
Crash, at least with excuse, after sliding over an value in the Inspector (this is another issue that has probably already been reported) … |
I can confirm I also cant get Vulkan working in release with my AMD on arch/manjaro where on my intel GPU it works. debug builds are fine however. |
I haven't had a ton of free time to go back to this, but I did try to build it on my Intel system as well, and as @supagu mentioned, it works fine there. |
I'm having a similar problem, although I pulled the master branch 4 days ago and it used to work fine.
The output is the following:
|
@Dodoveloper This is unrelated to AMD graphics and Vulkan, it's #36246. |
@akien-mga still have same issue after pull request |
I'm facing the same problem when I compile master in release. GDB traceGNU gdb (GDB) Fedora 8.3.50.20190824-30.fc31 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Temporary breakpoint 1, 0x0000000000978a60 in main () amdgpu: Failed to allocate a buffer: Thread 1 "godot.x11.opt.t" received signal SIGINT, Interrupt. I had to manually stop the debugging because it was lagging a lot so I couldn't reach the crash. I was affecting other programs in my system (weird rendering artifacts) so it may be a driver bug. |
I'm getting a grey screen too. system: voidlinux |
Seems to be working with current master (both debug and release targets) System: Void LInux |
Updated main thread. |
I have the same issue on arch linux, Radeon RX 580, using the vulkan radeon drivers. A few days ago the editor just crashed. Now I get a black window when building target=release_debug |
Building with |
Same error here on Xubuntu 20.04 with a Radeon RX580 using the nightly builds from here. |
This comment has been minimized.
This comment has been minimized.
Okay, I see. Just built Godot master locally with standard options and it kind of works now, will need to examine it further tomorrow.
Thanks!
Am 10.05.2020 7:44 nachm. schrieb Hugo Locurcio <notifications@github.com>:
@Hoimar Note that builds on this page are currently outdated; it'll take a while until are updated again. (The master branch is currently unstable.)
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
This was likely fixed by #43066. Can anyone affected confirm that it no longer crashes in the latest |
I just tried it on an up to date arch installation with a Radeon RX 580. Startup worked and AFAIK everything looks ok. |
Nice! I'll close this as I'm fairly sure most reports here were about that same issue triggered by optimizations (namely #40601). |
I'm having issue when opening godot 4! Godot version: Sytem Specs: Message:
When I tested on windows, worked flawlessly! Also Blender and Godot3.X works fine! Downloaded: |
@nonunknown Make sure Godot is trying to run on the dedicated GPU instead of the Intel IGP. Also, if you just upgraded your graphics driver, you need to reboot for it to be usable again. |
@nonunknown Check if you are using the |
Godot version:
Godot Engine v4.0.dev.custom_build.948d95897
OS/device including version:
Endeavour OS (based on Arch Linux) Radeon RX 580
uname -a
Linux itx-dev 5.5.2-arch2-2 #1 SMP PREEMPT Wed, 05 Feb 2020 22:01:13 +0000 x86_64 GNU/Linux
Issue description:
After compiling master, Godot crashes when starting with the following:
sha256sum
5f4b259ffeea46fbad717a7a7b5cdf2330755d42aa31aba8f0b797b663b01307 /usr/bin/godot
Steps to reproduce:
Compile commit 948d958 and try to open Godot
Minimal reproduction project:
N/A
Summary. I will update this as I go.
Commit 948d958
amdvlk
version 2020.Q1.1-1 on Arch) on my RX 580, Godot immediately crashes when built withrelease_debug
vulkan-radeon
version 19.3.3-1 on Arch) Godot will start to open to a grey screen onrelease_debug
(see Vulkan: Godot crashes on startup with AMD graphics driver on Linux #36126 (comment))vulkan-radeon
version 19.3.3-1 on Arch) on thedebug
build, opens normally, though I didn't have time to try out any demos or projects to test stability beyond that (see Vulkan: Godot crashes on startup with AMD graphics driver on Linux #36126 (comment))Commit 951ecc4
With
release_debug
. Windows begins to pop up, but crashes.Commit 321ce4d
No grey screen on
release_debug
, Godot, just crashes.With
debug
Godot seems to run fine. Ran a very basic project and it seemed to work without any issues.Commit e253451
With debug_release I get a black window.
With
debug
it opens and seems to be working correctly.The text was updated successfully, but these errors were encountered: