picom icon indicating copy to clipboard operation
picom copied to clipboard

Some window titles and terminal outputs flashes

Open fuzunspm opened this issue 7 years ago • 34 comments

Platform

Linux 5.3.11-arch1-1

GPU, drivers, and screen setup

Single 144hz 1440p Monitor on:

name of display: :0.0 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 8192 MB Total available memory: 8192 MB Currently available dedicated video memory: 7633 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 1070 Ti/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 440.31 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 440.31 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 440.31 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

Xfce

picom version

picom vgit-9a88d

[11/18/2019 19:18:16.921 open_config_file_at WARN ] This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom" [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] Option no-dock-shadow is deprecated, and will be removed. Please use the wintype option shadow of dock instead. [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] Option no-dnd-shadow is deprecated, and will be removed. Please use the wintype option shadow of dnd instead. [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] Option menu-opacity is deprecated, and will be removed.Please use the wintype option opacity of popup_menu and dropdown_menu instead. [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "opengl-swc" is interpreted as "true" for compatibility, but this will stop working soon [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be replaced by use-damage = true. [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] "clear-shadow" is removed as an option, and is always enabled now. Consider removing it from your config file [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] "paint-on-overlay" has been removed as an option, and is enabled whenever possible [ 11/18/2019 19:18:16.921 parse_config_libconfig WARN ] "alpha-step" has been removed, compton now tries to make use of all alpha values [ 11/18/2019 19:18:16.926 register_cm FATAL ERROR ] Another composite manager is already running

Despite the error above here is the terminal outputs of:

$ pgrep picom
5653
$ pgrep compton
no output

Configuration:

backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;

shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 5;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.5;

shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'picom'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "class_g = 'Firefox' && argb",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'",
    "_GTK_FRAME_EXTENTS@:c",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];

shadow-ignore-shaped = false;

inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;

blur-background-fixed = false;
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'"
];

fading = false;
fade-delta = 4;
fade-in-step = 0.03;
fade-out-step = 0.03;

fade-exclude = [ ];

mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-rounded-corners = true;

detect-client-opacity = true;
refresh-rate = 0;
vsync = true;

dbe = false;

unredir-if-possible = true;

focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;

wintypes:
{
    tooltip =
    {
        fade = true;
        shadow = false;
        opacity = 0.85;
        focus = true;
    };
};
xrender-sync-fence = true;

Steps of reproduction

emacs

  1. Open emacs
  2. open 2 buffer at the same time or switch to buffer mini window

terminal

  1. Open Terminal
  2. neofetch

Current Behavior

Application's title menu bar flashing

Video Recording

Because of whenever i start recording, my issue is gone so i tried to capture it off screen with phone camera

videos' link

fuzunspm avatar Nov 18 '19 16:11 fuzunspm

Does this still happen if you run picom --no-use-damage?

yshui avatar Nov 18 '19 18:11 yshui

i realized that picom is not using my config in /etc/xdg/picom.conf or ~/.config/picom.conf (these two are identical and correct config for me)

I manually ran picom --config /etc/xdg/picom.conf and it seems ok for now

Edit: unfortunately it keeps flashing windows

fuzunspm avatar Nov 18 '19 18:11 fuzunspm

Have you tried running with --no-use-damage?

yshui avatar Nov 18 '19 22:11 yshui

picom: unrecognized option '--no-use-damage'

fuzunspm avatar Nov 19 '19 16:11 fuzunspm

Can you remove glx-swap-method from the configuration file?

yshui avatar Nov 19 '19 18:11 yshui

picom: unrecognized option '--no-use-damage'

I have the same issue and with --no-use-damage and removed glx-swap-method it appears in 2/10 cases. But it only still present with my emacs which has own transparent and if it's turned on.

Thanks.

behollder avatar Dec 10 '19 15:12 behollder

I'm using with the same config for a while and it looks like fixed at the moment. Do not know if updated nvidia drivers helped or not, but i keep my picom config without any modificaitons

fuzunspm avatar Dec 16 '19 18:12 fuzunspm

@behollder is the issue fixed for you as well?

yshui avatar Mar 10 '20 16:03 yshui

@yshui I didn't build src with new changes. Today I can't do this. On my manjaro in package manager it have version 7.5.3 with build date 02/24/2020, and this issue not fixed. But for me it cares only for emacs program and only when mouse moves through menu bar, in others program which I use I cannot see this issue. Thank you.

behollder avatar Mar 11 '20 09:03 behollder

I have this problem with xfce4-terminal. Gentoo, last 9999 (git) build, compiled 14.04.2020.

dymn avatar Apr 24 '20 15:04 dymn

It happens for me in Xubuntu 20.04, but not only to xfce4-terminal. It also happens for other applications. I can't really predict when it will happen, so it's hard to record. Clicking on another window resolves the issue; maybe something to do with focus?

yochaigal avatar Apr 24 '20 15:04 yochaigal

As the old video is offline, can you (@yochaigal and @dymn) record some videos?

yshui avatar Apr 24 '20 15:04 yshui

Since I didn't want to use screen recording software all the time, I had to use my phone camera (sorry): https://i.imgur.com/RmjVG3M.mp4

Edit to be clear, I'm on the latest build.

yochaigal avatar Apr 24 '20 16:04 yochaigal

Since I didn't want to use screen recording software all the time, I had to use my phone camera (sorry): https://i.imgur.com/RmjVG3M.mp4

I confirm the same behavior.

dymn avatar Apr 24 '20 16:04 dymn

Hmm, this could be a number of things.

Can you record an apitrace for me? Thanks

yshui avatar Apr 24 '20 16:04 yshui

I cannot reproduce the error with apitrace trace picom. Apitrace is needed exactly when the window title blinks?

dymn avatar Apr 24 '20 16:04 dymn

@dymn unfortunately you cannot enable apitrace on the fly

yshui avatar Apr 25 '20 08:04 yshui

btw, can you try run with --xrender-sync-fence, see if that fixes the problem?

yshui avatar Apr 25 '20 08:04 yshui

I did not mean when the bug is visible, but in general when it is not there.

Also i have this bug with evince-3.34.2. while scrolling pdf with embedded images. https://imgur.com/a/MuTuO9H But when i start apitrace trace picom - there no such problem.

There are no such problems with backend=xrender. With --xrender-sync-fence and evince - i have blinking.

dymn avatar Apr 25 '20 09:04 dymn

My fast workaround is replacing evince with qpdfview and xfce4-terminal with kitty. But it would be better if picom were fixed.

dymn avatar Apr 25 '20 09:04 dymn