You are not logged in.

#1 2014-06-25 08:34:00

archery1234
Member
Registered: 2014-03-18
Posts: 9

Compiz crashes after STR, won't restart, erroneous wiki page?

Hello everyone,

I'm having a little bit of trouble with compiz. Been using compiz and xfce productive for some time now and never really had any issues.

Just recently (say, 1-2 weeks ago) I noticed a huge boost in performance. I think, this might be related to my video driver having been updated: https://www.archlinux.org/packages/extr … deo-intel/ The build date pretty much matches the begin of the better-performance-time.

But, and here's the but: About since that time compiz will crash after waking up the laptop from STR. The screen would flicker, the xscreensaver lock disappear, reappear, everything go black, then xscreensaver would reappear. After entering my password, compiz has crashed and I have to start xfwm4 as an emergency replacement.

Restarting compiz results in

compiz --replace ccp &
[1] 11337
intel_do_flush_locked failed: Invalid argument
[1]  + exit 1     compiz --replace ccp

Now I googled the error, but did not find anything that more or less matched my case (or that I might have been able to work with).

I then remembered that it was quite a hassle to get compiz installed in the first place back then. So I decided to have a look at the arch wiki and indeed encountered a seemingly improved guideline to installing. https://wiki.archlinux.org/index.php/Co … stallation

So I decided to recompile and reinstall the all of compiz and found https://aur.archlinux.org/packages/compiz-xfce/ from the 0.8 series. Yet there seems to be a dependency problem:

compiz-xfce depends on compiz-gtk-standalone and ccsm. The latter depends on compizconfig-python which depends on compiz-core. compiz-core conflicts with compiz-gtk-standalone.

I then tried to leave out the compiz-xfce metapackage and obtain a running constellation by just using compiz-core and the recommended packages. Every time I ended up with the exact same error as above. The same goes for the 0.9 series which I tried afterwards.

So now I am not quite sure where to start and resolve this error. The "intel_do_flush_locked failed: Invalid argument" suggests that it has something to do with intel, and therefore, most likely, the graphics driver. The dependency hassle might not be related to it at, but still leaves me with the question on how to best install (and whether to install 0.8 or 0.9).

Can anyone guide to towards a working setup with xfce and compiz?

Thanks in advance!

Offline

#2 2014-06-25 17:28:59

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: Compiz crashes after STR, won't restart, erroneous wiki page?

Compiz-gtk-standalone provides compiz-core.  Install it first, then install the other packages.


"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

#3 2014-06-25 19:27:50

archery1234
Member
Registered: 2014-03-18
Posts: 9

Re: Compiz crashes after STR, won't restart, erroneous wiki page?

Thank you for the advice. Indeed, and although I wouldn't have thought so, after making sure that compiz-gtk-standalone was installed in the first place, adding compiz-xfce and running compiz works just fine.

So is it just me or is the wiki page https://wiki.archlinux.org/index.php/Co … stallation indeed misleading?

It states:

Install one of the following four packages/package groups:

* compiz-gtk-standalone - This package provides the window manager and the gtk-window-decorator.
* compiz-xfce - This package is a meta package which provides a Compiz install with optimal settings for the Xfce desktop. It depends on compiz-gtk-standalone.

I therefore installed compiz-xfce, assuming that compiz-gtk-standalone would be drawn as a dependency (which would go fine with the wiki-advice to only install ONE package).

Thanks again!

Offline

#4 2014-06-25 20:28:22

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: Compiz crashes after STR, won't restart, erroneous wiki page?

The wiki is correct.  Compizconfig-python will work with either compiz-core or compiz-gtk-standalone.

archery1234 wrote:

I therefore installed compiz-xfce, assuming that compiz-gtk-standalone would be drawn as a dependency (which would go fine with the wiki-advice to only install ONE package).

Automatically installing dependencies is not a feature of the AUR.  I presume you are using yaourt (or an equivalent program).  The problem is that yaourt does not understand how to automatically handle this situation; it is not a problem with the AUR or the wiki.  You should know how to install packages from the AUR manually, without the use of an AUR helper like yaourt.

Read this wiki page if you haven't already:
https://wiki.archlinux.org/index.php/AUR


"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

#5 2014-06-26 05:51:03

archery1234
Member
Registered: 2014-03-18
Posts: 9

Re: Compiz crashes after STR, won't restart, erroneous wiki page?

I certainly did read the page back then, but I must have taken automatic dependency resolving for granted. I am using yaourt, you're right. I'll spend some in AUR in the future.

Thank you so far!

Offline

Board footer

Powered by FluxBB