Skip to content

Display flickers back to an old "version" occasionally, can't figure out why

Since about a month ago (?) I've experienced an issue where something will change on my display, then it will briefly revert back to what it was, and then the change will be shown again. For instance, occasionally when I open a terminal and ls, the output will display before briefly disappearing and then reappearing again, all without my doing anything else. This has happened with seemingly all applications (e.g. telegram-desktop, urxvt, i3bar).

I've checked my Xorg.0.log and it isn't showing anything unusual when these flickers happen. I'm not able to replicate the issue on command, and it's often hours between instances of the bug.

I'm running Intel graphics with the modesetting driver.

Any advice appreciated.

46 points24 comments
Open on Reddit
About this post
Posted
Archived
Score
46 · 100% up
Kind
Text
ID
fc37mo

Author

58
posts
124
comments
54
media
View profile

25 comments

I thought that I was the only one with this weird problem.

Edit: Probably using Intel GPU. Open source drivers. Laptop is with Nvidia, Optimus technology (it transfers frame buffers to Intel/Nvidia depending on which monitor is it connected), tiling wm(dwm), Happens when I switch workplaces. Using compton (tryone's fork).

I wonder if that's compton problem.

12 points

It started happening for me recently whenever I switch between i3 workspaces with Firefox windows in them. I have to mouse over any window to see it update, very annoying.

(Nvidia graphics, latest kernel)

8 points

My VM started flashing after the 5.5 kernel update and Virtualbox update. I rebuilt it and installed the LTS kernel. So far it's been "fixed" but I don't know for sure what it was.

4 points

I've had this problem (or something which sounds very similar) for ages on my Macbook Pro 5,5, but that one has an odd NVidia GPU (GeForce 9400M) and I've thought it's some weird compatibility problem with it and the proprietary driver.

In my case, the "old version" flickers in a very fast pace, i.e. seemingly every refresh or frame of the display. I've though it has something to do with double (or triple?) buffering. I've noticed that toggling compositing off and on usually fixes it, but only temporarily.

4 points

What WM/compositor are you using?

1 points

I'm using KDE / Plasma as the DE, so, whatever WM or compositor it is using =).

I've also seen mentions KDE or Plasma is sometimes buggy on NVidia proprietary drivers (more likely: NVidia drivers have been buggy at some point with Plasma, which is using some features some other WMs/compositors are not). I know that it worked just fine on my desktop computer (which has been upgraded since then to AMD Rx Vega64).

1 points

I got some similar problems with KDE on Arch Linux.

My clock showed the wrong time and my taskbar showed wrong applications and some other issues.

This mostly came up when I play a game or better said running a fullscreen application. After the application was closed everything was displayed correctly again. I took some research and figured out that this comes from the compositor. By default, the compositor is activated but fullscreen applications will force disable the compositor. After closing the compositor is enable and the problem is gone.

I suspect the compositor is causing the errors you described. If your problem shows up again, you could check if enable the compositior will fix your issue.
You can do this with the following shortcut:
SHIFT + ALT + F12

In my case, letting the compositor enabled is not an option because it f**** the performance very notable. But if you dont need the performance you can just tell the program to not force disable the compositor.

I also got the tip to change the compositor mode from opengl to xrender will help alot. I tested this and its correct but so far I tested it this will disable some dekstop effects.

Sorry for my noobish english skills, its not my native language.

2 points

I am running i3 without a compositor. So my issues must be distinct from yours.

2 points

I had the same bug back in 2013/2014 with intel drivers. seems like it works with multiple buffers and strange things happen when it flips to the wrong one

2 points

Any chances any of you in this thread with problems on Intel iGPUs have the testing repo enabled? Mesa 20 from testing has some problems with glitches on Intel GPUs: https://gitlab.freedesktop.org/mesa/mesa/issues/2552

Otherwise switching between LTS and main kernel could also be a useful test.

1 points

I don't have testing enabled AFAIK. I've just started X using the env-var in the issue you linked, will see if that prevents the bug from cropping up again

UPDATE: no dice. Bug still happens occasionally despite the suggestion

1 points

Did anyone find a fix? I have the same issue, running the same driver etc.

1 points

For me this issue is usually the notifications or volume on screen display which causes this. (gnome shell)

1 points

having similar issues in vbox (on osx) since Kernel 5.5.3; LTS is running fine; iphone6sthrowaway, only following repos are active: core, extra, community, multilib; no testing-repo

1 points

Same problem, but rarely experienced. Mesa 19.3.4 with amdgpu, kernel 5.5.7. KDE Plasma 5.18.2 on X11 with compositing enabled.

So I guess, this is independent of drivers and hardware?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.