Occasional Blank Black Screen at Boot

Bug #372028 reported by Timothy W. Tacker
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

The release notes for xf86-video-intel 2.7.0 indicate the following:

"Some Linux kernel versions (such as 2.6.29) are known to have broken PAT code that causes recent versions of this driver to fail, (which can manifest as the X server simply not starting). This can be verified by adding the "nopat" option to the kernel command-line and seeing the failure go away. We hope that newer kernels in the 2.6.29.x as well as 2.6.30 and above will have working PAT code."

http://lists.freedesktop.org/archives/xorg/2009-April/045117.html

It is my understanding that this bug has been resolved in later versions of the kernel; however, these versions do not ship with the most recent version of Ubuntu.

I am running the following software:

Ubuntu 9.04 (Jaunty)
linux-generic (2.6.28.11.15)
xorg (1:7.4~5ubuntu18)
xserver-xorg-video-intel (2:2.6.3-0ubuntu9)

I am NOT running Compiz--the packages are not installed.

My hardware is a Dell Inspiron 1100 laptop with the following integrated graphics chipset, per lspci:

"00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)"

I seem to be experiencing the known bug that the Intel developers mentioned above. Unless I add the "nopat" kernel option in GRUB, xorg consistently freezes at startup, prior to any display, with a black screen and no ability to switch between virtual terminals. Adding the "nopat" kernel option appears to resolve this problem.

I was not experiencing this issue when running Ubuntu 8.10 (Intrepid). The issue appeared immediately after upgrade to Ubuntu 9.04 (Jaunty).

I suspect that other users may also be experiencing this issue, as the software I have installed are the versions that ship with Ubuntu 9.04 (Jaunty). This may prevent users from booting normally following installation or upgrade.

I believe that this bug is distinct from the following bugs because it does not refer to performance issues or freezing after xorg startup but, rather, the immediate refusal of xorg to even start, without the "nopat" kernel option:

https://bugs.launchpad.net/ubuntu/jaunty/+source/compiz/+bug/359392
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/327844

Revision history for this message
Timothy W. Tacker (tim-tacker) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Computer Corporation Inspiron 1100
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
PackageArchitecture: i386
ProcCmdLine: root=UUID=d2b192bb-3978-4e0d-b0d3-711366b6824e ro quiet splash nopat
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
Uname: Linux 2.6.28-11-generic i686
UserGroups:

Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote : Re: broken PAT code in kernel causes consistent xorg freeze at startup for some users of intel driver

I followed the instructions for the "safe" option in the following thread, and it appears to have served as a workaround for the problem. For the first time in Jaunty, I was immediately able to boot properly without using the "nopat" kernel option:

http://ubuntuforums.org/showthread.php?t=1130582

Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

Scratch my last comment. I haven't been able to get the system to boot properly without the "nopat" option since I posted that message. I am starting to wonder if I subconsciously automatically put in the "nopat" option after following those instructions. It has become rather routine! :)

Bryce Harrington (bryce)
tags: added: xorg-needs-kernel-fix
removed: xorg
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Karmic will target the 2.6.31 kernel so this should hopefully be resolved for the upcoming release. Moving this to Triaged so the kernel team will track this. I'll leave it to their discretion if this will qualify for a Stable Release Update for Jaunty.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

If you wanted, you could also run the latest Karmic kernel or take a look at https://wiki.ubuntu.com/KernelMainlineBuilds for builds of the upstream stable releases or the latest upstream kernel builds. Thanks.

Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

In pursuit of a solution to this problem, I updated the video driver am now running the following:

xserver-xorg-video-intel (2:2.7.1-0ubuntu1~xup~1)

This does not appear to have solved the problem.

I have noticed, however, that it may NOT be the "nopat" option that is actually resolving the issue--strangely, pressing ESC and simply entering the GRUB boot menu, without actually editing any of the commands, appears to also sometimes resolve the problem. I thought it was the "nopat" option because, in order to enter the "nopat" option, I needed to first enter the GRUB boot menu at startup.

I can't imagine what might be causing this, or how these two things might be related; but my best guess is that maybe it has something to do with the newer kernel modesetting feature in the driver.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Can you just test and confirm if this issue remains with the latest Karmic 9.10 Alpha release? It contains a 2.6.31 based kernel. ISO images are available for testing at http://cdimage.ubuntu.com/releases/karmic/ . Please let us know your results. Thanks.

Changed in linux (Ubuntu):
assignee: nobody → Leann Ogasawara (leannogasawara)
status: Triaged → Incomplete
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

I downloaded today's ISO, burned it, and attempted to boot from the CD.

