Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 10:10:22 +0100
From:      Jakob Alvermark <jakob@alvermark.net>
To:        Jakob Alvermark <jakob@alvermark.net>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [Call for testers] DRM device-independent code update to Linux 3.8 (take #2)
Message-ID:  <95DAA262-89CA-44D5-BD15-CD9E90A95DAB@alvermark.net>
In-Reply-To: <18597.85.229.93.187.1427403630.squirrel@webmail.alvermark.net>
References:  <54F636B3.90701@FreeBSD.org>	<20150307111305.10d7678d@kan> <CAOFF%2BZ3ZDjt4nTcyV%2B9_GZvexsbFBYz84q-J79tcUue9jx6NEQ@mail.gmail.com> <5510A1E3.9040603@selasky.org> <18597.85.229.93.187.1427403630.squirrel@webmail.alvermark.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95DAA262-89CA-44D5-BD15-CD9E90A95DAB>