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

Godot 4.2 loads to black screen on Arch, Wayland (xWayland), and NVidia GPU, but works with --single-window #86061

Open
mmmmmmmmmmmmmmmmmmmdonuts opened this issue Dec 12, 2023 · 7 comments

Comments

@mmmmmmmmmmmmmmmmmmmdonuts

Tested versions

Godot 4.2 Release

System information

Arch Linux

Issue description

  • This is occurring on Arch Linux (latest update), KDE Plasma 5.27 (latest), Wayland Session, nvidia proprietary driver
  • if you run it strictly as an executable, an xWayland window opens and the contents are black. The X in the right corner won't work either
  • If you run godot with the --single-window parameter, godot project manager opens as expected

godot-black-screen
godot-working

Steps to reproduce

execute godot4.2 as above

Minimal reproduction project (MRP)

Simply download the editor and execute

@Cate95
Copy link

Cate95 commented Dec 13, 2023

can confirm. have the exact same issue.

@Calinou
Copy link
Member

Calinou commented Dec 13, 2023

Can you reproduce this on 4.1.3?

That said, NVIDIA + Wayland is a notoriously buggy combination, even with recent drivers. Consider using a X11 session instead.

@Cate95
Copy link

Cate95 commented Dec 13, 2023

https://wiki.archlinux.org/title/Godot_Engine#UI_freezes_in_Wayland

See under 2.1

This issue has been resolved in Godot 4.1.1. [2] This issue seems to have recurred in Godot 4.2 [3]

Just downloaded Godot 4.1.3 and 4.1.1 and for me on both versions the similar issues persist. Also on single window mode on all the versions (including the newest 4.2.1) the editor window flickers very often when using it and at the same time is unresponsive. Unresponsive means that when I click on something I have to first "artificially" use the scroll wheel that the editor window refreshes and shows what I just clicked.

With X11 all versions work just fine. This is a bug in wayland/xwayland

@mmmmmmmmmmmmmmmmmmmdonuts
Copy link
Author

Can you reproduce this on 4.1.3?
That said, NVIDIA + Wayland is a notoriously buggy combination, even with recent drivers. Consider using a X11 session instead.

Well, before I tried rebooting etc etc and it kept happening, but now I cannot reproduce it even on 4.2 ¯_(ツ)_/¯ . I did do a pacman -Syu to install a few things so it's possible something in addition was updated and fixed it.

@AsessionGuy
Copy link

AsessionGuy commented Jan 25, 2024

Still happens to me with:
OS: Arch Linux x86_64
Kernel: 6.7.1-lqx1-1-lqx
DE: GNOME 45.3 Wayland
GPU: NVIDIA GeForce RTX 2060 SUPER
Driver Version: 545.29.06

Using --single-window fixes the problem but the editor keeps showing black frames and some tooltips also are shown black

@kmare
Copy link

kmare commented Mar 17, 2024

I still have a problem on NVidia with Wayland. I found a fix that works "fine" and it's by enabling the option "Update continuously" (from the top right spinner). I have tried with 4.2 and all the dev version on 4.3.
OS: Fedora 39
Kernel: 6.7.9
DE: Gnome 45.3 Wayland
GPU: NVIDIA GeForce GTX 960
Driver version: 550.54.14

@kmare
Copy link

kmare commented May 30, 2024

Update:
I upgraded to Fedora 40 which enabled explicit sync. That seems to finally have fixed overall the issue running Godot on Wayland with an NVIDIA graphics card, even by having the spinner updating only with "change".
In order to enjoy explicit sync, various components on the desktop need to be updated, nvidia drivers to v555, mesa 24.1, XWayland 24.1, GNOME 46.1 etc.

OS: Fedora 40
Kernel: 6.8.10
DE: Gnome 46.1 Wayland
GPU: NVIDIA GeForce GTX 960
Driver version: 555.42.02

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