godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.15k stars 19.96k forks source link

The Godot logo is not centered in the splash screen when opening the editor #73874

Open hakro opened 1 year ago

hakro commented 1 year ago

Godot version

4.0

System information

PopOs 22.04, any renderer

Issue description

The logo is Offset when opening the editor:

2023-02-24_14-31

I'm using PopOS 22.04 (Ubuntu based) NVIDIA Driver Version: 525.85.05 My Gnome 42 Display settings :

2023-02-24_15-39

Cheers

Steps to reproduce

Open the editor. That's it.

Minimal reproduction project

No project. Just open the editor.

clayjohn commented 1 year ago

I've noticed this on PopOS 22.04 as well, but not on other OSes (tested on Windows and macOS). Also for me it only happens when using the gl_compatibility renderer

Zireael07 commented 1 year ago

Saw the same on Manjaro Linux, KDE

hakro commented 1 year ago

Actually, in Forward+ and Mobile, the boot splash does not show up at all on my side. It just shows what's in the background in a broken way, until Godot finishes loading up.

2023-05-18_22-39

And in the compatibility renderer, it seems that the problem comes from https://github.com/godotengine/godot/blob/5bb7d585a5e151f3fa387de7dd97d7aebc5abfd5/drivers/gles3/rasterizer_gles3.cpp#L384

win_size does not seem to have the correct window size.

Seems related to some work / revert done here : https://github.com/godotengine/godot/commit/cba2fd2e8080dc999c0473ca09ba23d30fe8cf42

akien-mga commented 1 year ago

See #71748 which aims at solving this, but isn't fully satisfactory yet. (Feel free to poke at it if interested :))

benjamin051000 commented 7 months ago

Same here on Godot v4.2.1.stable (b09f793f5) - openSUSE Tumbleweed 20240114 - Wayland - GLES3 (Compatibility) - AMD Radeon RX 6700 XT (navi22, LLVM 17.0.6, DRM 3.54, 6.6.11-1-default) () - Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 Threads)

MartinHaeusler commented 5 months ago

Same here, Godot 4.2 stable, Ubuntu, 125% UI scaling. It's super minor of course but it bugs me every time XD