Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113884 - Information on modules to load required
Summary: Information on modules to load required
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: ATI FAQ (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 02:56 UTC by Hugo
Modified: 2006-05-14 06:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo 2005-11-29 02:56:53 UTC
Hi,

I am installing Gentoo on a laptop with an ATI graphics board. I had previously
installed Gentoo on a PC also with an ATI board and had a similar problem. I
think it would be useful to add the following:

1. Detection and automatic installation of the ATI board seems to fail on
installation. However lspci shows that it is visible via the PCI bus:

xxxxx ~ # lspci
0000:00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP
340M] (rev 02)
0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
......

2. Configuration of the X-server is ok but on loading the configuration file it
generates a warning that DRI is not used because the AGP module is not correctly
loaded:
RADEON (0): [agp] AGP failed to initialize: Disabling DRI
 

3. In this the case message in the X log (/var/log/Xorg.0.log) suggests we load
"agpgart" module before "radeon" module. This however will not work solve the
problem. This is because an additional agp module is required.


4. To solve this problem either select "intel_agp" or "ati_agp" modules to be
loaded during boot. The "intel_agp" is to be used with any ATI board on a PC.
For those with the mobility chips included in the motherboard such as the IGP
340M the "ati_agp" module should be used.

5. The module should be added to /etc/modules.autoload.d/kernel-2.6 (or
corresponding file). For example:

cat /etc/modules.autoload.d/kernel-2.6


# X Windows
# for ATI Mobility
ati_agp
# for ATI standard
# intel_agp
agpgart
radeon


To end this, it would be nice to add a link to the "Hardware 3D acceleration guide".

Regards,
Hugo F.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 nm (RETIRED) gentoo-dev 2005-12-19 14:04:39 UTC
(In reply to comment #0)

If you compile agpgart and the proper agp devices into the kernel, rather than build them as modules, that should fix things. Besides, it's not like you're going to unload the graphics drivers if your intent is to use them on a graphical desktop, is it?

No advantage to building as modules; it only causes module loading order problems, as we've seen.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2005-12-19 14:46:06 UTC
(In reply to comment #0)
> 1. Detection and automatic installation of the ATI board seems to fail on
> installation.

Using what?


> 2. Configuration of the X-server is ok but on loading the configuration file it
> generates a warning that DRI is not used because the AGP module is not correctly
> loaded:
> RADEON (0): [agp] AGP failed to initialize: Disabling DRI

http://www.gentoo.org/doc/en/dri-howto.xml , 
http://www.gentoo.org/doc/en/ati-faq.xml

> 3. In this the case message in the X log (/var/log/Xorg.0.log) suggests we load
> "agpgart" module before "radeon" module. This however will not work solve the
> problem. This is because an additional agp module is required.


Please read the abovementioned links.

> 4. To solve this problem either select "intel_agp" or "ati_agp" modules to be
> loaded during boot. The "intel_agp" is to be used with any ATI board on a PC.
> For those with the mobility chips included in the motherboard such as the IGP
> 340M the "ati_agp" module should be used.

That's already documented, IMHO.

> To end this, it would be nice to add a link to the "Hardware 3D acceleration guide".

In which guide?
Comment 3 Hugo 2005-12-19 23:28:31 UTC
(In reply to comment #1)
> (In reply to comment #0)
> 
> If you compile agpgart and the proper agp devices into the kernel, rather than
> build them as modules, that should fix things. Besides, it's not like you're
> going to unload the graphics drivers if your intent is to use them on a
> graphical desktop, is it?
> 
> No advantage to building as modules; it only causes module loading order
> problems, as we've seen.
> 

When using genkernel is this not a good option? It will surely help those that
have problems detecting and setting up the board for X (as I did). In any event this info is not readily available and may help others new to Linux/Gentoo to get the system "started". JUst a suggestion though.



Comment 4 Hugo 2005-12-19 23:35:08 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > 1. Detection and automatic installation of the ATI board seems to fail on
> > installation.
> 
> Using what?
> 

Initial system install.
X configuration utilities.

> 
> > 2. Configuration of the X-server is ok but on loading the configuration file it
> > generates a warning that DRI is not used because the AGP module is not correctly
> > loaded:
> > RADEON (0): [agp] AGP failed to initialize: Disabling DRI
> 
> http://www.gentoo.org/doc/en/dri-howto.xml , 
> http://www.gentoo.org/doc/en/ati-faq.xml
> 
> > 3. In this the case message in the X log (/var/log/Xorg.0.log) suggests we load
> > "agpgart" module before "radeon" module. This however will not work solve the
> > problem. This is because an additional agp module is required.
> 
> 
> Please read the abovementioned links.

The above mentioned links have nothing on the "intel_agp" or "ati_agp" modules.
Only the "agpgart" module is mentioned. This is the reason why I reported this issue.

> 
> > 4. To solve this problem either select "intel_agp" or "ati_agp" modules to be
> > loaded during boot. The "intel_agp" is to be used with any ATI board on a PC.
> > For those with the mobility chips included in the motherboard such as the IGP
> > 340M the "ati_agp" module should be used.
> 
> That's already documented, IMHO.
> 

See above comments.


> > To end this, it would be nice to add a link to the "Hardware 3D acceleration guide".
> 
> In which guide?
> 

The ATI guide -> Hardware 3D


Comment 5 nm (RETIRED) gentoo-dev 2006-05-14 06:32:05 UTC
(In reply to comment #4)
Actually, "intel_agp" and "ati_agp" refer to your motherboard's chipset, so those are not in and of themselves solutions for everyone. There are plenty of other chipsets you can plug your graphics card into, like SiS, ULi, VIA, etc.
Comment 6 nm (RETIRED) gentoo-dev 2006-05-14 06:33:52 UTC
Fixed in CVS by adding a link to the Hardware Acceleration Guide so that users can properly set up their graphics card and hopefully avoid detection problems. :)

Thanks for the suggestion.