From owner-freebsd-stable@freebsd.org Tue Jun 19 21:23:14 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5BE2100F8B7 for ; Tue, 19 Jun 2018 21:23:14 +0000 (UTC) (envelope-from vince@hightek.org) Received: from mail.ngtek.org (ngtek.org [IPv6:2001:19f0:6400:8963:5400:ff:fe09:9585]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B57476ABD for ; Tue, 19 Jun 2018 21:23:14 +0000 (UTC) (envelope-from vince@hightek.org) Received: from ip68-227-103-24.ok.ok.cox.net ([68.227.103.24] helo=hightek.org) by mail.ngtek.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fVO5p-000BjW-3J for freebsd-stable@FreeBSD.ORG; Tue, 19 Jun 2018 16:23:13 -0500 Received: from localhost ([127.0.0.1] helo=quark.hightek.org) by hightek.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fVO5n-0009Ur-DG for freebsd-stable@FreeBSD.ORG; Tue, 19 Jun 2018 16:23:11 -0500 Received: (from vince@localhost) by quark.hightek.org (8.15.2/8.15.2/Submit) id w5JLNBOl036508 for freebsd-stable@FreeBSD.ORG; Tue, 19 Jun 2018 16:23:11 -0500 (CDT) (envelope-from vince) Date: Tue, 19 Jun 2018 16:23:11 -0500 From: Vincent Stemen To: freebsd-stable@FreeBSD.ORG Subject: ATI video problem - extremely slow desktop - 100% cpu load Message-ID: <20180619212311.GA36401@quark.hightek.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2018 21:23:14 -0000 Hi. FreeBSD 11.1-RELEASE Motherboard: gigabyte GA-78LMT-USB3 R2 Video: Integrated ATI Radeon HD 3000 graphics System runs fine with a simple stand alone window manager such as jwm, openbox, etc. But anytime I run a desktop environment that has a panel and/or desktop icons, the X desktop takes a very long time to start up and runs extremely slow and unresponsive, the pointer jumps instead of moving smoothly, and the main Xorg process runs at 100% load on one core. I have tried several different desktops, such as xfce, enlightenment, lumina, etc. Similar problem on all of them. It appears to be any environment that is using DBUS. That could just be a coincidence. The weird thing is that it does not always do it. Once in a while, when I launch X, it comes up quick and runs fine. Shut down X and re-run it and it's back doing it again. Sometimes it will come up running fine several times in a row. Once it comes up working correctly, it stays working until I restart X. Even after a reboot, it is inconsistent about doing it the first time X is run. I have tried re-installing all the ports from X11 and the desktop environments from FreeBSD 11 release_1, release_2, quarterly, and latest. Same problem with all of them. Does anybody have any idea what could be causing this? I don't know if for sure if this is a FreeBSD or a port problem. There are radeon modules running. # kldstat 5 1 0xffffffff82431000 12b4a0 radeonkms.ko ... 10 1 0xffffffff825b9000 103e radeonkmsfw_RS780_pfp.ko 11 1 0xffffffff825bb000 5b3f radeonkmsfw_RS780_me.ko 12 1 0xffffffff825c1000 1338 radeonkmsfw_R600_rlc.ko X is using the ati driver from the xf86-video-ati-7.9.0_1,1 package. The evidence seems to be pointing toward the xf86-video-ati package being the problem. If I edit /etc/X11/xorg.conf to use the "vesa" driver rather than the "radeon" driver the problem goes away. But, of course, the vesa driver is low resolution and does not re-initialize the console when I exit X.