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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to