[Bug 982889] Re: X trying to start before plymouth has finished using the drm driver
Bryce Harrington
982889 at bugs.launchpad.net
Wed Feb 20 12:30:24 UTC 2013
@Adam, interesting. Indeed your problem also appears to be distinct
from the OP. It looks like you have a hybrid graphics system and both
intel and nouveau drivers are loading. It sounds like the nouveau
driver isn't detecting any connected outputs and eventually unloads
itself. The modesetting driver decides to load up after that for some
reason, and immediately proceeds to segfault.
>From your comment #39 it sounds like with the patch, X is getting
further along? Looking at your original bug (#1125759) you had been
seeing this problem early on, which broke everything subsequent to it:
[ 3.579] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 4.377] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 4.377] setversion 1.4 failed <--- oops
[ 4.379] (--) PCI:*(0:0:2:0) 8086:0126:1028:0446 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[ 4.379] (--) PCI: (0:1:0:0) 10de:0df5:1028:0446 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
Now you're seeing this:
[ 3.610] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 5.309] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 5.311] (--) PCI:*(0:0:2:0) 8086:0126:1028:0446 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[ 5.311] (--) PCI: (0:1:0:0) 10de:0df5:1028:0446 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
I would expect the patch to show some debug info if it is applying its
fix; it should display a stream of "drm device not ready (#), sleeping
for 20us" messages, and then the system should boot up to fully
functional (or some permutation thereof). So, I'm not sure we can say
the patch fixed it for you; it could be just coincidental. This is a
race condition after all, and as such can be influenced by all manner of
random things, and maybe it just had lucky timing on that boot.
As to the modesetting segfault, that would be worth tracking as its own
bug. Did a crash file get generated for that in /var/crash/ ?
--
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:
In Progress
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