Skip to contentSkip to conversation

DRM not working with 2.6.11.5

DISCUSSION [email protected] 4 participants 5 messages Apr 16, 2005 – Apr 17, 2005

lore
Share & tools
lore
#0 lore raw

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!

Signature · 8 lines
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
#1 lore raw
Quoted 8 lines

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.

Quoted 5 lines

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.

#2 lore raw
Quoted 2 lines · Dave Airlie

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!

Signature · 8 lines
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
#3 lore raw
In reply to Dave Airlie
Quoted 8 lines · Dave Airlie
Quoted 8 lines

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.

Quoted 8 lines
Quoted 5 lines

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

#4 lore raw
Quoted 5 lines

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... ;)