LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel modules (https://www.linuxquestions.org/questions/linux-software-2/kernel-modules-126345/)

Mugatu 12-16-2003 10:06 AM

kernel modules
 
i'm making an attempt at getting 3D acceleration working on my computer. i have Mandrake 9.2 with a 3D Rage Pro AGP 2X. This is what my harddrake entry says for my video card:

Vendor: ‎ATI

Bus: ‎PCI

Bus identification: ‎1002:4742:1002:80

Location on the bus: ‎1:0:0

Description: ‎3D Rage Pro AGP 1X/2X

Module: ‎Card:ATI Mach64 Utah

Media class: ‎DISPLAY_VGA

when i did a Google search, it seems that i need to have the agpgart module installed for 3D acceleration (maybe that's why it says Bus: PCI). My question is how do i tell what modules are installed, and how do i install the agpgart module? According to this, it looks like the module is already on my computer:

[root@CCSTAFF2 temp]# find / | grep agpgart
/usr/include/linux/agpgart.h
/usr/src/linux-2.4.22-21mdk/drivers/char/agp/agpgart_be.c
/usr/src/linux-2.4.22-21mdk/drivers/char/agp/agpgart_fe.c
/usr/src/linux-2.4.22-21mdk/include/linux/agpgart.h
/usr/src/linux-2.4.22-21mdk/include/linux/modules/agpgart_be.stamp
/usr/src/linux-2.4.22-21mdk/include/linux/modules/agpgart_be.ver
/lib/modules/2.4.22-10mdk/kernel/drivers/char/agp/agpgart.o.gz
/lib/modules/2.4.22-21mdk/kernel/drivers/char/agp/agpgart.o.gz

so i guess all i need to do is figure out how to install/activate the agpgart module, if this is even necessary in the 1st place

trickykid 12-16-2003 10:14 AM

Try:

modprobe agpgart

If no errors, check to see if it loaded by doing:

lsmod


man these commands for more info when dealing with modules:

lsmod
rmmod
modprobe
insmod

Mugatu 12-16-2003 10:19 AM

[root@CCSTAFF2 temp]# lsmod | grep agpgart
agpgart 53508 0 (unused)

okay, thanx. i'm assuming this means the module is currently loaded--but what exactly does unused mean? it doesn't seem like a good thing if i have an AGP video card.

Mugatu 12-18-2003 01:59 PM

is there some sort of file that lists the modules available when loading modules? is there a standard location where modules are stored? what filetype is a module, a *.h file?


All times are GMT -5. The time now is 06:27 PM.