You are not logged in.

#1 2019-01-14 11:33:13

Spheerys
Member
Registered: 2012-05-01
Posts: 86

[Compton] How to make the blur works (solved)

Hi,

I want to use compton's blur parameter on terminal background.
But my conf doesn't work : https://pb.spheerys.fr/?9ce52a7f07b208d … OlQgac5V4=

The blur parameters are set there :

backend = "glx";

blur-background = false;
blur-background-frame = true;
blur-background-fixed = true;

blur-kern = "3x3box";
blur-method = "kawase";
blur-strength = 12;

The problem : there is no change with or without them !

I wonder if my graphic card is correctly installed, it's look like but how can be sure ?
What else could be responsable of this issue ?

Last edited by Spheerys (2019-01-18 22:34:18)

Offline

#2 2019-01-14 13:28:19

seth
Member
Registered: 2012-09-03
Posts: 51,133

Re: [Compton] How to make the blur works (solved)

blur-background = false;

Online

#3 2019-01-14 13:51:19

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

I obsiously tried with his parameter to true, but nothing change...

When launching compton by hand I have those messages :

[    58.072475 ] error    9 BadDrawable  request   14 minor    0 serial   7711: "BadDrawable (invalid Pixmap or Window parameter)"
glx_bind_pixmap(0x00c0045e): Failed to query Pixmap info.
paint_one(0x004004bd): Failed to bind texture. Expect troubles.
paint_one(0x004004bd): Missing painting data. This is a bad sign.
[    58.080455 ] error    9 BadDrawable  request   14 minor    0 serial   7766: "BadDrawable (invalid Pixmap or Window parameter)"
[    58.080491 ] error    8 BadMatch     request  142 minor    6 serial   7766: "BadMatch (invalid parameter attributes)"
[    58.143720 ] error    9 BadDrawable  request   14 minor    0 serial   7832: "BadDrawable (invalid Pixmap or Window parameter)"
glx_bind_pixmap(0x00c00474): Failed to query Pixmap info.
paint_one(0x0040005f): Failed to bind texture. Expect troubles.
paint_one(0x0040005f): Missing painting data. This is a bad sign.
[    58.147629 ] error    4 BadPixmap    request   54 minor    0 serial   7832: "BadPixmap (invalid Pixmap parameter)"
[    58.193595 ] error    9 BadDrawable  request   14 minor    0 serial   7911: "BadDrawable (invalid Pixmap or Window parameter)"
[    58.193787 ] error    8 BadMatch     request  142 minor    6 serial   7911: "BadMatch (invalid parameter attributes)"
[    58.195002 ] error    4 BadPixmap    request   54 minor    0 serial   7968: "BadPixmap (invalid Pixmap parameter)"
[    59.632353 ] error    9 BadDrawable  request   14 minor    0 serial   8560: "BadDrawable (invalid Pixmap or Window parameter)"
glx_bind_pixmap(0x00c004d4): Failed to query Pixmap info.
paint_one(0x0040005d): Failed to bind texture. Expect troubles.
paint_one(0x0040005d): Missing painting data. This is a bad sign.
[    59.647709 ] error    9 BadDrawable  request   14 minor    0 serial   8585: "BadDrawable (invalid Pixmap or Window parameter)"
glx_bind_pixmap(0x00c004dd): Failed to query Pixmap info.
paint_one(0x0040005f): Failed to bind texture. Expect troubles.
paint_one(0x0040005f): Missing painting data. This is a bad sign.
[    59.652243 ] error    9 BadDrawable  request   14 minor    0 serial   8620: "BadDrawable (invalid Pixmap or Window parameter)"
[    59.652358 ] error    9 BadDrawable  request   14 minor    0 serial   8625: "BadDrawable (invalid Pixmap or Window parameter)"
[    59.652380 ] error    8 BadMatch     request  142 minor    6 serial   8625: "BadMatch (invalid parameter attributes)"
[    59.652474 ] error    8 BadMatch     request  142 minor    6 serial   8625: "BadMatch (invalid parameter attributes)"
[    59.652488 ] error    4 BadPixmap    request   54 minor    0 serial   8625: "BadPixmap (invalid Pixmap parameter)"
[    59.652495 ] error    4 BadPixmap    request   54 minor    0 serial   8625: "BadPixmap (invalid Pixmap parameter)"

