gentoo autoloading modules
hi, i want to use opensource ati drivers, so i emerged it, and set in xorg.conf, but i still get error
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.```
so i used google and i find, that i have to load ati-agp and agpgart, before radeonfb, so i edited /etc/modules.autoload.d/kernel-2.6 and get ati-agp and agpgart on top, restarted, and i get thesame problem, and when i used lsmod i found that first was loaded readeon, and ati-agp wasn't loaded, so i want ask, what may be wrong with autoloading? thanks
Try running "modprobe ati-agp", and the same for the other module, in a terminal and see what the response is. If it's in your autoload, it should load. Also, you could try running "dmesg | grep ati-agp" to see any errors… same with the other module.
Also, I think general AGP support is in the kernel modules. To check the kernel in Gentoo, you can run the following:
cd /usr/src/linux make menuconfig Then, just try to find anything that looks like it pertains to AGP; if there are listings and the ( ) beside them have nothing in them, press Spacebar to either load them as a module (M) or with the kernel (*). If the AGP modules weren't checked, you'll need to re-compile your kernel. The kernel compiling process (in all its wonderful simplicity in Gentoo) is documented here: http://www.gentoo.org/doc/en/kernel-upgrade.xml
Post back with what you find.
Edit: Just re-read this quote…
mojdo13 wrote: You may want to make sure the agpgart kernel module is loaded before the radeon kernel module.
Most likely, you aren't loading AGP drivers or you're loading them as modules. Compile them into the kernel (by setting them with a * instead of M) in the make menuconfig, then follow the link above.
i found out that i have intel agp chitpset not ati :-D:-D, so i make new kernel with intel agp, i added intel-agp, it loaded, but get another error
(EE) [drm] Could not set DRM device bus ID.
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.```
i used google and i found that
http://www.phoronix.com/forums/showthread.php?t=12777
and if i understood, problem may be that i compiled kernel and drm module with another gcc, but, when i was compilling kernel i used "make clean bzImage modules modules_install" so i think that kernel and module, was compilled by thesame gcc, or i have to recompille something else?
thanks
If you're getting those errors when trying to "startx" (which is what it looks like), you need to make sure that your /etc/X11/xorg.conf lists your driver as "intel" or "i815" (or even "vesa"), not "ati" or "radeon" or whatever. If that doesn't help, run "lsmod" and paste the results here.
In the future, use the "lspci" command to find your hardware devices.
Let's try something else. Run "lspci -nn" and make note of the bus IDs (PCI:02:01 or whatever) for your ATI card and your Intel onboard display controller (if there is one). Then, go into your Xorg.conf and check to make sure the ID in the Device section for your Radeon matches what was listed with lspci. If so, then see if DRI is listed as an option in that Device section; put a # in front of it to disable that, then try "startx" again.
ok i explain it, i'm trying to run compiz-fusion, but firstly i have to config driver, i can't use official because they don't support my version of xorg-server, so i used xf86-video-ati, and then i must config my xorg.conf, before i haven't used it, xorg was running without it, but now i need to use ati driver, so i must configure my xorg.conf, so i maked xorg.conf.test and testing it in xinit – :2 -config /etc/X11/xorg.conf.bak, so i never restarted Xorg and tryied it, it was one of thing that i can try, to make it work was to restart X with new config and it worked :-D:-D…many thanks for help