Compton + Chrome problem

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Da li neko zna zbog čega se ovo događa (na slici)…? Znači kada instaliram Compton u Lubuntu 14.04 32-bit, i kada minimizujem chrome i pokušam da ga vratim, gornji deo prozora se ne vidi.
 
Last edited:

Filip

Active member
Joined
Jul 21, 2012
Messages
2,497
Reaction score
0
Koja beše grafička? 🙂
 
Last edited:

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
@Filip Intelova integruša…🙂

VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at e2000000 (32-bit, non-prefetchable) [size=512K]
I/O ports at c000
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at e2080000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: i915
 
Last edited:

Filip

Active member
Joined
Jul 21, 2012
Messages
2,497
Reaction score
0
Ok, a sadržaj “~/.config/compton.conf”? 🙂
 
Last edited:

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Садржај за овај фајл сам преузео негде са нета:

backend = “glx”;
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = “opengl-swc”;

These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.​

The other options are smaller performance tweaks that work well in most cases.​

You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide

Shadow​

shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don’t draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow’s mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [
“! name~=’’”,
“n:e:Notification”,
“n:e:plank”,
“n:e:Docky”,
“g:e:Synapse”,
“g:e:Kupfer”,
“g:e:Conky”,
“n:w:Firefox”,
“n:w:Chrome”,
“n:w:Chromium”,
“class_g ?= ‘Notify-osd’”,
“class_g ?= ‘Cairo-dock’”,
“class_g ?= ‘Xfce4-notifyd’”,
“class_g ?= ‘Xfce4-power-manager’”
];

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.​

Fading​

fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing

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; };
};
 
Last edited:

Filip

Active member
Joined
Jul 21, 2012
Messages
2,497
Reaction score
0
Napravi backup tog compton.conf-a pa probaj sa ovima:

Code:
backend = “glx”;
[HEADING=1]paint-on-overlay = true;[/HEADING]
[HEADING=1]glx-no-stencil = true;[/HEADING]
[HEADING=1]glx-no-rebind-pixmap = true;[/HEADING]
vsync = “opengl-swc”;
[HEADING=1]These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.[/HEADING]
[HEADING=1]The other options are smaller performance tweaks that work well in most cases.[/HEADING]
[HEADING=1]You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide[/HEADING]
[HEADING=1]Shadow[/HEADING]
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don’t draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow’s mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [
“! name~=’’”,
“n:e:Notification”,
“n:e:plank”,
“n:e:Docky”,
“g:e:Synapse”,
“g:e:Kupfer”,
“g:e:Conky”,
“n:w:Firefox”,
“n:w:Chrome”,
“n:w:Chromium”,
“class_g ?= ‘Notify-osd’”,
“class_g ?= ‘Cairo-dock’”,
“class_g ?= ‘Xfce4-notifyd’”,
“class_g ?= ‘Xfce4-power-manager’”
];
[HEADING=1]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[/HEADING]
[HEADING=1](most applications are fine, only apps that do weird things with xshapes or argb are affected).[/HEADING]
[HEADING=1]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.[/HEADING]
[HEADING=1]Fading[/HEADING]
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing

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.
[HEADING=1]Window type settings[/HEADING]
wintypes:
{
tooltip = { fade = true; shadow = false; };
};
v2:

Code:
backend = “glx”;
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = “opengl-swc”;
[HEADING=1]These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.[/HEADING]
[HEADING=1]The other options are smaller performance tweaks that work well in most cases.[/HEADING]
[HEADING=1]You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide[/HEADING]
[HEADING=1]Shadow[/HEADING]
shadow = false; # Enabled client-side shadows on
[HEADING=1]Fading[/HEADING]
fading = true; # Fade windows during opacity changes.
fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10).
fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing

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.
[HEADING=1]Window type settings[/HEADING]
wintypes:
{
tooltip = { fade = true; shadow = false; };
};
v3 ( ovaj bi mogao biti problematičan, ali probaj ako prethodna dva ne vrše posao ):

Code:
backend = “xrender”;
[HEADING=1]paint-on-overlay = true;[/HEADING]
[HEADING=1]glx-no-stencil = true;[/HEADING]
[HEADING=1]glx-no-rebind-pixmap = true;[/HEADING]
[HEADING=1]vsync = “opengl-swc”;[/HEADING]
[HEADING=1]These are important. The first one enables the opengl backend. The last one is the vsync method. Depending on the driver you might need to use a different method.[/HEADING]
[HEADING=1]The other options are smaller performance tweaks that work well in most cases.[/HEADING]
[HEADING=1]You can find the rest of the options here: https://github.com/chjj/compton/wiki/perf-guide, and here: https://github.com/chjj/compton/wiki/vsync-guide[/HEADING]
[HEADING=1]Shadow[/HEADING]
shadow = false; # Enabled client-side shadows on

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.
[HEADING=1]Window type settings[/HEADING]
wintypes:
{
tooltip = { fade = true; shadow = false; };
};
 
Last edited:

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Обе ове варијанте пробао и исто се дешава… 😦
 
Last edited:

ubuntuser

Member
Joined
Apr 7, 2014
Messages
877
Reaction score
0
Greška je bila toliko glupa da me je sramota da priznam…🙂 Pogrešno sam imenovao fajl, tj. bila je greška u kucanju tako da nije ni bio primenjivan, pa je zbog toga Compton brljavio… Umesto “compton.conf”, napisao sam “comton.conf”… Nisam posle ni obraćao pažnju na naziv fajla… Sada kada sam pogodio naziv kako treba ne dešava se ono sa chrome-om, bar ne za sada…🙂
 
Last edited:

Dragan

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
6,371
Reaction score
65
alt
ubuntuser:
Greška je bila toliko glupa da me je sramota da priznam
Nije sramota priznati grešku u kucanju…svima nama se to povremeno dešava, veruj mi 🙂
Bitno je da si ti problem rešio 🙂
 
Last edited:
Top