2005-04-16 07:09:36

by ross

[permalink] [raw]
Subject: DRM not working with 2.6.11.5

Hello everyone,

I recently upgraded to 2.6.11.5 (back when it came out) from 2.4.
One of the reasons I upgraded was to get DRM working with my computer
again.

The AGP and DRM modules load fine, but when xdm starts, I have no
direct rendering.

The machine is an ASUS A7V8x-x with VIA chipset KT400. The video card
is a Matrox G400 DualHead. I've had the exact same video card working
with different motherboards.


Here is the only DRM output relevant to AGP/DRM:

Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
DRM: Fill_in_dev failed.

Thanks very much for any tips!


--
Ross Vandegrift
[email protected]

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37


2005-04-16 08:47:19

by Dave Airlie

[permalink] [raw]
Subject: Re: DRM not working with 2.6.11.5

>
> The AGP and DRM modules load fine, but when xdm starts, I have no
> direct rendering.
>
> The machine is an ASUS A7V8x-x with VIA chipset KT400. The video card
> is a Matrox G400 DualHead. I've had the exact same video card working
> with different motherboards.
>
> Here is the only DRM output relevant to AGP/DRM:
>
> Linux agpgart interface v0.100 (c) Dave Jones
> [drm] Initialized drm 1.0.0 20040925
> [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.

You didn't load the agp chipset module..
it would be nice if it happened automatically...

Dave.

2005-04-16 15:37:42

by ross

[permalink] [raw]
Subject: Re: DRM not working with 2.6.11.5

On Sat, Apr 16, 2005 at 06:47:13PM +1000, Dave Airlie wrote:
> You didn't load the agp chipset module..
> it would be nice if it happened automatically...

Spot on - thanks man. Will update rc scripts from 2.4. Thanks!

--
Ross Vandegrift
[email protected]

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

2005-04-16 16:42:00

by Dave Jones

[permalink] [raw]
Subject: Re: DRM not working with 2.6.11.5

On Sat, Apr 16, 2005 at 06:47:13PM +1000, Dave Airlie wrote:
> >
> > The AGP and DRM modules load fine, but when xdm starts, I have no
> > direct rendering.
> >
> > The machine is an ASUS A7V8x-x with VIA chipset KT400. The video card
> > is a Matrox G400 DualHead. I've had the exact same video card working
> > with different motherboards.
> >
> > Here is the only DRM output relevant to AGP/DRM:
> >
> > Linux agpgart interface v0.100 (c) Dave Jones
> > [drm] Initialized drm 1.0.0 20040925
> > [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
>
> You didn't load the agp chipset module..
> it would be nice if it happened automatically...

Adam Jackson was looking into this a few days ago by making
the generic agpgart.o send hotplug events to trigger a load
of the submodules. If he comes up with something I'll throw
it at -mm if it looks sane.

Dave

2005-04-17 09:04:21

by Arjan van de Ven

[permalink] [raw]
Subject: Re: DRM not working with 2.6.11.5


> Adam Jackson was looking into this a few days ago by making
> the generic agpgart.o send hotplug events to trigger a load
> of the submodules. If he comes up with something I'll throw
> it at -mm if it looks sane.


is that needed? If the agp submodules advertise a list of pci id's isn't
that enough to get them auto loaded ?

(that works for all other modules in the kernel... ;)