You are not logged in.

#1 2023-06-10 12:30:45

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Window repeating after resizing

Hi forum members,

I am facing this problem when I have multiple terminals opened with some of them running a program and some of them idle, then if I try resizing the windows, the windows with the programs running in them starts some weird kind of screen tearing and starts repeating as I try to resize them. If I try to close all the windows on the tag, them some of them gets closed leaving behind boundaries/borders for all those windows.

These are my configurations:

WM: dwm
Compositor: xcompmgr
Video drivers Installed: xf86-video-amdgpu xf86-video-ati xf86-video-vesa

Output of: cat /etc/X11/xorg.conf.d/20-amd-gpu.conf

Section "Device"
    Identifier    "AMD Graphics"
    Driver        "amdgpu"
    Option        "TearFree" "true"
EndSection


I tried the same thing with picom also but it didn't help. I faced the exact same issue with awesome wm also which means this is not window manager specific.

Please help me and let me know If I am missing some important drivers.

Thanks

Offline

#2 2023-06-10 13:53:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

Did you try this without any compositor?
I don't think that why you see is "tearing" but XOR artifacts (an ancient way to draw a window outline which kinda systematically fails w/ compositors)

Offline

#3 2023-06-10 14:29:34

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Hi seth, I tried doing the same thing with multiple open instances of simple terminal, however it worked flawlessly. It is only happening with alacritty.

Offline

#4 2023-06-10 14:34:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

… or GL clients.
Do you have a screenshot of photo of the artifact?

Offline

#5 2023-06-10 15:06:21

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

IMG-20230610-200051.jpg IMG-20230610-200118.jpg

Offline

#6 2023-06-10 15:07:44

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Hi Seth, I have shared the images. I hope you can see those white borders and boxes.

Offline

#7 2023-06-10 15:11:08

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Its worth noting that after this happens, I am unable to spawn any new app on the particular tag on which this happens, however, other tags work fine. In short, the tag becomes unusable and I have to start the x-server again.

Offline

#8 2023-06-10 19:11:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

There're artifacts on the background/wallpaper, right?
Is this with a compositor (picom/xcompmgr) or without?

Does the same happen w/ the kitty TE?

Offline

#9 2023-06-11 06:04:56

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Hi Seth, I am not sure if they are XOR artifacts or not. But while resizing this type of repeating happens and I am left with these white borders/boundaries on the screen.

Yes, I am still using xcompmgr.

I tried the same with kitty, but it works fine without any of these boundaries.

Offline

#10 2023-06-11 06:37:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

Yes, I am still using xcompmgr.

Try without…

Offline

#11 2023-06-11 06:44:46

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

I have also tried it without using the compositor. But it does not go away.

Offline

#12 2023-06-11 07:34:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

Is all of this w/ tiled windows, floating one and/or does it matter?
Since only alacritty(?) seems affected, maybe post your alacritty.yml hmm

Offline

#13 2023-06-11 08:06:55

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Offline

#14 2023-06-11 08:20:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

Nothing really suspicious there, but alacritty onconditionally creates and ARGB window
Do you get the same w/

urxvt
urxvt -depth 32
urxvt -depth 32 -bg 'rgba:0000/0000/0000/8000'

?

Offline

#15 2023-06-22 10:57:57

Abhiparas
Member
Registered: 2023-06-10
Posts: 9

Re: Window repeating after resizing

Hi Seth, This seems like a alacritty specific issue mentioned on their issue tracker as well https://github.com/alacritty/alacritty/issues/6972. I think this will be fixed in the newer version.

Thanks for your help.

You can close this thread.

Offline

#16 2023-06-22 11:02:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,188

Re: Window repeating after resizing

No, I cant wink

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB