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

Caret/cursor and minimap colors go black after a while (and after suspend-to-RAM) #55389

Closed
hellp opened this issue Nov 27, 2021 · 6 comments
Closed

Comments

@hellp
Copy link

hellp commented Nov 27, 2021

Godot version

3.4.stable.arch_linux

System information

NVIDIA RTX 2070 SUPER (driver 495.44), GLES2 and 3

Issue description

After using Godot for a while, and usually after moving away from it and coming back (no screen saver involved, though), but consistently after returning from a suspend-to-RAM situation, my text cursor (caret) as well as the colors on the minimap turn black, making it very hard to continue working. After a restart of Godot the issue goes away.

DnXBMBA

  • Desktop environment is X.org 1.21.1.1 and Gnome 41.1 (but issue appeared in earlier versions)
  • I've used Godot only since 3.3 and under various (recent) kernels and graphics drivers and had the issue ever since.
  • Happens both with GLES2 or GLES3
  • Other application on my system do not have similar issues.
  • A simple restart of GNOME (Alt-F2 "r", which sometimes fixes minor UI quirks) does not help.

Steps to reproduce

  • Use Godot for a while (30min+?)
  • Move away/tab away from Godot
  • Suspend-to-RAM (most reliable way to reproduce)
  • Cursor/minimap are suddenly black

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Nov 27, 2021

Can you reproduce this after disabling batching in the Project Settings (uncheck Use Batching and Use Batching In Edtior)?

If this still occurs with batching disabled, could you try reproducing this with old Godot versions such as 3.1.2? The first version to feature 2D batching was 3.2.2 (GLES2 only), and it was extended to GLES3 in 3.3.

@hellp
Copy link
Author

hellp commented Nov 27, 2021

Update: Disabling Batching (both settings disabled) on 3.4 does not fix it. I'll try the old version next.

@hellp
Copy link
Author

hellp commented Nov 27, 2021

Update: issue is present in 3.1.2 already (after suspend). There is no minimap yet in that version, but the cursor is black as described.

@permelin
Copy link
Contributor

I have the same issue on 3.4.4 stable. I'm using an Nvidia RTX 2080 on Debian Bookworm.

I've found that the cursor does not turn black in the code editor if I enable block caret in the settings. It's not what I prefer but it's better than having to restart the editor ten times per day just to be able to see the cursor.

@DeeJayLSP
Copy link
Contributor

DeeJayLSP commented Sep 15, 2022

I would like to report this happens on my work PC, which uses a GTX 1660 Super.

However it doesn't happen on my home PC, which uses a RX 460.

Both use Ubuntu 22.04 and KDE Plasma. May it be a NVIDIA driver issue?

@DeeJayLSP
Copy link
Contributor

The issue doesn't seem to happen after applying the workaround mentioned here

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

5 participants