Bug 17416

Summary: [GEM] startx gets no display on gm45
Product: xorg Reporter: lin, jiewen <jiewen.lin>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: CLOSED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: high CC: amcnabb, jeremy
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log
none
dmesginfo
none
GIT Dmesg none

Description lin, jiewen 2008-09-02 23:35:51 UTC
Created attachment 18647 [details]
xorg.conf

System Environment:
--------------------------
--Platform: gm45
--Architecture(32-bit,64-bit,compatiblity): 64bit
--2D driver:  (xf86-video-intel-2.5-branch)94a86fa51a931f0059ea17728f857ec92cec5b16
--3D driver:  (master)7a2ab6d05573508389b38f8f1fa261ba56062865
--DRM:  shipped with kernel 2.6.27-rc4-eric(gem)
--Xserver:  X Server 1.5.99.1
--Kernel: 2.6.27-rc4-eric
--Display connector: VGA

Bug detailed description:
--------------------------
When starting Xorg, there is no dispaly on the screen,but X can be found in 
the "ps -e" list."pkill X" can not kill the X ,but you can kill it by "pkill -
9 X",and can't switch VT,can't not run xrandr,xvinfo,glxinfo and what not.

Reproduce steps:
----------------
1 X &
Comment 1 lin, jiewen 2008-09-02 23:37:11 UTC
Created attachment 18648 [details]
Xorg.0.log
Comment 2 lin, jiewen 2008-09-02 23:38:34 UTC
Created attachment 18649 [details]
dmesginfo
Comment 3 lin, jiewen 2008-09-02 23:40:04 UTC
This issue also happens on q45.
Comment 4 Gordon Jin 2008-09-05 07:22:52 UTC
Does this ever work with the older gem code on these 2 machines?
Comment 5 lin, jiewen 2008-09-07 19:14:39 UTC
(In reply to comment #4)
> Does this ever work with the older gem code on these 2 machines?
> 

With older one , q45 and g45 have this issue too. 
Comment 6 Gordon Jin 2008-09-07 20:43:43 UTC
Does this exist with upstream kernel (without gem)?
Comment 7 lin, jiewen 2008-09-08 18:26:40 UTC
(In reply to comment #6)
> Does this exist with upstream kernel (without gem)?
> 

No,it does not.
Comment 8 lin, jiewen 2008-09-09 23:44:47 UTC
Now this issue only exists on our GM45 with GEM.
Comment 9 Eric Anholt 2008-09-10 15:18:10 UTC
For my future reference, the interesting part:

[ 8553.586163] [drm:i915_gem_idle] *ERROR* hardware wedged
[ 8557.628301] [drm:i915_gem_entervt_ioctl] *ERROR* Reenabling wedged hardware, good luck
Comment 10 Dylan 2008-09-17 16:42:48 UTC
Created attachment 18968 [details]
GIT Dmesg

mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_gem_idle] *ERROR* hardware wedged
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm:i915_gem_entervt_ioctl] *ERROR* Reenabling wedged hardware, good luck
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_gem_idle] *ERROR* hardware wedged
mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
[drm:i915_gem_entervt_ioctl] *ERROR* Reenabling wedged hardware, good luck
[drm:i915_gem_object_bind_to_gtt] *ERROR* GTT full, but LRU list empty
[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_gem_idle] *ERROR* hardware wedged

I get this too with git, master, xserver 1.5, gem enabled kernel.
Comment 11 Eric Anholt 2008-10-14 16:01:25 UTC
This needs to be retested against current drm-intel-next kernel and master xf86-video-intel.

Dylan: You've wandered onto an unrelated bug report.  Please submit your own so it doesn't get lost.
Comment 12 lin, jiewen 2008-10-14 22:59:19 UTC
It is fine with drm-intel-next kernel and master xf86-video-intel.

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.