regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Graphical issues after update

Open Custards1 opened this issue 7 years ago • 48 comments

opening any apps, particualary the terminal, causes that app to flicker and nearly be unreadable. issue also happens with cpu load percentage on the lower bar

Custards1 avatar Sep 13 '19 02:09 Custards1

Does the issue go away of you disable compton? You can kill it from the command line or disable it in the i3 config (/etc/regolith/i3/config) and reload i3.

kgilmer avatar Sep 13 '19 02:09 kgilmer

I'm experiencing the same issue. I swapped back to the prior compton config and it appears, at least for the moment, to have gone back to normal.

zerotao avatar Sep 17 '19 15:09 zerotao

Thanks for the feedback @zerotao . If that continues to work for you LMK and I'll add a note on the site regarding the issue for others.

kgilmer avatar Sep 18 '19 02:09 kgilmer

@kgilmer the old config continues to work without flicker. I have been going thru the new config line-by-line when I have time but, as of yet, have not found the culprit(s).

zerotao avatar Sep 22 '19 09:09 zerotao

Awesome, will be good to know what the root cause is @zerotao :smile: .

kgilmer avatar Sep 22 '19 23:09 kgilmer

@kgilmer For the last two days, I have been running the current config with use-damage = false, which appears to have solved the problem in my case (Nvidia drivers). I did try turning use-damage = true in the old configs; it did not reproduce the flicker in that case which leads me to believe there is some interaction between multiple config items causing the actual issue.

I will continue to pick away at it. @Custards1 could you try setting use-damage=false in your config and see if it removes the issue for you?

zerotao avatar Sep 24 '19 15:09 zerotao

Modifying compton to use-damage = false solved the flickering for me. That's not my video, but the issue is exactly the same for me. It affects many types of windows. It seems like a flickering of historical window states.

Here's more info in case it's useful:

I installed regolith for the first time on a fresh Ubuntu install 6 days ago, and the flicker started once I installed the nvidia-340 driver and rebooted. Purging that driver to switch back to nouveau is how I temporarily solved the issue.

I previously ran Arch Linux + i3 + nvidia-340 on the same laptop without the flickering issue.

I changed compton to use-damage = false today, reinstalled nvidia-340, and rebooted: no flickering. Thanks for finding this!

kenakofer avatar Oct 08 '19 00:10 kenakofer

Just to add to the issue, I had the flickering also.

Kubuntu 19.04 Latest update Nvidia 430 drivers

Added the use-damage = false also, no flickering.

However I still have on some apps. like libreoffice calc other windows draw over it after switching virtual desktop. It disappears when the window needs to redraw for ie. scrolling. It only occurs on switching not during use of the app.

thebeardbe avatar Oct 16 '19 12:10 thebeardbe

Started facing flickering after the last update. use-damage = false does not help. Disabling compton fixes the issue. No GPU.

lawzava avatar Oct 23 '19 19:10 lawzava

Related https://github.com/regolith-linux/regolith-desktop/issues/156

kgilmer avatar Oct 30 '19 04:10 kgilmer

After having installed regolith-20.04.0-1.4-desktop-amd64.iso both on my desktop and my laptop I am experiencing the flickering too. However I cannot find use-damage or compton in /etc/regolith/i3/config Does any one have an idea how to fix?

I experience a very nice workflow on my notebook, it would be great to experience the same on my desktop.

georgbuechner avatar May 04 '20 11:05 georgbuechner

@georgbuechner I did a locate compton.conf and returned /etc/xdg/xdg-xubuntu/compton.conf as path. I assume use-damge should be put there, as a man compton also shows --use-damage as an option, so my assumption is use-damage should go into the compton.conf file. Take this with a grain of salt tho, I didn't really have any flickering/graphical issues so I can't test if this is correct or not

LuisEngelniederhammer avatar May 10 '20 12:05 LuisEngelniederhammer

Thank you for the fast response. So I set use-damage = false; in /etc/xdg/xdg-xubuntu/comton.conf but it didn't seem to have an effect on the flickering. Is it correct to simply but use-damage anywhere in the config? Will it be automatically loaded after reboot? Flickering is really annoying. I would love to get some help on this. If there is any additional information I can provide, I'm happy to do so!

Graphics: GeForce GTX 960

georgbuechner avatar May 13 '20 23:05 georgbuechner

The location for a custom compton config is described here: https://regolith-linux.org/docs/customize/compositors/#overriding-a-compositor-configuration. Once changing you'll need to log back in for it to take effect.

A faster way to make changes and see the result would be to just kill the compton process and load it manually to test changes:

$ pkill compton
$ /usr/bin/compton -f --config /tmp/myconfig.conf

kgilmer avatar May 14 '20 14:05 kgilmer

Thanks a lot, that helped! So changing the compton config-file works similar to changing the i3 config: To provide your own Compton/Picom compositor config, copy the default or create your own and save it as ~/.config/regolith/compton/config. Upon next session it will be loaded instead of the default config /etc/regolith/compton (https://regolith-linux.org/docs/customize/compositors/#overriding-a-compositor-configuration.) The changing use-damage = true; to use-damage = false; did the trick. Thanks a lot.

georgbuechner avatar May 15 '20 14:05 georgbuechner

Glad you've resolved your issue @georgbuechner , but for my understanding, did you mean to make one of these different?

The changing use-damage = true; to use-damage = true; did the trick.

kgilmer avatar May 16 '20 05:05 kgilmer

@kgilmer I'm so sorry. Of course I change it to use-damage = false; I've edited my comment, thanks for letting me know.

georgbuechner avatar May 16 '20 09:05 georgbuechner

Experienced the same issues to the point the terminal was unusable. use-damage = false setting had minor effects. Resorted to disabling compton entirely from inside i3 configuration.

This issue helped me a lot in diagnosing the problem.

System informations:

OS: Ubuntu 19.10 x86_64 
Host: All Series 
Kernel: 5.3.0-51-generic 
Shell: zsh 5.7.1 
Resolution: 2560x1440, 1920x1080 
DE: GNOME 3.34.3 
WM: i3 
Theme: Ayu-Mirage-Dark [GTK2/3] 
Icons: Moka [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-4790K (8) @ 4.600GHz 
GPU: NVIDIA GeForce GTX 1070 
Memory: 2470MiB / 15955MiB

Thank you very much!

mattdibi avatar May 16 '20 09:05 mattdibi

pkill compton solved it right away for me! Thank you so much, the flickering was driving me crazy. I was experiencing screen shaking (most notably in the gnome terminal--in the browser, there's a bit of flickering in the type cursor but not as bad as half pages or lines completely not showing on the terminal). It only happens on Regolith after installation of nvidia proprietary drives (don't even get me started, this took me like 6+ hours to figure out... such a hassle disabling and enabling a bunch of crap). I completely rely on Regolith for my daily usage, thank you!

Specs: OS: Ubuntu 18.04 LTS x86_64 GPU: NVIDIA GeForce GTX970

vivz753 avatar May 20 '20 00:05 vivz753

Thanks to everyone providing their graphics hardware and driver details. Based on what we've got so far, it appears that nvidia and compton are not getting along.

There has been some updates to compton recently (now called Picom). Once I get the time to package it, perhaps someone is able to test w/ their systems to see if previous problems are now fixed? I'll update this ticket with more information when I have it.

kgilmer avatar May 20 '20 03:05 kgilmer