Skip to content

Compton freezing with -b ?

Everything Ive read says use -b (background/daemonize) when starting compton for a full session. However, compton -b has a a major issue. no graphical updates. i can see the mouse moving. no windows move. no windows update. I have to change tty and kill compton. Using the exact same config/parameters, but without the -b, everything works fine. This leaves it running in the foreground though, which obviously is not ideal for a session.

Having compton -b autorun at session startup, the issue persisted. Right now I have compton -d :0 running on tty2 as a temp solution, but this seems to be quite the terrible workaround.

Are there any known issues with using -b to start it up, or am I just having weird luck. It's literally the only thing that causes issues so far.

In what I have seen so far, compton has removed all the tearing issues I was having with xfwm's compositor, so I'm really loving it, aside from the startup issue.

xfce/xfwm on 3 monitors and AMD open source drivers.

edit: after digging way deeper into the github issues list, it appears that -b has had issues as far back as 2013, but they never mention a resolution or workaround just "rebuild with debug symbols and let me see logs" and "avoid using -b"

Whats the best method for launching without using -b for a compositor (i know a lot of CLI type stuff, but the whole CLI meets X end of things always gets me). Is it just to make a scrip that runs "compton &" ?

Edited 19 Apr 2016. We only hold this version.

14 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
14 · 100% up
Kind
Text
ID
4ffsrt

Author

9
posts
60
comments
2
media
View profile

16 comments

Compton is easier to use with a config file, and started with compton & in .xinitrc or you de/wm's startup. I have used compton for a long time now and have never used the -b option. And the config doesn't have to be all to complex, if you don't need it to be, here is mine https://bpaste.net/show/d0e81ae941d2

4 points

I also had issues with -b. I switched it to just running compton &, which resolved my biggest issue. Still can't get transparency on inactive windows for some reason though

3 points

Sounds like compton & wins over compton -b

Easy solution! good to know.

1 points

For sure. Not exactly sure why -b is even an option, although it used to work. One day it broke and I freaked out and turned it off :)

2 points

Issue with -b confirmed on my machine. Surprisingly enough, running "compton -b" also kills the xfce4-terminal I'm launching it from.

2 points

Me too. After having to switch tty to kill it, I didn't even think twice about that bring weird. Github issues seem to point towards it being a process branching issue.

1 points

Just fyi, -b straight up doesn't work if you're running current Nvidia drivers.

1 points

im running amd open source drivers, so it seems like theres a lot of "doesnt work" scenarios for -b

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.