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.
About this post
- Posted
- Archived
- Score
- 46 · 100% up
- Kind
- Text
- ID
- fc37mo
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.!remindme 7days
I will be messaging you in 6 days on 2020-03-09 04:31:35 UTC to remind you of this link
3 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
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)
What compositor are you using?
Happens with xcompmgr, compton, as well as without a compositor.
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.
What WM/compositor are you using?
Bspwm
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.
What WM/compositor are you using?
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).
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.
I am running i3 without a compositor. So my issues must be distinct from yours.
That makes sense. =)
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
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.
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
Did anyone find a fix? I have the same issue, running the same driver etc.
I'm trying
i915.enable_psr=0and no issues so farFor me this issue is usually the notifications or volume on screen display which causes this. (gnome shell)
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
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?