[PATCH 0/6] xfree86: Handle drm race condition

Bryce Harrington bryce at canonical.com
Tue Mar 19 12:12:40 PDT 2013


When starting up, X can hit an error trying to set the version on the
drm device.  We believe this is a race with plymouth (or the kernel),
since adding some delay to the boot results in a functioning session for
affected users.

We have not root-caused the bug yet, but are able to reproduce it
synthetically.  Currently we suspect the actual breakage is underneath X
(plymouth/lightdm/kernel), and are continuing experimentation at that
level.  However, this patch does seem to improve things for users, so it
may be worth your consideration for inclusion in xserver.

https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889


Bryce Harrington (6):
  xfree86: (Cleanup) Close fd if drm interface 1.4 could not be set.
  xfree86: Track error code and add label for error handling.
  xfree86: Provide more details on failure
  xfree86: Keep trying to set interface on drm for 2 seconds.
  xfree86: Fix race condition failure opening drm.
  xfree86: Be verbose if waiting on opening the drm device

 hw/xfree86/os-support/linux/lnx_platform.c |   40 ++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 8 deletions(-)

-- 
1.7.9.5



More information about the xorg-devel mailing list