-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Godot 4 build with doubles crashes Mesa RADV Radeon drivers on launch (works with AMDVLK, fixed in Mesa 22.3) #58333
Comments
Not sure if it affects the crash but regarding the I was hitting that also on arch and happened after a After the downgrade it disappeared from the warning in Godot 4. Could reproduce it without running godot though - just by running If that affects the crash then the issue is probably not godot related, but again, it may be unrelated to the crash. |
It is a warning in the driver loader. It will go away when mesa catches up.
It (should be) is unrelated to the crash
…On Thu, Feb 24, 2022, 2:40 PM Nikolaos Katomeris ***@***.***> wrote:
Not sure if it affects the crash but regarding the
loader_scanned_icd_add: Driver /usr/lib/libvulkan_radeon.so supports
Vulkan 1.2, but only supports loader interface version 4. Interface version
5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7
part.
I was hitting that also on arch and happened after a vulkan-icd-loader
update. To fix I had to downgrade to version 1.2.199-2 from the pacman's
caches.
After the downgrade it disappeared from the warning in Godot 4. Could
reproduce it without running godot though - just by running vulkaninfo.
If that affects the crash then the issue is probably not godot related,
but again, it may be unrelated to the crash.
—
Reply to this email directly, view it on GitHub
<#58333 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA5V52CSTTZ66G4GZ7VJZ3U42XVJANCNFSM5O3VUC4Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I switched to amdvlk and it runs using that |
I am also experiencing this issue. |
Which Godot version (exact commit) are you using? |
Custom build of #767f8fb |
I tried to switch to amdvlk. It's working now. |
I've tested Godot build with double on two other different machines. Ubuntu 22.04 - ryzen 5 5600x - Radeon RX 6500 |
Please report this to Mesa developers, as this is a third-party driver issue. |
I have a feeling this is caused by us using real_t with shader structs. While working on particles I noticed a few Uniform Buffers had been changed from floats to real_t, which would cause alignment issues on doubles builds. Stuff like this:
Of course, without an MRP I can't say whether this contributes to the crash or not, it is just a hunch I have |
Is this the same issue as #67575? If so check the linked Mesa bug report and feedback from upstream devs. |
I've tried use driver from Oibaf repository: |
According to https://gitlab.freedesktop.org/mesa/mesa/-/issues/7528#note_1619087, Mesa 22.3 should fix this by supporting 64-bit vertex buffer formats in RADV. It's now released in stable form, so (half-)rolling release distributions should have it by now. Unfortunately, Mesa 22.3 may not be backported to all LTS Linux distributions. Ubuntu generally backports Mesa updates as part of its hardware enablement stack, but in other distributions, you'll have to use third-party repositories to get up-to-date graphics drivers. This could affect Debian stable and CentOS desktops in particular. |
Closing as fixed in Mesa 22.3 then, as there's not much we can do on our side to work around the issue in older driver versions. |
Could not be done a check to inform the user that a more up to date driver is need? Just crashing could be confusing. |
Godot version
4.0.dev (499eec1)
System information
Arch linux with amd 5700 xt
Issue description
Crashes with the following backtrace
With a debug build
If more info is needed, please tell me how. I'll need some hand holding.
Steps to reproduce
Build script: scons -j12 warnings=all werror=yes platform=linuxbsd tools=yes tests=no production=yes float=64 target=release_debug
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: