Godot on Linux Stuck in Dark Mode

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Darzall

Just moved over to linux recently, got Godot working a few days ago. However for some reason the screen is just…black. Both in the editor and project manager.

Example A

I tried to see if it was because I was using C# Mono. Same problem on the regular version. Then looked into the editor themes to check if it was just set weird, and I can’t even see the color picker.

Example B

Which distribution do you use?
What GPU do you have?
Have you tried an older version of Godot?

juppi | 2021-07-13 17:37

I should have included system info, yes. Sorry about that.

Linux Mint 20.1, Cinnamon 4.8.6
AMD R9 5900X, AMD 6800, 32GB ram

As for older versions, just tried 3.3 and 3.2. Same issue. I also tried godot on the windows side of my computer earlier today (duel booting, windows just for gaming) and it worked. So I’m leaning toward the hardware not being the issue.

Darzall | 2021-07-14 04:31

Remembered hearing there was a flatpak version of the program out there. It works without the bug, though…the flatpak version besides other problems (based off the comments) also doesn’t work with C#. I recorded a video showing the issue, hopefully it can provide more detail about the situation in it.

https://youtu.be/pJ1n632X8_o

Darzall | 2021-07-15 07:20

Can you run Godot with the -v option and check the output?

$ ./Godot_v3.3.2-stable_mono_x11.64 -v

juppi | 2021-07-15 12:48

Don’t see anything out of the ordinary, then again I don’t know what to look for.

$ ./Godot/Godot_v3.3.2-stable_mono_x11.64 -v
Godot Engine v3.3.2.stable.mono.official - https://godotengine.org
XInput: Refreshing devices.
XInput: No touch devices found.
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
Only one GPU found, using default.
XcursorGetTheme could not get cursor theme
Failed loading custom cursor: size_bdiag
Failed loading custom cursor: size_fdiag
Using GLES3 video driver
OpenGL ES 3.0 Renderer: AMD Radeon RX 6800 (SIENNA_CICHLID, DRM 3.40.0, 5.11.14-xanmod1, LLVM 10.0.1)
OpenGL ES Batching: ON
        OPTIONS
        max_join_item_commands 16
        colored_vertex_format_threshold 0.25
        batch_buffer_size 16384
        light_scissor_area_threshold 1
        item_reordering_lookahead 4
        light_max_join_items 32
        single_rect_fallback False
        debug_flash False
        diagnose_frame False
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: alsa_output.usb-Razer_Razer_Kraken_7.1_V2_00000000-00.analog-stereo
PulseAudio: detected 2 channels
PulseAudio: audio buffer frames: 512 calculated latency: 11ms
JoypadLinux: udev enabled and loaded successfully.
 
Mono: Initializing module...
Mono JIT compiler version 6.12.0 ((no/c621c35)
Mono: Log file is: '/home/darzall/.local/share/godot/mono/mono_logs/2021-07-15_09.18.19_50378.log'
Mono: Runtime initialized
Mono: Loading assembly mscorlib...
Mono: Assembly mscorlib loaded from path: /home/darzall/Godot/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll
Mono: Loading scripts domain...
Mono: Creating domain 'GodotEngine.Domain.Scripts'...
Mono: INITIALIZED
Mono: Loading assembly GodotSharp...
Mono: Assembly GodotSharp loaded from path: /home/darzall/Godot/GodotSharp/Api/Debug/GodotSharp.dll
Mono: Loading assembly GodotSharpEditor...
Mono: Assembly GodotSharpEditor loaded from path: /home/darzall/Godot/GodotSharp/Api/Debug/GodotSharpEditor.dll
Mono: Loading assembly GodotTools...
Mono: Assembly GodotTools loaded from path: /home/darzall/Godot/GodotSharp/Tools/GodotTools.dll
Mono: Loading assembly GodotTools.ProjectEditor...
Mono: Assembly GodotTools.ProjectEditor loaded from path: /home/darzall/Godot/GodotSharp/Tools/GodotTools.ProjectEditor.dll
CORE API HASH: 10335004251744193602
EDITOR API HASH: 11293471903201996062
Loading resource: res://.config/godot/editor_settings-3.tres
EditorSettings: Load OK!
EditorSettings: Save OK!
Loaded builtin certs

Darzall | 2021-07-15 14:21

Can you remove these folders in your home directory please:

.cache/
.local/share/godot/
.config/godot/

Maybe just broken configs .

juppi | 2021-07-15 15:04

Removed all three, no change (tried twice more in case I made a mistake).

Darzall | 2021-07-15 15:28

:bust_in_silhouette: Reply From: Darzall

SUCCESS!

I did a clean install of Cinnamon and my gpu drivers, updated to the latest version of Mint. Just scattershoting trying to figure out the problem. One of them worked! I’m leaning toward the latest version of Mint, that being the last thing I tried.

Either way, thanks Juppi for the help.