From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 21:32:04 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDD41F7B; Thu, 26 Mar 2015 21:32:04 +0000 (UTC) Received: from smtprelay-b32.telenor.se (smtprelay-b32.telenor.se [213.150.131.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DE2ED3C; Thu, 26 Mar 2015 21:32:03 +0000 (UTC) Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b32.telenor.se (Postfix) with ESMTP id 4ACCEEF413; Thu, 26 Mar 2015 22:00:43 +0100 (CET) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DsGABPchRV/z5e5VVcgwaBMIMOxUKCUgKBXk0BAQEBAQF9QQEBg1IBBR0GDwEjMwsYAgIRFQICLQweBgGIRQGxZJo4AQEIAgEfgSGKB4R/CoJegUUFkFBhiimMHYU9gTgiggIcFIE9PYJ0AQEB X-IPAS-Result: A2DsGABPchRV/z5e5VVcgwaBMIMOxUKCUgKBXk0BAQEBAQF9QQEBg1IBBR0GDwEjMwsYAgIRFQICLQweBgGIRQGxZJo4AQEIAgEfgSGKB4R/CoJegUUFkFBhiimMHYU9gTgiggIcFIE9PYJ0AQEB X-IronPort-AV: E=Sophos;i="5.11,474,1422918000"; d="scan'208";a="776624826" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb4.telenor.se with ESMTP; 26 Mar 2015 22:00:42 +0100 Received: from localhost ([127.0.0.1] helo=webmail.alvermark.net) by sigyn.alvermark.net with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1YbEtC-0000No-EX; Thu, 26 Mar 2015 22:00:30 +0100 Received: from 85.229.93.187 (SquirrelMail authenticated user alvis) by webmail.alvermark.net with HTTP; Thu, 26 Mar 2015 22:00:30 +0100 (CET) Message-ID: <18597.85.229.93.187.1427403630.squirrel@webmail.alvermark.net> In-Reply-To: <5510A1E3.9040603@selasky.org> References: <54F636B3.90701@FreeBSD.org> <20150307111305.10d7678d@kan> <5510A1E3.9040603@selasky.org> Date: Thu, 26 Mar 2015 22:00:30 +0100 (CET) Subject: Re: [Call for testers] DRM device-independent code update to Linux 3.8 (take #2) From: "Jakob Alvermark" To: "freebsd-x11" , "FreeBSD Current" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 21:32:04 -0000 On Tue, March 24, 2015 00:29, Hans Petter Selasky wrote: > Hi, > > > Without the attached kernel patch(es), Xorg starts consuming alot of CPU > and becomes very unresponsive and unusable. > > Using ktrace reveals that X-org is issuing DRM_IOCTL_MODE_GETCONNECTOR > over and over again with no apparent reason. It doesn't happen when using a > simple window manager like blackbox. I was not able to use XFCE4 (9-stable > userland) with 11-current kernel at all, after the latest DRM2 kernel > updates. It worked fine before the update. > > I'm not sure what is causing it. Going through the new DRM2 code > revealed that a mode sorting function did not take all parameters like > interlaced or not into account, causing the mode list to be reshuffelled > every time a new mode scan was done. Not sure if Xorg cares about this > though. I got the same problem with XFCE4, Xorg at 100% CPU. Applied the patch and it works again. Jakob