I don't know if it could help

Last edited by Spheerys (2019-01-14 13:52:46)

Offline

#4 2019-01-14 15:31:28

seth
Member
Registered: 2012-09-03
Posts: 51,133

Re: [Compton] How to make the blur works (solved)

Well, It's not going to work if blur-background is disabled.

From your config I assume you're using urxvt as VTE?
Is it translucent?
Does blurring work in general?
Do you use urxvt in ARGB mode (eg. " urxvt --depth 32 -bg rgba:0000/0000/0000/4444")?

Online

#5 2019-01-14 17:34:19

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

I'm not using urxvt for now, but terminator.
But the result is the same : there are both translucent but blurring doesn't work in general.
urxvt in ARGB mode give me a translucent background without blurring.

That is why I'm suspecting a driver/glx issue.

Last edited by Spheerys (2019-01-14 18:57:58)

Offline

#6 2019-01-14 19:37:36

seth
Member
Registered: 2012-09-03
Posts: 51,133

Re: [Compton] How to make the blur works (solved)

Ensure you set blur-background to true and restarted compton w/ that setting.
Then post the output of glxinfo.

Online

#7 2019-01-14 20:09:45

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

I have restarted compton : no change.
Here my glxinfo output : https://pb.spheerys.fr/?a7e6092c9984cce … rsYY+gNSU=

Offline

#8 2019-01-18 22:33:59

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

I have understood why it doesn't work !
The community/compton package doesn't support blur for now.
But aur/compton-tryone-git and aur/compton-no-blur-limit-git do !!

Offline

#9 2019-01-18 23:12:13

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [Compton] How to make the blur works (solved)

passing --blur-background to compton on the command line works perfectly fine for me, no need to install any alternative packages

[ tye@t: ~ ]$ pacman -Ss compton
community/compton 4.0-1 [installed]
    X compositor that may fix tearing issues

Last edited by HiImTye (2019-01-18 23:12:40)

Offline

#10 2019-01-18 23:27:58

seth
Member
Registered: 2012-09-03
Posts: 51,133

Re: [Compton] How to make the blur works (solved)

Works for me as well (4.0-1, likewise)
Also: at least the "compton-no-blur-limit-git" package draws from the "original" compton, "Latest commit 316eac0  on 30 Apr 2017" - the community version uses a much newer fork.

Sorry btw, I missed the glxinfo post - it does however not suggest insufficient GL support (and apparently that's not the issue anyway)

Online

#11 2019-01-18 23:30:09

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

Very strange... in fact I get my answer on a github repository : https://github.com/chjj/compton/issues/537

Offline

#12 2019-01-19 09:38:27

seth
Member
Registered: 2012-09-03
Posts: 51,133

Re: [Compton] How to make the blur works (solved)

Not strange:

https://github.com/chjj/ is used by compton-no-blur-limit-git
aur/compton-tryone-git uses https://github.com/tryone144/compton which was suggested to you by the maintainer of https://github.com/yshui/compton/ and that fork is used by the community repo.
The latter lacks the kawase blur filter (https://github.com/yshui/compton/issues/32) like the chjj version, but you never specified that a certain blur algorithm is missing, you only suggested that blurring failed (altogether) which isn't the case.

SIdenot: github forking could be a mistake for a feature… ;-)

Online

#13 2019-01-19 10:29:10

Spheerys
Member
Registered: 2012-05-01
Posts: 86

Re: [Compton] How to make the blur works (solved)

Thanks for explainations smile

Offline

Board footer

Powered by FluxBB