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

Switching between tabs in the editor causes flickering between tab contents #94967

Open
wwaltb opened this issue Jul 31, 2024 · 3 comments
Open

Comments

@wwaltb
Copy link

wwaltb commented Jul 31, 2024

Tested versions

  • Reproducible in 4.3.rc1, 4.2.2.stable and 4.1.4.stable. Have not tested any earlier versions yet.

System information

Godot v4.3.rc1 - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:27 +0000 - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce GT 730M (nvidia; 470.256.02) - Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz (4 Threads)

Issue description

When I switch between tabs, like the Scene and Import tabs, or the different scenes in the editor, then the view for the content that the tab represents starts flickering back and forth between the previous tab and new one. It also sometimes causes other elements of the UI to flicker as well. When I move my cursor off of the tabs then the flickering subsides.

IMG_2972.mp4
IMG_2970.mp4

Steps to reproduce

The bug is visible in new projects.

Minimal reproduction project (MRP)

N/A

@Calinou
Copy link
Member

Calinou commented Jul 31, 2024

Vulkan (Forward+) - dedicated NVIDIA GeForce GT 730M

I suggest using the Compatibility rendering method, as Vulkan on Kepler GPUs tends to be pretty broken. In fact, I'm surprised it even works on your end since NVIDIA has never implemented support for Vulkan on mobile Kepler GPUs (only desktop).

Also, try reproducing this with Update Continuously enabled in the Editor Settings.

@wwaltb
Copy link
Author

wwaltb commented Aug 9, 2024

Okay thanks for the suggestions. I was unable to reproduce with Update Continuously checked and when using Compatibility rendering. Would you recommend I switch to Compatibility rendering for my projects or continue using Forward+ with Update Continuously on? Also, should one of these options be selected by default or suggested to users when a mobile Kepler GPU is detected?

@Calinou
Copy link
Member

Calinou commented Aug 10, 2024

Would you recommend I switch to Compatibility rendering for my projects or continue using Forward+ with Update Continuously on?

Update Continuously greatly increases CPU/GPU utilization in the editor, so it's a bad idea to use on a laptop as it'll get hot quickly and reduce battery life.

I suggest sticking to the Compatibility rendering method, especially since mobile Kepler GPUs are too slow by 2024 standards to really benefit from Forward+/Mobile features.

Also, should one of these options be selected by default or suggested to users when a mobile Kepler GPU is detected?

Detecting such GPUs is feasible, but I would probably do two things to ensure they fall back to Compatibility correctly:

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

3 participants