Bug 17703 - [GM45] X freezes immediately on Lenovo X200 with Fedora rawhide (GEM kernel)
Summary: [GM45] X freezes immediately on Lenovo X200 with Fedora rawhide (GEM kernel)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
: 17851 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-21 20:05 UTC by Bryan O'Sullivan
Modified: 2008-11-11 16:43 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
lspci output (21.17 KB, text/plain)
2008-09-21 20:05 UTC, Bryan O'Sullivan
no flags Details
Xorg.0.log from running Xorg -probeonly (14.54 KB, text/plain)
2008-09-21 20:06 UTC, Bryan O'Sullivan
no flags Details
Xorg.0.log from frozen startup (41.63 KB, text/plain)
2008-09-21 21:17 UTC, Bryan O'Sullivan
no flags Details
Xorg.0.log with NoAccel (19.20 KB, text/plain)
2008-09-22 10:05 UTC, Bryan O'Sullivan
no flags Details

Description Bryan O'Sullivan 2008-09-21 20:05:08 UTC
Created attachment 19075 [details]
lspci output

If I try to start X on a new Lenovo X200 laptop, the display is frozen black and I cannot kill the X server or switch to a different virtual console.

I'm running Fedora rawhide x86_64, with a 2.6.27 prepatch kernel. Both the 2.4.2 and current git intel xorg drivers show the same symptoms.
Comment 1 Bryan O'Sullivan 2008-09-21 20:06:12 UTC
Created attachment 19076 [details]
Xorg.0.log from running Xorg -probeonly
Comment 2 Bryan O'Sullivan 2008-09-21 21:17:20 UTC
Created attachment 19079 [details]
Xorg.0.log from frozen startup
Comment 3 Wang Zhenyu 2008-09-21 22:44:40 UTC
So your kernel has gem support right? Could you first try an older or vanilla kernel? Or first try "NoAccel" option.
Comment 4 Bryan O'Sullivan 2008-09-22 10:05:43 UTC
Created attachment 19104 [details]
Xorg.0.log with NoAccel

The X server starts successfully with the intel driver using NoAccel, but it incorrectly uses a display resolution of 1024x768. The vesa driver uses the correct resolution, of 1280x800.

I don't know how to tell whether I have a GEM-enabled kernel.  I don't follow Xorg development, so I didn't even know about GEM until you asked about it.  But I'm running Fedora rawhide's 2.6.27-rc6 kernel, FWIW.

Let me know if you need more information.
Comment 5 Wang Zhenyu 2008-09-22 18:29:43 UTC
So I suggest to try a vanilla kernel instead, as rawhide has cutting-edge gem support which might cause the problem you've seen, and we're not handling rawhide kernel issue...

The default 1024x768 mode select is xserver 1.5's problem in its method to select initial mode. You should be able to use xrandr later to check to preferred mode, or write it into xorg.conf.
Comment 6 Gordon Jin 2008-09-23 06:23:09 UTC
We also met similar problem on GM45: bug#17416. But the error message seems different.

I'm decreasing priority since this happens on Fedora rawhide kernel (with GEM) instead the upstream code.
Comment 7 Michael Fu 2008-10-12 23:42:35 UTC
Do you connect any external monitors, Bryan?
Comment 8 Jeremy Fitzhardinge 2008-10-13 00:07:26 UTC
I see this problem with no external monitor attached.
Comment 9 Michael Fu 2008-10-13 21:36:19 UTC
*** Bug 17851 has been marked as a duplicate of this bug. ***
Comment 10 Eric Anholt 2008-10-14 16:03:55 UTC
This needs to be retested against current drm-intel-next kernel and master xf86-video-intel.
Comment 11 Sven Arvidsson 2008-10-15 10:20:56 UTC
It seems to work just fine for me. All of the problems I described in bug 17851 are gone.

I'm using master xf86-video-intel/libdrm and kernel 2.6.27 with your changes to intel-agp.
Comment 12 Wang Zhenyu 2008-10-15 18:10:54 UTC
Nice! Sven, do you also use a X200? 
Comment 13 Gordon Jin 2008-10-15 18:52:29 UTC
(In reply to comment #12)
> Nice! Sven, do you also use a X200? 

Sven is reporter of bug#17851 (marked as dup with here). He uses G45 (Asus P5Q-EM). 

Comment 14 Michael Fu 2008-10-15 23:32:24 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > Nice! Sven, do you also use a X200? 
> 
> Sven is reporter of bug#17851 (marked as dup with here). He uses G45 (Asus
> P5Q-EM). 
> 
Comment 15 Michael Fu 2008-10-22 00:59:46 UTC
ping Bryan....
Comment 16 Colin Guthrie 2008-10-28 15:02:30 UTC
With reference to comment #11, it states "with your changes to intel-agp." As I'm seeing the "fence" problem when resuming from suspend I'd like to try these changes too.
Comment 17 Colin Guthrie 2008-10-28 15:03:29 UTC
(In reply to comment #16)
> With reference to comment #11, it states "with your changes to intel-agp." As
> I'm seeing the "fence" problem when resuming from suspend I'd like to try these
> changes too.

Erm, that wasn't clear... what I'm asking is, *what* are the changes to intel-agp? :)
Comment 18 Sven Arvidsson 2008-10-28 15:20:49 UTC
(In reply to comment #17)
> Erm, that wasn't clear... what I'm asking is, *what* are the changes to
> intel-agp? :)
> 

Specifically, this patch: http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=2052746fc8397130c120f0194a89938b0b62b6cb
Comment 19 Michael Fu 2008-11-11 16:43:30 UTC
time out for response from bug reporter. this bug should be 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.