chjj / compton

A compositor for X11.
Other
2.25k stars 499 forks source link

Frozen windows #378

Open lafrech opened 8 years ago

lafrech commented 8 years ago

I've been using compton for a few weeks without issue until today.

Today, it made my computer unusable, with window content sometimes not refreshing, either frozen like a screenshot or totally grey. I don't know how to explain this any better.

My setup:

Debian Jessie / Mate desktop compton (0.1~beta2-1) ATI video card (I doubt this is relevant):

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

My config file (untouched since the first day):

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

I made up this config file from random stuff found on the internet. Maybe it is wrong. I just want to fix video tearing. No fancy window effects.

Commenting glx-no-rebind-pixmap seems to fix the issue and makes the computer usable, although pretty slow, and compton eats a lot of CPU (like 50% just when changing window selection, I never specifically monitored its CPU usage, but I believe this is more than it used to be). However, when it is commented, the tearing reappears...

I checked the logs for recently upgraded packages and didn't see anything that could be related.

.xsession-erros.log might give a clue:

glx_bind_pixmap(0x01800dc7): Failed to query Pixmap info.
win_paint_win(0x0140085f): Failed to bind texture. Expect troubles.
win_paint_win(0x0140085f): Missing painting data. This is a bad sign.
glx_bind_pixmap(0x01800dc8): Failed to query Pixmap info.
win_paint_win(0x01400862): Failed to bind texture. Expect troubles.
win_paint_win(0x01400862): Missing painting data. This is a bad sign.
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 665 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 681 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 754 was not found when attempting to remove it
glx_bind_pixmap(0x01800e65): Failed to query Pixmap info.
win_paint_win(0x014008c2): Failed to bind texture. Expect troubles.
win_paint_win(0x014008c2): Missing painting data. This is a bad sign.
glx_bind_pixmap(0x01800ebd): Failed to query Pixmap info.
win_paint_win(0x01400911): Failed to bind texture. Expect troubles.
win_paint_win(0x01400911): Missing painting data. This is a bad sign.
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 819 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 821 was not found when attempting to remove it
glx_bind_pixmap(0x01800fa5): Failed to query Pixmap info.
win_paint_win(0x01400986): Failed to bind texture. Expect troubles.
win_paint_win(0x01400986): Missing painting data. This is a bad sign.
glx_bind_pixmap(0x018019e6): Failed to query Pixmap info.
win_paint_win(0x01400c30): Failed to bind texture. Expect troubles.
win_paint_win(0x01400c30): Missing painting data. This is a bad sign.
glx_bind_pixmap(0x018019e7): Failed to query Pixmap info.
win_paint_win(0x01400c33): Failed to bind texture. Expect troubles.
win_paint_win(0x01400c33): Missing painting data. This is a bad sign.
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 994 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 1094 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 1462 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 1463 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 1586 was not found when attempting to remove it
[    13.58 ] error 3 (BadWindow) request 2 minor 0 serial 3089 ("BadWindow (invalid Window parameter)")
[    17.92 ] error 3 (BadWindow) request 2 minor 0 serial 4000 ("BadWindow (invalid Window parameter)")
[    19.47 ] error 3 (BadWindow) request 2 minor 0 serial 5103 ("BadWindow (invalid Window parameter)")
[    38.19 ] error 3 (BadWindow) request 2 minor 0 serial 15053 ("BadWindow (invalid Window parameter)")
[    40.85 ] error 3 (BadWindow) request 129 minor 5 serial 16849 ("BadWindow (invalid Window parameter)")
[    40.85 ] error 3 (BadWindow) request 129 minor 5 serial 16861 ("BadWindow (invalid Window parameter)")
[    59.81 ] error 3 (BadWindow) request 129 minor 5 serial 24201 ("BadWindow (invalid Window parameter)")
[    73.51 ] error 9 (BadDrawable) request 14 minor 0 serial 29978 ("BadDrawable (invalid Pixmap or Window parameter)")
[    73.51 ] error 9 (BadDrawable) request 14 minor 0 serial 29982 ("BadDrawable (invalid Pixmap or Window parameter)")
[    73.55 ] error 4 (BadPixmap) request 54 minor 0 serial 30054 ("BadPixmap (invalid Pixmap parameter)")
[    73.55 ] error 4 (BadPixmap) request 54 minor 0 serial 30064 ("BadPixmap (invalid Pixmap parameter)")
[    80.98 ] error 9 (BadDrawable) request 14 minor 0 serial 31742 ("BadDrawable (invalid Pixmap or Window parameter)")
[    81.02 ] error 4 (BadPixmap) request 54 minor 0 serial 31813 ("BadPixmap (invalid Pixmap parameter)")
[    82.41 ] error 9 (BadDrawable) request 14 minor 0 serial 32612 ("BadDrawable (invalid Pixmap or Window parameter)")
[    82.46 ] error 4 (BadPixmap) request 54 minor 0 serial 32684 ("BadPixmap (invalid Pixmap parameter)")
[    86.95 ] error 9 (BadDrawable) request 14 minor 0 serial 34854 ("BadDrawable (invalid Pixmap or Window parameter)")
[    86.99 ] error 4 (BadPixmap) request 54 minor 0 serial 34925 ("BadPixmap (invalid Pixmap parameter)")
[   116.53 ] error 3 (BadWindow) request 129 minor 5 serial 48048 ("BadWindow (invalid Window parameter)")
[   155.48 ] error 3 (BadWindow) request 129 minor 5 serial 59283 ("BadWindow (invalid Window parameter)")
[   155.48 ] error 3 (BadWindow) request 129 minor 5 serial 59290 ("BadWindow (invalid Window parameter)")
[   155.48 ] error 3 (BadWindow) request 129 minor 5 serial 59297 ("BadWindow (invalid Window parameter)")
[   155.48 ] error 3 (BadWindow) request 129 minor 5 serial 59304 ("BadWindow (invalid Window parameter)")
[   180.40 ] error 9 (BadDrawable) request 14 minor 0 serial 64613 ("BadDrawable (invalid Pixmap or Window parameter)")
[   180.40 ] error 9 (BadDrawable) request 14 minor 0 serial 64617 ("BadDrawable (invalid Pixmap or Window parameter)")
[   180.45 ] error 4 (BadPixmap) request 54 minor 0 serial 64688 ("BadPixmap (invalid Pixmap parameter)")
[   180.45 ] error 4 (BadPixmap) request 54 minor 0 serial 64698 ("BadPixmap (invalid Pixmap parameter)")
[   190.37 ] error 3 (BadWindow) request 2 minor 0 serial 67107 ("BadWindow (invalid Window parameter)")
[   190.37 ] error 3 (BadWindow) request 129 minor 6 serial 67108 ("BadWindow (invalid Window parameter)")
[   190.37 ] error 3 (BadWindow) request 20 minor 0 serial 67110 ("BadWindow (invalid Window parameter)")
[   190.37 ] error 3 (BadWindow) request 15 minor 0 serial 67111 ("BadWindow (invalid Window parameter)")
[   190.37 ] error 3 (BadWindow) request 2 minor 0 serial 67112 ("BadWindow (invalid Window parameter)")
[   190.38 ] error 3 (BadWindow) request 129 minor 5 serial 67115 ("BadWindow (invalid Window parameter)")
[   190.38 ] error 3 (BadWindow) request 20 minor 0 serial 67116 ("BadWindow (invalid Window parameter)")
[   358.70 ] error 3 (BadWindow) request 129 minor 5 serial 117367 ("BadWindow (invalid Window parameter)")
[   358.70 ] error 3 (BadWindow) request 129 minor 5 serial 117374 ("BadWindow (invalid Window parameter)")
[   358.70 ] error 3 (BadWindow) request 129 minor 5 serial 117381 ("BadWindow (invalid Window parameter)")
[   358.70 ] error 3 (BadWindow) request 129 minor 5 serial 117388 ("BadWindow (invalid Window parameter)")
[   358.70 ] error 3 (BadWindow) request 129 minor 5 serial 117395 Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 1751 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 2160 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 2198 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 2480 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 2494 was not found when attempting to remove it
Avertissement du gestionnaire de fenêtres : Log level 8: Source ID 2749 was not found when attempting to remove it
glx_bind_pixmap(0x0180360f): Failed to query Pixmap info.
win_paint_win(0x014013c4): Failed to bind texture. Expect troubles.
win_paint_win(0x014013c4): Missing painting data. This is a bad sign.

Anything I could investigate?

levifig commented 7 years ago

Getting the exact same issue (Debian Stretch, MATE, also Radeon). Right now, when this happens, I just hit CTRL+ALT+F1 to get to the login screen (lock) and unlock it. I do wonder what's causing this though... ¯\_(ツ)_/¯

kn00tcn commented 7 years ago

radeon has a history of opengl bugs, although i think i saw another thread with nvidia having eventual frozen windows

melroy89 commented 5 years ago

Same with Nvidia GTX..

amalcolm-wikia commented 5 years ago

Also happens with the open source intel glx drivers. Using Openbox, with LXDM, on Void Linux.