-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
Weird flickering ( 7.5 doesn't have this issues) #375
Comments
do you have a video or a screenshot? |
|
Can you give me more details about your GPU and drivers, etc? |
OpenGL version string: 4.6.0 NVIDIA 430.14 OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 430.14 |
Does this happen consistently? Or do you need to do something to trigger it? |
not consistently, no idea what triggert it, it just happens suddenly and never left until log out, i'll test it more see what can i found. |
well, if you pretend that 7.5 doesn't have this issue, you may use git bisect to find the commit that broke things |
I ran into the same problem on Voidlinux, all I can add is that vsync seams to be disabled in addition to the flickering. |
Can confirm it's happening here too, Picom 8-2 on Archlinux. |
After testing for a few hours it doesn't seem to have the issue on picom-7.5-3 |
Can confirm similar artifacts with picom 8-2 on Arch, 7.5-3 does not have this issue. |
can someone do git bisect from 7.5 to 8.0 to find the commit that introduced this issue? |
It looks like this may have been introduced in 93f0d80 Does anyone else have luck with this option? |
It seems like it fixed it for me as well. Thanks! |
Seems like it worked for me too! |
With |
Running XFCE on Arch with NVIDIA drivers, run into que same error. It would make certain parts of the windows/desktop flicker sometimes. Most noticeable on stuff that used some kind of transparency (some of my terminals or windows and top bar).
Nevermind, had to revert back to 7.5_3 |
I'm using arch/nvidia/bspwm and |
Jumping on with my own version of this bug report: After messing around with several options, the following seemed to fix it for me (while still allowing for the default
Summary of config:
For context here's a sample of my
|
Looks similar to my flickering issues. I'm experiencing random flickering on terminal text, doesn't matter if the terminal is using transparency or not or which terminal it is (st, xfce4-terminal, alacritty, kitty, etc). Also getting that weird object flickering, not limited to a specific window, but certain elements, even in webpages on Chromium, Brave and Firefox. I will later on try your settings and report back. Thanks for posting the videos. @adworacz |
I've been plagued with this issue for a fairly long time (never realized that picom could've been the cause; I thought it was my WM). After testing with just I did not need to change anything else in my config. My symptoms were: Flickering window borders which could only be stopped by focusing another window on the same screen, or opening a new window if no other window was available, then switching back again. |
Finally found this thread after months of weird flickering :) and use-damage = false seems to fix it for me too. I am using Openbox 3.6.1, xorg-1.20.9 on Slackware64-current with an Nvidia GTX970. The Nvidia drivers were always kept recent. |
I have serious flickering issues starting with 93f0d80 here too. I can open a new bug report or provide more details if it's helpful. Short summary is:
It may be something nvidia-related as I didn't see the same issue on an intel-only system. |
Does this happen if you set |
Yes, for me 7.5 also has the same issue if I set |
@jlindgren90 do you know what's the earliest version with this problem? does compton itself have this problem if you set |
Yes, compton has the same issue with |
Can others help confirm if compton with |
I can no longer reproduce this no matter what version of compton/picom I use. I tried downgrading xserver-xorg-core to what I had when #237 was reported and still can't reproduce it. I'm guessing the issue is somewhere else, but I don't know where. (Also, I've heard that some people experienced the same issue with just the builtin TearFree compositor of xf86-video-intel, without any picom/compton.) |
@liskin What driver do you use? |
@yshui modesetting |
It may be specific to the modesetting driver. I don't see the same flickering with the proprietary nvidia driver on the same system. edit: Okay, I spoke too soon. The flickering isn't as bad, and is different, but is definitely still there with the nvidia driver. It seems to be limited to specific windows now and looks like old frames are being shown. For example, the status bar in Geany blinks back and forth between "line 4/5" and "line 5/5" after I move the text cursor -- timed with the cursor blink period. |
Can you record this bug happening with the |
@jlindgren90 do you have dual GPU? (i.e. NVIDIA Optimus) |
@yshui Yes and no? The laptop has two GPUs (intel + nvidia), but I currently have Optimus disabled in the BIOS and am using only the nvidia card. I see don't see the issue with the xrender backend (only with glx). And with glx apparently Here is what the flickering looks like in Geany. It definitely looks to me like two frames are being swapped, and one is out-of-date: old-frame.mp4 |
The xr_glx_hybrid backend also seems free of the flicker issue (and has working vsync) so I'm switching to that for now. |
@jlindgren90 Can you try |
I'm facing this problem and aparently this option solved it. More than 3 hours without flickering. |
CPU usage is much improved too. Xorg was using 20% with the old @yshui Can I buy you a beer or something? Your work on picom is excellent, and much appreciated! |
So there could be a bug with damage in the legacy backends then. Probably not worth fixing at this point. |
In fact, flickering happen eventually, using I'm getting it one time at day, or somedays not. |
Okay I'm still seeing some occasional flickering of old frames here too, with |
@yshui I can semi-reliably reproduce this still in LibreOffice Calc with Adding Removing |
I just tested |
Adding `use-damage=false`, as suggested on yshui/picom#375.
Dealt with this for way too long and none of the fixes seemed to work. Anyway, switching to |
Platform
centos *
GPU, drivers, and screen setup
Environment
fvwm
picom version
vgit-df0be
[ 04/09/2020 20:33:46.316 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "false" is interpreted as "false" for compatibility, but this will stop working soon
[ 04/09/2020 20:33:46.316 session_init WARN ] This compositor has been renamed to "picom", the "compton" binary will not be installed in the future.
Version: vgit-df0be
Extensions:
Misc:
Drivers (inaccurate):
NVIDIA
Configuration:
Steps of reproduction
1.install picom from git master repo
2. run poicom
Expected behavior
no flickering
Current Behavior
Weird flickering and get some errors below:
[ 04/09/2020 20:35:19.466 x_fence_sync ERROR ] Failed to trigger the fence (X error 136 XSyncBadFence request 134 minor 15 serial 2027)
[ 04/09/2020 20:35:19.466 paint_all ERROR ] x_fence_sync failed, xrender-sync-fence will be disabled from now on.
Stack trace
Other details
The text was updated successfully, but these errors were encountered: