"DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN, 0)" - Fails On Linux Wayland?

Godot Version

v4.7.1.rc2.official [d6096250e] - CachyOS (Arch Based Rolling Release) KDE Plasma x86_64

Question

Hi,

We are preforming final testing and will release probably on Saturday.
We found below issue and don’t know how to solve it:
On Linux KDE Plasma with Wayland, full screen fails to work properly?
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN, 0)

What is displayed is the game window slowly growing bigger to fill the screen?
Our Frames Per Second display is showing 3 FPS?
Not sure how to troubleshoot this issue, any recommendations?

Not sure if this is a Godot issue or an issue somewhere in our GDSccript source code.
Please visit below webpage on Itch Indie game distribution site:
https://teamjezxlee.itch.io/tcgm-a3-rc1
(you will have to enter password: “1234” to gain access)

On the above page is the following:

  • Full game project
  • Web HTML5 version to play without downloading
  • Linux x86_64 version
  • Linux arm64 version

Any help would be appreciated, thank you.

SS

Can you share more of your code? Calling window_set_mode per-frame for example will cause it to function improperly for example.

Hi,

Full screen call is called once.
Does not happen on Web HTML5 version.
Game is in Alpha stage, we won’t upload to GitHub until feature frozen Beta 1.
Let us play with it.

SS