Bug 16591 - [G33] Unable to boot into Xorg (with memory remapping on 4G)
Summary: [G33] Unable to boot into Xorg (with memory remapping on 4G)
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 19:49 UTC by Chris Sorisio
Modified: 2008-11-25 20:29 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg log for failed boot attempt (21.53 KB, text/plain)
2008-07-02 19:49 UTC, Chris Sorisio
no flags Details
lspci output (2.06 KB, text/plain)
2008-07-02 19:50 UTC, Chris Sorisio
no flags Details

Description Chris Sorisio 2008-07-02 19:49:40 UTC
Created attachment 17482 [details]
xorg log for failed boot attempt

With a clean, updated install of Fedora 9, I am unable to boot directly into X.  Instead, X fails silently and the monitor reports "out of sync range."  If I boot into text mode and startx, X works as expected.  Fedora 8 worked as expected.

Updating to xorg-x11-drv-i810-2.3.2-2.fc9.x86_64 results in changed behavior when I attempt to boot directly into graphical mode.  Instead of a dark monitor, the display is smeared and garbled.  Xorg then restarts itself, resulting in another garbled display.  Booting into text mode and running 'startx' works as expected.

If I quit X and try to 'startx' a second time, the display locks.

Xorg.log attached.

I opened a bug report on the Redhat Bugzilla, but thought this may be an upstream issue.
Comment 1 Chris Sorisio 2008-07-02 19:50:28 UTC
Created attachment 17483 [details]
lspci output
Comment 2 Chris Sorisio 2008-07-02 19:51:13 UTC
Redhat Bugzilla link:

https://bugzilla.redhat.com/show_bug.cgi?id=453366
Comment 3 Gordon Jin 2008-07-02 22:01:39 UTC
I don't know what's rhgb doing. But since it disappears without rhgb, this indicates it might be redhat specific issue.
Comment 4 Holger Lubitz 2008-07-03 22:15:13 UTC
this isn't really rhgb related. rhgb just seems to create a precondition where x just crashes instead of running seemingly ok, but with uncached video memory. it can be worked around by different mtrr settings before starting x (see https://bugzilla.redhat.com/show_bug.cgi?id=446620 for more info).

the asus mobos have a somewhat uncommon mtrr mapping which i nevertheless consider correct and legal. i am not really sure if the kernel, the x server, or the intel driver should be responsible for either fixing this up or correctly dealing with it.

on my mobo (asus p5e-v) with 4 gb and memory remapping enabled, /proc/mtrr ends up like this:

reg00: base=0xd0000000 (3328MB), size= 256MB: uncachable, count=1
reg01: base=0xe0000000 (3584MB), size= 512MB: uncachable, count=1
reg02: base=0x00000000 (   0MB), size=4096MB: write-back, count=1
reg03: base=0x100000000 (4096MB), size= 512MB: write-back, count=1
reg04: base=0x120000000 (4608MB), size= 256MB: write-back, count=1
reg05: base=0xcf800000 (3320MB), size=   8MB: uncachable, count=1

if i do the fix i described in the above fedora bugzilla link, it becomes

reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0xe0000000 (3584MB), size= 512MB: uncachable, count=1
reg02: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
reg03: base=0x100000000 (4096MB), size= 512MB: write-back, count=1
reg04: base=0x120000000 (4608MB), size= 256MB: write-back, count=1
reg05: base=0xcf800000 (3320MB), size=   8MB: uncachable, count=1
reg06: base=0xc0000000 (3072MB), size= 256MB: write-back, count=1
reg07: base=0xd0000000 (3328MB), size= 256MB: write-combining, count=2

and X works. with or without rhgb.

Comment 5 Gordon Jin 2008-07-03 22:24:28 UTC
then it seems bug#15360
Comment 6 Gordon Jin 2008-07-03 22:28:35 UTC

*** This bug has been marked as a duplicate of bug 15360 ***
Comment 7 Holger Lubitz 2008-07-03 22:43:51 UTC
not really. i think in this case there is a legal and correct mapping which x (or maybe the kernel) doesn't deal with correctly. 
Comment 8 D. Hugh Redelmeier 2008-09-19 20:07:48 UTC
I have written an experimental userland program to reconfigure MTRRs.
See comment #18 in https://bugzilla.redhat.com/show_bug.cgi?id=446620
Comment 9 Michael Fu 2008-11-25 20:29:02 UTC
we won't fix this in our driver. It should be handled by kernel or FW upgrade..


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.