Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 21:59:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 198936] Xorg consume 100% with XFCE after latest DRM2 changes
Message-ID:  <bug-198936-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198936

            Bug ID: 198936
           Summary: Xorg consume 100% with XFCE after latest DRM2 changes
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: hselasky@FreeBSD.org

Created attachment 154848
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154848&action=edit
Patch suggestion

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 can test patches if you have other suggestions.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198936-8>