Bug 13252

Summary: driver report "No valid modes" when restart X
Product: xorg Reporter: WuNian <nian.wu>
Component: Driver/intelAssignee: Hong Liu <hong.liu>
Status: VERIFIED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: dm, eric, jbarnes, SirRichard, zhenyu.z.wang
Version: gitKeywords: patch
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 13493    
Attachments:
Description Flags
xorg.0.log file
none
xorg.0.log.old file
none
patch to try none

Description WuNian 2007-11-14 19:13:49 UTC
If kill X then restart it, X can not start up and driver reports:

(EE) intel(0): No valid modes.
(EE) Screen(s) found, but none have a usable configuration.

We found it Q965, GM965. This bug is not stable. It may occur sometimes.

We use today's tip.(11/14/2007)
Comment 1 WuNian 2007-11-14 19:15:59 UTC
Created attachment 12562 [details]
xorg.0.log file

No special config on xorg.conf. We use EXA.
Comment 2 WuNian 2007-11-14 19:16:40 UTC
Created attachment 12563 [details]
xorg.0.log.old file
Comment 3 Wang Zhenyu 2007-11-14 23:43:37 UTC
xorg.conf pls? And what's your versions?

I can't see this on my t61.
Comment 4 WuNian 2007-11-14 23:53:40 UTC
The bug is not stable, you can try it on our Q965(x-q965).
We have seen this bug several times on some machines.
Parts of xorg.conf:

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
        VendorName  "Videocard vendor"
        BoardName   "Intel Corporation 945G Integrated Graphics Controller"
        Option      "AccelMethod" "exa"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Virtual   1280 1280
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection


Comment 5 Michael Fu 2007-11-20 21:29:42 UTC
dup of bug# 11598?
Comment 6 WuNian 2007-11-20 22:47:13 UTC
It seems duplicated from the xorg.log. Hong, what's your option?
Comment 7 Gordon Jin 2007-11-20 23:14:40 UTC
But 11598 happens in startx, while we need REstart x here.
Comment 8 Hong Liu 2007-11-21 01:09:31 UTC
(In reply to comment #7)
> But 11598 happens in startx, while we need REstart x here.
> 

Seems like a dup, we have problem in CRT hotplug detect (he just hit it at the 1st start). I will attach the fix patch in his bug to see if the problem will be fixed.

Thanks,
Hong
Comment 9 Hong Liu 2007-11-27 23:18:25 UTC
Created attachment 12762 [details] [review]
patch to try
Comment 10 Pi, Fengming 2007-11-28 17:58:53 UTC
Good. The patch works for us.
Comment 11 Hong Liu 2007-12-10 17:39:16 UTC
Patch is committed.
Comment 12 Gordon Jin 2007-12-11 16:57:46 UTC
*** Bug 13598 has been marked as a duplicate of this bug. ***
Comment 13 Gordon Jin 2007-12-19 19:30:24 UTC
*** Bug 13743 has been marked as a duplicate of this bug. ***

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.