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

Screen flicker when Terminal is opened on top of Skype window #4528

Open
13xforever opened this issue Feb 11, 2020 · 12 comments
Open

Screen flicker when Terminal is opened on top of Skype window #4528

13xforever opened this issue Feb 11, 2020 · 12 comments
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Milestone

Comments

@13xforever
Copy link

13xforever commented Feb 11, 2020

Environment

Windows build number: 10.0.18363 (Windows 10 1909)
Windows Terminal version (if applicable): 0.8.10261.0 (latest Windows Store release)
Built-in Skype app: 14.56.102.0
GPU: Intel HD 530 (desktop skylake) using drivers 100.7463-100.7755, running dual-monitor setup at 1080p each

Steps to reproduce

Open Skype and maximize the window, open Windows Terminal with any profile that is using acrylic effect (I have it set at 0.75 for cmd, for example), observe flicker on repaint.

Not sure if relevant, but I have animated emojis visible in the skype window.

You can also have other legacy windows between skype and terminal (placing some modern app in-between can stop this issue)

Expected behavior

Repaint is unnoticeable

Actual behavior

Screen flickers

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 11, 2020
@DHowett-MSFT
Copy link
Contributor

Really! If you place Calculator on top of Skype (calculator has a lot of acrylic) without Terminal, does it also flicker?

@DHowett-MSFT DHowett-MSFT added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 13, 2020
@13xforever
Copy link
Author

13xforever commented Feb 13, 2020

Calculator seems to be unaffected, and I haven't noticed any flicker in other apps before for that matter.

Not sure if this would be helpful, but here's a bad video that demonstrates the issue.

Also from tests on other hardware, it seems to be Intel-specific, I couldn't reproduce this on a dedicated nVidia GPU.

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Feb 13, 2020
@DHowett-MSFT
Copy link
Contributor

Well yep, that's rather bad. Thanks for the report!

@DHowett-MSFT DHowett-MSFT added Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. and removed Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Feb 14, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Feb 14, 2020
@DHowett-MSFT DHowett-MSFT added this to the Terminal v1.x milestone Feb 14, 2020
@DHowett-MSFT
Copy link
Contributor

I'm concerned this might be related to the use of acrylic in xaml islands. Maybe #778 will make this less bad as we'll be redrawing the entire screen less?

@Priddlesaur
Copy link

I'm experiencing a very similar issue which I believe is related to this one.

When I have the Terminal open and overlap it on top of Windows Media Player, it will flicker just like this, but only when the media player controls fade in and out.

I'm running a dedicated Nvidia GPU and an AMD CPU without integrated graphics.

@13xforever
Copy link
Author

13xforever commented Feb 14, 2020

I was unable to reproduce this on an Intel UHD Graphics 620 (mobile kaby lake-r) with the same drivers (100.7262-100.7755) on Windows 10 2004 (10.0.19041) with a 4K screen.

@vslynko
Copy link

vslynko commented Mar 5, 2020

I observe the same problem:

  • Screen flickering is always happening when terminal is in focus
  • No matter whether acrylic effect is enabled or not
  • GeForce GTX 1080 with driver 442.50 (but also previous version)
  • On light backgrounds the flickering is hard to notice, but still possible. On dark backgrounds it's very annoying
  • No matter what other apps are on the screen - VS2019, Netflix, vscode etc, flickering happens only when terminal is in focus.
  • Windows 10 64bit latest updates as of time of writing
  • Also non of apps need to be full screen, but flickering is visible on the top screen border.

But thanks for doing a great job.

@davefp
Copy link

davefp commented Mar 11, 2020

@vslynko this is the exact problem I'm having. Glad it's not just me!

@davefp
Copy link

davefp commented Mar 11, 2020

@vslynko I had success turning off G-Sync for Terminal as described in #649, perhaps that will be useful for you too.

@vslynko
Copy link

vslynko commented Mar 15, 2020

Yes, turning G-Sync off helps. Some issue and some solution also present for Plex.

@vadviktor
Copy link

vadviktor commented Jan 26, 2021

Why turning off G-Sync is a solution? I don't want to go in every time I want to play or want to code into Nvidia's panel to flip switches.

Update: Sorry, I just had to get to this other issue where someone explained a viable solution that may fit most people who play games.

#649 (comment)

I want to add that you will have to set it to full-screen apps only, then turn off G-Sync and back again to pick up the correct settings. It did not work for my monitor to change on the fly while G-Sync was turned on.

@vslynko
Copy link

vslynko commented Jan 26, 2021

@vadviktor - it was suggested to turn off G-sync only for terminal process, as a workaround.

@zadjii-msft zadjii-msft added the Priority-3 A description (P3) label Jan 4, 2022
@zadjii-msft zadjii-msft modified the milestones: Terminal v2.0, 22H2 Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

8 participants