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

compatibility vulkan error #674

Open
gnuchanos opened this issue Oct 11, 2024 · 12 comments
Open

compatibility vulkan error #674

gnuchanos opened this issue Oct 11, 2024 · 12 comments

Comments

@gnuchanos
Copy link

Tested versions

Redot Engine v4.4.dev.custom_build.4f67c65d2 (2024-10-11 03:36:55 UTC)

System information

arch linux - v4.4.dev.custom - compatibility

Issue description

ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
at: _initialize_devices (drivers/vulkan/rendering_context_driver_vulkan.cpp:831)
ERROR: Condition "err != OK" is true. Returning: err
at: initialize (drivers/vulkan/rendering_context_driver_vulkan.cpp:936)

Steps to reproduce

i just open engine

Minimal reproduction project (MRP)

new-game-project.zip

@MisterPuma80
Copy link
Contributor

I have this issue on Linux too. It is because they forked from a random commit in Godot master that is broken. They need to pull from Godot master again or rebase on a stable branch like 4.3

@SkogiB
Copy link
Contributor

SkogiB commented Oct 11, 2024

I have this issue on Linux too. It is because they forked from a random commit in Godot master that is broken. They need to pull from Godot master again or rebase on a stable branch like 4.3

GODOOOOOOT shakes fist at sky

@SkogiB
Copy link
Contributor

SkogiB commented Oct 11, 2024

I have this issue on Linux too. It is because they forked from a random commit in Godot master that is broken. They need to pull from Godot master again or rebase on a stable branch like 4.3

Do you know which file or commit it is? We'd rather just fix it if we can.

@Spartan322 Spartan322 added the bug label Oct 11, 2024
@JohnnyThunder2
Copy link

JohnnyThunder2 commented Oct 12, 2024

Only pull request I recall that touched any part of the Vulkan API was this one... Can't really say if it's related or not, I'm inclined to dig deeper and see if I'm missing something... but might be worth trying to revert this change and see what happens: godotengine/godot@b52811b

godotengine/godot@a2c29bd

@SkogiB
Copy link
Contributor

SkogiB commented Oct 13, 2024

Only pull request I recall that touched any part of the Vulkan API was this one... Can't really say if it's related or not, I'm inclined to dig deeper and see if I'm missing something... but might be worth trying to revert this change and see what happens: godotengine@b52811b

godotengine@a2c29bd

We'll get a look at this soon yeah.

@Spartan322
Copy link
Member

Godot's current master branch has been merged to our master, so I believe this should be closed but I'd like that confirmed.

@MisterPuma80
Copy link
Contributor

Just tried master. Looks like it is still broken here and Godot upstream master branch on Ubuntu Linux 24.04.1 X86_64:

WARNING: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message                                                                                                                 
	terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 93825210853776
     at: _debug_messenger_callback (drivers/vulkan/rendering_context_driver_vulkan.cpp:641)

Tested with this repo:

git clone https://github.com/godotengine/godot-demo-projects

Run this project (or any signifigant 3d project) and it just hangs or crashes:

godot-demo-projects/3d/truck_town/

@Spartan322
Copy link
Member

So does this have a corresponding Godot issue?

@mattepm
Copy link

mattepm commented Oct 25, 2024

Try out the just released 4.3 beta version. I opened a similar issue here, and with that version it seems solved: Redot UI freezes completely

@SkogiB
Copy link
Contributor

SkogiB commented Oct 31, 2024

Try out the just released 4.3 beta version. I opened a similar issue here, and with that version it seems solved: Redot UI freezes completely

Thanks for the leg work. I'm guessing this one is caused by upstream changes breaking things on 4.4dev. If our 4.3 betas are looking good, then we'll be good to go and we just need to let Godot do their thing upstream for 4.4 so we can then pull it down to our 4.4

@Spartan322
Copy link
Member

Spartan322 commented Oct 31, 2024

Pretty sure that one isn't, 4.4 alpha 1 just lacks any production optimizations because we never released a production build for it.

@SkogiB
Copy link
Contributor

SkogiB commented Oct 31, 2024

Pretty sure it isn't, 4.4 alpha 1 just lacks any production optimizations because we never released a production build for it.

Ahhh gotcha

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

No branches or pull requests

6 participants