You are not logged in.

#1 2016-02-04 17:58:11

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Plank preserves a black background with compton under awesome wm

Hi,

I want to use plank dock in awesome wm, and have encountered a black background problem. Here are some of the system configuration.

  • awesome wm 3.5.8-1

  • compton-git 0.1_beta2.82

  • plank 0.10.1-2

  • plank-config 1.3.1-1

  • gtk+ 3.18.7

  • cairo 1.14.6

The X11 video driver is xf86-video-intel 1:2.99.917+519 and graphic uses Intel Celeron CPU J1900.

It seems that compton works well with other applications (i.e. xterm, conky) to support the transparency, but got no luck with plank and other docks such as awn and cairo-dock. There will always be a black background as shown below. Please give me some suggestions/hints to debug and solve the problem. Thanks.


plank.jpg

Offline

#2 2016-02-04 20:00:10

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: Plank preserves a black background with compton under awesome wm

Try running compton with these options

compton --backend glx --paint-on-overlay --vsync opengl-mswc

https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#3 2016-02-05 04:26:46

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Re: Plank preserves a black background with compton under awesome wm

Hi ugjka,

Thanks for your advice. I reinstalled the driver to support glx and the new dock looks great as shown. One tiny problem is that the edge of the original black background can still be observed (pointed by the red arrows), and I wonder whether it can also be removed by compton.

plank_1.jpg

Offline

#4 2016-02-05 04:52:56

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Re: Plank preserves a black background with compton under awesome wm

One thought about the edge might be related to the gtk configuration. I also have such edge for kupfer at the corner (as shown by the black arrows).

kupfer.jpg

Offline

#5 2016-02-05 10:17:41

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: Plank preserves a black background with compton under awesome wm

Hmm... I'm out  of ideas neutral

How about you try this https://aur.archlinux.org/packages/compton/ instead of git version?

Last edited by ugjka (2016-02-05 10:19:58)


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#6 2016-02-08 04:37:02

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Re: Plank preserves a black background with compton under awesome wm

I got same problem with the non-git version though...

Offline

#7 2016-02-16 11:40:41

reaper
Member
Registered: 2007-02-16
Posts: 27

Re: Plank preserves a black background with compton under awesome wm

Hi,

have same problem with "xcompmgr -c" and openbox smile .. if I restart plank, then it dissapier.. also Intel graphic card

http://imgur.com/kgyPJbm

Offline

#8 2016-02-16 20:36:17

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Re: Plank preserves a black background with compton under awesome wm

Can you try "--backend glx" for xcompmgr?

Offline

#9 2016-02-16 21:08:29

reaper
Member
Registered: 2007-02-16
Posts: 27

Re: Plank preserves a black background with compton under awesome wm

Then composite doesnt work at all.. but I also didnt find --backened option in man for xcompmgr

Offline

#10 2016-02-16 22:00:06

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: Plank preserves a black background with compton under awesome wm

EDIT: I somehow posted in the wrong topic..

Last edited by WorMzy (2016-02-16 22:11:21)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2016-02-17 22:44:28

sixshotx
Member
Registered: 2016-02-04
Posts: 6

Re: Plank preserves a black background with compton under awesome wm

reaper,

I partially solved the problem by changing from default backend xrender to glx. If you have problem with it, please check:

Offline

#12 2016-04-26 14:03:23

dftst
Member
Registered: 2016-04-26
Posts: 1

Re: Plank preserves a black background with compton under awesome wm

Is plank listed under the shadow-exlude bit in your compton.conf file? It could be that compton is trying to draw shadows for plank, which I haven't been able to get to work properly so I ended up just disabling shadows for it.

Offline

Board footer

Powered by FluxBB