You are not logged in.

#1 2013-08-03 17:26:44

crayZsaaron
Member
Registered: 2013-08-03
Posts: 3

[SOLVED] xcompmgr spam: BadPicture request

Greetings,

While trying to set up transparency for xterm in xmonad, I came across a strange error with xcompmgr. When I try to invoke it in a terminal, I get the following spam:

error 143: BadPicture request 139 minor 8 serial 2444
error 143: BadPicture request 139 minor 8 serial 2468
error 143: BadPicture request 139 minor 8 serial 2492

And so on until I terminate it.

The Arch Wiki says that installing feh can solve this issue (specifically for awesome WM)... however, I already have feh installed.

If I simply invoke xcompmgr in my .xinitrc, it breaks completely - My background image (set with xloadimage) doesn't load properly and is simply replaced by a ghost image whatever window was last covering my screen.

Here is my .xinitrc if it helps. I commented out xcompmgr and devilspie because of the trouble they gave me.

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xsetroot -cursor_name left_ptr

xloadimage -onroot -center -background 444444 /home/atticus/Images/download.png

#xcompmgr &
#devilspie -a &

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

xrdb ~/.Xresources

exec xmonad

Last edited by crayZsaaron (2013-08-05 00:59:27)

Offline

#2 2013-08-03 18:03:50

phanisvara
Member
From: west bengal, india
Registered: 2012-07-08
Posts: 74

Re: [SOLVED] xcompmgr spam: BadPicture request

don't know about your particular issues, but i found xcompmgr pretty buggy (memory leaks, artefacts) and am happy with compton-git (AUR), using awesome WM.

Offline

#3 2013-08-03 21:22:58

crayZsaaron
Member
Registered: 2013-08-03
Posts: 3

Re: [SOLVED] xcompmgr spam: BadPicture request

Interestingly enough, I get a very similar error with compton:

error 143 (BadPicture) request 139 minor 8 serial 2222 ("RenderBadPicture (invalid Picture parameter)")

So that probably indicates a deeper problem on my end, right? I guess I'm not really sure what it means by "Picture".

Last edited by crayZsaaron (2013-08-03 21:39:20)

Offline

#4 2013-08-05 00:56:50

crayZsaaron
Member
Registered: 2013-08-03
Posts: 3

Re: [SOLVED] xcompmgr spam: BadPicture request

Update:

It seems that xcompmgr can have some issues when xloadimage is used to set the background, as I was doing (see my posted .xinitrc). Now, I have replaced that line with:

feh --bg-scale /path/to/background.png

And everything works fine.

P.S. I'm not quite sure how to mark this solved...

Last edited by crayZsaaron (2013-08-05 00:58:46)

Offline

#5 2013-08-05 01:01:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,724

Re: [SOLVED] xcompmgr spam: BadPicture request

crayZsaaron wrote:

P.S. I'm not quite sure how to mark this solved...

Looks like you got it smile

Edit:  BTW, Welcome to Arch Linux.

Last edited by ewaller (2013-08-05 01:02:14)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Online

#6 2013-08-05 02:31:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] xcompmgr spam: BadPicture request

I would recommend using compton (or better, compton-git) rather than xcompmgr.  Xcompmgr was created as a proof-of-concept apparently, and has had some know issues in the past, which have included instability, memory leaks, and other generally funny behavior.  I have no idea what the status is now, but I would imagine that it is probably not too much better (if at all) since I last used it, as the arch package has not been updated in nearly a year.  Compton is a fork of xcompmgr-dana (dcompmgr) which was a fork of xcompmgr.  It is pretty actively developed, but more stable, and offers numerous features that xcompmgr doesn't.   Besides, the basic syntax is identical.

But if I had to pick one reason to try to sway you from xcompmgr it would be simply that it really is not very stable.  Of course, do what you like, but those are my 2.41 cents.

Offline

Board footer

Powered by FluxBB