Bug 21903

Summary: [G965] Sometimes black screen on startup
Product: xorg Reporter: walch.martin
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log after a failed start
none
dmesg
none
Xorg.0.log after successful startup
none
the used xorg.conf
none
Xorg.0.log after a failed start
none
dmesg
none
bzip2 compressed dump of intel_gpu_dump right after a failed start of X
none
gpu dump from the working case
none
gpu dump from the broken case with git snapshot none

Description walch.martin 2009-05-23 19:24:22 UTC
Created attachment 26155 [details]
Xorg.0.log after a failed start

Sometimes when booting my computer the screen turns black when X should start up and a blinking cursor appears in the upper left (looks like X is shutting down right after starting). I can switch to a VT and restart X which is usually successful.

System environment:
 -- chipset: G965
 -- system architecture: x86_64
 -- xf86-video-intel: 2.7.1
 -- xserver: Server 1.6.1.901
 -- mesa: 7.5_rc2
 -- libdrm: 2.4.11
 -- kernel: 2.6.29-gentoo-r4
 -- Linux distribution: Gentoo
 -- Machine or mobo model: Intel DG965SS
 -- Display connector: VGA/DE-15
Comment 1 walch.martin 2009-05-23 19:25:01 UTC
Created attachment 26156 [details]
dmesg
Comment 2 walch.martin 2009-05-23 19:25:56 UTC
Created attachment 26157 [details]
Xorg.0.log after successful startup
Comment 3 walch.martin 2009-05-23 19:26:25 UTC
Created attachment 26158 [details]
the used xorg.conf
Comment 4 Jesse Barnes 2009-06-22 19:04:08 UTC
Are you still seeing this with recent bits?
Comment 5 walch.martin 2009-06-23 15:00:40 UTC
No more black screens with current master and different boot conditions. I will see during the next days if it will happen again, but in 10 (?) tests it looked good so far. As it seems to be fixed, I close the bug now as resolved/fixed. (if it occurs again, I will reopen this bug, but hopefully this will not be necessary)
Comment 6 walch.martin 2009-06-23 15:41:21 UTC
Sorry. This was too early. After a freeze in fullscreen mode, I made a hard reset and there again came only a black screen when starting X.
Comment 7 Jesse Barnes 2009-06-23 15:58:20 UTC
Can you attach your current logs & dmesg from when the problem occurs?  Register dumps using intel_reg_dumper from the working and broken cases might also help...

I see a couple of issues in your last dmesg; looks like you're using kernel mode setting but also you've builtin or loaded FB_INTEL.

Also, recent kernels have many fixes relative to 2.6.29, so I'd recommend trying 2.6.30 or something from git... (preferably the drm-intel tree).
Comment 8 walch.martin 2009-07-03 17:41:30 UTC
(In reply to comment #7)
> Can you attach your current logs & dmesg from when the problem occurs? 
> Register dumps using intel_reg_dumper from the working and broken cases might
> also help...
I will attach Xorg.0.log and the output of dmesg and intel_gpu_dump.

> I see a couple of issues in your last dmesg; looks like you're using kernel
> mode setting but also you've builtin or loaded FB_INTEL.

Now using KMS without intelfb.

> Also, recent kernels have many fixes relative to 2.6.29, so I'd recommend
> trying 2.6.30 or something from git... (preferably the drm-intel tree).

Updated to 2.6.30, mesa 7.5_rc4 and latest master of xf86-video-intel.
Comment 9 walch.martin 2009-07-03 17:43:44 UTC
Created attachment 27372 [details]
Xorg.0.log after a failed start
Comment 10 walch.martin 2009-07-03 17:44:25 UTC
Created attachment 27373 [details]
dmesg
Comment 11 walch.martin 2009-07-03 17:47:42 UTC
Created attachment 27374 [details]
bzip2 compressed dump of intel_gpu_dump right after a failed start of X
Comment 12 walch.martin 2009-08-24 07:10:38 UTC
Created attachment 28881 [details]
gpu dump from the working case

Sorry, I had forgotten that one.

This is the result of
- cold boot, with automatically running (Gentoo) xdm init script, but failing
- switching to VT1
- login as root
- /etc/init.d/xdm restart
- switching again to VT1
- intel_gpu_dump with intel-gpu-tools 1.0.1
Comment 13 walch.martin 2009-08-24 07:15:51 UTC
Created attachment 28882 [details]
gpu dump from the broken case with git snapshot

This is the result of
- cold boot, with automatically running (Gentoo) xdm init script, but failing
- switching to VT1
- intel_gpu_dump with intel-gpu-tools 1.0.1

the dumps of the working case above and this one were done with the same bits of xf86-video-intel (git snapshot from yesterday)


Please let me know if any further information is missing.
Comment 14 Jesse Barnes 2009-08-31 10:04:18 UTC
This one has me stumped...  If X crashed or your session ended early somehow I can imagine how this might happen (there's kernel code to restore the framebuffer console when the last app exits, but it was broken until recently and might have restored an empty console on configs like yours).

Did you happen to capture register dumps as well?  The GPU dumps might be helpful if this was a hang, but it doesn't sound like that's what's happening here.

I'm hoping something else is wrong with your desktop environment that causes X to exit early, but I don't see any evidence of a crash in your logs (maybe your X session logs might have something?).
Comment 15 Jesse Barnes 2009-10-05 12:28:38 UTC
Any update here?  Register dumps might help, but your logs look good so it seems like something else might be wrong with your environment that leads to X exiting.
Comment 16 walch.martin 2009-10-16 12:14:44 UTC
Sorry, I did not find the time for further investigations, yet.

Also, the problem did not occur any more since several weeks. Maybe the problem is gone (or maybe it is only a coincidence).
Comment 17 walch.martin 2009-11-14 16:18:05 UTC
This time I am pretty sure this bug is definitely gone. I do not know what was the cause, but I could not reproduce it for several months now. Probably it has been fixed with one of the hundreds of updates since October.

Thank you for your assistance. Closing again as RESOLVED/FIXED

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.