It appears that the issue remains in Karmic; however, because I do not have access to the text-based GRUB boot menu, using ESC, when booting from the CD, I have been unable to get xorg to start properly at all in Karmic. It does appear to go into graphical mode, sometimes the LCD appears lit, and other times it does not; but either way it never seems to make it past the mouse cursor (which is similar behavior to what happens in Jaunty when I do not first at least enter the GRUB menu.) The only difference I notice is that the mouse cursor eventually locks up, which isn't something that I noticed in Jaunty.

I have further tested since the last time I posted, and I now am even more certain that the difference between getting xorg to start properly is hitting ESC and simply entering the GRUB boot menu. I have tried booting dozens of times without doing this, with no success; but the first time I hit escape and just take the first kernel option by hitting enter, the system usually boots without incident. Again, this leads me to believe the problem may not actually be the PAT issue mentioned above; but I don't know what relationship GRUB and xorg might have or how simply ENTERING the GRUB boot menu can make a difference in xorg starting or not.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This is quite odd. Are you positive that when you _don't_ hit escape to enter the Grub boot menu that Grub is indeed defaulting to the most recent kernel (ie the one you are manually selecting)? A quick way to tell would be is that when you do hit ESC the kernel is highlighted by default.

If that isn't the issue, how about manually editing your grub's menu.lst to remove the ''quiet" and "splash" options. Then let it boot up without entering the Grub menu. That will let us see how far into the boot the system is able to get.

Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

I am positive that when I don't press escape that GRUB is defaulting to the most recent kernel, as I have removed all old kernels from my system and currently have only one installed.

I have GRUB 2 installed, which no longer has a menu.lst file. I manually removed the "quiet" and added the "nosplash" boot options from/to the GRUB command line. This did not resolve the problem.

I still wonder if this problem could be related to kernel mode setting in the Intel driver. I believe the Linux kernel framebuffer is used to show some of the splash screens prior to X.Org start; and the framebuffer has its own driver(s), but I don't know if they share any code with parts of the Intel driver in the kernel.

I used to occasionally have the same problem when switching between virtual terminals; however, I just tried to replicate that problem, and I can't seem to make this happen, at least at the moment. (In fact, this is what originally made me suspect it was a mode setting problem--I believe that not only is mode setting normally done when booting but also when switching between GUI and virtual terminal.)

For purposes of disclosure, I am affected by the following bug; and I don't know if this is related:
https://bugs.edge.launchpad.net/linux/+bug/404064

In addition, I see several instances of the following messages in dmesg; and I don't know if they are related:
"i2c-adapter i2c-1: unable to read EDID block."
"i915 0000:00:02.0: LVDS-1: no EDID data"

summary: - broken PAT code in kernel causes consistent xorg freeze at startup for
- some users of intel driver
+ Blank Black Screen at Boot
summary: - Blank Black Screen at Boot
+ Occasional Blank Black Screen at Boot
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

I just experienced this problem again, this time with the 2.6.31-19-generic kernel.

I booted, saw the Dell BIOS splash screen, saw a little piece of text that said GRUB, and then a blank black screen (backlight did not appear lit, but this is not always the case) and nothing else. I had to hold down the power button to cut the power, turn the laptop back on; and this second time I saw Dell BIOS splash screen, the text that says GRUB, and then the GRUB boot menu (because I interrupted the boot process the previous time by holding down the power button.) I selected the 2.6.31-19-generic kernel, briefly saw a cursor blink in the upper left of the screen, and then saw a splash screen with a plain white Ubuntu logo (no wording and no progress bar.) After a few seconds, that transitioned to the splash screen with the word Ubuntu and a progress bar, followed by the login screen.

Again, notice that the difference here was that things seem to work properly when I go through the GRUB boot menu?

I would also like to ask what generates those two splash screens? Are they both generated by xsplash? Is the first (without the progress bar) generated by xsplash and the second (with the progress bar) generated by gdm?

Because I experienced the problem immediately prior to the first splash screen, knowing that may help troubleshoot, as if that splash screen is drawn using the Linux kernel framebuffer, we know to look there, rather than in the xorg Intel userland driver.

Changed in linux (Ubuntu):
assignee: Leann Ogasawara (leannogasawara) → nobody
status: Incomplete → Triaged
Revision history for this message
Timothy W. Tacker (tim-tacker) wrote :

I am having the same problem with Ubuntu 10.04 LTS.

Revision history for this message
David Hall (david-datajack) wrote :

I am also having this problem with Ubuntu 10.04 LTS. My machine is a Samsung V25 laptop with a 82845G chipset.

Very odd, but going into a root command prompt using GRUB and typing "gdm start" usually makes it boot properly.

Bryce Harrington (bryce)
tags: removed: xorg-needs-kernel-fix
tags: added: kernel-handoff-graphics
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.