[Bug 982889] Re: X trying to start before plymouth has finished using the drm driver
Bryce Harrington
982889 at bugs.launchpad.net
Wed Mar 13 06:14:13 UTC 2013
Alrighty, I've posted an update to the PPA for folks to test.
https://launchpad.net/~bryce/+archive/lp982889/
As before, it looks like i386 has built, but amd64 is having some
troubles - I've restarted it and hope it'll build by morning. Those of
you on amd64 who are comfortable building packages locally may want to
just grab the .dsc and roll your own .debs. Otherwise, hopefully the
PPA will rebuild amd64 by tomorrow.
Maarten Lankhorst theorized that the failure to 'reset' may be because
we need to forcefully set xserver as master of the DRM, so this patch
adds a call to drmSetMaster(). Unfortunately, with the limited testing
we've done so far we did not see this as truly fixing the bug. Maarten
believes plymouth may not be handing the drm off properly, and has been
roughing up a plymouth patch to try to investigate that angle.
Anyway, along with the drmSetMaster() call, I've done a rewrite of the
patch, to make the logic a bit more presentable. I also knocked the
timeout down to 2 seconds. So, worst case, for those of you suffering
from this bug, this PPA should give you a slightly faster boot and
otherwise no change in behavior. I've verified on my own (non-bugged)
hardware that at least the xserver boots up and works properly in the
non-bugged case.
For those of you wanting to do more testing on this issue, one thing to
try is disable plymouth completely. It seems that simply specifying
nosplash on the kernel command line is insufficient to fully disable
plymouth, and it's thought that perhaps this may account for why some
people found the same troubles even though they turned the splash screen
off.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/982889
Title:
X trying to start before plymouth has finished using the drm driver
Status in “libdrm” package in Ubuntu:
Triaged
Status in “linux” package in Ubuntu:
Confirmed
Status in “xorg-server” package in Ubuntu:
Fix Released
Bug description:
X server fails to start the first time after boot, it works fine when
I start it again.
Looks like a race condition with intel drm initialization, i guess X
tries to start faster than drm driver is initialized so it fails.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
.tmp.unity.support.test.0:
ApportVersion: 2.0.1-0ubuntu3
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Mon Apr 16 10:35:28 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device [1462:7750]
Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series] [1002:6738] (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device [1458:21fa]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
MachineType: MSI MS-7750
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-23-generic root=/dev/mapper/ssd-ubuntu--precise ro quiet splash
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/25/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.0
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z68A-G43 (G3) (MS-7750)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.0:bd08/25/2011:svnMSI:pnMS-7750:pvr1.0:rvnMSI:rnZ68A-G43(G3)(MS-7750):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.name: MS-7750
dmi.product.version: 1.0
dmi.sys.vendor: MSI
version.compiz: compiz 1:0.9.7.6-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889/+subscriptions
More information about the foundations-bugs
mailing list