2008-07-20 22:00:51

by Tino Keitel

[permalink] [raw]
Subject: no direct rendering with 2.6.26 due to AGP after DRM

Hi,

with 2.6.26, I got no direct OpenGL rendering in Xorg. A look into the
dmesg lock revealed this:

2.6.26:

[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
DRM: Fill_in_dev failed.
...
agpgart: Detected an Intel 965GM Chipset.
agpgart: Detected 7676K stolen memory.
agpgart: AGP aperture is 256M @ 0xe0000000

2.6.25.9:

Linux agpgart interface v0.103
agpgart: Detected an Intel 965GM Chipset.
agpgart: Detected 7676K stolen memory.
agpgart: AGP aperture is 256M @ 0xe0000000
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0

Any hints what I could try to solve this?

Regards,
Tino


2008-07-20 22:38:04

by Dave Airlie

[permalink] [raw]
Subject: Re: no direct rendering with 2.6.26 due to AGP after DRM


>
> [drm] Initialized drm 1.1.0 20060810
> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
> PCI: Setting latency timer of device 0000:00:02.0 to 64
> [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
> DRM: Fill_in_dev failed.
> ...
> agpgart: Detected an Intel 965GM Chipset.
> agpgart: Detected 7676K stolen memory.
> agpgart: AGP aperture is 256M @ 0xe0000000
>

For now don't built it all into the kernel :)

I'll see what I can dig up on init ordering.

Dave.

2008-07-20 22:41:20

by Tino Keitel

[permalink] [raw]
Subject: Re: no direct rendering with 2.6.26 due to AGP after DRM

On Sun, Jul 20, 2008 at 23:37:51 +0100, Dave Airlie wrote:
>
> >
> > [drm] Initialized drm 1.1.0 20060810
> > ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
> > PCI: Setting latency timer of device 0000:00:02.0 to 64
> > [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
> > DRM: Fill_in_dev failed.
> > ...
> > agpgart: Detected an Intel 965GM Chipset.
> > agpgart: Detected 7676K stolen memory.
> > agpgart: AGP aperture is 256M @ 0xe0000000
> >
>
> For now don't built it all into the kernel :)
>
> I'll see what I can dig up on init ordering.

My bad. I didn't use 2.6.26, but some git version after 2.6.26. Another
computer with a real 2.6.26 was fine, so scratch all of the above.

Regards,
Tino

2008-07-20 22:43:46

by Dave Airlie

[permalink] [raw]
Subject: Re: no direct rendering with 2.6.26 due to AGP after DRM

> > >
> > > [drm] Initialized drm 1.1.0 20060810
> > > ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
> > > PCI: Setting latency timer of device 0000:00:02.0 to 64
> > > [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
> > > DRM: Fill_in_dev failed.
> > > ...
> > > agpgart: Detected an Intel 965GM Chipset.
> > > agpgart: Detected 7676K stolen memory.
> > > agpgart: AGP aperture is 256M @ 0xe0000000
> > >
> >
> > For now don't built it all into the kernel :)
> >
> > I'll see what I can dig up on init ordering.
>
> My bad. I didn't use 2.6.26, but some git version after 2.6.26. Another
> computer with a real 2.6.26 was fine, so scratch all of the above.
>

Yes its not in real 2.6.26 but I have a patch now, to move gpu after char
in the Makefile..

Dave.