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

UI Flashing #2443

Open
Obtuse-Rubber-Goose opened this issue Aug 13, 2024 · 6 comments
Open

UI Flashing #2443

Obtuse-Rubber-Goose opened this issue Aug 13, 2024 · 6 comments

Comments

@Obtuse-Rubber-Goose
Copy link

What are you trying to do, and what do you expect to happen?

I was trying to use the application, expected to be able to use it. Would likely be dead if I had a photosensitivity issue.

Reproduction:

  • Open the application
  • Create a model project (Project properties, such as name and file, can be skipped -- Hit esc)
  • Click File > Preferences > Settings (Or File > Project..., as I'm now learning in this moment)
  • The entire UI aside from the 3D viewport will start flickering rapidly at this point.
  • Switching focus to another application (alt+tab or just switch windows) will stop the flickering, but only until you return to blockbench.

Note; The order of the steps is important to reproduction.
Note; This issue effects both the standalone (portable) application and the fully installed version of the application.

What happens instead?

The UI for the main application, everything surrounding the viewport, begins wigging out and doesn't stop until you close and re-open the application.
If you open menus at the top of the window, you'll find that the issue involves them as well.

Model format in which the issue occurs

Any.

Blockbench variant

Program

Blockbench version

4.10.4

Operating System

Windows 11

Installed Blockbench plugins

None? Fresh installation, so it's whatever plugins might come with it.

@Obtuse-Rubber-Goose
Copy link
Author

Post-Authoring, I decided to try an older version, went with 4.9.4, this issue doesn't exist there.

@Cubouse
Copy link

Cubouse commented Aug 13, 2024

This flashing issue happens to me when I have the Blockbench window focused, in fullscreen mode on a monitor without a taskbar, with no particular tab open (W10, 4.10.4)

@JannisX11
Copy link
Owner

I was not able to reproduce the issue.
This sounds like it could be a problem with a faulty graphics driver. Which graphics hardware and driver version are you using? Did you check if there is an update available for it?

@Obtuse-Rubber-Goose
Copy link
Author

Obtuse-Rubber-Goose commented Aug 20, 2024

Video Card: Still relatively new; Zotac NVidia GeForce RTX 4060.
Graphics Drivers: Game-ready GeForce 560.81 (Latest Version).

Attempted reinstalling the drivers, per your diagnosis, nothing changed. Additionally disabled auto-hide on my taskbar due to Cubouse's comment, and that didn't help either.
Upon changing my resolution from 1920x1080@60Hz to 2560x1440@60Hz, the issue desisted. Changing the resolution back (Since 1920x1080 is the native resolution of my monitor) resulted in the issue becoming worse than before.

As previously noted; the issue occurs in 4.10.4 but not in 4.9.4 - so I find myself having a hard time choking on your statement that it seemed like a driver issue.

@Cubouse
Copy link

Cubouse commented Aug 20, 2024

Graphics card: Nvidia GeForce GTX 1060 3Gb
Driver version: 560.81 (latest)

I'm wondering if having 2 monitors refreshing at different rates could cause the issue?
I have one monitor able to refresh at 100Hz, 120Hz or 144Hz; and a second monitor only at 75Hz. The issue happens with any configuration.
The resolution for both of them is 1920x1080.

Auto-hiding the taskbar does not change anything by the way, Windows considers it to be there on the monitor even when it hides.

@Obtuse-Rubber-Goose
Copy link
Author

Obtuse-Rubber-Goose commented Aug 22, 2024

The resolution for both of them is 1920x1080.

Incase you don't have it enabled, the NVidia Control panel supports DSR (Dynamic Super Resolution); This allows you to use resolutions bigger than that which your monitor supports, then scales the image down to the resolution of the monitor. This introduces some aliasing concerns around lines and text, but has resolved the flickering for me.

If you want to test this; you can find it in the NVidia Control Panel under "Manage 3D Settings", an option labeled "DSR Factor"; I'm using 1.78x which allows me a resolution of 2560x1440.

In verifying my above information, I've found a couple discrepancies between information provided by windows and information provided by the control panel (including refresh rates - which NVidia reports at 144hz while windows reports 60hz) so I'll be posting an edit after further checks are completed.

Edit:
After further testing, I've found that G-Sync (and possibly AMD's equivalent?) is responsible for the aforementioned issues on my part. It would appear that G-Sync and this program don't agree with one another - once G-Sync was disabled, performance was as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants