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

Flickering screen when switching windows in i3 #2391

Closed
minad opened this Issue Oct 22, 2016 · 13 comments

Comments

Projects
None yet
5 participants
@minad

minad commented Oct 22, 2016

Qubes OS version (e.g., R3.1):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

dom0


Expected behavior:

Switching between fullscreen windows should not produce a visible flickering.

Actual behavior:

Switching fullscreen windows in the i3 window manager results in a white flicker.

Steps to reproduce the behavior:

...

General notes:

I am not sure if this happens only in the i3 window manager (I am currently using only i3). Maybe this is an issue of the window manager, but it could also be an issue of the isolation of dom0 X and the VM graphical output.


Related issues:

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 23, 2016

Member

Have you or anyone else been able to duplicate this on different hardware?

Member

andrewdavidwong commented Oct 23, 2016

Have you or anyone else been able to duplicate this on different hardware?

@minad

This comment has been minimized.

Show comment
Hide comment
@minad

minad Oct 23, 2016

Maybe to clarify: With flicker I mean that when I switch from a black terminal window to another black terminal the screen is cleared in between with white and this produces the visible effect.

I will test how other window managers behave. Right now I am using qubes only on one system (lenovo yoga x1) and I am still using an old kernel 4.2.8 due to issue #2186

minad commented Oct 23, 2016

Maybe to clarify: With flicker I mean that when I switch from a black terminal window to another black terminal the screen is cleared in between with white and this produces the visible effect.

I will test how other window managers behave. Right now I am using qubes only on one system (lenovo yoga x1) and I am still using an old kernel 4.2.8 due to issue #2186

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Oct 23, 2016

Member

Ok. If you have access to other hardware, or if anyone else reading this can test this, it would be worth seeing whether this is reproducible on other systems, or whether it's likely a hardware-specific issue.

Member

andrewdavidwong commented Oct 23, 2016

Ok. If you have access to other hardware, or if anyone else reading this can test this, it would be worth seeing whether this is reproducible on other systems, or whether it's likely a hardware-specific issue.

@minad

This comment has been minimized.

Show comment
Hide comment
@minad

minad Oct 24, 2016

I switched to the new kernel (3.2 reinstallation), but the flickering is still there.

minad commented Oct 24, 2016

I switched to the new kernel (3.2 reinstallation), but the flickering is still there.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 25, 2016

Member

I think I've seen similar issue somewhere. And enabling or disabling
composition helped (don't remember which one).

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Oct 25, 2016

I think I've seen similar issue somewhere. And enabling or disabling
composition helped (don't remember which one).

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@andrewdavidwong andrewdavidwong added the bug label Oct 27, 2016

@tfm1

This comment has been minimized.

Show comment
Hide comment
@tfm1

tfm1 Nov 6, 2016

I have the same issue (screen flashes white when switching between black terminals). I'm using 3.2 with i3 4.12

I can add that it does not happen when switching to a terminal in dom0.

I attached the qubes-hcl-report output. I also tried Qubes on an older Dell laptop a couple of month ago and had the same issue.

Qubes-HCL-Dell_Inc_-Latitude_E7270-20161107-001406.yml.txt

tfm1 commented Nov 6, 2016

I have the same issue (screen flashes white when switching between black terminals). I'm using 3.2 with i3 4.12

I can add that it does not happen when switching to a terminal in dom0.

I attached the qubes-hcl-report output. I also tried Qubes on an older Dell laptop a couple of month ago and had the same issue.

Qubes-HCL-Dell_Inc_-Latitude_E7270-20161107-001406.yml.txt

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 7, 2016

Member

@minad, @tfm1: Please try enabling and disabling composition to see whether the problem is improved or resolved in either state (with composition enabled or disabled), and let us know.

Member

andrewdavidwong commented Nov 7, 2016

@minad, @tfm1: Please try enabling and disabling composition to see whether the problem is improved or resolved in either state (with composition enabled or disabled), and let us know.

@tfm1

This comment has been minimized.

Show comment
Hide comment
@tfm1

tfm1 Nov 7, 2016

On Sun, Nov 06, 2016 at 07:03:13PM -0800, Andrew David Wong wrote:

@minad, @tfm1: Please try enabling and disabling composition to see whether the problem is improved or resolved in either state (with composition enabled or disabled), and let us know.

I'm sorry, but how do I do that?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2391 (comment)

tfm1 commented Nov 7, 2016

On Sun, Nov 06, 2016 at 07:03:13PM -0800, Andrew David Wong wrote:

@minad, @tfm1: Please try enabling and disabling composition to see whether the problem is improved or resolved in either state (with composition enabled or disabled), and let us know.

I'm sorry, but how do I do that?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2391 (comment)

@minad

This comment has been minimized.

Show comment
Hide comment
@minad

minad Nov 7, 2016

@tfm1 thanks for mentioning that it doesn't happen for dom0 (for me neither). Therefore I suspect that it has something to do with the VM isolation and how the buffers between dom0 and the vms are separated.

@andrewdavidwong I think i3 doesn't use composition by default. However it seems one could use a separate composite manager. Do you expect this to go away with composition due some GL double buffering?

Maybe related issue concerning i3 and missing composition: http://askubuntu.com/questions/751149/screen-tearing-when-using-i3-none-when-using-unity

minad commented Nov 7, 2016

@tfm1 thanks for mentioning that it doesn't happen for dom0 (for me neither). Therefore I suspect that it has something to do with the VM isolation and how the buffers between dom0 and the vms are separated.

@andrewdavidwong I think i3 doesn't use composition by default. However it seems one could use a separate composite manager. Do you expect this to go away with composition due some GL double buffering?

Maybe related issue concerning i3 and missing composition: http://askubuntu.com/questions/751149/screen-tearing-when-using-i3-none-when-using-unity

@tfm1

This comment has been minimized.

Show comment
Hide comment
@tfm1

tfm1 Nov 7, 2016

I tried XFCE4 and made two terminals in VMs other then dom0.
I made both terminals fullscreen then minimized the one currently on top.
It showed the other terminal without flashing of the screen.

tfm1 commented Nov 7, 2016

I tried XFCE4 and made two terminals in VMs other then dom0.
I made both terminals fullscreen then minimized the one currently on top.
It showed the other terminal without flashing of the screen.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Nov 8, 2016

Member

Hm, I'm not sure. I just wanted to make sure we tried @marmarek's suggestion as part of the troubleshooting process, but it seems unclear how to do it with i3.

It is indeed helpful to know that it doesn't happen for dom0, though.

Member

andrewdavidwong commented Nov 8, 2016

Hm, I'm not sure. I just wanted to make sure we tried @marmarek's suggestion as part of the troubleshooting process, but it seems unclear how to do it with i3.

It is indeed helpful to know that it doesn't happen for dom0, though.

@cyrinux

This comment has been minimized.

Show comment
Hide comment
@cyrinux

cyrinux Nov 8, 2016

FYI, I have less flickering problem with use of xcompmgr for enable
composition on i3

Le lun. 7 nov. 2016 à 10:48, tfm1 notifications@github.com a écrit :

On Sun, Nov 06, 2016 at 07:03:13PM -0800, Andrew David Wong wrote:

@minad, @tfm1: Please try enabling and disabling composition to see
whether the problem is improved or resolved in either state (with
composition enabled or disabled), and let us know.

I'm sorry, but how do I do that?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2391 (comment)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2391 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfrqyC07HcnbRIuDOXbMuCD1mqDoRRnks5q7vPbgaJpZM4Kd9T9
.

cyrinux commented Nov 8, 2016

FYI, I have less flickering problem with use of xcompmgr for enable
composition on i3

Le lun. 7 nov. 2016 à 10:48, tfm1 notifications@github.com a écrit :

On Sun, Nov 06, 2016 at 07:03:13PM -0800, Andrew David Wong wrote:

@minad, @tfm1: Please try enabling and disabling composition to see
whether the problem is improved or resolved in either state (with
composition enabled or disabled), and let us know.

I'm sorry, but how do I do that?

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2391 (comment)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2391 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfrqyC07HcnbRIuDOXbMuCD1mqDoRRnks5q7vPbgaJpZM4Kd9T9
.

@minad

This comment has been minimized.

Show comment
Hide comment
@minad

minad Nov 8, 2016

It works with xcompmgr. At least the flickering when switching terminals is reduced greatly!

  1. install xcompmgr in dom0
  2. start xcompmgr in .i3/config

See https://github.com/minad/i3-config in the autostart file

minad commented Nov 8, 2016

It works with xcompmgr. At least the flickering when switching terminals is reduced greatly!

  1. install xcompmgr in dom0
  2. start xcompmgr in .i3/config

See https://github.com/minad/i3-config in the autostart file

@minad minad closed this Nov 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment