From owner-freebsd-current@FreeBSD.ORG Fri Mar 27 09:43:27 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 E7ABD1F3; Fri, 27 Mar 2015 09:43:27 +0000 (UTC) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) (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 66D35254; Fri, 27 Mar 2015 09:43:26 +0000 (UTC) Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 201B0D9C9; Fri, 27 Mar 2015 10:23:06 +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: A2BJBwAIIRVVPD5e5VVcgwaHbMIaglICgTpNAQEBAQEBBgEBAQE4O4QUAQEBAQIBHR0cIwULCxgVGS0MChQGiDoMAcwGAQEBAQEBAQECAQEBAQEBAQEBGYsohEUzBwqDDYEWBZtajB2GdYIkHBSBPYMxAQEB X-IPAS-Result: A2BJBwAIIRVVPD5e5VVcgwaHbMIaglICgTpNAQEBAQEBBgEBAQE4O4QUAQEBAQIBHR0cIwULCxgVGS0MChQGiDoMAcwGAQEBAQEBAQECAQEBAQEBAQEBGYsohEUzBwqDDYEWBZtajB2GdYIkHBSBPYMxAQEB X-IronPort-AV: E=Sophos;i="5.11,478,1422918000"; d="scan'208";a="850390112" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb3.telenor.se with ESMTP; 27 Mar 2015 10:10:25 +0100 Received: from gw.inter-sonic.com ([212.247.8.97] helo=[192.168.171.125]) by sigyn.alvermark.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1YbQHY-0004AS-0P; Fri, 27 Mar 2015 10:10:24 +0100 Subject: Re: [Call for testers] DRM device-independent code update to Linux 3.8 (take #2) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Jakob Alvermark In-Reply-To: <18597.85.229.93.187.1427403630.squirrel@webmail.alvermark.net> Date: Fri, 27 Mar 2015 10:10:22 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <95DAA262-89CA-44D5-BD15-CD9E90A95DAB@alvermark.net> References: <54F636B3.90701@FreeBSD.org> <20150307111305.10d7678d@kan> <5510A1E3.9040603@selasky.org> <18597.85.229.93.187.1427403630.squirrel@webmail.alvermark.net> To: Jakob Alvermark X-Mailer: Apple Mail (2.1085) Cc: freebsd-x11 , FreeBSD Current 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: Fri, 27 Mar 2015 09:43:28 -0000 On 26 mar 2015, at 22:00, Jakob Alvermark wrote: > On Tue, March 24, 2015 00:29, Hans Petter Selasky wrote: >> Hi, >>=20 >>=20 >> Without the attached kernel patch(es), Xorg starts consuming alot of = CPU >> and becomes very unresponsive and unusable. >>=20 >> 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. >>=20 >> 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. >=20 > I got the same problem with XFCE4, Xorg at 100% CPU. >=20 > Applied the patch and it works again. Interestingly, xrandr now lists a lot more available modes than before = the DRM code update. I thought it was my cheap TV that only supported 1080i, but it turns out = that now I can use 1080p@60Hz! Jakob=