Window frames - artifacts when moving it

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mix4

Window frames - artifacts when moving it

Post by mix4 »

Hello Linux Mint community! :)
This is my first post and I would like to say hello.
Today i come back to LM after few weeks episode with Archlinux.
And unfortunately the problems started right at the beginning, after fresh install.

I recorded a video, so you could see what I mean.

https://www.youtube.com/watch?v=uSIZvkA1FJ4

Previously, on Arch (same xfce) I had no such problems with this, all work very good.

My PC:
Intel Core 2 Duo E7400 2.8 GHz
Nvidia GeForce 9500 GT
3 GB RAM
HDD 360 GB, (dualboot with Win XP)

I install nvidia drivers 340.76 and problem is there.
Same on nouveau and 304.125.

I do not know what to do, I would use this distro (have all what I need), but this "effect" is annoying. :(
I ask you for any help in solving this problem.
I hope some of you in free time visit this topic.
Good night and thank you for any help. :(
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
shengchieh

Re: Window frames - "cuts" when moving

Post by shengchieh »

I suspect (but could easily be wrong - others correct me) that the refresh rate on the monitor is too low. Can you change the refresh rate on menu -> settings -> display?
How about fiddling with the OSD (on screen display) of your monitor? Other than that, I can't help. Maybe others can point to the setting where the monitor refreshes.

Sheng-Chieh
mix4

Re: Window frames - "cuts" when moving

Post by mix4 »

shengchieh wrote:I suspect (but could easily be wrong - others correct me) that the refresh rate on the monitor is too low. Can you change the refresh rate on menu -> settings -> display?
How about fiddling with the OSD (on screen display) of your monitor? Other than that, I can't help. Maybe others can point to the setting where the monitor refreshes.

Sheng-Chieh
Hi Sheng-Chieh
Thanks for your attention.
My Monitor is ViewSonic VS12264 Full HD 1080p, i have resolution 1920x1080p and refresh rate on menu settings -> display is 60,0 Hz. It is the only value, for anything else I can not change.

In monitor settings (Setup Menu) i find options like this:
- OSD Position/Time Out/Background

Try change this, but without results.

I have no idea what is wrong. Last time when i have Mint 17.2 (Cinnamon) everything worked perfect, no bugs/glitches etc.
Maybe it's problem with environment XFCE (my favourite)? But Arch on XFCE works like Cinnamon, same without problems.
I have same problem with frames when i once try Xubuntu distro, (Ubuntu, Mint based on this too - deduction like Sherlock).

//Sherlock v2
I see XFCE in Mint come from Xubuntu, maybe that is the reason...
If really can not find a solution I must come back to Arch. :(

Maybe *buntu family do not like my computer?
I don't know.
BlackVeils

Re: Window frames - artifacts when moving it

Post by BlackVeils »

you could try disabling the compositor and see if it still happens. if it doesnt, try the compton standalone compositor. but it may not work without fiddling, i have intel and a generic intel configuration file for compton, though i have refined the trivial effects as much as i can. its mainly to do with the ''backend' setting. you may need to change the 'vsync' setting.

its easy to get running:

install ''compton'

create a file called '.compton.conf', save to your user folder.

here is the contents of my file

Code: Select all

  # Other
backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;

# Set VSync method. VSync methods currently available:
vsync = "opengl-swc";
# none: No VSync
# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
# (Note some VSync methods may not be enabled at compile time.)

unredir-if-possible = true;
# glx-use-copysubbuffermesa = true;
# glx-no-rebind-pixmap = true;
# glx-swap-method = "undefined";
# glx-use-gpushader4 = true;

# 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 = 4;		# The blur radius for shadows. (default 12)
shadow-offset-x = -5;		# The left offset for shadows. (default -15)
shadow-offset-y = -5;		# The top offset for shadows. (default -15)
shadow-exclude = [
 "! name~=''",
 "n:e:Notification",
 "n:e:Plank",
 "n:e:Docky",
 "n:e:Kazam",
 "g:e:Synapse",
 "g:e:Kupfer",
 "g:e:Plank",
 "g:e:Conky",
#"n:w:*Firefox*",
 "n:w:*Chrome*",
 "n:w:*Chromium*",
 "class_g ?= 'kazam'",
 "class_g ?= 'xfce4-screenshooter'",
 "class_g ?= 'Notify-osd'",
 "class_g ?= 'Mate-notification-daemon'",
 "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.01; # Opacity change between steps while fading out. (default 0.03).
#no-fading-openclose = true; # Fade windows in/out when opening/closing


  # Opacity
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.
menu-opacity = 0.80;
# inactive-opacity = 0.6;
# active-opacity = 0.8;
# frame-opacity = 0.7;
# inactive-opacity-override = false;
# alpha-step = 0.06;
# inactive-dim = 0.3;
# inactive-dim-fixed = true;
# blur-background = true;
# blur-background-frame = true;
# blur-kern = "3x3box"
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
# blur-background-fixed = true;
# blur-background-exclude = [
# "window_type = 'dock'",
# "window_type = 'desktop'",
# "_GTK_FRAME_EXTENTS@:c"
#];
# opacity-rule = [ "80:class_g = 'URxvt'" ];


  # Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; };
};
run it at startup by creating an item through the graphical program for startup programs, the command for it is

Code: Select all

compton -b
if you need to test new settings, just run this command

Code: Select all

pkill compton; sleep 2; compton -b
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

Hi and thank you for your reply!

1) I disable all options in default Compiz, no results.
2) I install compton but can't create '.compton.conf', the problem is mark ".", without this i can do this, he's in my home folder
I paste your config to this file, save.
Add Compton to startup and disable Compiz.
I also find file compton.sample.conf and past your config too this file for sure.
Next, restart PC, use command

Code: Select all

    pkill compton; sleep 2; compton -b
And I see don't work. Maybe a little, but not quite.


///
OK, Ctrl + H and i see thif file.
Copy what you recommend and this work, but too many effect for me.
I must turn off most of all, but looks not bad.
Windows and frames looks normal, but in this file i Can turn off effects?
Last edited by mix4 on Tue Sep 15, 2015 10:19 am, edited 1 time in total.
BlackVeils

Re: Window frames - artifacts when moving it

Post by BlackVeils »

not sure why issues with creating the file /home/$USER/.compton.conf

I use the xfce window manager with compositor disabled, but compton run at startup with compton -b

so you got it running and the artifacts still happen?

you don't need to restart or logout to change compton settings. just kill and start it again.

I thought it would be worth a try, I had the same problem with Intel and xfce, its to do with 2D desktops rendering engine or something.
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

Thank you!
Ctrl + H and i see this file.
Copy what you recommend and this work, but too many effect for me.
I must turn off most of all, but looks not bad.
Windows and frames looks normal, better than before. In this file i Can turn off effects?
BlackVeils

Re: Window frames - artifacts when moving it

Post by BlackVeils »

yes scroll to the opacity and shadow sections, put a # at beginning of lines to disable them. do you want rid of transparency and fading?
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

BlackVeils wrote:yes scroll to the opacity and shadow sections, put a # at beginning of lines to disable them. do you want rid of transparency and fading?
I like XFCE because is really simply without fireworks. I try disable all effects, especially this minimize/maximize and this right mouse click animation, you know what i mean, but i don't know which parameter is responsible for it.
Light and quiclky system, that's i like it.
Last edited by mix4 on Tue Sep 15, 2015 10:42 am, edited 1 time in total.
BlackVeils

Re: Window frames - artifacts when moving it

Post by BlackVeils »

remove context menu transparency and fading windows with these settings, i just checked on mine:

i changed these lines

Code: Select all

no-fading-openclose = true
#menu-opacity = 0.80

Code: Select all

      # Other
    backend = "glx";
    paint-on-overlay = true;
    glx-no-stencil = true;
    glx-no-rebind-pixmap = true;

    # Set VSync method. VSync methods currently available:
    vsync = "opengl-swc";
    # none: No VSync
    # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
    # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
    # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
    # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
    # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
    # (Note some VSync methods may not be enabled at compile time.)

    unredir-if-possible = true;
    # glx-use-copysubbuffermesa = true;
    # glx-no-rebind-pixmap = true;
    # glx-swap-method = "undefined";
    # glx-use-gpushader4 = true;

    # 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 = 4;      # The blur radius for shadows. (default 12)
    shadow-offset-x = -5;      # The left offset for shadows. (default -15)
    shadow-offset-y = -5;      # The top offset for shadows. (default -15)
    shadow-exclude = [
     "! name~=''",
     "n:e:Notification",
     "n:e:Plank",
     "n:e:Docky",
     "n:e:Kazam",
     "g:e:Synapse",
     "g:e:Kupfer",
     "g:e:Plank",
     "g:e:Conky",
    #"n:w:*Firefox*",
     "n:w:*Chrome*",
     "n:w:*Chromium*",
     "class_g ?= 'kazam'",
     "class_g ?= 'xfce4-screenshooter'",
     "class_g ?= 'Notify-osd'",
     "class_g ?= 'Mate-notification-daemon'",
     "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.01; # Opacity change between steps while fading out. (default 0.03).
    no-fading-openclose = true; # Fade windows in/out when opening/closing


      # Opacity
    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.
    # menu-opacity = 0.80;
    # inactive-opacity = 0.6;
    # active-opacity = 0.8;
    # frame-opacity = 0.7;
    # inactive-opacity-override = false;
    # alpha-step = 0.06;
    # inactive-dim = 0.3;
    # inactive-dim-fixed = true;
    # blur-background = true;
    # blur-background-frame = true;
    # blur-kern = "3x3box"
    # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
    # blur-background-fixed = true;
    # blur-background-exclude = [
    # "window_type = 'dock'",
    # "window_type = 'desktop'",
    # "_GTK_FRAME_EXTENTS@:c"
    #];
    # opacity-rule = [ "80:class_g = 'URxvt'" ];


      # Window type settings
    wintypes:
    {
      tooltip = { fade = true; shadow = false; };
    };
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

BlackVeils wrote:remove context menu transparency and fading windows with these settings, i just checked on mine:

i changed these lines

Code: Select all

no-fading-openclose = true
#menu-opacity = 0.80

Code: Select all

      # Other
    backend = "glx";
    paint-on-overlay = true;
    glx-no-stencil = true;
    glx-no-rebind-pixmap = true;

    # Set VSync method. VSync methods currently available:
    vsync = "opengl-swc";
    # none: No VSync
    # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
    # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
    # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
    # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
    # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
    # (Note some VSync methods may not be enabled at compile time.)

    unredir-if-possible = true;
    # glx-use-copysubbuffermesa = true;
    # glx-no-rebind-pixmap = true;
    # glx-swap-method = "undefined";
    # glx-use-gpushader4 = true;

    # 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 = 4;      # The blur radius for shadows. (default 12)
    shadow-offset-x = -5;      # The left offset for shadows. (default -15)
    shadow-offset-y = -5;      # The top offset for shadows. (default -15)
    shadow-exclude = [
     "! name~=''",
     "n:e:Notification",
     "n:e:Plank",
     "n:e:Docky",
     "n:e:Kazam",
     "g:e:Synapse",
     "g:e:Kupfer",
     "g:e:Plank",
     "g:e:Conky",
    #"n:w:*Firefox*",
     "n:w:*Chrome*",
     "n:w:*Chromium*",
     "class_g ?= 'kazam'",
     "class_g ?= 'xfce4-screenshooter'",
     "class_g ?= 'Notify-osd'",
     "class_g ?= 'Mate-notification-daemon'",
     "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.01; # Opacity change between steps while fading out. (default 0.03).
    no-fading-openclose = true; # Fade windows in/out when opening/closing


      # Opacity
    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.
    # menu-opacity = 0.80;
    # inactive-opacity = 0.6;
    # active-opacity = 0.8;
    # frame-opacity = 0.7;
    # inactive-opacity-override = false;
    # alpha-step = 0.06;
    # inactive-dim = 0.3;
    # inactive-dim-fixed = true;
    # blur-background = true;
    # blur-background-frame = true;
    # blur-kern = "3x3box"
    # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
    # blur-background-fixed = true;
    # blur-background-exclude = [
    # "window_type = 'dock'",
    # "window_type = 'desktop'",
    # "_GTK_FRAME_EXTENTS@:c"
    #];
    # opacity-rule = [ "80:class_g = 'URxvt'" ];


      # Window type settings
    wintypes:
    {
      tooltip = { fade = true; shadow = false; };
    };
Ok, thank you so much again.
I will try myself to disable all effects. Maybe I can get a result like Compiz with disabled all the fireworks.
BlackVeils

Re: Window frames - artifacts when moving it

Post by BlackVeils »

if you want no shadows etc, then i dont think there is any point in using compton, you can instead use xfce window manager with the compositor disabled in the 'Window Manager Tweaks' settings.

xfce window manager is default, unless you switched the default to compiz.

if you stay with compton, and want to disable shadows, here it is:

i changed

Code: Select all

shadow = false
fading = false

Code: Select all

          # Other
        backend = "glx";
        paint-on-overlay = true;
        glx-no-stencil = true;
        glx-no-rebind-pixmap = true;

        # Set VSync method. VSync methods currently available:
        vsync = "opengl-swc";
        # none: No VSync
        # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
        # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
        # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
        # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
        # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
        # (Note some VSync methods may not be enabled at compile time.)

        unredir-if-possible = true;
        # glx-use-copysubbuffermesa = true;
        # glx-no-rebind-pixmap = true;
        # glx-swap-method = "undefined";
        # glx-use-gpushader4 = true;

        # 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 = false;         # 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 = 4;      # The blur radius for shadows. (default 12)
        shadow-offset-x = -5;      # The left offset for shadows. (default -15)
        shadow-offset-y = -5;      # The top offset for shadows. (default -15)
        shadow-exclude = [
         "! name~=''",
         "n:e:Notification",
         "n:e:Plank",
         "n:e:Docky",
         "n:e:Kazam",
         "g:e:Synapse",
         "g:e:Kupfer",
         "g:e:Plank",
         "g:e:Conky",
        #"n:w:*Firefox*",
         "n:w:*Chrome*",
         "n:w:*Chromium*",
         "class_g ?= 'kazam'",
         "class_g ?= 'xfce4-screenshooter'",
         "class_g ?= 'Notify-osd'",
         "class_g ?= 'Mate-notification-daemon'",
         "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 = false; # 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.01; # Opacity change between steps while fading out. (default 0.03).
        no-fading-openclose = true; # Fade windows in/out when opening/closing


          # Opacity
        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.
        # menu-opacity = 0.80;
        # inactive-opacity = 0.6;
        # active-opacity = 0.8;
        # frame-opacity = 0.7;
        # inactive-opacity-override = false;
        # alpha-step = 0.06;
        # inactive-dim = 0.3;
        # inactive-dim-fixed = true;
        # blur-background = true;
        # blur-background-frame = true;
        # blur-kern = "3x3box"
        # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
        # blur-background-fixed = true;
        # blur-background-exclude = [
        # "window_type = 'dock'",
        # "window_type = 'desktop'",
        # "_GTK_FRAME_EXTENTS@:c"
        #];
        # opacity-rule = [ "80:class_g = 'URxvt'" ];


          # Window type settings
        wintypes:
        {
          tooltip = { fade = true; shadow = false; };
        };
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

BlackVeils wrote:if you want no shadows etc, then i dont think there is any point in using compton, you can instead use xfce window manager with the compositor disabled in the 'Window Manager Tweaks' settings.

xfce window manager is default, unless you switched the default to compiz.

if you stay with compton, and want to disable shadows, here it is:

i changed

Code: Select all

shadow = false
fading = false

Code: Select all

          # Other
        backend = "glx";
        paint-on-overlay = true;
        glx-no-stencil = true;
        glx-no-rebind-pixmap = true;

        # Set VSync method. VSync methods currently available:
        vsync = "opengl-swc";
        # none: No VSync
        # drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
        # opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
        # opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
        # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
        # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
        # (Note some VSync methods may not be enabled at compile time.)

        unredir-if-possible = true;
        # glx-use-copysubbuffermesa = true;
        # glx-no-rebind-pixmap = true;
        # glx-swap-method = "undefined";
        # glx-use-gpushader4 = true;

        # 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 = false;         # 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 = 4;      # The blur radius for shadows. (default 12)
        shadow-offset-x = -5;      # The left offset for shadows. (default -15)
        shadow-offset-y = -5;      # The top offset for shadows. (default -15)
        shadow-exclude = [
         "! name~=''",
         "n:e:Notification",
         "n:e:Plank",
         "n:e:Docky",
         "n:e:Kazam",
         "g:e:Synapse",
         "g:e:Kupfer",
         "g:e:Plank",
         "g:e:Conky",
        #"n:w:*Firefox*",
         "n:w:*Chrome*",
         "n:w:*Chromium*",
         "class_g ?= 'kazam'",
         "class_g ?= 'xfce4-screenshooter'",
         "class_g ?= 'Notify-osd'",
         "class_g ?= 'Mate-notification-daemon'",
         "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 = false; # 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.01; # Opacity change between steps while fading out. (default 0.03).
        no-fading-openclose = true; # Fade windows in/out when opening/closing


          # Opacity
        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.
        # menu-opacity = 0.80;
        # inactive-opacity = 0.6;
        # active-opacity = 0.8;
        # frame-opacity = 0.7;
        # inactive-opacity-override = false;
        # alpha-step = 0.06;
        # inactive-dim = 0.3;
        # inactive-dim-fixed = true;
        # blur-background = true;
        # blur-background-frame = true;
        # blur-kern = "3x3box"
        # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
        # blur-background-fixed = true;
        # blur-background-exclude = [
        # "window_type = 'dock'",
        # "window_type = 'desktop'",
        # "_GTK_FRAME_EXTENTS@:c"
        #];
        # opacity-rule = [ "80:class_g = 'URxvt'" ];


          # Window type settings
        wintypes:
        {
          tooltip = { fade = true; shadow = false; };
        };

What can I say... BIG THANKS for you!
If it is minimum config for Compton isn't bad for me, looks nice. With time I adapt to new graphic.
I stay with it, its not to heavy for my 6 years PC.
Big beer for you! Thanks for all!
Love Mint community!
MtnDewManiac
Level 6
Level 6
Posts: 1491
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Window frames - artifacts when moving it

Post by MtnDewManiac »

mix4 wrote:1) I disable all options in default Compiz, no results.
So you're using Compiz instead of Xfce's own window manager (Xfwm)? Did you see this issue when the system was still using Xfwm, or did it only appear after switching WMs?

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
mix4

Re: Window frames - artifacts when moving it

Post by mix4 »

MtnDewManiac wrote:
mix4 wrote:1) I disable all options in default Compiz, no results.
So you're using Compiz instead of Xfce's own window manager (Xfwm)? Did you see this issue when the system was still using Xfwm, or did it only appear after switching WMs?

Regards,
MDM
Hi.
This problem is on Compiz and Xfwm.
Compton is solution... for now, wait on 17.3 Rosa Xfce.
Locked

Return to “Xfce”