Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How a get a very blurred background ? #537

Open
Spheerys opened this issue Jan 14, 2019 · 9 comments
Open

How a get a very blurred background ? #537

Spheerys opened this issue Jan 14, 2019 · 9 comments

Comments

@Spheerys
Copy link

Spheerys commented Jan 14, 2019

Platform: Archlinux 64bits

GPU, drivers, and screen setup:

  • 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550/550X] [1002:699f] (rev c7) (prog-if 00 [VGA controller])
  • one monitor
  • glxinfo | grep -i vendor :
    *server glx vendor string: SGI
    *client glx vendor string: Mesa Project and SGI
    *Vendor: X.Org (0x1002)
    *OpenGL vendor string: X.Org

Compton version: 4.0-1 from the official repository

Compton configuration: https://pb.spheerys.fr/?9ce52a7f07b208d9#+3xgaQACCK2XbXj/xkK+lbFO8jGwHiUDZzOlQgac5V4=

Steps of reproduction

I'm setting the blur parameters like this :

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

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

Expected behavior

I want to have a very blurred background behing the transparent terminal windows, like in this picture : https://www.reddit.com/r/unixporn/comments/ac6qj3/ubuntu_openbox_tint2_compton_urxvt_first_rice/

Current Behavior & Other details

I only have a "very light" blurred background as you can see : https://i.imgur.com/IYavGiE.jpg
I tried several blur parametesr but it's look like the blur function is not working

What's going wrong ?

@yshui
Copy link

yshui commented Jan 18, 2019

@Spheerys The compton in official repo doesn't have kawase blur. You either want this one, or wait for me to implement it.

BTW, this repo is not longer active, the compton in the official repo is built from here

@emme1444
Copy link

emme1444 commented Apr 22, 2019

Could anyone give a more detailed guide on how to build this on Ubuntu 18.04.2?

That would be greatly appreciated!

@kbknapp
Copy link

kbknapp commented May 15, 2019

@emme1444 try this:

note: You may not need all these deps, but I don't have a machine to test which ones aren't required at the moment.

$ sudo apt install pkg-config make gcc libev-libevent-dev libdbus-1-dev libgl1-mesa-dev \
  libgl2-mesa-dev libxcb-present-dev libxcb-sync-dev libxcb-damage0-dev \
  xcb-damage0-dev libx11-xcb-dev libev libev-dev uthash-dev libxdg-basedir-dev \
  libconfig-dev meson  libx11-dev libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev \
  libxcb-image0-dev libxcb-randr0-dev libxcb-util0-dev libxcb-shape0-dev \
  libxcb-xkb-dev pkg-config xcb-proto libxcb-xrm-dev libxcb-composite0-dev xcb \
  libxcb-ewmh2 libxcb1-dev libxcb-keysyms1-dev libxcb-util0-devlibxcb-randr0-dev \
  libev-dev libxcb-cursor-dev libxcb-xinerama0-dev

$ git clone https://github.com/yshui/compton
$ cd compton
$ meson --buildtype=release . build
$ ninja -C build
$ sudo ninja -C build install

Edit: I just noticed you meant the tyrone144 fork. Sorry.

@michaeltarab
Copy link

@emme1444 try this:

note: You may not need all these deps, but I don't have a machine to test which ones aren't required at the moment.

$ sudo apt install pkg-config make gcc libev-libevent-dev libdbus-1-dev libgl1-mesa-dev \
  libgl2-mesa-dev libxcb-present-dev libxcb-sync-dev libxcb-damage0-dev \
  xcb-damage0-dev libx11-xcb-dev libev libev-dev uthash-dev libxdg-basedir-dev \
  libconfig-dev meson  libx11-dev libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev \
  libxcb-image0-dev libxcb-randr0-dev libxcb-util0-dev libxcb-shape0-dev \
  libxcb-xkb-dev pkg-config xcb-proto libxcb-xrm-dev libxcb-composite0-dev xcb \
  libxcb-ewmh2 libxcb1-dev libxcb-keysyms1-dev libxcb-util0-devlibxcb-randr0-dev \
  libev-dev libxcb-cursor-dev libxcb-xinerama0-dev

$ git clone https://github.com/yshui/compton
$ cd compton
$ meson --buildtype=release . build
$ ninja -C build
$ sudo ninja -C build install

Edit: I just noticed you meant the tyrone144 fork. Sorry.

Do you know if the yshui is the most up-to-date and if it is will this installation guide still work? thank you.

@kbknapp
Copy link

kbknapp commented Jun 11, 2019

@michaeltarab The yshui fork has been working well for me, and seems to get updated every few days so it's definitely active. However, it does not include the kawase blur that the tryone144 fork does. There is an open issue on the yshui fork to implement the kawase blur, they just said they haven't had time to implement it yet.

Conversely the tryone144 fork isn't active, it's just this repo with the kawase blur added as a feature. The last commit was in Feb 2018 or something.

As for the build instructions still being relevant they are, as I just re-built off the latest yshui commit a day or so ago using those instructions.

@michaeltarab
Copy link

Ok thank you for the help!

@schijtreiger
Copy link

schijtreiger commented Jun 26, 2019

Could anyone give a more detailed guide on how to build this on Ubuntu 18.04.2?

That would be greatly appreciated!

git clone https://github.com/tryone144/compton.git
cd compton
mv _CMakeLists.txt CMakeLists.txt
mkdir build
cd build
cmake ..
make
(test it maybe... ./compton & assuming your have a ~/.config/compton.conf)
sudo make install

& Bob's your uncle.
This works perfectly on FreeBSD-11.n / 12.n / -CURRENT, with proprietary nvidia-driver or drm-kmod (Intel Graphics, haven't test it with a Radeon card...yet)

@GijsVermarien
Copy link

GijsVermarien commented Jun 28, 2019

Small update in order to get it to work on Ubuntu 19.04:
sudo apt install pkg-config make gcc libev-libevent-dev libdbus-1-dev libgl1-mesa-dev libgles2-mesa-dev libxcb-present-dev libxcb-sync-dev libxcb-damage0-dev libx11-xcb-dev libev4 libev-dev uthash-dev libxdg-basedir-dev libconfig-dev meson libx11-dev libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev libxcb-util0-dev libxcb-shape0-dev libxcb-xkb-dev pkg-config xcb-proto libxcb-xrm-dev libxcb-composite0-dev xcb libxcb-ewmh2 libxcb1-dev libxcb-keysyms1-dev libxcb-util0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev

@bugarela
Copy link

Small update in order to get it to work on Ubuntu 19.04:
sudo apt install pkg-config make gcc libev-libevent-dev libdbus-1-dev libgl1-mesa-dev libgles2-mesa-dev libxcb-present-dev libxcb-sync-dev libxcb-damage0-dev libx11-xcb-dev libev4 libev-dev uthash-dev libxdg-basedir-dev libconfig-dev meson libx11-dev libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev libxcb-util0-dev libxcb-shape0-dev libxcb-xkb-dev pkg-config xcb-proto libxcb-xrm-dev libxcb-composite0-dev xcb libxcb-ewmh2 libxcb1-dev libxcb-keysyms1-dev libxcb-util0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev

On top of that, I've also needed

sudo apt install libxcomposite-dev libxrandr-dev libxinerama-dev

On both Ubuntu and Mint 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants