Bug 21806 - [GM965] Blank screen, X crashes, no console if KMS enabled
Summary: [GM965] Blank screen, X crashes, no console if KMS enabled
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 16:42 UTC by Fabiano Francesconi
Modified: 2009-06-30 10:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg configuration file (418 bytes, text/plain)
2009-05-18 16:42 UTC, Fabiano Francesconi
no flags Details
Kernel configuration file (53.66 KB, text/plain)
2009-05-18 16:53 UTC, Fabiano Francesconi
no flags Details
Xorg log (19.45 KB, text/plain)
2009-05-20 04:07 UTC, Fabiano Francesconi
no flags Details

Description Fabiano Francesconi 2009-05-18 16:42:12 UTC
Created attachment 25984 [details]
Xorg configuration file

As I have previously reported here (http://bugs.gentoo.org/show_bug.cgi?id=267668) I've a problem related to kms and xorg-server.

ATM I'm running "2.6.30-rc6-git3" kernel and the situation is the following:
When I boot the system up passing "i915.modeset=1" to kernel parameters I've the folloing issues:
- During the boot I can see the "penguins" for about 2 seconds, then the screen turns black and I can't switch VT, view console. Nothing.
- (since xdm starts on init) I can get to GDM (with the right resolution if using git sources) but if I click, for instance, on "session" button and then I try to click "Cancel" (it's just a non-working example), X stops (cursor does not move), the entire system hangs. Nothing left for me to do but turning manually the laptop off.

Without passing that kernel flag the system just run finely.

I wish to give you all the possibile information you may need but since it's a really blocking issue, it's a problem, for me, to get xorg logs and dmesg and those things..

So maybe you should ask me to give you specific file and I'll be glad to help you gathering many possibile informations:

-----
kernel: 2.6.30-rc6-git3
distro: Gentoo
Notebook: Macbook 4,1 (for major specs: http://en.gentoo-wiki.com/wiki/Apple_Macbook#Existing_Models - model is Late 2007 (4 Gen).)

Reproduce steps (view above)
Comment 1 Fabiano Francesconi 2009-05-18 16:53:02 UTC
Created attachment 25985 [details]
Kernel configuration file
Comment 2 Jesse Barnes 2009-05-19 18:44:47 UTC
Try removing FB_VESA and FB_INTEL from your kernel config, those are going to get in the way.  Your xorg.log has some useless entries in it for a KMS config, but other than that should be fine.
Comment 3 Fabiano Francesconi 2009-05-20 04:07:08 UTC
(In reply to comment #2)
> Try removing FB_VESA and FB_INTEL from your kernel config, those are going to
> get in the way.  Your xorg.log has some useless entries in it for a KMS config,
> but other than that should be fine.
> 

Thanks for replying.
I tried removing that options from kernel config and something is getting better.
Infact now console is working perfectly but I have the same issues regarding Xorg.

I started xdm and I've collected xorg log errors using the following configuration:
     Option		"DRI"     		"true"
     Option		"AccelMethod"		"UXA"
     Option		"Tiling"		"False"
     Option		"ModeDebug"		"yes"

I'll attach a copy of the log.

If you need more details, just ask.
Comment 4 Fabiano Francesconi 2009-05-20 04:07:51 UTC
Created attachment 26031 [details]
Xorg log
Comment 5 Fabiano Francesconi 2009-05-20 04:12:26 UTC
I give you more details regarding installed packages.

xorg-server version: 1.5.3-r5
xf86-video-intel version: 2.6.3-r1
mesa version: 7.3-r1
Comment 6 Rémi Cardona 2009-05-22 05:39:53 UTC
Please try xf86-video-intel 2.7.1 as well. Maybe that'll fix your GDM issues.

Thanks
Comment 7 Fabiano Francesconi 2009-05-22 07:58:54 UTC
I tried upgrading video-intel driver to 2.7.1 and I've rebuilt mesa, xorg-server and all x11-drivers/* packages.

Nothing works. Same result as before. Maybe KMS works fine with xorg-server v. 1.6.* .. don't know.. Just a shot.
Comment 8 Gordon Jin 2009-06-09 16:48:31 UTC
(In reply to comment #7)
> I tried upgrading video-intel driver to 2.7.1 and I've rebuilt mesa,
> xorg-server and all x11-drivers/* packages.
> Nothing works. Same result as before. Maybe KMS works fine with xorg-server v.
> 1.6.* .. don't know.. Just a shot.

yes, you need xserver 1.6.*
Comment 9 Fabiano Francesconi 2009-06-10 02:03:11 UTC
I tried with xorg-server 1.6.1.901-r3

It's working like a charm.

Thanks for helping me and great job :)
Comment 10 Fabiano Francesconi 2009-06-29 15:23:55 UTC
Today I've upgraded xorg-server to 1.6.1.901-r5 (and unmasked dri2proto) and I get the same old problem (only related to xorg-server crashing; console works flawlessy) in the same old behaviour.

I know it's a testing package but I hope you'd like this report as I would like this issue to be fixed :P

Thank you, guys.
Comment 11 Gordon Jin 2009-06-29 19:52:02 UTC
Appearing in 1.6.1.901-r5 gets me think this may be bug#22537
Comment 12 Rémi Cardona 2009-06-29 22:34:23 UTC
Indeed, if -r4 worked fine, then it's one of the patches on the nomination list [1].

I think this bug is fixed. We should track the new issue into bug #22537.

Thanks

[1] http://wiki.x.org/wiki/Server16Branch
Comment 13 Jesse Barnes 2009-06-30 10:36:14 UTC
Ok, closing again.


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.