sdhand / picom Goto Github PK
View Code? Open in Web Editor NEWThis project forked from yshui/picom
A compositor for X11, active fork.
License: Other
This project forked from yshui/picom
A compositor for X11, active fork.
License: Other
Manjaro Linux x86_64
GPU: Intel HD Graphics 6000
Video driver: Intel Corporation HD Graphics 6000
$ glxinfo -B
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 6000 (Broadwell GT3) (0x1626)
Version: 19.2.7
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 6000 (Broadwell GT3)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.7
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 19.2.7
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
corner-radius: 7;
rounded-corners-exclude = [
"class_g = 'polybar'",
"window_type = 'dock'"
];
fading = true;
fade-delta = 3;
fade-in-step = 0.03;
fade-out-step = 0.03;
Would be nice not to have round corners
It currently has round corners
Manjaro
Intel UHD Graphics 620 (mesa 20.1.3-1)
NVIDIA Geforce MX250 (nvidia-440xx-utils 440.100-1 and nvidia-prime 1.0-4)
i3-gaps
Version: vgit-a9977
modesetting
# Shadow
shadow = true;
shadow-radius = 15;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-opacity = 0.70;
# Fading
fading = true;
fade-in-step = 0.10;
fade-out-step = 0.10;
fade-exclude = [ ]
# Corners
corner-radius = 5;
rounded-corners-exclude = [
"class_g = 'polybar'",
"class_g = 'i3bar'"
];
inactive-dim = 0.2;
The inactive-dim effect should also have rounded corners.
The effect has no rounded corners on windows with rounded corners.
experimental-backends = true
backend = "glx"
shadow = true
shadow-offset-x = -12
shadow-offset-y = -6
shadow-radius = 12
shadow-opacity = 0.30
inactive-opacity = 0.7
frame-opacity = 0.0
corner-radius = 0
opacity-rule = [
"60:class_g = 'St' && !focused"
];
round-borders = 1
round-borders-rule = [
"3:window_type = 'unknown'",
"3:window_type = 'toolbar'",
"3:window_type = 'utility'",
"3:window_type = 'splash'",
"3:window_type = 'dialog'",
"3:window_type = 'normal'"
];
blur: {
method = "dual_kawase";
strength = 10;
background = false;
background-frame = false;
background-fixed = false;
}
Ideally I'd want to add corner-radius = 12
into here instead, but when I do I get thick frames / borders (thicker than frame-opacity = 1
) - blue around the focused window, grey around the others.
Apologies if this just needs a config option I'm not familiar with, but it feels like a bug. Any help would be appreciated.
This fork seems to have a memory leak.
Specs:
(btw I've had this issue for a while, it's not an issue with the most recent pr)
A memory log thing I made the other day. I once had it reach 600+ M used (Or was it 200M, I think it was 600M but I can't find a screenshot of it.)
I used the command pmap <compton PID> > <file>
to get the memory usage.
>> tail -n 1 ~/opt/compton*
==> /home/cat/opt/compton-2019-12-18_05-19am.txt <==
total 64252K
==> /home/cat/opt/compton-2019-12-18_05-26am.txt <==
total 66668K
==> /home/cat/opt/compton-2019-12-18_05-36am.txt <==
total 71752K
==> /home/cat/opt/compton-2019-12-18_05-56am.txt <==
total 78796K
cannot see sample.png
Hi, I have intel UHD 620 and I notice massive screen tearing when running the xrender backend, I want to run it for the rounded corners. Is there any fix for that, or is it just a bug? Thank you.
it's more similar to picom than it is compton, and it will help with some confusion.
Hey, thanks for this fork! Rounded borders are really nice.
ArchLinux
Hybrid setup via optimus-manager:
On device boot I select the graphic card to use. The problem happens with both settings.
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 2048 MB
Currently available dedicated video memory: 1762 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro K2000M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 440.82
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.82
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.82
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
I use an LXDE session with AwesomeWM 4.3
vgit-1f8eb
**Version:** vgit-1f8eb
### Extensions:
* Shape: Yes
* XRandR: Yes
* Present: Present
### Misc:
* Use Overlay: No (Another compositor is already running)
* Config file used: /home/manu/.config/picom/picom.conf
### Drivers (inaccurate):
NVIDIA, modesetting
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
shadow = true;
shadow-radius = 5;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.75;
shadow-ignore-shaped = false;
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
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 = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
# available types: "unknown", "desktop", "dock", "toolbar", "menu", "utility", "splash",
# "dialog", "normal", "dropdown_menu", "popup_menu", "tooltip", "notify", "combo", and "dnd".
wintypes:
{
menu = { shadow = false; };
dropdown_menu = { shadow = false; };
popup_menu = { shadow = false; };
tooltip = { shadow = false; };
};
xrender-sync-fence = true;
corner-radius = 6
The windows border colors should take the colors defined in my window manager (AwesomeWM): when they are focused, border colors should change, when they lose focus, border colors should change.
The windows border colors randomly take the config from my window manager (AwesomeWM). They often are not the colors they should be: borders are set to variants of gray.
The problem only happens in this fork, with rounded corners set. If I set corner-radius = 0
in config, there is no bug. Using --experimental-backends
removes the rounded corners.
The problem doesn't seem to be related to my AwesomeWM config, as it happens also with the default rc.lua
config.
Here is a screenshot of what should happen: the non-focused window should have my theme's non-focused border color (really dark blue) and the focused one should be yellow:
Here is a screenshot of what happens: randomly, the non-focused, or focused window border colors are set to a dark or light gray, not coming from my theme. When I'm lucky, the focus color from my theme, yellow, is set, but it's often not:
Thanks!
Ubuntu Desktop 18.04 amd64
boring laptop, Lenovo L480
xdm, dwm, st
Version: vgit-e3c47
Intel
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = 1;
blur-background = true;
blur-kern = "7x7box";
#border-radius = 12;
use-damage = false;
# Shadow
shadow = true; # Enabled client-side shadows on windows.
#clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 10; # The blur radius for shadows. (default 12)
shadow-offset-x = -15; # The left offset for shadows. (default -15)
shadow-offset-y = -15; # The top offset for shadows. (default -15)
shadow-opacity = 0.5;
shadow-exclude = [
#"! name~=''",
#"n:e:Notification",
"n:e:Dunst",
#"g:e:Conky",
"n:w:Firefox",
];
opacity-rule = [
"70:class_g = 'st'"
];
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
detect-client-opacity = true; # This prevents opacity being ignored for some apps. For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
#Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; };
menu = { shadow = false; };
dropdown_menu = { shadow = false; };
popup_menu = { shadow = false; };
};
corners have radius
corners don't have radius
no crash
"glxinfo -B" output:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
Version: 21.1.5
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
I'm running i3-gaps on Arch
vgit-a9977
corner-radius: 20;
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
shadow = true;
shadow-radius = 5;
shadow-offset-x = 1;
shadow-offset-y = 1;
shadow-opacity = 0.3;
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'",
"class_g ?= 'Dmenu'",
"class_g ?= 'i3-frame'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
shadow-ignore-shaped = false;
inactive-opacity = .3;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
fading = false;
fade-delta = 1;
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 = false;
dbe = false;
unredir-if-possible = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 0.85;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
};
xrender-sync-fence = true;
I would expect or like for the drop-shadows for the applications to share the rounded corners of the applications themselves.
Picom seems to detect the application itself as not being rounded (since picom is rounding it instead of the application itself being round), and creates a non-rounded shadow
I can make this significantly better by upping the blur-radius, but that option isn't really intended to shape the shadow, I'd love for the shadow to be the exact shape of the application it's shadowing even with no blur.
I tried changing the shadow-ignore-shaped
and the detect-rounded-corners
in every combination, to no effect.
It's possible that there is a configuration option I'm missing, so I'd love to know if that's the case. If not I'd be willing to try and help fix this if someone could point me in the right direction.
Thanks
NVidia GeForce 150M, nvidia-drivers
Mesa: 20.1.1-1.
GLXINFO:
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
Version: 20.1.1
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
i3-gaps
version: vgit-a9977
**Version:** vgit-a9977
### Extensions:
* Shape: Yes
* XRandR: Yes
* Present: Present
### Misc:
* Use Overlay: No (Another compositor is already running)
* Config file used: /home/cigla/.config/picom/picom.conf
### Drivers (inaccurate):
modesetting
backend = "glx";
vsync = true;
corner-radius = 16;
fading = true;
fade-in-step = 0.075;
fade-out-step = 0.075;
frame-opacity = 0.8;
active-opacity = 0.1;
inactive-opacity = 0.1;
opacity-rule = ["100:class_g = 'rofi'"];
shadow = true;
shadow-exclude = [
"name = 'rofi'"
];
In corners there is small black cutout
(look at the corner of inactive window)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.