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

Vulkan swap_chain_resize error on Linux in dev branch #98811

Closed
scgm0 opened this issue Nov 4, 2024 · 11 comments
Closed

Vulkan swap_chain_resize error on Linux in dev branch #98811

scgm0 opened this issue Nov 4, 2024 · 11 comments

Comments

@scgm0
Copy link
Contributor

scgm0 commented Nov 4, 2024

Tested versions

v4.4.dev.mono.gh-97745 [8936057]

System information

Godot v4.4.dev.mono (8936057) - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Sat, 02 Nov 2024 20:51:49 +0000 on Wayland - Wayland display driver, Single-window, 1 monitor - OpenGL 3 (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CFL GT2) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 threads)

Issue description

图片

ERROR: Condition "err != VK_SUCCESS" is true. Returning: ERR_CANT_CREATE
   at: swap_chain_resize (drivers/vulkan/rendering_device_driver_vulkan.cpp:3003)

Steps to reproduce

Try editing a project rendered using vulkan.

Minimal reproduction project (MRP)

N/A

@Delsin-Yu
Copy link
Contributor

You are using a version that belongs to your PR; maybe try to reproduce the issue in the main branch?

@scgm0
Copy link
Contributor Author

scgm0 commented Nov 4, 2024

You are using a version that belongs to your PR; maybe try to reproduce the issue in the main branch?

I am sure that this error has nothing to do with the content of my pr, It is a low-level error , The embedded window modified by my pr is higher level, but I will test the main branch later.

@scgm0
Copy link
Contributor Author

scgm0 commented Nov 4, 2024

You are using a version that belongs to your PR; maybe try to reproduce the issue in the main branch?

v4.4.dev.custom_build [1bffd6c]
图片
This problem also reproduced in the main branch.

@Calinou
Copy link
Member

Calinou commented Nov 4, 2024

Can you reproduce this in 4.3.stable?

If you've updated your graphics drivers recently, make sure to reboot. Also try forcing Godot to run on integrated graphics using --gpu-index 1 on the command line.

@scgm0
Copy link
Contributor Author

scgm0 commented Nov 4, 2024

Can you reproduce this in 4.3.stable?

If you've updated your graphics drivers recently, make sure to reboot. Also try forcing Godot to run on integrated graphics using --gpu-index 1 on the command line.

4.3.stable does not have this problem.
图片

@akien-mga akien-mga changed the title Vulkan is damaged under Linux Vulkan swap_chain_resize error on Linux in dev branch Nov 4, 2024
@akien-mga
Copy link
Member

Could you also try 4.4.dev3 to pinpoint if it's a recent regression, or one introduced already in earlier snapshots?

@akien-mga akien-mga added this to the 4.4 milestone Nov 4, 2024
@scgm0
Copy link
Contributor Author

scgm0 commented Nov 4, 2024

Could you also try 4.4.dev3 to pinpoint if it's a recent regression, or one introduced already in earlier snapshots?

I have an editor built on October 22nd and it doesn't have this issue either

@DarioSamo
Copy link
Contributor

Any luck with this PR?

@DarioSamo
Copy link
Contributor

Can you also do regression testing with aaa0e2f in particular?

@scgm0
Copy link
Contributor Author

scgm0 commented Nov 4, 2024

Any luck with this PR?

Used the #98780 build on github and no swap_chain_resize errors occurred.

@akien-mga
Copy link
Member

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

6 participants