Bug 17703

Summary: [GM45] X freezes immediately on Lenovo X200 with Fedora rawhide (GEM kernel)
Product: xorg Reporter: Bryan O'Sullivan <bos>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: blocker    
Priority: medium CC: colin, jeremy, sa
Version: gitKeywords: NEEDINFO
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
lspci output
none
Xorg.0.log from running Xorg -probeonly
none
Xorg.0.log from frozen startup
none
Xorg.0.log with NoAccel none

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.