From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EC9AB139897 for ; Tue, 25 Aug 2015 19:11:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13DE614289; Tue, 25 Aug 2015 19:11:08 +0000 (UTC) Received: from mail.web-xs.org (mail.web-xs.org [148.251.4.204]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F42251423F for ; Tue, 25 Aug 2015 19:11:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.web-xs.org (Postfix) with ESMTP id C9BAF6EC2A8F for ; Tue, 25 Aug 2015 21:11:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.web-xs.org Received: from mail.web-xs.org ([127.0.0.1]) by localhost (mail.web-xs.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id btTb+1g3i-8E for ; Tue, 25 Aug 2015 21:11:02 +0200 (CEST) Received: from server-1.localdomain (p54A702CB.dip0.t-ipconnect.de [84.167.2.203]) (Authenticated sender: lukas@der-erste-sinn.de) by mail.web-xs.org (Postfix) with ESMTPA id 008E26EC2867 for ; Tue, 25 Aug 2015 21:11:01 +0200 (CEST) Received: from hal9000.localdomain (hal.localdomain [192.168.0.2]) by server-1.localdomain (Postfix) with ESMTP id 5D87D3F612 for ; Tue, 25 Aug 2015 21:11:01 +0200 (CEST) Date: Tue, 25 Aug 2015 21:10:28 +0200 From: To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Anyone using xfce4 with compositing turned off? Message-ID: <20150825211028.40bce2ac@hal9000.localdomain> In-Reply-To: <201508221108.28435.michaelkintzios@gmail.com> References: <20150819191820.6aa6d015@a6> <20150822040841.1ffe9595@hal9000.localdomain> <201508221108.28435.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 2ffe58b6-f043-4373-a9d0-a4d2b9089d7c X-Archives-Hash: 0b3529d678d53b25aafbe87e3b46e36c Mick wrote: > On Saturday 22 Aug 2015 03:08:41 wabenbau@gmail.com wrote: > > walt wrote: > > > I'm seeing horrible performance from the xfce window manager > > > (xfwm4) on my main, everyday machine, but not on an older backup > > > machine or on any of the linux virtual machines I run on > > > virtualbox. > > > > > > The symptoms: moving a window with the mouse is so slow as to be > > > painful, and the CPU usage (on one of four CPUs) jumps to 100% > > > almost immediately (xfwm4 is the culprit, see below). > > > > I'm using XFCE as DE and xfwm4 as WM. Since I bought a new GPU > > (Radeon R7 250), I don't use compositing any more because it causes > > tearing when I watch videos in fullscreen with 3840x2160. With this > > GPU I also had some random freezes when compositing was enabled. > > > > Beside this, performance is very good, regardless compositing is > > enabled or disabled. Scrolling text or moving windows around is a > > bit faster and smoother with compositing enabled, especially when > > other windows are in the foreground. > > > > With my old GPU (Radeon HD4550) I always had compositing enabled. > > Everything was smoother and I saw absolutely no glitches, but > > performance was also good with compositing disabled, just not quite > > as smooth as with compositing enabled. > > > > > If I open an xterm and run (for example) "/usr/bin/marco > > > --replace", this sluggish behavior returns to normal immediately. > > > > > > After wasting hours on google I finally noticed that I had > > > compiled x11-wm/xfwm4 with the xcomposite useflag disabled, so I > > > enabled it and re-emerged xfwm4. > > > > > > Now I can get decent performance from xfwm4, but only if first I > > > turn on compositing by running xfwm4-tweaks-settings. (No, not > > > by running the puny and feeble xfwm4-settings app: I need to > > > invoke a "tweak" to make xfce4 an acceptable Desktop Environment > > > on my main desktop machine. > > > > As long as I use XFCE (many years) xfwm4-tweaks-settings is the > > program to toggle compositing. It's just a name, what is the > > problem? :-) Or do you mean, that you must enable compositing every > > time you start XFCE? > > > > > > > > I remember going through this same frustration with gnome3, which > > > was (and is) unusable without installing the gnome-tweak-tool > > > package and using it to customize settings that I still don't > > > understand. > > > > > > (That's why I finally gave up on gnome3, and I may yet give up on > > > xfce4 and go back to mate.) > > > > > > Note that I'm not turning off yet, but I > > > should mention that this machine is ~amd64 with ati-drivers-15.7 > > > and vanilla kernel 3.14.51. (Same problem with > > > gentoo-sources-3.18.19, BTW.) > > > > I'm using stable xf86-video-ati and stable hardened-sources. I > > never used ati-drivers because I don't like to have proprietary > > software on my gentoo box. For me xf86-video-ati works well and has > > a sufficient 2D and 3D performance. > > > > -- > > Regards > > wabe > > Hmm ... interesting. I have a PC with the Kaveri APU, which also > uses the R7 graphics engine, but compositing has no problems for > general desktop usage (with two monitors). > > 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. > [AMD/ATI] Kaveri [Radeon R7 Graphics] (prog-if 00 [VGA controller]) > Subsystem: ASUSTeK Computer Inc. Kaveri [Radeon R7 Graphics] > Flags: bus master, fast devsel, latency 0, IRQ 25 > Memory at e0000000 (64-bit, prefetchable) [size=256M] > Memory at f0000000 (64-bit, prefetchable) [size=8M] > I/O ports at f000 [size=256] > Memory at feb00000 (32-bit, non-prefetchable) [size=256K] > Expansion ROM at feb40000 [disabled] [size=128K] > Capabilities: [48] Vendor Specific Information: Len=08 > Capabilities: [50] Power Management version 3 > Capabilities: [58] Express Root Complex Integrated Endpoint, > MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ > Capabilities: [100] Vendor Specific Information: ID=0001 > Rev=1 Len=010 Capabilities: [270] #19 > Capabilities: [2b0] Address Translation Service (ATS) > Capabilities: [2c0] #13 > Capabilities: [2d0] #1b > Kernel driver in use: radeon > > I don't know if your card is significantly different, but can share > settings if you are interested. Hi Mick, it seems that there are some differences (see below) but I'm interested in your settings anyway. Maybe they help me to make compositing usable on my system, but actually I don't have much hope that this will be the case. Without composite, my system is rock stable and video playback is smooth. First I missed the fancy window/menu shadows and the semi-transparency when moving/resizing windows, but now I'm also happy without these eye candies. The only thing that I'm still missing is the smooth scrolling of window content. This is indeed a bit better with compositing enabled. 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750 / R7 250E] (prog-if 00 [VGA controller]) Subsystem: PC Partner Limited / Sapphire Technology Cape Verde PRO [Radeon HD 7750 / R7 250E] Flags: bus master, fast devsel, latency 0, IRQ 29 Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at fdf80000 (64-bit, non-prefetchable) [size=256K] I/O ports at ae00 [size=256] [virtual] Expansion ROM at fdf00000 [disabled] [size=128K] Capabilities: [48] Vendor Specific Information: Len=08 Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 Capabilities: [150] Advanced Error Reporting Capabilities: [200] #15 Capabilities: [270] #19 Kernel driver in use: radeon -- Regards wabe