Bug 2585 - i810 driver doesn't support intel E7221 gfx
Summary: i810 driver doesn't support intel E7221 gfx
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Alan Hourihane
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 22:02 UTC by Matt Taylor
Modified: 2005-06-24 19:50 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (2.52 KB, text/plain)
2005-02-20 22:04 UTC, Matt Taylor
no flags Details
Xorg.8.log (13.39 KB, text/plain)
2005-02-20 22:05 UTC, Matt Taylor
no flags Details
Xorg.8.log (20.59 KB, text/plain)
2005-02-21 11:43 UTC, Matt Taylor
no flags Details
Xorg.8.log (20.05 KB, text/plain)
2005-02-21 12:53 UTC, Matt Taylor
no flags Details
Xorg.8.log (20.25 KB, text/plain)
2005-02-21 14:40 UTC, Matt Taylor
no flags Details
Xorg.8.log (51.79 KB, text/plain)
2005-02-21 15:13 UTC, Matt Taylor
no flags Details
xorg_log_from_crash (54.30 KB, text/plain)
2005-03-16 10:29 UTC, Chris Bainbridge
no flags Details

Description Matt Taylor 2005-02-20 22:02:47 UTC
I have a Dell Poweredge SC420 with the Intel E7221 chipset.  The E7221 is the
server version of the 915 chipset.  I have the i915 kernel module loaded and my
xorg.conf setup to use i810.  This is what i see at the end of my log:

(II) LoadModule: "i810"
(II) Loading /usr/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(EE) No devices detected.

I also tried the module from http://www.fairlite.demon.co.uk/intel.html

(II) LoadModule: "i810"
(II) Loading /usr/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
        compiled for 6.8.1.99, module version = 1.5.3
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, 915GM
(II) Primary Device is: PCI 00:02:0
(EE) No devices detected.

lspci -vvv
0000:00:02.0 VGA compatible controller: Intel Corp. E7221 Integrated Graphics Co
ntroller (rev 04) (prog-if 00 [VGA])
        Subsystem: Dell: Unknown device 0180
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at dff80000 (32-bit, non-prefetchable)
        Region 1: I/O ports at ecd8 [size=8]
        Region 2: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 3: Memory at dff40000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

I'll attach my config and the full log.
Comment 1 Matt Taylor 2005-02-20 22:04:49 UTC
Created attachment 1949 [details]
xorg.conf
Comment 2 Matt Taylor 2005-02-20 22:05:17 UTC
Created attachment 1950 [details]
Xorg.8.log
Comment 3 Alan Hourihane 2005-02-21 02:59:26 UTC
I've updated the driver at www.fairlite.demon.co.uk, so give it a try and update
this report.
Comment 4 Matt Taylor 2005-02-21 11:43:03 UTC
Created attachment 1952 [details]
Xorg.8.log

Log with new driver.  Dies with:

(--) I810(0): Chipset: "E7221 (i915)"
(EE) I810(0): No valid FB address in PCI config space
Comment 5 Alan Hourihane 2005-02-21 12:42:41 UTC
Just put up a new binary. Try that.
Comment 6 Matt Taylor 2005-02-21 12:53:27 UTC
Created attachment 1953 [details]
Xorg.8.log

(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(EE) I810(0): Failed to switch to monitor configuration (0xff)
(EE) I810(0): Please check the devices specified in your MonitorLayout
(EE) I810(0): is configured correctly.

The config works using the vesa driver, so I know its configured correctly.
Comment 7 Alan Hourihane 2005-02-21 13:20:02 UTC
The vesa driver doesn't make as much demand as the i830 driver.

Anyway, first off you haven't compiled in AGPGart into your kernel. You might
want to do that to benefit from the fuller features. Or maybe you have compiled
it, but just not loaded the agpgart module.

As for this problem. It seems the E7221 BIOS is much more crippled than an i915G.

I've uploaded another driver to try.
Comment 8 Matt Taylor 2005-02-21 14:40:37 UTC
Created attachment 1954 [details]
Xorg.8.log

I have agpgart and intel_agp in my kernel as modules and i get the same error
about no agpgart if they're loaded or not.  I don't know how the gfx core is
implemented on chip, or how linux deals with PCI-E, but the motherboard has no
AGP slot or anything related to AGP in lspci.

(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): BIOS call failed, turning ADPA on directly. Pipe A.
(WW) I810(0): Writing config directly to SWF0.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): Extended BIOS function 0x5f64 not supported.
(WW) I810(0): SetDisplayDevices failed with devices 0xffffffff instead of 0x1
(EE) I810(0): Failed to switch to monitor configuration (0x1)
(EE) I810(0): Please check the devices specified in your MonitorLayout
(EE) I810(0): is configured correctly.
Comment 9 Alan Hourihane 2005-02-21 14:46:48 UTC
O.k. It looks like the E7221 is quite a bit different than the i915 BIOS.

I guess the kernel needs some updates too to support the agpgart anyway. So,
we'll just have to skip that. But at least we can confirm X works.

I've uploaded another test driver.
Comment 10 Matt Taylor 2005-02-21 15:13:31 UTC
Created attachment 1955 [details]
Xorg.8.log

That works, with no DRI.  But at least it starts.
Comment 11 Alan Hourihane 2005-02-21 15:27:40 UTC
Changing this to enhancement. AGPgart needs to be fixed now, but that's a kernel
thing.
Comment 12 Matt Taylor 2005-02-21 15:41:03 UTC
Should I submit a bug on the kenrel bugzilla/mailing list or are you taking care
of it?
Comment 13 Alan Hourihane 2005-02-22 02:03:51 UTC
I'll probably take a look later.
Comment 14 Alan Hourihane 2005-02-22 08:17:12 UTC
Putting back to enhancement
Comment 15 Matt Taylor 2005-02-22 10:22:21 UTC
Sorry about changing the severity, I didn't mean to.
Comment 16 Chris Bainbridge 2005-03-10 08:06:09 UTC
Another Dell SC420 here...
I've just downloaded the file http://www.fairlite.demon.co.uk/i810_drv.o and
tried it with the xorg.conf posted here. When I start X the machine reboots. I
have Gentoo, xorg-6.8.0, kernel 2.6.11 with agpgart and pci express enabled
(CONFIG_PCIEPORTBUS=Y in .config). 
Comment 17 Alan Hourihane 2005-03-10 14:01:27 UTC
Chris, ssh into the server and start X with 'X -verbose 4' which will output the
log information to your ssh session. And let me know what the last 20 or so
lines are before the reboot.
Comment 18 Chris Bainbridge 2005-03-16 10:29:05 UTC
Created attachment 2127 [details]
xorg_log_from_crash

Heres the full log.
Comment 19 Chris Bainbridge 2005-03-18 08:30:17 UTC
Alan has found and fixed the problem; the latest driver is working fine for me now.
Comment 20 Alan Hourihane 2005-05-20 04:59:57 UTC
Committed to CVS.
Comment 21 dann 2005-06-23 12:08:14 UTC
I have tried that driver at http://www.fairlite.demon.co.uk/i810_drv.o
it works but it's not completely right.
After quiting the X server, the text console does not work anymore, it does not
display anything.
Comment 22 Alan Hourihane 2005-06-23 12:58:46 UTC
Do you happen to be using Fedora Core 4 ?
Comment 23 dann 2005-06-25 10:11:26 UTC
(In reply to comment #22)
> Do you happen to be using Fedora Core 4 ?

Yep, what I reported happens with Fedora Core 4.
Comment 24 Alan Hourihane 2005-06-25 12:50:19 UTC
See bug #3094 which is what you are seeing.


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.